Re: [RFC 2/3] ARM: sunxi: do not select COMMON_CLK to fix builds

2020-11-16 Thread Krzysztof Kozlowski
On Mon, Nov 16, 2020 at 10:36:12PM -0600, Samuel Holland wrote: > On 11/15/20 11:09 AM, Krzysztof Kozlowski wrote: > > COMMON_CLK is a user-selectable option with its own dependencies. The > > most important dependency is !HAVE_LEGACY_CLK. User-selectable drivers > > should not select COMMON_CLK

Re: [PATCH 1/8] phy: phy-hi3670-usb3: move driver from staging into phy

2020-11-16 Thread Mauro Carvalho Chehab
Em Mon, 16 Nov 2020 09:31:06 -0600 Rob Herring escreveu: > On Mon, Nov 16, 2020 at 01:59:27PM +0100, Mauro Carvalho Chehab wrote: > > The phy USB3 driver for Hisilicon 970 (hi3670) is ready > > for mainstream. Mode it from staging into the main driver's > > s/Mode/Move/ > > > phy/ directory.

Re: [PATCH] Fix warning for static const char * array in audio_manager_module.c

2020-11-16 Thread Greg KH
On Mon, Nov 16, 2020 at 09:43:23PM +0100, Emmanouil Perselis wrote: > On 11/15/20 9:17 AM, Greg Kroah-Hartman wrote: > > On Sun, Nov 15, 2020 at 03:53:16PM +0100, Emmanouil Perselis wrote: > >> This patch fixes the warning "static const char * array should > >> probably be static const char *

Re: [PATCH 2/7] dt: bindings: add mt7621-pll device tree binding documentation

2020-11-16 Thread Sergio Paracuellos
Hi Rob, On Mon, Nov 16, 2020 at 8:16 PM Rob Herring wrote: > > On Wed, 11 Nov 2020 17:30:08 +0100, Sergio Paracuellos wrote: > > Adds device tree binding documentation for PLL controller in > > the MT7621 SOC. > > > > Signed-off-by: Sergio Paracuellos > > --- > >

Re: [RFC 2/3] ARM: sunxi: do not select COMMON_CLK to fix builds

2020-11-16 Thread Samuel Holland
On 11/15/20 11:09 AM, Krzysztof Kozlowski wrote: > COMMON_CLK is a user-selectable option with its own dependencies. The > most important dependency is !HAVE_LEGACY_CLK. User-selectable drivers > should not select COMMON_CLK because they will create a dependency cycle > and build failures. For

Re: [PATCH] Fix warning for static const char * array in audio_manager_module.c

2020-11-16 Thread kernel test robot
Hi Emmanouil, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] [also build test ERROR on v5.10-rc4 next-20201116] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

[PATCH] staging: fieldbus: use kobj_to_dev() to get device

2020-11-16 Thread Ding Xiang
Use kobj_to_dev() instead of container_of() Signed-off-by: Ding Xiang --- drivers/staging/fieldbus/dev_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fieldbus/dev_core.c b/drivers/staging/fieldbus/dev_core.c index 1ba0234cc60d..5aab734606ea 100644

[PATCH] [media] omap4iss: return error code when omap4iss_get() failed

2020-11-16 Thread Yang Yingliang
If omap4iss_get() failed, it need return error code in iss_probe(). Fixes: 59f0ad807681 ("[media] v4l: omap4iss: Add support for OMAP4...") Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- drivers/staging/media/omap4iss/iss.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

Re: [PATCH] Fix warning for static const char * array in audio_manager_module.c

2020-11-16 Thread kernel test robot
Hi Emmanouil, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] [also build test ERROR on v5.10-rc4 next-20201116] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

[PATCH] Fix warning for static const char * array in audio_manager_module.c

2020-11-16 Thread Emmanouil Perselis
On 11/15/20 9:17 AM, Greg Kroah-Hartman wrote: > On Sun, Nov 15, 2020 at 03:53:16PM +0100, Emmanouil Perselis wrote: >> This patch fixes the warning "static const char * array should >> probably be static const char * const" in >> drivers/staging/greybus/audio_manager_module.c >> I think Greg's

Re: [PATCH 2/7] dt: bindings: add mt7621-pll device tree binding documentation

2020-11-16 Thread Rob Herring
On Wed, 11 Nov 2020 17:30:08 +0100, Sergio Paracuellos wrote: > Adds device tree binding documentation for PLL controller in > the MT7621 SOC. > > Signed-off-by: Sergio Paracuellos > --- > .../bindings/clock/mediatek,mt7621-pll.yaml | 51 +++ > 1 file changed, 51 insertions(+)

Re: [PATCH 4/8] regulator: hi6421v600-regulator: move it from staging

