[PATCH v3 1/3] docs: arm: marvell: replace stale links with archive links

2021-02-15 Thread Lubomir Rintel
because (short of the product briefs) the documents tend to be quite useful. Let's replace them with known working versions of IA's Wayback Machine links. That seems to be about the only way of getting a URL that's going to work the next week. Signed-off-by: Lubomir Rintel --- Changes since v2

[PATCH v3 2/3] docs: arm: marvell: drop a dead links

2021-02-15 Thread Lubomir Rintel
This one has gone away. Remove it; there's good chance there wasn't anything useful there anyway. Signed-off-by: Lubomir Rintel --- Changes since v2: - Just remove one link; the rest has been replaced with archive links Changes since v1: - Adjust for removal of "[PATCH 0/4] docs: arm: ma

[PATCH v3 3/3] docs: arm: marvell: clarify some unimportant Armada 6x0 details

2021-02-15 Thread Lubomir Rintel
MMP2 is used in XO-1.75 and MMP3 is now supported in mainline. Signed-off-by: Lubomir Rintel --- Documentation/arm/marvell.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/arm/marvell.rst b/Documentation/arm/marvell.rst index 615dd8a13807a

[PATCH v3 0/3] docs: arm: Improvements to Marvell SoC documentation

2021-02-15 Thread Lubomir Rintel
Hi, please consider applying the patches chained to this message. The objective is to deal with the a large amount of dead links to material that often comes handy in marvel.rst; and improve some details along the way. Compared to v2, the patches "[PATCH v2 2/5] docs: arm: marvell: fix 38x

[PATCH 0/1] clk: mmp2: Enable the 3D GPU clock alongside the 2D clock

2021-02-03 Thread Lubomir Rintel
Hi, Please consider applying the sad little patch chained to this message. It is a workaround that makes the 2D GPU work on MMP3 when the 3D GPU is not used. It's been observed that the 2D GPU won't work when what is understood to be the 3D GPU clock is turned off. The etnaviv developers suggest

[PATCH 1/1] clk: mmp2: Enable the 3D GPU clock alongside the 2D clock

2021-02-03 Thread Lubomir Rintel
The bits intended to control the 3D GPU clock need to be enabled for the 2D GPU to work. It is not clear why this needs to be done. Forcing the 3D clock on when the etnaviv driver requests a 2D clock works around the problem. Signed-off-by: Lubomir Rintel --- drivers/clk/mmp/clk-gate.c| 9

[PATCH v2 3/5] docs: arm: marvell: replace stale links with archive links

2021-02-03 Thread Lubomir Rintel
because (short of the product briefs) the documents tend to be quite useful. Let's replace them with known working versions of IA's Wayback Machine links. That seems to be about the only way of getting a URL that's going to work the next week. Signed-off-by: Lubomir Rintel --- Changes since v1

[PATCH v2 0/5] docs: arm: Improvements to Marvell SoC documentation

2021-02-03 Thread Lubomir Rintel
Hi, please consider applying the patches chained to this message. The objective is to deal with the a large amount of dead links to material that often comes handy in marvel.rst; and improve some details along the way. The most important change since v1 is the removal of "[PATCH 1/5] docs: arm:

[PATCH v2 2/5] docs: arm: marvell: fix 38x functional spec link

2021-02-03 Thread Lubomir Rintel
This one went away, but the document is still available. Signed-off-by: Lubomir Rintel --- Changes since v1: - Split this off from "[PATCH] docs: arm: marvell: drop some dead links" Documentation/arm/marvel.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc

[PATCH v2 4/5] docs: arm: marvell: clarify some unimportant Armada 6x0 details

2021-02-03 Thread Lubomir Rintel
MMP2 is used in XO-1.75 and MMP3 is now supported in mainline. Signed-off-by: Lubomir Rintel --- Documentation/arm/marvel.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/arm/marvel.rst b/Documentation/arm/marvel.rst index bcf3f4e3e8faf..d83917f226376

[PATCH v2 1/5] docs: arm: marvell: drop some dead links

2021-02-03 Thread Lubomir Rintel
Just remove these; there's good chance there wasn't anything useful there anyway. Signed-off-by: Lubomir Rintel --- Changes since v1: - Adjust for removal of "[PATCH 1/5] docs: arm: marvell: turn the automatic links into labels" - Split off the hunk that fixes 38x functional

[PATCH v2 5/5] docs: arm: marvell: rename marvel.rst to marvell.rst

2021-02-03 Thread Lubomir Rintel
This company is not the superheroes you're looking for. Signed-off-by: Lubomir Rintel --- Documentation/arm/{marvel.rst => marvell.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Documentation/arm/{marvel.rst => marvell.rst} (100%) diff --git a/Documentation/arm/marvel

Re: ARM: dts: mmp devicetree updates

