[PATCH] staging: mt7621-dts: add dt node for 2nd/3rd uart on mt7621

2020-02-04 Thread Chuanhong Guo
There are 3 uarts on mt7621. This patch adds device tree node for 2nd and 2rd ones. Signed-off-by: Chuanhong Guo --- drivers/staging/mt7621-dts/mt7621.dtsi | 38 ++ 1 file changed, 38 insertions(+) diff --git a/drivers/staging/mt7621-dts/mt7621.dtsi b/drivers/staging/mt

Re: [PATCH] staging: mt7621-dts: add dt node for 2nd/3rd uart on mt7621

2020-02-04 Thread Dan Carpenter
Please use ./scripts/get_maintainer.pl to pick the CC list and resend. The MAINTAINERS file says Matthias Brugger is supposed to be CC'd and a couple other email lists. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://d

Re: [PATCH] staging: mt7621-dts: add dt node for 2nd/3rd uart on mt7621

2020-02-04 Thread Chuanhong Guo
Hi! On Tue, Feb 4, 2020 at 5:47 PM Dan Carpenter wrote: > > Please use ./scripts/get_maintainer.pl to pick the CC list and resend. > > The MAINTAINERS file says Matthias Brugger is supposed to be CC'd and > a couple other email lists. According to get_maintainer.pl, Matthias Brugger is the main

Re: [PATCH] staging: mt7621-dts: add dt node for 2nd/3rd uart on mt7621

2020-02-04 Thread Dan Carpenter
On Tue, Feb 04, 2020 at 05:59:21PM +0800, Chuanhong Guo wrote: > Hi! > > On Tue, Feb 4, 2020 at 5:47 PM Dan Carpenter wrote: > > > > Please use ./scripts/get_maintainer.pl to pick the CC list and resend. > > > > The MAINTAINERS file says Matthias Brugger is supposed to be CC'd and > > a couple ot

[driver-core:debugfs_cleanup] BUILD SUCCESS a792ccffd9ed2c80ac884a4c2eaf9e9aa38c5109

2020-02-04 Thread kbuild test robot
parisc randconfig-a001-20200130 alpharandconfig-a001-20200130 mips randconfig-a001-20200130 m68k randconfig-a001-20200130 riscvrandconfig-a001-20200130 alpharandconfig-a001-20200204 m68k

[PATCH v2 1/2] staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi.