2020-11-16 Thread Mark Brown
On Mon, Nov 16, 2020 at 01:59:30PM +0100, Mauro Carvalho Chehab wrote: > This driver is ready for mainstream. Move it out of staging. There's quite a few issues here, to be honest I'm disappointed some of them weren't caught during staging review, this needs fairly substantial work and there's

Re: [PATCH 3/8] mfd: hi6421-spmi-pmic: move driver from staging

2020-11-16 Thread Rob Herring
On Mon, 16 Nov 2020 13:59:29 +0100, Mauro Carvalho Chehab wrote: > This driver is ready for mainstream. So, move it out of staging. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../mfd/hisilicon,hi6421-spmi-pmic.yaml | 159 > MAINTAINERS |

Re: [PATCH 2/8] spmi: hi6421-spmi-pmic: move driver from staging

2020-11-16 Thread Rob Herring
On Mon, 16 Nov 2020 13:59:28 +0100, Mauro Carvalho Chehab wrote: > The Hisilicon 6421v600 SPMI driver is ready for mainstream. > > So, move it from staging. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../spmi/hisilicon,hisi-spmi-controller.yaml | 62 +++ > MAINTAINERS

Re: [PATCH 1/8] phy: phy-hi3670-usb3: move driver from staging into phy

2020-11-16 Thread Rob Herring
On Mon, 16 Nov 2020 13:59:27 +0100, Mauro Carvalho Chehab wrote: > The phy USB3 driver for Hisilicon 970 (hi3670) is ready > for mainstream. Mode it from staging into the main driver's > phy/ directory. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../bindings/phy/phy-hi3670-usb3.yaml

Re: [PATCH 1/8] phy: phy-hi3670-usb3: move driver from staging into phy

2020-11-16 Thread Rob Herring
On Mon, Nov 16, 2020 at 01:59:27PM +0100, Mauro Carvalho Chehab wrote: > The phy USB3 driver for Hisilicon 970 (hi3670) is ready > for mainstream. Mode it from staging into the main driver's s/Mode/Move/ > phy/ directory. > > Signed-off-by: Mauro Carvalho Chehab > --- >

Re: [PATCH v1 11/30] drm/tegra: dc: Support OPP and SoC core voltage scaling

2020-11-16 Thread Mark Brown
On Sun, Nov 15, 2020 at 08:42:10PM +0300, Dmitry Osipenko wrote: > 13.11.2020 20:28, Mark Brown пишет: > >> What should we do? > > As I keep saying the consumer driver should be enumerating the voltages > > it can set, if it can't find any and wants to continue then it can just > > skip setting

[PATCH v3 1/6] media: cedrus: Register all codecs as capability

2020-11-16 Thread Martin Cerveny
All codecs should have capabilities. For example "Allwinner V3s" does not support "MPEG2". Signed-off-by: Martin Cerveny --- drivers/staging/media/sunxi/cedrus/cedrus.c | 22 +-- drivers/staging/media/sunxi/cedrus/cedrus.h | 2 ++

[PATCH v3 4/6] media: cedrus: Add support for V3s

2020-11-16 Thread Martin Cerveny
V3s video engine runs at lower speed and support video decoder for H.264 and JPEG/MJPEG only. Signed-off-by: Martin Cerveny --- drivers/staging/media/sunxi/cedrus/cedrus.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c

[PATCH v3 0/6] ARM: dts: sun8i: v3s: Enable video decoder

2020-11-16 Thread Martin Cerveny
First patch extends cedrus capability to all decoders because V3s missing MPEG2 decoder. Next two patches add system control node (SRAM C1) and next three patches add support for Cedrus VPU. Tested on "Lichee Zero" V3s platform with testing LCD patch (

[PATCH v3 2/6] dt-bindings: sram: allwinner, sun4i-a10-system-control: Add V3s compatibles

2020-11-16 Thread Martin Cerveny
Allwinner V3s has system control similar to that in H3. Add compatibles for system control with SRAM C1 region. Signed-off-by: Martin Cerveny --- .../bindings/sram/allwinner,sun4i-a10-system-control.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v3 5/6] dt-bindings: media: cedrus: Add V3s compatible

2020-11-16 Thread Martin Cerveny
Allwinner V3s SoC contains video engine. Add compatible for it. Signed-off-by: Martin Cerveny --- .../bindings/media/allwinner,sun4i-a10-video-engine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml

[PATCH v3 6/6] ARM: dts: sun8i: v3s: Add video engine node

2020-11-16 Thread Martin Cerveny
Allwinner V3S SoC has a video engine. Add a node for it. Signed-off-by: Martin Cerveny --- arch/arm/boot/dts/sun8i-v3s.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index 70193512c222..e8f304125e2d 100644

[PATCH v3 3/6] ARM: dts: sun8i: v3s: Add node for system control