2021-02-02 Thread Lubomir Rintel
On Tue, Feb 02, 2021 at 06:13:18PM +0100, Arnd Bergmann wrote: > On Tue, Feb 2, 2021 at 5:41 PM Arnd Bergmann wrote: > > > > On Fri, Jan 22, 2021 at 3:09 PM Arnd Bergmann wrote: > > > On Thu, Jan 21, 2021 at 4:41 AM Lubomir Rintel wrote: > > > > > >

Re: [PATCH 1/5] docs: arm: marvell: turn the automatic links into labels

2021-01-30 Thread Lubomir Rintel
On Fri, Jan 29, 2021 at 05:20:28PM -0700, Jonathan Corbet wrote: > Lubomir Rintel writes: > > > Lines ending with obscenely long URLs at the end don't look good. > > > > Even if these links are not that long at this point, they will be when > > replaced with an arch

Re: ARM: dts: mmp devicetree updates

2021-01-29 Thread Lubomir Rintel
On Fri, Jan 22, 2021 at 03:09:14PM +0100, Arnd Bergmann wrote: > On Thu, Jan 21, 2021 at 4:41 AM Lubomir Rintel wrote: > > > > Hi, > > > > chained to this message is a handful of patches related to MMP device > > trees and bindings. Please take a look and consid

[PATCH 3/5] docs: arm: marvell: replace stale links with archive links

2021-01-29 Thread Lubomir Rintel
because (short of the product briefs) the documents tend to be quite useful. Let's replace them with known working versions of IA's Wayback Machine links. That seems to be about the only way of getting a URL that's going to work the next week. Signed-off-by: Lubomir Rintel --- Documentation/arm

[PATCH 4/5] docs: arm: marvell: clarify some unimportant Armada 6x0 details

2021-01-29 Thread Lubomir Rintel
MMP2 is used in XO-1.75 and MMP3 is now supported in mainline. Signed-off-by: Lubomir Rintel --- Documentation/arm/marvel.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/arm/marvel.rst b/Documentation/arm/marvel.rst index 0c291d1091f1d..43f2fe407796e

[PATCH 1/5] docs: arm: marvell: turn the automatic links into labels

2021-01-29 Thread Lubomir Rintel
Lines ending with obscenely long URLs at the end don't look good. Even if these links are not that long at this point, they will be when replaced with an archive link in a subsequent patch -- let's prepare for that. Signed-off-by: Lubomir Rintel --- Documentation/arm/marvel.rst | 209

[PATCH 2/5] docs: arm: marvell: drop some dead links

2021-01-29 Thread Lubomir Rintel
Just remove these; there's good chance there wasn't anything useful there anyway. Signed-off-by: Lubomir Rintel --- Documentation/arm/marvel.rst | 27 ++- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/Documentation/arm/marvel.rst b/Documentation/arm

[PATCH 0/5] docs: arm: Improvements to Marvell SoC documentation

2021-01-29 Thread Lubomir Rintel
Hi, please consider applying the patches chained to this message. The objective is to deal with the a large amount of dead links to material that often comes handy in marvel.rst; and improve some details along the way. Thank you Lubo

[PATCH 5/5] docs: arm: marvell: rename marvel.rst to marvell.rst

2021-01-29 Thread Lubomir Rintel
This company is not the superheroes you're looking for. Signed-off-by: Lubomir Rintel --- Documentation/arm/{marvel.rst => marvell.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Documentation/arm/{marvel.rst => marvell.rst} (100%) diff --git a/Documentation/arm/marvel

Re: [PATCH 1/4] drivers: phy: add support for Armada CP110 UTMI PHY

2021-01-29 Thread Lubomir Rintel
On Fri, Jan 29, 2021 at 10:07:13AM +, Russell King - ARM Linux admin wrote: > On Fri, Jan 29, 2021 at 10:28:49AM +0100, Lubomir Rintel wrote: > > > + /* > > > + * Setup PLL. 40MHz clock used to be the default, being 25MHz now. > > > + * See the functi

[PATCH v7 2/2] drm/bridge: hx8837: add a Himax HX8837 display controller driver

2021-01-28 Thread Lubomir Rintel
: http://wiki.laptop.org/images/0/09/DCON_datasheet_HX8837-A.pdf + * + * Copyright (C) 2020 Lubomir Rintel + */ + +#include +#include +#include +#include +#include + +#include +#include +#include + +#define bridge_to_hx8837_priv(x) \ + container_of(x, struct hx8837_priv, brid

[PATCH v7 1/2] dt-bindings: display: himax,hx8837: Add Himax HX8837 bindings

2021-01-28 Thread Lubomir Rintel
Himax HX8837 is a secondary display controller used to drive the panel on OLPC platforms. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v6: (All based on feedback from Laurent Pinchart) - Add power supplies - Make load/stat-gpios optional - Fix whitespace errors

[PATCH v7 0/2] Add a Himax HX8837 display controller driver