2020-02-04 Thread Malcolm Priestley
bb_pre_ed_rssi is an u8 rx_dm always returns negative signed values add minus operator to always yield positive. fixes issue where rx sensitivity is always set to maximum because the unsigned numbers were always greater then 100. Fixes: 63b9907f58f1 ("staging: vt6656: mac80211 conversion: create

Re: [PATCH 1/2] staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi.

2020-02-04 Thread Malcolm Priestley
On 03/02/2020 09:42, Dan Carpenter wrote: > On Sun, Feb 02, 2020 at 12:27:25PM +, Malcolm Priestley wrote: >> bb_pre_ed_rssi is an u8 rx_dm always returns negative signed >> values add minus operator to always yield positive. >> >> fixes issue where rx sensitivity is always set to maximum becau

Re: [PATCH] staging/octeon: Mark Ethernet driver as BROKEN

2020-02-04 Thread Chris Packham
On Tue, 2020-02-04 at 07:36 +, gre...@linuxfoundation.org wrote: > On Tue, Feb 04, 2020 at 12:54:26AM +, Chris Packham wrote: > > Hi Greg & All, > > > > On Mon, 2019-12-02 at 19:15 +0100, Greg Kroah-Hartman wrote: > > > On Mon, Dec 02, 2019 at 09:36:20AM -0800, Guenter Roeck wrote: > > > >

Re: [PATCH 1/2] staging: octeon: delete driver

2020-02-04 Thread Chris Packham
On Tue, 2020-02-04 at 07:09 +, gre...@linuxfoundation.org wrote: > On Tue, Feb 04, 2020 at 04:02:15AM +, Chris Packham wrote: > > I'll pipe up on this thread too > > > > On Tue, 2019-12-10 at 02:42 -0800, Guenter Roeck wrote: > > > On 12/10/19 1:15 AM, Greg Kroah-Hartman wrote: > > > > Thi

Re: [PATCH 1/2] staging: octeon: delete driver

2020-02-04 Thread Matthew Wilcox
On Tue, Feb 04, 2020 at 08:06:14PM +, Chris Packham wrote: > On Tue, 2020-02-04 at 07:09 +, gre...@linuxfoundation.org wrote: > > On Tue, Feb 04, 2020 at 04:02:15AM +, Chris Packham wrote: > > > I'll pipe up on this thread too > > > > > > On Tue, 2019-12-10 at 02:42 -0800, Guenter Roec

Re: [SPAM] Re: [PATCH 1/2] staging: octeon: delete driver

2020-02-04 Thread Guenter Roeck
On Tue, Feb 04, 2020 at 08:06:14PM +, Chris Packham wrote: > On Tue, 2020-02-04 at 07:09 +, gre...@linuxfoundation.org wrote: > > On Tue, Feb 04, 2020 at 04:02:15AM +, Chris Packham wrote: > > > I'll pipe up on this thread too > > > > > > On Tue, 2019-12-10 at 02:42 -0800, Guenter Roec

Re: [PATCH 1/2] staging: octeon: delete driver

2020-02-04 Thread gre...@linuxfoundation.org
On Tue, Feb 04, 2020 at 12:31:16PM -0800, Matthew Wilcox wrote: > On Tue, Feb 04, 2020 at 08:06:14PM +, Chris Packham wrote: > > On Tue, 2020-02-04 at 07:09 +, gre...@linuxfoundation.org wrote: > > > On Tue, Feb 04, 2020 at 04:02:15AM +, Chris Packham wrote: > > > > I'll pipe up on this

[PATCH v3 14/17] media: imx: csi: Lookup upstream endpoint with imx_media_get_pad_fwnode

2020-02-04 Thread Steve Longerbeam
Fix the 1:1 port-id:pad-index assumption for the upstream subdevice, by searching the upstream subdevice's endpoints for one that maps to the pad's index. This is carried out by a new reverse mapping function imx_media_get_pad_fwnode(). Signed-off-by: Steve Longerbeam --- drivers/staging/media/i

[PATCH v3 15/17] media: imx: Create missing links from CSI-2 receiver

2020-02-04 Thread Steve Longerbeam
The entities external to the i.MX6 IPU and i.MX7 now create the links to their fwnode-endpoint connected entities in their notifier bound callbacks. Which means imx_media_create_of_links() and imx_media_create_csi_of_links() are no longer needed and are removed. However there is still one case in

[PATCH v3 02/17] media: v4l2-fwnode: Pass notifier to v4l2_async_register_fwnode_subdev()

2020-02-04 Thread Steve Longerbeam
Instead of allocating a notifier in v4l2_async_register_fwnode_subdev(), have the caller provide one. This allows the caller to implement notifier ops (bind, unbind). The caller is now responsible for first initializing its notifier with a call to v4l2_async_notifier_init(). Signed-off-by: Steve

[PATCH v3 04/17] media: imx: mipi csi-2: Implement get_fwnode_pad op

2020-02-04 Thread Steve Longerbeam
Implement get_fwnode_pad operation. If the endpoint is owned by the MIPI CSI-2 receiver, return the endpoint's port number. The MIPI CSI-2 receiver maps port numbers and pad indexes 1:1. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx6-mipi-csi2.c | 28 ++ 1

[PATCH v3 12/17] media: imx: csi: Add missing notifier unregister/cleanup

2020-02-04 Thread Steve Longerbeam
Add the missing calls to unregister and cleanup the subdev notifier in imx_csi_remove(). Fixes: c893500a16baf ("media: imx: csi: Register a subdev notifier") Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-csi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver

[PATCH v3 17/17] media: imx: TODO: Remove media link creation todos

2020-02-04 Thread Steve Longerbeam
Remove the TODO items regarding media link creation, these issues are resolved by moving media link creation to individual entity bound callbacks and the implementation of the get_fwnode_pad operation. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/TODO | 29 --

[PATCH v3 11/17] media: imx: csi: Embed notifier in struct csi_priv

2020-02-04 Thread Steve Longerbeam
Embed the notifier in 'struct csi_priv', instead of dynamically allocating it, to make it possible to retrieve csi_priv in a notifier callback op. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-csi.c | 25 +-- 1 file changed, 10 insertions(+), 15 dele

[PATCH v3 09/17] media: imx7-mipi-csis: Create media links in bound notifier

2020-02-04 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the mipi csi-2 receiver sink pad. Signed-off-by: Steve Longerbeam --- Changes in v3: - call a local imx-media utility imx_media_create_fwnode_pad_link(). Changes in v2: - Move notifier_to_csis_stat

[PATCH v3 08/17] media: imx: mipi csi-2: Create media links in bound notifier

2020-02-04 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the mipi csi-2 receiver sink pad. Signed-off-by: Steve Longerbeam --- Changes in v3: - call a local imx-media utility imx_media_create_fwnode_pad_link() that creates a single link. --- drivers/s

[PATCH v3 06/17] media: imx: Add imx_media_create_fwnode_pad_link()

2020-02-04 Thread Steve Longerbeam
Add functions to create media links between a source and sink subdevice based on fwnode endpoint connections between them. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-utils.c | 91 + drivers/staging/media/imx/imx-media.h | 4 + 2 files chang

[PATCH v3 10/17] media: imx7-media-csi: Create media links in bound notifier

2020-02-04 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the CSI sink pad. Signed-off-by: Steve Longerbeam Reviewed-by: Rui Miguel Silva --- Changes in v3: - call a local imx-media utility imx_media_create_fwnode_pad_link(). Changes in v2: - Rename noti

[PATCH v3 13/17] media: imx: csi: Create media links in bound notifier

2020-02-04 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the CSI sink pad. Signed-off-by: Steve Longerbeam --- Changes in v3: - call a local imx-media utility imx_media_create_fwnode_pad_link(). --- drivers/staging/media/imx/imx-media-csi.c | 21 +++

[PATCH v3 03/17] media: imx: csi: Implement get_fwnode_pad op

2020-02-04 Thread Steve Longerbeam
The CSI does not have a 1:1 relationship between fwnode port numbers and pad indexes. In fact the CSI fwnode device is itself a port which is the sink, containing only a single fwnode endpoint. Implement media_entity operation get_fwnode_pad to first verify the given endpoint is the CSI's sink endp

[PATCH v3 16/17] media: imx: silence a couple debug messages

2020-02-04 Thread Steve Longerbeam
Convert to dev_dbg the "subdev bound" and IPU-internal media-link creation messages. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-dev-common.c | 4 +++- drivers/staging/media/imx/imx-media-dev.c | 2 +- drivers/staging/media/imx/imx-media-internal-sd.c | 6 +++

[PATCH 4/6] MIPS: octeon: remove typedef declaration for cvmx_helper_link_info

2020-02-04 Thread Chris Packham
Remove declaration of union cvmx_helper_link_info as typedef and update uses to use the union. Signed-off-by: Chris Packham --- arch/mips/cavium-octeon/executive/cvmx-helper-board.c | 4 ++-- arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c | 6 +++--- arch/mips/cavium-octeon/executive/cvmx

[PATCH 5/6] MIPS: octeon: remove typedef declaration for cvmx_pko_command_word0

2020-02-04 Thread Chris Packham
Remove the typedef and update usage to use the union. Signed-off-by: Chris Packham --- arch/mips/cavium-octeon/executive/cvmx-helper.c | 2 +- arch/mips/include/asm/octeon/cvmx-pko.h | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/mips/cavium-octeon/exec

[PATCH 0/6] Re-instate octeon staging drivers

2020-02-04 Thread Chris Packham
This series re-instates the octeon drivers that were recently removed and addresses the build issues that lead to that decision. I've approached Cavium/Marvell about taking a more active interest in getting the code out of staging and into their proper location. No reply on that (yet). Chris Pack

[PATCH 6/6] Revert "staging/octeon: Mark Ethernet driver as BROKEN"

2020-02-04 Thread Chris Packham
This reverts commit 075a1e87d1e2358d0b0301ac8f8e7f25051decf1. Now that the build issues have been fixed we can resume build testing. Signed-off-by: Chris Packham --- drivers/staging/octeon/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/octeon/Kconfig b/drivers/staging

[PATCH 3/6] MIPS: octeon: remove typedef declaration for cvmx_wqe

2020-02-04 Thread Chris Packham
Remove typedef declaration from struct cvmx_wqe and replace its previous uses with new struct declaration. Signed-off-by: Chris Packham --- .../cavium-octeon/executive/cvmx-helper.c | 2 +- .../include/asm/octeon/cvmx-helper-util.h | 2 +- arch/mips/include/asm/octeon/cvmx-pko.h

[PATCH 2/6] Revert "staging: octeon: delete driver"

2020-02-04 Thread Chris Packham
This reverts commit 710d7fbe21ee2ceab121f1f84a20edf68f9f9742. Re-instate the code so subsequent commits can clean it up and get it building properly. Signed-off-by: Chris Packham --- drivers/staging/Kconfig |2 + drivers/staging/Makefile |1 + drivers/s

Re: [PATCH 1/2] staging: octeon: delete driver

2020-02-04 Thread Dan Carpenter
On Tue, Feb 04, 2020 at 12:31:16PM -0800, Matthew Wilcox wrote: > On Tue, Feb 04, 2020 at 08:06:14PM +, Chris Packham wrote: > > On Tue, 2020-02-04 at 07:09 +, gre...@linuxfoundation.org wrote: > > > On Tue, Feb 04, 2020 at 04:02:15AM +, Chris Packham wrote: > > On Tue, 2020-02-04 at 10

Re: [PATCH 1/2] staging: octeon: delete driver

2020-02-04 Thread Matthew Wilcox
On Wed, Feb 05, 2020 at 06:34:16AM +0300, Dan Carpenter wrote: > On Tue, Feb 04, 2020 at 12:31:16PM -0800, Matthew Wilcox wrote: > > On Tue, Feb 04, 2020 at 08:06:14PM +, Chris Packham wrote: > > > On Tue, 2020-02-04 at 07:09 +, gre...@linuxfoundation.org wrote: > > > > On Tue, Feb 04, 2020

Re: [PATCH 1/2] staging: octeon: delete driver

2020-02-04 Thread Guenter Roeck
On 2/4/20 7:34 PM, Dan Carpenter wrote: On Tue, Feb 04, 2020 at 12:31:16PM -0800, Matthew Wilcox wrote: On Tue, Feb 04, 2020 at 08:06:14PM +, Chris Packham wrote: On Tue, 2020-02-04 at 07:09 +, gre...@linuxfoundation.org wrote: On Tue, Feb 04, 2020 at 04:02:15AM +, Chris Packham wr