2020-11-16 Thread Martin Cerveny
Allwinner V3s has system control and SRAM C1 region similar to H3. Signed-off-by: Martin Cerveny --- arch/arm/boot/dts/sun8i-v3s.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index

[PATCH 4/8] regulator: hi6421v600-regulator: move it from staging

2020-11-16 Thread Mauro Carvalho Chehab
This driver is ready for mainstream. Move it out of staging. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 7 +- drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile| 1 +

[PATCH 1/8] phy: phy-hi3670-usb3: move driver from staging into phy

2020-11-16 Thread Mauro Carvalho Chehab
The phy USB3 driver for Hisilicon 970 (hi3670) is ready for mainstream. Mode it from staging into the main driver's phy/ directory. Signed-off-by: Mauro Carvalho Chehab --- .../bindings/phy/phy-hi3670-usb3.yaml | 72 ++ MAINTAINERS | 9 +-

[PATCH 3/8] mfd: hi6421-spmi-pmic: move driver from staging

2020-11-16 Thread Mauro Carvalho Chehab
This driver is ready for mainstream. So, move it out of staging. Signed-off-by: Mauro Carvalho Chehab --- .../mfd/hisilicon,hi6421-spmi-pmic.yaml | 159 MAINTAINERS | 7 + drivers/mfd/Kconfig | 15 +

[PATCH 2/8] spmi: hi6421-spmi-pmic: move driver from staging

2020-11-16 Thread Mauro Carvalho Chehab
The Hisilicon 6421v600 SPMI driver is ready for mainstream. So, move it from staging. Signed-off-by: Mauro Carvalho Chehab --- .../spmi/hisilicon,hisi-spmi-controller.yaml | 62 +++ MAINTAINERS | 7 + drivers/spmi/Kconfig | 9 +

[PATCH 0/8] Move Hikey 970 USB support out of staging and add DT

2020-11-16 Thread Mauro Carvalho Chehab
This patch series finish addressing support for Hikey 970 USB. It moves the power management and USB3 drivers out of staging, adding the device tree changes required for USB3 to work on Hikey 970. Mauro Carvalho Chehab (8): phy: phy-hi3670-usb3: move driver from staging into phy spmi:

Re: [PATCH v2 0/6] ARM: dts: sun8i: v3s: Enable video decoder

2020-11-16 Thread Hans Verkuil
On 16/11/2020 13:07, Martin Cerveny wrote: > Hello. > > On Mon, 16 Nov 2020, Martin Cerveny wrote: >> On Mon, 16 Nov 2020, Hans Verkuil wrote: >>> On 15/11/2020 19:59, Martin Cerveny wrote: On Thu, 5 Nov 2020, Hans Verkuil wrote: > On 12/09/2020 16:30, Martin Cerveny wrote: >> First

Re: [PATCH v2 0/6] ARM: dts: sun8i: v3s: Enable video decoder

2020-11-16 Thread Martin Cerveny
Hello. On Mon, 16 Nov 2020, Martin Cerveny wrote: On Mon, 16 Nov 2020, Hans Verkuil wrote: On 15/11/2020 19:59, Martin Cerveny wrote: On Thu, 5 Nov 2020, Hans Verkuil wrote: On 12/09/2020 16:30, Martin Cerveny wrote: First patch extends cedrus capability to all decoders because V3s missing

Re: [PATCH v2 0/6] ARM: dts: sun8i: v3s: Enable video decoder

2020-11-16 Thread Martin Cerveny
On Mon, 16 Nov 2020, Hans Verkuil wrote: On 15/11/2020 19:59, Martin Cerveny wrote: Hello. On Thu, 5 Nov 2020, Hans Verkuil wrote: Hi Martin, On 12/09/2020 16:30, Martin Cerveny wrote: First patch extends cedrus capability to all decoders because V3s missing MPEG2 decoder. Next two

Re: [PATCH v2 0/6] ARM: dts: sun8i: v3s: Enable video decoder

2020-11-16 Thread Hans Verkuil
On 15/11/2020 19:59, Martin Cerveny wrote: > Hello. > > On Thu, 5 Nov 2020, Hans Verkuil wrote: > >> Hi Martin, >> >> On 12/09/2020 16:30, Martin Cerveny wrote: >>> First patch extends cedrus capability to all decoders >>> because V3s missing MPEG2 decoder. >>> >>> Next two patches add system

Re: [PATCH] media: meson: vdec: add G12/SM1 to module description

2020-11-16 Thread Neil Armstrong
On 16/11/2020 05:30, Christian Hewitt wrote: > The meson vdec driver also supports Amlogic G12/SM1 hardware. > > Signed-off-by: Christian Hewitt > --- > drivers/staging/media/meson/vdec/vdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git