2021-01-28 Thread Lubomir Rintel
Hi, please take a look at the patches chained to this messages and consider applying them. They add support for the controller that drives the panel on the OLPC XO laptops. Compared to v7, points risen in review by Laurent Pinchart have been addressed. Details in change log of patch 1/2. Tested

[PATCH] media: marvell-ccic: power up the device on mclk enable

2021-01-27 Thread Lubomir Rintel
Writing to REG_CLKCTRL with the power off causes a hang. Enable the device first. Cc: sta...@vger.kernel.org # 5.10+ Signed-off-by: Lubomir Rintel --- drivers/media/platform/marvell-ccic/mcam-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/marvell-ccic/mcam

[PATCH 3/3] Platform: OLPC: Specify the enable time

2021-01-26 Thread Lubomir Rintel
Determined empirically. Signed-off-by: Lubomir Rintel --- drivers/platform/olpc/olpc-ec.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index 3c852d573e9b4..72dbbea0005c5 100644 --- a/drivers

[PATCH 1/3] Platform: OLPC: Fix probe error handling

2021-01-26 Thread Lubomir Rintel
Reset ec_priv if probe ends unsuccessfully. Signed-off-by: Lubomir Rintel --- drivers/platform/olpc/olpc-ec.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index f64b82824db28..2db7113383fdc

[PATCH 0/3] Platform: OLPC: A couple of fixes

2021-01-26 Thread Lubomir Rintel
Hi, chained to this message is a couple of fixes related to OLPC EC platform code. Please take a look and consider applying to platform-drivers-x86. Thank you Lubo

[PATCH 2/3] Platform: OLPC: Remove dcon_rdev from olpc_ec_priv

2021-01-26 Thread Lubomir Rintel
It is not needed. Use a local variable instead. Signed-off-by: Lubomir Rintel --- drivers/platform/olpc/olpc-ec.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index 2db7113383fdc..3c852d573e9b4

[PATCH 2/3] dmaengine: mmp_pdma: Allow building as a module

2021-01-21 Thread Lubomir Rintel
There is no reason the Marvell MMP peripheral DMA driver would have to be built-in. Signed-off-by: Lubomir Rintel --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index d242c76326217..04effa065527b 100644

[PATCH 1/3] dmaengine: mmp_pdma: Remove mmp_pdma_filter_fn()

2021-01-21 Thread Lubomir Rintel
It's not used anywhere -- drop it. Signed-off-by: Lubomir Rintel --- drivers/dma/mmp_pdma.c | 14 -- include/linux/dma/mmp-pdma.h | 16 2 files changed, 30 deletions(-) delete mode 100644 include/linux/dma/mmp-pdma.h diff --git a/drivers/dma/mmp_pdma.c b

[PATCH 0/3] dmaengine: Allow building MMP DMA drivers as modules

2021-01-21 Thread Lubomir Rintel
Hi, please consider attaching the patches chained to this message. The last two are straighforward Kconfig changes that allow building mmp_tdma and mmp_pdma as modules so that distros that will choose to enable the drivers will not add bloat to their kernels for other platforms. The first one

[PATCH 3/3] dmaengine: mmp_tdma: Allow building as a module

2021-01-21 Thread Lubomir Rintel
There is no reason the Marvell MMP two-channel audio DMA driver would have to be built-in. Signed-off-by: Lubomir Rintel --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 04effa065527b..978b2f526c5df

ARM: dts: mmp devicetree updates

2021-01-20 Thread Lubomir Rintel
Hi, chained to this message is a handful of patches related to MMP device trees and bindings. Please take a look and consider queueing them for for 5.12. Thank you Lubo

[PATCH 01/12] dt-bindings: gpio: mrvl-gpio: Fix the gpio-ranges property

2021-01-20 Thread Lubomir Rintel
The property specifies a list of GPIO-capable pins. Don't limit it to a single element as there's presumably more than one GPIO pin. Signed-off-by: Lubomir Rintel --- Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 02/12] media: dt-bindings: marvell,mmp2-ccic: Allow power-domains property

2021-01-20 Thread Lubomir Rintel
On MMP3 the camera interface is on a separate power island. This property tells the driver to enable it when appropriate. Signed-off-by: Lubomir Rintel --- .../devicetree/bindings/media/marvell,mmp2-ccic.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation

[PATCH 03/12] ARM: dts: mmp2-olpc-xo-1-75: Fix memory node name

2021-01-20 Thread Lubomir Rintel
It contains a reg property. Add its base to the node name. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts index

[PATCH 04/12] ARM: dts: mmp2-olpc-xo-1-75: Drop linux,usable-memory from /memory

2021-01-20 Thread Lubomir Rintel
']} They've been cargo-culted from Open Firmware and I don't know what purpose they serve. Perhaps they are meant to provide the OFW runtime. In that case it's still okay to drop them from here; OFW is welcome to add it upon boot. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2-olpc-xo-1-75

