[PATCH v16 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter DT schema

2020-09-17 Thread Xin Ji
anx7625: MIPI to DP transmitter DT schema Signed-off-by: Xin Ji Reviewed-by: Rob Herring --- .../bindings/display/bridge/analogix,anx7625.yaml | 95 ++ 1 file changed, 95 insertions(+) create mode 100644

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Greg KH
On Wed, Sep 16, 2020 at 10:36:18PM +0100, Daniel Scally wrote: > MAINTAINERS | 6 + > drivers/media/pci/intel/ipu3/ipu3-cio2.c | 67 +++- staging drivers should be self-contained, and not modify stuff outside of drivers/staging/ >

[PATCH v16 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP

2020-09-17 Thread Xin Ji
The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/Kconfig |9 + drivers/gpu/drm/bridge/analogix/Makefile |1 +

[PATCH 1/2] staging: rtl8188eu: use __func__ in hal directory

2020-09-17 Thread Michael Straube
Use __func__ instead of hardcoded function names to clear checkpatch warnings. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal_intf.c | 4 +- drivers/staging/rtl8188eu/hal/odm.c | 60 +-- drivers/staging/rtl8188eu/hal/phy.c | 2 +-

[PATCH 2/2] staging: rtl8188eu: clean up comparsion style issues

2020-09-17 Thread Michael Straube
Move constants to the right side of comparsions to follow kernel coding style and clear checkpatch warnings. In case of comparsion to _FAIL we can use '!' since _FAIL is defined as '0'. WARNING: Comparisons should place the constant on the right side of the test Signed-off-by: Michael Straube

Re: [PATCH 0/5] ARM: dts: sun8i: r40: Enable video decoder

2020-09-17 Thread Hans Verkuil
Hi Maxime, On 27/08/2020 17:19, Maxime Ripard wrote: > On Tue, Aug 25, 2020 at 07:35:18PM +0200, Jernej Skrabec wrote: >> Allwinner R40 SoC contains video engine very similar to that in A33. >> >> First two patches add system controller nodes and the rest of them >> add support for Cedrus VPU. >>

Re: [PATCH] media: cedrus: Propagate OUTPUT resolution to CAPTURE

2020-09-17 Thread Nicolas Dufresne
Le jeudi 17 septembre 2020 à 12:39 +0200, Hans Verkuil a écrit : > On 14/05/2020 17:39, Nicolas Dufresne wrote: > > As per spec, the CAPTURE resolution should be automatically set based on > > the OTUPUT resolution. This patch properly propagate width/height to the > > capture when the OUTPUT

[driver-core:driver-core-testing] BUILD SUCCESS b85300173d027131ced9a654c506785f15cfdd6f

2020-09-17 Thread kernel test robot
allnoconfig i386 randconfig-a004-20200917 i386 randconfig-a006-20200917 i386 randconfig-a003-20200917 i386 randconfig-a001-20200917 i386 randconfig-a002-20200917 i386 randconfig

Offer for humanitarian work in your country

2020-09-17 Thread Jane Lilly
HELLO, My name is Mrs. Jane from America, I read about you from a reliable web site and i will love to employ you into humanitarian work in your country, I'm ready to donate some money for you to carry out the work in your country. Please reply with your private email address so that i will

FOESCO Informa

2020-09-17 Thread FOESCO
Buenos días Soy Alex Pons, director de FOESCO (Formación Estatal Continua). Llegadas estas fechas y como cada año, recordamos a todas las empresas Españolas su derecho a consumir el Crédito de Formación del que disponen para la formación de sus empleados, antes de su caducidad a final de año.

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Daniel Scally
On 17/09/2020 15:14, Andy Shevchenko wrote: > On Thu, Sep 17, 2020 at 4:53 PM Dan Scally wrote: >> Hi Andy, thanks for input (as always) > You're welcome! I'm really impressed by your activity in this area. Thanks - it's pretty fun so far >>> Ah, I think you misinterpreted the meaning of above.

[PATCH v16 0/2] Add initial support for slimport anx7625

2020-09-17 Thread Xin Ji
Hi all, The following series add support for the Slimport ANX7625 transmitter, a ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable device. This is the v16 version, any mistakes, please let me know, I will fix it in the next series. Change history: v16: Fix compile error

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Dan Scally
On 17/09/2020 11:15, Dan Carpenter wrote: > On Thu, Sep 17, 2020 at 10:47:50AM +0100, Dan Scally wrote: >> Hi Greg - thanks for the comments, appreciate it (sorry there's so many, >> I'm new to both C and kernel work) > It's pretty impressive work if you're new to C... Thanks (and for your other

[PATCH v4 7/8] staging: hikey9xx: phy-hi3670-usb3: change some DT properties

2020-09-17 Thread Mauro Carvalho Chehab
Do some changes at the DT properties in order to make it follow the phy-hi3660-usb3 example and to simplify usb3-phy-tx-vboost-lvl name. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/phy-hi3670-usb3.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

[PATCH v4 4/8] staging: hikey9xx: phy-hi3670-usb3: use a consistent namespace

2020-09-17 Thread Mauro Carvalho Chehab
Rename hikey970 to hi3670, in order to use a namespace similar to hi3660 driver. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/phy-hi3670-usb3.c | 98 +++--- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git

[PATCH v4 8/8] staging: hikey9xx: convert phy-kirin970-usb3.txt to yaml

2020-09-17 Thread Mauro Carvalho Chehab
Use the new YAML for this physical layer. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/phy-hi3670-usb3.txt | 25 --- drivers/staging/hikey9xx/phy-hi3670-usb3.yaml | 72 +++ 2 files changed, 72 insertions(+), 25 deletions(-) delete mode 100644

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Dan Scally
Hi Greg - thanks for the comments, appreciate it (sorry there's so many, I'm new to both C and kernel work) On 17/09/2020 08:53, Greg KH wrote: > On Wed, Sep 16, 2020 at 10:36:18PM +0100, Daniel Scally wrote: >> MAINTAINERS | 6 + >>

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Dan Carpenter
On Thu, Sep 17, 2020 at 10:47:50AM +0100, Dan Scally wrote: > Hi Greg - thanks for the comments, appreciate it (sorry there's so many, > I'm new to both C and kernel work) It's pretty impressive work if you're new to C... > > > >> + return; > > No error value? > The prototype

[PATCH v4 0/8] Add a staging driver for Hikey 970 PHY laywer

2020-09-17 Thread Mauro Carvalho Chehab
Hi Greg, This series add the phy layer needed for the USB stack to work on Hikey 970. The main difference against v3 is that I'm sending this one via staging. In order for this phy to actually work properly, we still need to apply one quirk patch at dwc3, which fixes some issues with USB HID

[PATCH v4 1/8] staging: hikey9xx: add USB physical layer for Kirin 3670

2020-09-17 Thread Mauro Carvalho Chehab
From: Yu Chen Add the Hisilicon Kirin 3670 USB phy driver. This driver was imported from Linaro's official Hikey 970 tree, from the original patch, removing the addition of the dwg3-specific parts, and getting the missing SoB from its original author:

[PATCH v4 6/8] staging: hikey9xx: phy-hi3670-usb3: fix coding style

2020-09-17 Thread Mauro Carvalho Chehab
Address the issues reported by checkpatch --strict, and add a SPDX tag. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/phy-hi3670-usb3.c | 157 ++--- 1 file changed, 76 insertions(+), 81 deletions(-) diff --git a/drivers/staging/hikey9xx/phy-hi3670-usb3.c

[PATCH v4 2/8] staging: hikey9xx: add build for the Kirin 970 PHY driver

2020-09-17 Thread Mauro Carvalho Chehab
Add the needed bits in order to build the Kirin 970 PHY driver. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/Kconfig | 11 +++ drivers/staging/hikey9xx/Makefile | 2 ++ 2 files changed, 13 insertions(+) diff --git a/drivers/staging/hikey9xx/Kconfig

[PATCH v4 5/8] staging: hikey9xx: phy-hi3670-usb3.txt: use a consistent namespace

2020-09-17 Thread Mauro Carvalho Chehab
While this driver is not used yet, use a more consistent namespace, similar to the PHY layer for Kirin 960 (hi3660). Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/phy-hi3670-usb3.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v4 3/8] staging: hikey9xx: phy-hi3670-usb3: fix some issues at the init code

2020-09-17 Thread Mauro Carvalho Chehab
From: Yu Chen There are some problems at the initialization part of this phy. Solve them. Signed-off-by: Yu Chen Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/hikey9xx/phy-hi3670-usb3.c | 70 ++ 1 file changed, 32 insertions(+), 38 deletions(-) diff --git

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Dan Carpenter
On Wed, Sep 16, 2020 at 10:36:18PM +0100, Daniel Scally wrote: > diff --git a/drivers/media/pci/intel/ipu3/ipu3-cio2.c > b/drivers/media/pci/intel/ipu3/ipu3-cio2.c > index 92f5eadf2c99..fd941d2c7581 100644 > --- a/drivers/media/pci/intel/ipu3/ipu3-cio2.c > +++

Re: [PATCH] media: cedrus: Propagate OUTPUT resolution to CAPTURE

2020-09-17 Thread Hans Verkuil
On 14/05/2020 17:39, Nicolas Dufresne wrote: > As per spec, the CAPTURE resolution should be automatically set based on > the OTUPUT resolution. This patch properly propagate width/height to the > capture when the OUTPUT format is set and override the user provided > width/height with configured

Re: [PATCH 1/2] staging: rtl8188eu: use __func__ in hal directory

2020-09-17 Thread Joe Perches
On Thu, 2020-09-17 at 09:13 +0200, Michael Straube wrote: > Use __func__ instead of hardcoded function names to clear > checkpatch warnings. [] > diff --git a/drivers/staging/rtl8188eu/hal/odm.c > b/drivers/staging/rtl8188eu/hal/odm.c [] > @@ -249,7 +249,7 @@ void odm_CommonInfoSelfUpdate(struct

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Sakari Ailus
Hi Daniel, Thank you for the patch. Is this all that it takes to add support for some machines shipped with Windows? The ones I know require PMIC control done in software (not even sensors are accessible without that). One possibility would be to put this to platform code. That would

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Dan Scally
Hey Sakari - thanks for the reply On 17/09/2020 11:33, Sakari Ailus wrote: > Hi Daniel, > > Thank you for the patch. > > Is this all that it takes to add support for some machines shipped with > Windows? Almost > The ones I know require PMIC control done in software (not even > sensors are

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Dan Carpenter
On Thu, Sep 17, 2020 at 01:33:43PM +0300, Sakari Ailus wrote: > > +static int connect_supported_devices(void) > > +{ > > + struct acpi_device *adev; > > + struct device *dev; > > + struct sensor_bios_data ssdb; > > + struct sensor *sensor; > > + struct property_entry *sensor_props; > > +

[PATCH AUTOSEL 4.19 151/206] staging:r8188eu: avoid skb_clone for amsdu to msdu conversion

2020-09-17 Thread Sasha Levin
From: Ivan Safonov [ Upstream commit 628cbd971a927abe6388d44320e351c337b331e4 ] skb clones use same data buffer, so tail of one skb is corrupted by beginning of next skb. Signed-off-by: Ivan Safonov Link: https://lore.kernel.org/r/20200423191404.12028-1-insafo...@gmail.com Signed-off-by: Greg

[PATCH AUTOSEL 5.4 137/330] media: staging/imx: Missing assignment in imx_media_capture_device_register()

2020-09-17 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit ef0ed05dcef8a74178a8b480cce23a377b1de2b8 ] There was supposed to be a "ret = " assignment here, otherwise the error handling on the next line won't work. Fixes: 64b5a49df486 ("[media] media: imx: Add Capture Device Interface") Signed-off-by: Dan Carpenter

[PATCH AUTOSEL 4.19 085/206] media: staging/imx: Missing assignment in imx_media_capture_device_register()

2020-09-17 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit ef0ed05dcef8a74178a8b480cce23a377b1de2b8 ] There was supposed to be a "ret = " assignment here, otherwise the error handling on the next line won't work. Fixes: 64b5a49df486 ("[media] media: imx: Add Capture Device Interface") Signed-off-by: Dan Carpenter

[PATCH AUTOSEL 4.14 090/127] staging:r8188eu: avoid skb_clone for amsdu to msdu conversion

2020-09-17 Thread Sasha Levin
From: Ivan Safonov [ Upstream commit 628cbd971a927abe6388d44320e351c337b331e4 ] skb clones use same data buffer, so tail of one skb is corrupted by beginning of next skb. Signed-off-by: Ivan Safonov Link: https://lore.kernel.org/r/20200423191404.12028-1-insafo...@gmail.com Signed-off-by: Greg

[PATCH AUTOSEL 4.14 051/127] media: staging/imx: Missing assignment in imx_media_capture_device_register()

2020-09-17 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit ef0ed05dcef8a74178a8b480cce23a377b1de2b8 ] There was supposed to be a "ret = " assignment here, otherwise the error handling on the next line won't work. Fixes: 64b5a49df486 ("[media] media: imx: Add Capture Device Interface") Signed-off-by: Dan Carpenter

[PATCH v2] media: cedrus: Propagate OUTPUT resolution to CAPTURE

2020-09-17 Thread Nicolas Dufresne
As per spec, the CAPTURE resolution should be automatically set based on the OTUPUT resolution. This patch properly propagate width/height to the capture when the OUTPUT format is set and override the user provided width/height with configured OUTPUT resolution when the CAPTURE fmt is updated.

Re: [PATCH v2] media: cedrus: Propagate OUTPUT resolution to CAPTURE

2020-09-17 Thread Nicolas Dufresne
Le jeudi 17 septembre 2020 à 20:27 -0400, Nicolas Dufresne a écrit : > As per spec, the CAPTURE resolution should be automatically set based on > the OTUPUT resolution. This patch properly propagate width/height to the > capture when the OUTPUT format is set and override the user provided >

[PATCH AUTOSEL 5.4 246/330] staging:r8188eu: avoid skb_clone for amsdu to msdu conversion

2020-09-17 Thread Sasha Levin
From: Ivan Safonov [ Upstream commit 628cbd971a927abe6388d44320e351c337b331e4 ] skb clones use same data buffer, so tail of one skb is corrupted by beginning of next skb. Signed-off-by: Ivan Safonov Link: https://lore.kernel.org/r/20200423191404.12028-1-insafo...@gmail.com Signed-off-by: Greg

[staging:staging-testing] BUILD SUCCESS 8436f932d84b1d53d2f4a2fa88c7aacdb0313265

2020-09-17 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a004-20200917 i386 randconfig

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Andy Shevchenko
On Thu, Sep 17, 2020 at 01:49:41PM +0300, Dan Carpenter wrote: > On Thu, Sep 17, 2020 at 01:33:43PM +0300, Sakari Ailus wrote: > > > + int i, ret; > > > > unsigned int i > > > > Why? > > For list iterators then "int i;" is best... For sizes then unsigned is > sometimes best. Or if it's part

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Dan Carpenter
On Thu, Sep 17, 2020 at 03:25:29PM +0300, Andy Shevchenko wrote: > On Thu, Sep 17, 2020 at 01:49:41PM +0300, Dan Carpenter wrote: > > On Thu, Sep 17, 2020 at 01:33:43PM +0300, Sakari Ailus wrote: > > > > > + int i, ret; > > > > > > unsigned int i > > > > > > > Why? > > > > For list

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Kieran Bingham
Hi Dan, Greg, On 17/09/2020 10:47, Dan Scally wrote: > Hi Greg - thanks for the comments, appreciate it (sorry there's so many, > I'm new to both C and kernel work) > > On 17/09/2020 08:53, Greg KH wrote: >> On Wed, Sep 16, 2020 at 10:36:18PM +0100, Daniel Scally wrote: >>> MAINTAINERS

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Andy Shevchenko
On Thu, Sep 17, 2020 at 11:52:28AM +0100, Dan Scally wrote: > On 17/09/2020 11:33, Sakari Ailus wrote: I will do better review for next version, assuming you will Cc reviewers and TWIMC people. Below is like small part of comments I may give to the code. ... > > The ones I know require PMIC

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Dan Scally
Hi Andy, thanks for input (as always) On 17/09/2020 13:45, Andy Shevchenko wrote: > On Thu, Sep 17, 2020 at 11:52:28AM +0100, Dan Scally wrote: >> On 17/09/2020 11:33, Sakari Ailus wrote: > I will do better review for next version, assuming you will Cc reviewers and > TWIMC people. Below is like

Re: [PATCH 0/5] ARM: dts: sun8i: r40: Enable video decoder

2020-09-17 Thread Maxime Ripard
On Thu, Sep 17, 2020 at 10:33:39AM +0200, Hans Verkuil wrote: > Hi Maxime, > > On 27/08/2020 17:19, Maxime Ripard wrote: > > On Tue, Aug 25, 2020 at 07:35:18PM +0200, Jernej Skrabec wrote: > >> Allwinner R40 SoC contains video engine very similar to that in A33. > >> > >> First two patches add

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Joe Perches
On Thu, 2020-09-17 at 12:34 +0300, Dan Carpenter wrote: > On Wed, Sep 16, 2020 at 10:36:18PM +0100, Daniel Scally wrote: > > diff --git a/drivers/staging/media/ipu3/cio2-bridge.c > > b/drivers/staging/media/ipu3/cio2-bridge.c [] > > + if (!dev->driver_data) { > > +

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Andy Shevchenko
On Thu, Sep 17, 2020 at 4:31 PM Kieran Bingham wrote: > On 17/09/2020 10:47, Dan Scally wrote: > > On 17/09/2020 08:53, Greg KH wrote: > >> On Wed, Sep 16, 2020 at 10:36:18PM +0100, Daniel Scally wrote: > >>> drivers/staging/media/ipu3/Kconfig | 15 + > >>>

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Kieran Bingham
Hi Andy, On 17/09/2020 15:08, Andy Shevchenko wrote: > On Thu, Sep 17, 2020 at 4:31 PM Kieran Bingham > wrote: >> On 17/09/2020 10:47, Dan Scally wrote: >>> On 17/09/2020 08:53, Greg KH wrote: On Wed, Sep 16, 2020 at 10:36:18PM +0100, Daniel Scally wrote: > >

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Andy Shevchenko
On Thu, Sep 17, 2020 at 5:19 PM Kieran Bingham wrote: > On 17/09/2020 15:08, Andy Shevchenko wrote: ... > Ayee, ok so we have 'half' the driver for IPU3 out of staging. Correct. And your below analysis is correct. > From my understanding, the IPU3 consists of two components, the CIO2 > (CSI2

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Andy Shevchenko
On Thu, Sep 17, 2020 at 4:53 PM Dan Scally wrote: > > Hi Andy, thanks for input (as always) You're welcome! I'm really impressed by your activity in this area. > On 17/09/2020 13:45, Andy Shevchenko wrote: > > On Thu, Sep 17, 2020 at 11:52:28AM +0100, Dan Scally wrote: > >> On 17/09/2020 11:33,

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-17 Thread Andy Shevchenko
On Thu, Sep 17, 2020 at 02:36:22PM +0100, Dan Scally wrote: > On 17/09/2020 13:45, Andy Shevchenko wrote: > > On Thu, Sep 17, 2020 at 11:52:28AM +0100, Dan Scally wrote: > >> On 17/09/2020 11:33, Sakari Ailus wrote: > > I will do better review for next version, assuming you will Cc reviewers and >