[PATCH 10/12] ARM: dts: mmp3-dell-ariel: Add the power button node

2021-01-20 Thread Lubomir Rintel
e. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3-dell-ariel.dts | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch/arm/boot/dts/mmp3-dell-ariel.dts index 565cd0fadf3d3..c4a6bd876d849 100644 --- a/arch/arm/boot/dts

[PATCH 05/12] ARM: dts: mmp3-dell-ariel: Drop linux,usable-memory from /memory

2021-01-20 Thread Lubomir Rintel
boot. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3-dell-ariel.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch/arm/boot/dts/mmp3-dell-ariel.dts index fe3b1cd695eeb..53714cb0d171e 100644 --- a/arch/arm/boot/dts/mmp3-dell-ariel.dts

[PATCH 12/12] ARM: dts: mmp3: Fix the CCIC interrupts

2021-01-20 Thread Lubomir Rintel
A copy & paste oversight from MMP2; camera interrupts are handled via a multiplexer on MMP3. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mmp3.dtsi b/arch/arm/boot/dts/mmp3.dtsi i

[PATCH 11/12] ARM: dts: mmp3-dell-ariel: Replace SSP2 with spi-gpio

2021-01-20 Thread Lubomir Rintel
The firmware leaves the pins in GPIO mode. Until we have a proper pinmux driver hooked on we just need to bitbang SPI. No big deal, this is just used for the power button and performance is not important. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3-dell-ariel.dts | 13

[PATCH 06/12] ARM: dts: mmp3: Extend the MPMU reg range

2021-01-20 Thread Lubomir Rintel
The ACGR register is at the offset of 0x1024, beyond the 4k originally assigned to the MPMU range. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp3.dtsi b/arch/arm/boot/dts/mmp3.dtsi index

[PATCH 07/12] ARM: dts: mmp2: Use symbolic names for audio clocks

2021-01-20 Thread Lubomir Rintel
These are slighly easier to read. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index 445bdcd50b9ed..46984d4c5224f 100644 --- a/arch/arm/boot/dts

[PATCH 08/12] ARM: dts: mmp2-olpc-xo-1-75: Use symbolic names for audio clocks

2021-01-20 Thread Lubomir Rintel
These are slighly easier to read. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts index 0f8b5ad48deed

[PATCH 09/12] ARM: dts: mmp3-dell-ariel: Add the embedded controller

2021-01-20 Thread Lubomir Rintel
Add the device node for the computer's embedded controller, responsible for controlling the LEDs and system power. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3-dell-ariel.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch

Re: [PATCH] input: ariel-pwrbutton.c: Remove unused variable ariel_pwrbutton_id_table[]

2021-01-11 Thread Lubomir Rintel
t; > > Any comment on this patch ? > > Lubomir, would you prefer to remove the table or add it to the driver > structure as ariel_pwrbutton_driver->id_table? I believe it can be safely dropped, as the OF match seems to be sufficient. Thank you for the patch Souptick. Reviewed-by: Lubomir Rintel > > Thanks. > > -- > Dmitry

Re: [PATCH] clk: mmp2: fix build without CONFIG_PM

2021-01-05 Thread Lubomir Rintel
, but that caused additional > problems. This is the simple solution of replacing the __maybe_unused > trick with an #ifdef. > > Fixes: 725262d29139 ("clk: mmp2: Add audio clock controller driver") > Signed-off-by: Arnd Bergmann Thank you. Acked-By: Lubomir Rintel > --- > driver

[PATCH v4 2/2] Input: add driver for power button on Dell Wyse 3020

2020-12-01 Thread Lubomir Rintel
put device that is only capable of reporting the power button presses and releases. Signed-off-by: Lubomir Rintel --- Changes since v2: (All by the suggestions of Dmitry Torokhov. Thank you Dmitry!) - Add more includes - Make ariel_pwrbutton.msg_counter not a bitfield - Include an error code in err

[PATCH v4 1/2] dt-bindings: input: Add Dell Wyse 3020 Power Button binding

2020-12-01 Thread Lubomir Rintel
Add binding document for the Dell Wyse 3020 a.k.a. "Ariel" Power Button. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v3: (Based on warnings from Rob's validation bot) - Specify additionalProperties: false - Allow using spi-max-frequency property Change

[PATCH v4 0/2] Add driver for power button on Dell Wyse 3020

2020-12-01 Thread Lubomir Rintel
please consider applying the patches chained to this message. It's a rather simple driver for a power button on Dell Ariel board along with the Device Tree binding document. Compared to previous version, it fixes a validation warning in the DT bindings. Change logs are present in individual

[PATCH RFC 1/4] Platform: OLPC: Specify the enable time for DCON power

2020-12-01 Thread Lubomir Rintel
It takes some significant time between when we ask the EC to enable the DCON power and when we can access the DCON registers. FIXME: Maybe some of the delay is caused on the DCON side once the power is good. Need to check with a scope I suppose. Signed-off-by: Lubomir Rintel --- drivers

[PATCH RFC 4/4] Platform: OLPC: Register regulators for all power lines to DCON

2020-12-01 Thread Lubomir Rintel
-by: Lubomir Rintel --- drivers/platform/olpc/olpc-ec.c | 92 +++-- 1 file changed, 65 insertions(+), 27 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index 72dbbea0005c5..2ab57ffb3d63e 100644 --- a/drivers/platform/olpc/olpc-ec.c

[PATCH RFC 0/4] Platform: OLPC: Register regulators for all power lines to DCON

2020-12-01 Thread Lubomir Rintel
Hi, I'm wondering if I could ask for help hooking up the OLPC display controller driver to the power regulator framework. The DCON chip uses four different power supplies (3.3V, 2.5V and two 1.8V) and the EC is in charge of switching the regulators. I'm not sure how does this plug into the

[PATCH RFC 2/4] Platform: OLPC: Fix handling of regulator registration error

2020-12-01 Thread Lubomir Rintel
We wouldn't reset ec_priv previously. Let's handle handle the errors in a single spot to fix this. Signed-off-by: Lubomir Rintel --- drivers/platform/olpc/olpc-ec.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers

[PATCH RFC 3/4] Platform: OLPC: Remove regulator_dev from the priv struct

2020-12-01 Thread Lubomir Rintel
We don't need it as it's device-managed. A local variable will do. Signed-off-by: Lubomir Rintel --- drivers/platform/olpc/olpc-ec.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index 2ad638583cc58

[PATCH v3 2/2] Input: add driver for power button on Dell Wyse 3020

2020-11-30 Thread Lubomir Rintel
put device that is only capable of reporting the power button presses and releases. Signed-off-by: Lubomir Rintel --- Changes since v2: (All by the suggestions of Dmitry Torokhov. Thank you Dmitry!) - Add more includes - Make ariel_pwrbutton.msg_counter not a bitfield - Include an error code in err

[PATCH v3 1/2] dt-bindings: input: Add Dell Wyse 3020 Power Button binding

2020-11-30 Thread Lubomir Rintel
Add binding document for the Dell Wyse 3020 a.k.a. "Ariel" Power Button. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v1: - Collect Rob's R-b .../bindings/input/ariel-pwrbutton.yaml | 53 +++ 1 file changed, 53 insertions(+) c

[PATCH v3 0/2] Add driver for power button on Dell Wyse 3020

2020-11-30 Thread Lubomir Rintel
Hi, please consider applying the patches chained to this message. It's a rather simple driver for a power button on Dell Ariel board along with the Device Tree binding document. Compared to previous version, issues pointed out in the review by Dmitry Torokhov have been addressed. Change logs are

[PATCH v2 2/2] Input: add driver for power button on Dell Wyse 3020

2020-11-29 Thread Lubomir Rintel
put device that is only capable of reporting the power button presses and releases. Signed-off-by: Lubomir Rintel --- Changes since v1: - Do away bitfields in order to be endian independent drivers/input/misc/Kconfig | 11 ++ drivers/input/misc/Makefile | 1 + drivers/input/

[PATCH v2 1/2] dt-bindings: input: Add Dell Wyse 3020 Power Button binding

2020-11-29 Thread Lubomir Rintel
Add binding document for the Dell Wyse 3020 a.k.a. "Ariel" Power Button. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v1: - Collect Rob's R-b .../bindings/input/ariel-pwrbutton.yaml | 53 +++ 1 file changed, 53 insertions(+) c

[PATCH v2 0/2] Add driver for power button on Dell Wyse 3020

2020-11-29 Thread Lubomir Rintel
please consider applying the patches chained to this message. It's a rather simple driver for a power button on Dell Ariel board along with the Device Tree binding document. Compared to previous version, endianness issues are fixed and I connected a Reviewed-by for the binding doc that I failed

Re: [PATCH v6 1/2] dt-bindings: display: himax,hx8837: Add Himax HX8837 bindings

2020-11-18 Thread Lubomir Rintel
On Sun, Nov 01, 2020 at 06:39:22PM +0200, Laurent Pinchart wrote: > Hi Lubomir, > > Thank you for the patch. Thanks for the message. Some responses inline below. > On Fri, Oct 30, 2020 at 04:07:59AM +0100, Lubomir Rintel wrote: > > Himax HX8837 is a secondary display contro

Re: [PATCH v6 2/2] drm/bridge: hx8837: add a Himax HX8837 display controller driver

2020-10-31 Thread Lubomir Rintel
Hello Sam, thanks for your response. On Sat, Oct 31, 2020 at 09:01:37AM +0100, Sam Ravnborg wrote: > Hi Lubomir. > > On Fri, Oct 30, 2020 at 04:08:00AM +0100, Lubomir Rintel wrote: > > Himax HX8837 is used to drive the LCD panel on OLPC platforms. > > > > It c

[PATCH v6 2/2] drm/bridge: hx8837: add a Himax HX8837 display controller driver

2020-10-29 Thread Lubomir Rintel
@ -0,0 +1,330 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * HiMax HX8837 Display Controller Driver + * + * Datasheet: http://wiki.laptop.org/images/0/09/DCON_datasheet_HX8837-A.pdf + * + * Copyright (C) 2020 Lubomir Rintel + */ + +#include +#include +#include +#include +#include

[no subject]

2020-10-29 Thread Lubomir Rintel
Subject: [PATCH v6 0/2] Add a Himax HX8837 display controller driver Date: Sat, 26 Sep 2020 02:07:17 +0200 Message-ID: <20200926000719.229204-1-lkund...@v3.sk> (raw) Hi, please take a look at the patches chained to this messages and consider applying them. They add support for the controller

[PATCH v6 1/2] dt-bindings: display: himax,hx8837: Add Himax HX8837 bindings

2020-10-29 Thread Lubomir Rintel
Himax HX8837 is a secondary display controller used to drive the panel on OLPC platforms. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v4: - Rob's Reviewed-by Changes since v3: - Moved to bindings/display/ - Added the ports - Converted to YAML - Removed Pavel's Ack

Re: [RESEND PATCH v5 2/2] drm/bridge: hx8837: add a Himax HX8837 display controller driver

2020-10-25 Thread Lubomir Rintel
Hello Sam, On Fri, Oct 16, 2020 at 10:07:34PM +0200, Sam Ravnborg wrote: > Hi Lubomir. > > On Sat, Sep 26, 2020 at 02:07:19AM +0200, Lubomir Rintel wrote: > > Himax HX8837 is used to drive the LCD panel on OLPC platforms. > > > > It controls the panel backlight and

Re: [PATCH 6/6] dt-bindings: misc: correct the property name cmd-gpios to cmd-gpio

2020-10-15 Thread Lubomir Rintel
s for the patch. I've sent out an equivalent one some time ago: https://lore.kernel.org/lkml/20200925234805.228251-3-lkund...@v3.sk/ In any case, either is fine with me. Acked-by: Lubomir Rintel > --- > Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml | 6 +++--- > 1 file c

[RESEND PATCH v5 0/2] Add a Himax HX8837 display controller driver

2020-09-25 Thread Lubomir Rintel
Hi, please take a look at the patches chained to this messages and consider applying them. They add support for the controller that drives the panel on the OLPC XO laptops. The only change since the previous version is the Reviewed-by tag in DT bindings. Compared to v3 the bindings have been

[RESEND PATCH v5 2/2] drm/bridge: hx8837: add a Himax HX8837 display controller driver

2020-09-25 Thread Lubomir Rintel
Driver + * + * Datasheet: http://wiki.laptop.org/images/0/09/DCON_datasheet_HX8837-A.pdf + * + * Copyright (C) 2020 Lubomir Rintel + */ + +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#define bridge_to_hx8837_priv(x) \ + container_of

[RESEND PATCH v5 1/2] dt-bindings: display: himax,hx8837: Add Himax HX8837 bindings

2020-09-25 Thread Lubomir Rintel
Himax HX8837 is a secondary display controller used to drive the panel on OLPC platforms. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v4: - Rob's Reviewed-by Changes since v3: - Moved to bindings/display/ - Added the ports - Converted to YAML - Removed Pavel's Ack

[RESEND 2 PATCH v3 0/3] phy: Add USB HSIC PHY driver for Marvell MMP3 SoC

2020-09-25 Thread Lubomir Rintel
Hi, please consider applying this patch set. It adds the HSIC PHY driver for Marvell MMP3 along with related DT binding changes. In response to previous submission it was suggested that a cast of private data be removed, but it actually serves a purpose:

[RESEND 2 PATCH v3 3/3] phy: Add USB HSIC PHY driver for Marvell MMP3 SoC

2020-09-25 Thread Lubomir Rintel
Add PHY driver for the HSICs found on Marvell MMP3 SoC. The driver is rather straightforward -- the PHY essentially just needs to be enabled. Signed-off-by: Lubomir Rintel --- Changes since v1: - Explicitely cast drvdata pointer to make sparse happy drivers/phy/marvell/Kconfig | 12

[RESEND 2 PATCH v3 2/3] dt-bindings: phy: Allow BSD licensing of marvell,mmp3-hsic-phy.yaml

2020-09-25 Thread Lubomir Rintel
I wrote this binding and I'm fine with it being GPL + BSD dual-licensed, as is recommended for new DT bindings. Signed-off-by: Lubomir Rintel Acked-by: Rob Herring --- Changes since v2: - Add Rob's ack .../devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml | 2 +- 1 file changed, 1

[RESEND 2 PATCH v3 1/3] dt-bindings: phy: Drop reset-gpios from marvell,mmp3-hsic-phy

2020-09-25 Thread Lubomir Rintel
This has been added in error -- the PHY block doesn't have a reset pin. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v2: - Add Rob's Reviewed-by tag .../devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH] clk: mmp2: Fix the display clock divider base

2020-09-25 Thread Lubomir Rintel
are/65a08a73b2cac/cpu/arm/olpc/lcd.fth Signed-off-by: Lubomir Rintel --- drivers/clk/mmp/clk-of-mmp2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/mmp/clk-of-mmp2.c b/drivers/clk/mmp/clk-of-mmp2.c index 67208aea94c5c..0839fb2049e94 100644 --- a/drivers/clk/

[PATCH 2/2] ARM: dts: mmp2-olpc-xo-1-75: Use plural form of "-gpios"

2020-09-25 Thread Lubomir Rintel
This makes validation happier. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts index f1a41152e9dd7..adde62d6fce73

[PATCH 1/2] ARM: dts: mmp3: Add power domain for the camera

2020-09-25 Thread Lubomir Rintel
The camera interfaces on MMP3 are on a separate power island that needs to be turned on for them to operate and, ideally, turned off when the cameras are not in use. This hooks the power island with the camera interfaces in the device tree. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts

[PATCH 0/2] ARM: dts: A couple of mmp devicetree updates

2020-09-25 Thread Lubomir Rintel
Hi, please take a look at two patches chaned to this message and consider applying them to arm/dt. Thank you Lubo

Re: [PATCH -next] media: marvell-ccic: Fix -Wunused-function warnings

2020-09-10 Thread Lubomir Rintel
On Thu, Sep 10, 2020 at 05:18:15PM +0800, Yuehaibing wrote: > On 2020/9/10 16:22, Lubomir Rintel wrote: > > On Thu, Sep 10, 2020 at 04:09:33PM +0800, YueHaibing wrote: > >> If CONFIG_PM is n, gcc warns: > >> > >> drivers/media/platform/marve

Re: [PATCH -next] media: marvell-ccic: Fix -Wunused-function warnings

2020-09-10 Thread Lubomir Rintel
On Thu, Sep 10, 2020 at 04:09:33PM +0800, YueHaibing wrote: > If CONFIG_PM is n, gcc warns: > > drivers/media/platform/marvell-ccic/mmp-driver.c:347:12: warning: > ‘mmpcam_resume’ defined but not used [-Wunused-function] > static int mmpcam_resume(struct device *dev) > ^

Re: [PATCH -next] mfd: ene-kb3930: Make symbol 'kb3930_power_off' static

2020-09-09 Thread Lubomir Rintel
his commit > marks it static. > > Fixes: 753bd752e181 ("mfd: ene-kb3930: Add driver for ENE KB3930 Embedded > Controller") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun Acked-by: Lubomir Rintel Thank you! Lubo > --- > drivers/mfd/ene-kb3930.c | 2 +- >

[PATCH v5 0/2] Add a Himax HX8837 display controller driver

2020-09-09 Thread Lubomir Rintel
Hi, please take a look at the patches chained to this messages and consider applying them. They add support for the controller that drives the panel on the OLPC XO laptops. The only change since the previous version is the Reviewed-by tag in DT bindings. Compared to v3 the bindings have been

[PATCH v5 1/2] dt-bindings: display: himax,hx8837: Add Himax HX8837 bindings

2020-09-09 Thread Lubomir Rintel
Himax HX8837 is a secondary display controller used to drive the panel on OLPC platforms. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v4: - Rob's Reviewed-by Changes since v3: - Moved to bindings/display/ - Added the ports - Converted to YAML - Removed Pavel's Ack

[PATCH v5 2/2] drm/bridge: hx8837: add a Himax HX8837 display controller driver

2020-09-09 Thread Lubomir Rintel
asheet: http://wiki.laptop.org/images/0/09/DCON_datasheet_HX8837-A.pdf + * + * Copyright (C) 2020 Lubomir Rintel + */ + +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#define bridge_to_hx8837_priv(x) \ + container_of(x, struct hx8837_priv

Re: [RESEND PATCH v3 3/3] phy: Add USB HSIC PHY driver for Marvell MMP3 SoC

2020-09-03 Thread Lubomir Rintel
On Mon, Aug 31, 2020 at 02:28:08PM +0530, Vinod Koul wrote: > On 18-08-20, 00:34, Lubomir Rintel wrote: > > Add PHY driver for the HSICs found on Marvell MMP3 SoC. The driver is > > rather straightforward -- the PHY essentially just needs to be enabled. > > > > Si

Re: [PATCH v1 4/6] dt-bindings: mfd: ene-kb3930: Add compatibles for KB930 and Acer A500

2020-08-23 Thread Lubomir Rintel
Hello, On Sun, Aug 23, 2020 at 10:31:36PM +0300, Dmitry Osipenko wrote: > 23.08.2020 21:20, Lubomir Rintel пишет: > > On Sun, Aug 23, 2020 at 05:08:44PM +0300, Dmitry Osipenko wrote: > >> The ENE KB930 hardware is compatible with KB3930. > >> > >> Acer A500

Re: [PATCH v1 4/6] dt-bindings: mfd: ene-kb3930: Add compatibles for KB930 and Acer A500

2020-08-23 Thread Lubomir Rintel
On Sun, Aug 23, 2020 at 05:08:44PM +0300, Dmitry Osipenko wrote: > The ENE KB930 hardware is compatible with KB3930. > > Acer A500 Iconia Tab is Android tablet device, it has KB930 controller > that is running firmware specifically customized for the needs of the > Acer A500 hardware. This means

Re: [PATCH v1 1/6] mfd: Add driver for Embedded Controller found on Acer Iconia Tab A500

2020-08-23 Thread Lubomir Rintel
Hello, On Sun, Aug 23, 2020 at 05:08:41PM +0300, Dmitry Osipenko wrote: > Acer Iconia Tab A500 is an Android tablet device, it has ENE KB930 > Embedded Controller which provides battery-gauge, LED, GPIO and some > other functions. The EC uses firmware that is specifically customized > for Acer

Re: [PATCH v1 5/6] dt-bindings: mfd: ene-kb3930: Document power-supplies and monitored-battery properties

2020-08-23 Thread Lubomir Rintel
Hi, On Sun, Aug 23, 2020 at 05:08:45PM +0300, Dmitry Osipenko wrote: > Battery could be connected to the controller and in this case controller > will provide a battery-monitor function. > > The power-supplies phandle property is needed in order to describe the > power supply which is used for

[PATCH v4 0/2] dt-bindings: display: himax,hx8837: Add Himax HX8837 bindings

2020-08-19 Thread Lubomir Rintel
(Re-sending the cover letter here, because I left the subject empty and the archive didn't pick it up. Sorry.) Hi, please take a look at the patches chained to this messages and consider applying them. They add support for the controller that drives the panel on the OLPC XO laptops. Compared to

Re: [PATCH 2/2] drm/panel: simple: Add Innolux N133HSE panel support

2020-08-19 Thread Lubomir Rintel
On Mon, May 11, 2020 at 09:47:08AM +0200, Sam Ravnborg wrote: > Hi Richard. > > On Sat, May 09, 2020 at 01:18:34PM +0200, s...@48.io wrote: > > From: Sean Cross > > > > The Innolux N133HSE panel is a 13.3" 1920x1080 panel that contains an > > integrated backlight, and connects via eDP. > > > >

[PATCH v4 1/2] dt-bindings: display: himax,hx8837: Add Himax HX8837 bindings

2020-08-19 Thread Lubomir Rintel
Himax HX8837 is a secondary display controller used to drive the panel on OLPC platforms. Signed-off-by: Lubomir Rintel --- Changes since v3: - Moved to bindings/display/ - Added the ports - Converted to YAML - Removed Pavel's Ack, because the changes are substantial Changes since v2: - s

[no subject]

2020-08-19 Thread Lubomir Rintel
Hi, please take a look at the patches chained to this messages and consider applying them. They add support for the controller that drives the panel on the OLPC XO laptops. Compared to the previous version the bindings have been converted to YAML and the driver itself has been rewritten without

[PATCH v4 2/2] drm/bridge: hx8837: add a Himax HX8837 display controller driver

2020-08-19 Thread Lubomir Rintel
asheet: http://wiki.laptop.org/images/0/09/DCON_datasheet_HX8837-A.pdf + * + * Copyright (C) 2020 Lubomir Rintel + */ + +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#define bridge_to_hx8837_priv(x) \ + container_of(x, struct hx8837_priv

[PATCH 1/2] dt-bindings: display: simple: add Innolux LS075AT011

2020-08-19 Thread Lubomir Rintel
Add the Innolux LS075AT011 7.5" (1200x900) color/reflective LCD panel to the panel-simple compatible list. This panel is used in the OLPC laptops. Signed-off-by: Lubomir Rintel --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+)

[PATCH 0/2] drm/panel: Add support for Innolux LS075AT011

2020-08-19 Thread Lubomir Rintel
Hi, Please take a look at the patches chanied to this message and consider applying them. They add description of the display panel found on OLPC laptops to the simple panel driver. There is no datasheet for the hardware and thus the timings were determined on a best effort basis. The clock

[PATCH 2/2] drm/panel: simple: Add support for Innolux LS075AT011

2020-08-19 Thread Lubomir Rintel
This adds support for the Innolux LS075AT011 7.5" 1200x900 panel. There's no public data sheet for the panel -- the values have been taken from Open Firmware and the documentation for the display controller that drives the panel and tested on the OLPC laptop. Signed-off-by: Lubomir R

  1   2   3   4   5   6   7   8   9   10   >