[PATCH] regulator: axp20x: Fix AXP806 dcdcb copy/paste bug

2019-02-14 Thread Rask Ingemann Lambertsen
00 mV Fixes: db4a555f7c4c ("regulator: axp20x: use defines for masks") Signed-off-by: Rask Ingemann Lambertsen --- drivers/regulator/axp20x-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/ax

Re: [RFC PATCH 8/9] ARM: dts: suniv: add initial DTSI file for suniv and F1C100s

2018-01-21 Thread Rask Ingemann Lambertsen
hunk above should go with your patch "[RFC PATCH 9/9] ARM: suniv: f1c100s: add device tree for Lichee Pi Nano" instead. -- Rask Ingemann Lambertsen

Re: [RFC PATCH 8/9] ARM: dts: suniv: add initial DTSI file for suniv and F1C100s

2018-01-21 Thread Rask Ingemann Lambertsen
hunk above should go with your patch "[RFC PATCH 9/9] ARM: suniv: f1c100s: add device tree for Lichee Pi Nano" instead. -- Rask Ingemann Lambertsen

[PATCH v2] ARM: zImage: Fix stack overflow in merge_fdt_bootargs()

2017-07-22 Thread Rask Ingemann Lambertsen
of the stack overflow. As a side effect of this rewrite, you no longer get a space added in front of the kernel command line when no bootargs property was found in the FDT. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> Tested-by: Pavel Machek <pa...@ucw.cz> Tested-by: Sebas

[PATCH v2] ARM: zImage: Fix stack overflow in merge_fdt_bootargs()

2017-07-22 Thread Rask Ingemann Lambertsen
of the stack overflow. As a side effect of this rewrite, you no longer get a space added in front of the kernel command line when no bootargs property was found in the FDT. Signed-off-by: Rask Ingemann Lambertsen Tested-by: Pavel Machek Tested-by: Sebastian Reichel Fixes: d0f34a11ddab ("ARM: 7

Re: [PATCH] ARM: zImage: Fix stack overflow in merge_fdt_bootargs()

2017-07-18 Thread Rask Ingemann Lambertsen
On Tue, Jul 18, 2017 at 09:39:10AM +0200, Richard Genoud wrote: > On 16/07/2017 23:43, Rask Ingemann Lambertsen wrote: [snip] > > +/* This is called early on from head.S, so it can't use much stack. */ > > +static void merge_fdt_bootargs(void *fdt, const char *atag_cmdline) >

Re: [PATCH] ARM: zImage: Fix stack overflow in merge_fdt_bootargs()

2017-07-18 Thread Rask Ingemann Lambertsen
On Tue, Jul 18, 2017 at 09:39:10AM +0200, Richard Genoud wrote: > On 16/07/2017 23:43, Rask Ingemann Lambertsen wrote: [snip] > > +/* This is called early on from head.S, so it can't use much stack. */ > > +static void merge_fdt_bootargs(void *fdt, const char *atag_cmdline) >

[PATCH] ARM: zImage: Fix stack overflow in merge_fdt_bootargs()

2017-07-16 Thread Rask Ingemann Lambertsen
of the stack overflow. As a side effect of this rewrite, you no longer get a space added in front of the kernel command line when no bootargs property was found in the fdt. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> Fixes: d0f34a11ddab ("ARM: 7437/1: zImage: Allow DTB c

[PATCH] ARM: zImage: Fix stack overflow in merge_fdt_bootargs()

2017-07-16 Thread Rask Ingemann Lambertsen
of the stack overflow. As a side effect of this rewrite, you no longer get a space added in front of the kernel command line when no bootargs property was found in the fdt. Signed-off-by: Rask Ingemann Lambertsen Fixes: d0f34a11ddab ("ARM: 7437/1: zImage: Allow DTB command line concaten

Re: [PATCH v8 6/6] arm64: dts: allwinner: h5: add support for the Orange Pi PC 2 board

2017-03-06 Thread Rask Ingemann Lambertsen
e peripherals that we support so far. > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > [Icenowy: dropped all GPIO pinctrl nodes, change red LED gpio, > change MMC cd to active-low, rename some node names to prevent > underscores] > Signed-off-by: I

Re: [PATCH v8 6/6] arm64: dts: allwinner: h5: add support for the Orange Pi PC 2 board

2017-03-06 Thread Rask Ingemann Lambertsen
so far. > > Signed-off-by: Andre Przywara > [Icenowy: dropped all GPIO pinctrl nodes, change red LED gpio, > change MMC cd to active-low, rename some node names to prevent > underscores] > Signed-off-by: Icenowy Zheng Reviewed-by: Rask Ingemann Lambertsen > diff --git

Re: [PATCH v5 2/7] clk: sunxi-ng: rename sun8i-h3 driver to sunxi-h3-h5

2017-02-26 Thread Rask Ingemann Lambertsen
device tree s/Trasitional/Transitional/ I guess. > files which included sun8i-h3-ccu.h can compile. > > Signed-off-by: Icenowy Zheng <icen...@aosc.xyz> > --- > Changes in v5: > - Add the reason to create trasitional headers in commit message. Likewise. -- Rask Ingemann Lambertsen

Re: [PATCH v5 2/7] clk: sunxi-ng: rename sun8i-h3 driver to sunxi-h3-h5

2017-02-26 Thread Rask Ingemann Lambertsen
device tree s/Trasitional/Transitional/ I guess. > files which included sun8i-h3-ccu.h can compile. > > Signed-off-by: Icenowy Zheng > --- > Changes in v5: > - Add the reason to create trasitional headers in commit message. Likewise. -- Rask Ingemann Lambertsen

Re: [PATCH v5 7/7] arm64: dts: sunxi: add support for the Orange Pi PC 2 board

2017-02-26 Thread Rask Ingemann Lambertsen
= < 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */ > + cd-inverted; You should be able to simplify those last two lines to just cd-gpios = < 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ (see the paragraph which begins with "*NOTE* on CD and WP polarity." in 'Documentation/devicetree/bindings/mmc/mmc.txt'.) -- Rask Ingemann Lambertsen

Re: [PATCH v5 7/7] arm64: dts: sunxi: add support for the Orange Pi PC 2 board

2017-02-26 Thread Rask Ingemann Lambertsen
= < 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */ > + cd-inverted; You should be able to simplify those last two lines to just cd-gpios = < 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ (see the paragraph which begins with "*NOTE* on CD and WP polarity." in 'Documentation/devicetree/bindings/mmc/mmc.txt'.) -- Rask Ingemann Lambertsen

Re: [PATCH v5 6/7] arm64: dts: allwinner: add Allwinner H5 .dtsi

2017-02-26 Thread Rask Ingemann Lambertsen
/dev/null > +++ b/arch/arm64/boot/dts/allwinner/sunxi-h3-h5.dtsi > @@ -0,0 +1 @@ > +../../../../arm/boot/dts/sunxi-h3-h5.dtsi > \ No newline at end of file But it's missing more than just a newline, isn't it? Shouldn't it read #include <../../../../arm/boot/dts/sunxi-h3-h5.dtsi> ? -- Rask Ingemann Lambertsen

Re: [PATCH v5 6/7] arm64: dts: allwinner: add Allwinner H5 .dtsi

2017-02-26 Thread Rask Ingemann Lambertsen
h5.dtsi > @@ -0,0 +1 @@ > +../../../../arm/boot/dts/sunxi-h3-h5.dtsi > \ No newline at end of file But it's missing more than just a newline, isn't it? Shouldn't it read #include <../../../../arm/boot/dts/sunxi-h3-h5.dtsi> ? -- Rask Ingemann Lambertsen

Re: [PATCH] arm64: dts: allwinner: add support for Pinebook

2017-02-25 Thread Rask Ingemann Lambertsen
+ cd-inverted; You ought to be able to replace those last two lines with just cd-gpios = < 5 6 GPIO_ACTIVE_LOW>; > + disable-wp; > + bus-width = <4>; > + status = "okay"; > +}; -- Rask Ingemann Lambertsen

Re: [PATCH] arm64: dts: allwinner: add support for Pinebook

2017-02-25 Thread Rask Ingemann Lambertsen
+ cd-inverted; You ought to be able to replace those last two lines with just cd-gpios = < 5 6 GPIO_ACTIVE_LOW>; > + disable-wp; > + bus-width = <4>; > + status = "okay"; > +}; -- Rask Ingemann Lambertsen

[PATCH v2 2/2] mfd: axp20x: Add support for dts property "xpowers,master-mode"

2017-02-22 Thread Rask Ingemann Lambertsen
in master mode. This patch lets the driver use the new device tree property "xpowers,master-mode" to set the correct operating mode for the board. Fixes: 8824ee857348 ("mfd: axp20x: Add support for AXP806 PMIC") Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk>

[PATCH v2 2/2] mfd: axp20x: Add support for dts property "xpowers,master-mode"

2017-02-22 Thread Rask Ingemann Lambertsen
in master mode. This patch lets the driver use the new device tree property "xpowers,master-mode" to set the correct operating mode for the board. Fixes: 8824ee857348 ("mfd: axp20x: Add support for AXP806 PMIC") Signed-off-by: Rask Ingemann Lambertsen --- Changes from v1 to

[PATCH v2 1/2] dts: mfd: axp20x: Add "xpowers,master-mode" property for AXP806 PMICs

2017-02-22 Thread Rask Ingemann Lambertsen
in master mode. To let the device tree describe which mode of operation is needed, this patch introduces a new property "xpowers,master-mode". Fixes: 204ae2963e10 ("mfd: axp20x: Add bindings for AXP806 PMIC") Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> A

[PATCH v2 1/2] dts: mfd: axp20x: Add "xpowers,master-mode" property for AXP806 PMICs

2017-02-22 Thread Rask Ingemann Lambertsen
in master mode. To let the device tree describe which mode of operation is needed, this patch introduces a new property "xpowers,master-mode". Fixes: 204ae2963e10 ("mfd: axp20x: Add bindings for AXP806 PMIC") Signed-off-by: Rask Ingemann Lambertsen Acked-by: Chen-Yu Tsai ---

[PATCH v2 0/2] mfd: axp20x: Restore master mode support on AXP806

2017-02-22 Thread Rask Ingemann Lambertsen
ince kernel 4.9 when the AXP806 support was added. Patch 1 adds the "xpowers,master-mode" property to the AXP806 binding. Patch 2 adds support for it to the axp20x driver. Rask Ingemann Lambertsen (2): dts: mfd: axp20x: Add "xpowers,master-mode" property for AXP806 PMICs m

[PATCH v2 0/2] mfd: axp20x: Restore master mode support on AXP806

2017-02-22 Thread Rask Ingemann Lambertsen
ince kernel 4.9 when the AXP806 support was added. Patch 1 adds the "xpowers,master-mode" property to the AXP806 binding. Patch 2 adds support for it to the axp20x driver. Rask Ingemann Lambertsen (2): dts: mfd: axp20x: Add "xpowers,master-mode" property for AXP806 PMICs m

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-19 Thread Rask Ingemann Lambertsen
On Thu, Feb 16, 2017 at 07:29:57PM +0100, Maxime Ripard wrote: > On Thu, Feb 16, 2017 at 07:17:54AM +0100, Rask Ingemann Lambertsen wrote: > > > > Supported features (+ means tested): [...] > > > > + SATA port on on-board SATA-to-USB bridge * [...] > > >

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-19 Thread Rask Ingemann Lambertsen
On Thu, Feb 16, 2017 at 07:29:57PM +0100, Maxime Ripard wrote: > On Thu, Feb 16, 2017 at 07:17:54AM +0100, Rask Ingemann Lambertsen wrote: > > > > Supported features (+ means tested): [...] > > > > + SATA port on on-board SATA-to-USB bridge * [...] > > >

[PATCH 2/2] mfd: axp20x: Add support for dts property "xpowers,master-mode"

2017-02-18 Thread Rask Ingemann Lambertsen
in master mode. This patch lets the driver use the new device tree property "xpowers,master-mode" to set the correct operating mode for the board. Fixes: b101829a029a ("mfd: axp20x: Fix AXP806 access errors on cold boot") Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.d

[PATCH 2/2] mfd: axp20x: Add support for dts property "xpowers,master-mode"

2017-02-18 Thread Rask Ingemann Lambertsen
in master mode. This patch lets the driver use the new device tree property "xpowers,master-mode" to set the correct operating mode for the board. Fixes: b101829a029a ("mfd: axp20x: Fix AXP806 access errors on cold boot") Signed-off-by: Rask Ingemann Lambertsen

[PATCH 1/2] dts: mfd: axp20x: Add xpowers,master-mode property for AXP806 PMICs

2017-02-18 Thread Rask Ingemann Lambertsen
in master mode. To let the device tree describe which mode of operation is needed, this patch introduces a new property "xpowers,master-mode". Fixes: b101829a029a ("mfd: axp20x: Fix AXP806 access errors on cold boot") Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.

[PATCH 1/2] dts: mfd: axp20x: Add xpowers,master-mode property for AXP806 PMICs

2017-02-18 Thread Rask Ingemann Lambertsen
in master mode. To let the device tree describe which mode of operation is needed, this patch introduces a new property "xpowers,master-mode". Fixes: b101829a029a ("mfd: axp20x: Fix AXP806 access errors on cold boot") Signed-off-by: Rask Ingemann Lambertsen --- Documentation/devi

[PATCH 0/2] mfd: axp20x: Restore master mode support on AXP806

2017-02-18 Thread Rask Ingemann Lambertsen
ince kernel 4.9 when the AXP806 support was added. Patch 1 adds the "xpowers,master-mode" property to the AXP806 binding. Patch 2 adds support for it to the axp20x driver. Rask Ingemann Lambertsen (2): dts: mfd: axp20x: Add xpowers,master-mode property for AXP806 PMICs mfd: axp20x

[PATCH 0/2] mfd: axp20x: Restore master mode support on AXP806

2017-02-18 Thread Rask Ingemann Lambertsen
ince kernel 4.9 when the AXP806 support was added. Patch 1 adds the "xpowers,master-mode" property to the AXP806 binding. Patch 2 adds support for it to the axp20x driver. Rask Ingemann Lambertsen (2): dts: mfd: axp20x: Add xpowers,master-mode property for AXP806 PMICs mfd: axp20x

Re: [PATCH 0/8] ARM: sun8i: a33: Mali improvements

2017-02-17 Thread Rask Ingemann Lambertsen
uot; "2.1 High Level View --- The most important thing to understand is that the DT is simply a data structure that describes the hardware." -- Rask Ingemann Lambertsen

Re: [PATCH 0/8] ARM: sun8i: a33: Mali improvements

2017-02-17 Thread Rask Ingemann Lambertsen
uot; "2.1 High Level View --- The most important thing to understand is that the DT is simply a data structure that describes the hardware." -- Rask Ingemann Lambertsen

Re: AXP808 vs. AXP806 debugged, no difference? (Was: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board)

2017-02-17 Thread Rask Ingemann Lambertsen
On Fri, Feb 17, 2017 at 11:08:59AM +0800, Chen-Yu Tsai wrote: > On Fri, Feb 17, 2017 at 5:16 AM, Rask Ingemann Lambertsen > <r...@formelder.dk> wrote: > > In summary: I'll propose a new property "extended-address" or so to the > > existing "x-powers,axp806&qu

Re: AXP808 vs. AXP806 debugged, no difference? (Was: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board)

2017-02-17 Thread Rask Ingemann Lambertsen
On Fri, Feb 17, 2017 at 11:08:59AM +0800, Chen-Yu Tsai wrote: > On Fri, Feb 17, 2017 at 5:16 AM, Rask Ingemann Lambertsen > wrote: > > In summary: I'll propose a new property "extended-address" or so to the > > existing "x-powers,axp806" compatible

AXP808 vs. AXP806 debugged, no difference? (Was: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board)

2017-02-16 Thread Rask Ingemann Lambertsen
ting unconditionally to 0xff. A new "x-powers,axp808" compatible and new AXP808_ID is therefore not needed. This should make for a simpler and smaller patch. On Wed, Feb 15, 2017 at 12:35:39AM +0100, Rask Ingemann Lambertsen wrote: > As to touching the register at 0xff, it would be int

AXP808 vs. AXP806 debugged, no difference? (Was: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board)

2017-02-16 Thread Rask Ingemann Lambertsen
ting unconditionally to 0xff. A new "x-powers,axp808" compatible and new AXP808_ID is therefore not needed. This should make for a simpler and smaller patch. On Wed, Feb 15, 2017 at 12:35:39AM +0100, Rask Ingemann Lambertsen wrote: > As to touching the register at 0xff, it would be int

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-15 Thread Rask Ingemann Lambertsen
On Fri, Feb 10, 2017 at 09:59:20AM +0100, Maxime Ripard wrote: > Hi, > > On Thu, Feb 09, 2017 at 12:34:06AM +0100, Rask Ingemann Lambertsen wrote: > > The Suncip CX-A99 board is found in at least four brands of media players. > > It features an Allwinner A80 ARM SoC and i

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-15 Thread Rask Ingemann Lambertsen
On Fri, Feb 10, 2017 at 09:59:20AM +0100, Maxime Ripard wrote: > Hi, > > On Thu, Feb 09, 2017 at 12:34:06AM +0100, Rask Ingemann Lambertsen wrote: > > The Suncip CX-A99 board is found in at least four brands of media players. > > It features an Allwinner A80 ARM SoC and i

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-14 Thread Rask Ingemann Lambertsen
On Fri, Feb 10, 2017 at 05:22:21PM +0800, Chen-Yu Tsai wrote: > On Fri, Feb 10, 2017 at 4:59 PM, Maxime Ripard > <maxime.rip...@free-electrons.com> wrote: > > Hi, > > > > On Thu, Feb 09, 2017 at 12:34:06AM +0100, Rask Ingemann Lambertsen wrote: [...] > >> d

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-14 Thread Rask Ingemann Lambertsen
On Fri, Feb 10, 2017 at 05:22:21PM +0800, Chen-Yu Tsai wrote: > On Fri, Feb 10, 2017 at 4:59 PM, Maxime Ripard > wrote: > > Hi, > > > > On Thu, Feb 09, 2017 at 12:34:06AM +0100, Rask Ingemann Lambertsen wrote: [...] > >> diff --git a/arch/arm/boot/dts/sun9i-a80

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-13 Thread Rask Ingemann Lambertsen
> > On Thu, Feb 09, 2017 at 12:34:06AM +0100, Rask Ingemann Lambertsen wrote: [...] > >> + /* 1.8 V (enabled). */ > >> + reg_aldo2: aldo2 { > >> + regulator-boot-on; > >>

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-13 Thread Rask Ingemann Lambertsen
tter... One can figure out the LEDs are connected to the > PL group and maybe realize they are powered this way. Not that easy the other > way around. The LEDs are controlled by PG10 and PG11 but get their power from cldo1, which is connected to the (common) anode of the red and blue LED. Cldo1 also supplies the SoCs "VCC-PL", which powers pin group L that controls the USB 2.0 Vbus and vdd-cpub regulators. Pin group L has nothing to do with the LEDs. Thus I think the regulator name is appropriate in this case. -- Rask Ingemann Lambertsen

[PATCH v2 3/5] mfd: axp20x: Add support for the AXP808 PMIC

2017-02-08 Thread Rask Ingemann Lambertsen
or support. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> Acked-by: Chen-Yu Tsai <w...@csie.org> --- Changes in v2: - Noted in the commit message that another commit for better AXP806 support means the driver no longer works with an AXP808. - axp808_writeable_table was cha

[PATCH v2 3/5] mfd: axp20x: Add support for the AXP808 PMIC

2017-02-08 Thread Rask Ingemann Lambertsen
or support. Signed-off-by: Rask Ingemann Lambertsen Acked-by: Chen-Yu Tsai --- Changes in v2: - Noted in the commit message that another commit for better AXP806 support means the driver no longer works with an AXP808. - axp808_writeable_table was changed to use the common part (between AXP806 an

[PATCH v2 4/5] regulator: axp20x: Add support for the AXP808 PMIC

2017-02-08 Thread Rask Ingemann Lambertsen
The regulators are the same as on the AXP806. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> Acked-by: Mark Brown <broo...@kernel.org> Acked-by: Chen-Yu Tsai <w...@csie.org> --- No changes in v2. drivers/regulator/axp20x-regulator.c | 7 +-- 1 file changed,

[PATCH v2 4/5] regulator: axp20x: Add support for the AXP808 PMIC

2017-02-08 Thread Rask Ingemann Lambertsen
The regulators are the same as on the AXP806. Signed-off-by: Rask Ingemann Lambertsen Acked-by: Mark Brown Acked-by: Chen-Yu Tsai --- No changes in v2. drivers/regulator/axp20x-regulator.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/axp20x

[PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-08 Thread Rask Ingemann Lambertsen
audio output - Jack socket with composite video and analog stereo audio - Bluetooth - FM radio receiver (assuming it is even wired on the board) Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> --- Changes in v6: - Updated commit message description of SATA-to-USB bridge quirk and

[PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-08 Thread Rask Ingemann Lambertsen
put - Jack socket with composite video and analog stereo audio - Bluetooth - FM radio receiver (assuming it is even wired on the board) Signed-off-by: Rask Ingemann Lambertsen --- Changes in v6: - Updated commit message description of SATA-to-USB bridge quirk and added note about experimenta

[PATCH v2 2/5] dts: mfd: axp20x: Add binding for the AXP808

2017-02-08 Thread Rask Ingemann Lambertsen
The AXP808 does not support address space extension, but is otherwise identical to the AXP806, including the chip ID, so add a compatible string for it to the binding. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> Acked-by: Rob Herring <r...@kernel.org> Acked-by: Che

[PATCH v2 2/5] dts: mfd: axp20x: Add binding for the AXP808

2017-02-08 Thread Rask Ingemann Lambertsen
The AXP808 does not support address space extension, but is otherwise identical to the AXP806, including the chip ID, so add a compatible string for it to the binding. Signed-off-by: Rask Ingemann Lambertsen Acked-by: Rob Herring Acked-by: Chen-Yu Tsai --- No changes in v2. Documentation

[PATCH v2 1/5] dts: mfd: axp20x: Add AXP806 to list of current AXP20x family members

2017-02-08 Thread Rask Ingemann Lambertsen
An entry for the AXP806 was forgotten, so add one. Fixes: 204ae2963e10 ("mfd: axp20x: Add bindings for AXP806 PMIC") Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> Acked-by: Chen-Yu Tsai <w...@csie.org> Acked-by: Rob Herring <r...@kernel.org> --- No ch

[PATCH v2 1/5] dts: mfd: axp20x: Add AXP806 to list of current AXP20x family members

2017-02-08 Thread Rask Ingemann Lambertsen
An entry for the AXP806 was forgotten, so add one. Fixes: 204ae2963e10 ("mfd: axp20x: Add bindings for AXP806 PMIC") Signed-off-by: Rask Ingemann Lambertsen Acked-by: Chen-Yu Tsai Acked-by: Rob Herring --- No changes in v2. Documentation/devicetree/bindings/mfd/axp20x.txt | 1

[PATCH v2 0/5] arm: sun9i: Support AXP808 PMIC and Sunchip CX-A99 board

2017-02-08 Thread Rask Ingemann Lambertsen
kernel.org/patch/9530319/ Rask Ingemann Lambertsen (5): dts: mfd: axp20x: Add AXP806 to list of current AXP20x family members dts: mfd: axp20x: Add binding for the AXP808 mfd: axp20x: Add support for the AXP808 PMIC regulator: axp20x: Add support for the AXP808 PMIC ARM: dts: sun9i: Initi

[PATCH v2 0/5] arm: sun9i: Support AXP808 PMIC and Sunchip CX-A99 board

2017-02-08 Thread Rask Ingemann Lambertsen
kernel.org/patch/9530319/ Rask Ingemann Lambertsen (5): dts: mfd: axp20x: Add AXP806 to list of current AXP20x family members dts: mfd: axp20x: Add binding for the AXP808 mfd: axp20x: Add support for the AXP808 PMIC regulator: axp20x: Add support for the AXP808 PMIC ARM: dts: sun9i: Initi

[PATCH 2/4] ARM: multi_v7_defconfig: Switch sunxi RSB driver from module to built-in

2017-02-08 Thread Rask Ingemann Lambertsen
The sunxi RSB bus is used for peripherals like voltage regulators and real-time clocks which should be available early in the boot process. As a module, the driver will not be available until the root fs has been mounted, so build the driver into the kernel. Signed-off-by: Rask Ingemann

[PATCH 2/4] ARM: multi_v7_defconfig: Switch sunxi RSB driver from module to built-in

2017-02-08 Thread Rask Ingemann Lambertsen
The sunxi RSB bus is used for peripherals like voltage regulators and real-time clocks which should be available early in the boot process. As a module, the driver will not be available until the root fs has been mounted, so build the driver into the kernel. Signed-off-by: Rask Ingemann

[PATCH 3/4] ARM: multi_v7_defconfig: Enable AC100 RTC driver

2017-02-08 Thread Rask Ingemann Lambertsen
Enable the AC100 RTC driver so boards with it can keep track of time. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> --- This patch will have no effect if patch 2/4 is not applied. arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ar

[PATCH 3/4] ARM: multi_v7_defconfig: Enable AC100 RTC driver

2017-02-08 Thread Rask Ingemann Lambertsen
Enable the AC100 RTC driver so boards with it can keep track of time. Signed-off-by: Rask Ingemann Lambertsen --- This patch will have no effect if patch 2/4 is not applied. arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs

[PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module to built-in

2017-02-08 Thread Rask Ingemann Lambertsen
The AXP20X regulator support is currently built as a module, which means it's not available until the root fs has been mounted, but the boot loader might not have enabled the required regulators, so build their drivers into the kernel. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder

[PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module to built-in

2017-02-08 Thread Rask Ingemann Lambertsen
The AXP20X regulator support is currently built as a module, which means it's not available until the root fs has been mounted, but the boot loader might not have enabled the required regulators, so build their drivers into the kernel. Signed-off-by: Rask Ingemann Lambertsen --- This patch

[PATCH 1/4] ARM: sunxi_defconfig: Enable AC100 RTC driver

2017-02-08 Thread Rask Ingemann Lambertsen
Enable the AC100 RTC driver so boards with it can keep track of time. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> Acked-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/configs/sunxi_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/sunxi

[PATCH 1/4] ARM: sunxi_defconfig: Enable AC100 RTC driver

2017-02-08 Thread Rask Ingemann Lambertsen
Enable the AC100 RTC driver so boards with it can keep track of time. Signed-off-by: Rask Ingemann Lambertsen Acked-by: Chen-Yu Tsai --- arch/arm/configs/sunxi_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig

Re: [v5,3/7] rtc: ac100: Add RTC driver for X-Powers AC100

2017-02-06 Thread Rask Ingemann Lambertsen
On Mon, Feb 06, 2017 at 11:29:07AM +0800, Chen-Yu Tsai wrote: > On Mon, Feb 6, 2017 at 5:33 AM, Rask Ingemann Lambertsen > <r...@formelder.dk> wrote: > > >8 > > Subject: [PATCH] ARM: sunxi_defconfig: Enable AC100 RTC driver &

Re: [v5,3/7] rtc: ac100: Add RTC driver for X-Powers AC100

2017-02-06 Thread Rask Ingemann Lambertsen
On Mon, Feb 06, 2017 at 11:29:07AM +0800, Chen-Yu Tsai wrote: > On Mon, Feb 6, 2017 at 5:33 AM, Rask Ingemann Lambertsen > wrote: > > >8 > > Subject: [PATCH] ARM: sunxi_defconfig: Enable AC100 RTC driver > > > > Enab

Re: [v5,3/7] rtc: ac100: Add RTC driver for X-Powers AC100

2017-02-05 Thread Rask Ingemann Lambertsen
s well? >8 Subject: [PATCH] ARM: sunxi_defconfig: Enable AC100 RTC driver Enable the AC100 RTC driver so boards with it can keep track of time. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> --- arch/arm/configs/sunxi_defconfig | 2 ++ 1 file change

Re: [v5,3/7] rtc: ac100: Add RTC driver for X-Powers AC100

2017-02-05 Thread Rask Ingemann Lambertsen
s well? >8 Subject: [PATCH] ARM: sunxi_defconfig: Enable AC100 RTC driver Enable the AC100 RTC driver so boards with it can keep track of time. Signed-off-by: Rask Ingemann Lambertsen --- arch/arm/configs/sunxi_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --g

Re: [PATCH 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-05 Thread Rask Ingemann Lambertsen
On Thu, Feb 02, 2017 at 03:36:41PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Fri, Jan 27, 2017 at 5:27 AM, Rask Ingemann Lambertsen > <r...@formelder.dk> wrote: [...] > > diff --git a/arch/arm/boot/dts/sun9i-a80-cx-a99.dts > > b/arch/arm/boot/dts/sun9i-a80-cx-a9

Re: [PATCH 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-05 Thread Rask Ingemann Lambertsen
On Thu, Feb 02, 2017 at 03:36:41PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Fri, Jan 27, 2017 at 5:27 AM, Rask Ingemann Lambertsen > wrote: [...] > > diff --git a/arch/arm/boot/dts/sun9i-a80-cx-a99.dts > > b/arch/arm/boot/dts/sun9i-a80-cx-a99.dts > > new file

Re: [PATCH 3/5] mfd: axp20x: Add support for the AXP808 PMIC

2017-02-03 Thread Rask Ingemann Lambertsen
On Thu, Feb 02, 2017 at 03:23:33PM +0800, Chen-Yu Tsai wrote: > On Fri, Jan 27, 2017 at 5:25 AM, Rask Ingemann Lambertsen > <r...@formelder.dk> wrote: [...] > > diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c > > index 25115fe..2d3383e 100644 > > --- a/

Re: [PATCH 3/5] mfd: axp20x: Add support for the AXP808 PMIC

2017-02-03 Thread Rask Ingemann Lambertsen
On Thu, Feb 02, 2017 at 03:23:33PM +0800, Chen-Yu Tsai wrote: > On Fri, Jan 27, 2017 at 5:25 AM, Rask Ingemann Lambertsen > wrote: [...] > > diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c > > index 25115fe..2d3383e 100644 > > --- a/drivers/mfd/axp20x.c > &

Re: [PATCH 0/5] arm: sun9i: Support AXP808 PMIC and Sunchip CX-A99 board

2017-01-26 Thread Rask Ingemann Lambertsen
Please Cc: linux-arm-ker...@lists.infradead.org on replies as I accidentally left it out when mailing out this series. I have sent a copy with identical message-ids to linux-arm-ker...@lists.infradead.org, so replies should be threaded properly. -- Rask Ingemann Lambertsen

Re: [PATCH 0/5] arm: sun9i: Support AXP808 PMIC and Sunchip CX-A99 board

2017-01-26 Thread Rask Ingemann Lambertsen
Please Cc: linux-arm-ker...@lists.infradead.org on replies as I accidentally left it out when mailing out this series. I have sent a copy with identical message-ids to linux-arm-ker...@lists.infradead.org, so replies should be threaded properly. -- Rask Ingemann Lambertsen

[PATCH 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-01-26 Thread Rask Ingemann Lambertsen
ceiver (assuming it is even wired on the board) Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> --- Changes in v5: - Switched pinmux modes to generic properties and dropped #include as a consequence. - Dropped pinctrl properties from GPIO nodes and dropped the pinmux no

[PATCH 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-01-26 Thread Rask Ingemann Lambertsen
ver (assuming it is even wired on the board) Signed-off-by: Rask Ingemann Lambertsen --- Changes in v5: - Switched pinmux modes to generic properties and dropped #include as a consequence. - Dropped pinctrl properties from GPIO nodes and dropped the pinmux nodes for them. - AXP808 regulators ad

[PATCH 0/5] arm: sun9i: Support AXP808 PMIC and Sunchip CX-A99 board

2017-01-26 Thread Rask Ingemann Lambertsen
.org/patch/9530319/ Rask Ingemann Lambertsen (5): DT: mfd: axp20x: Add AXP806 to list of current AXP20x family members DT: mfd: axp20x: Add binding for the AXP808 mfd: axp20x: Add support for the AXP808 PMIC regulator: axp20x: Add support for the AXP808 PMIC ARM: dts: sun9i: Initi

[PATCH 0/5] arm: sun9i: Support AXP808 PMIC and Sunchip CX-A99 board

2017-01-26 Thread Rask Ingemann Lambertsen
.org/patch/9530319/ Rask Ingemann Lambertsen (5): DT: mfd: axp20x: Add AXP806 to list of current AXP20x family members DT: mfd: axp20x: Add binding for the AXP808 mfd: axp20x: Add support for the AXP808 PMIC regulator: axp20x: Add support for the AXP808 PMIC ARM: dts: sun9i: Initi

[PATCH 4/5] regulator: axp20x: Add support for the AXP808 PMIC

2017-01-26 Thread Rask Ingemann Lambertsen
The regulators are the same as on the AXP806. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> --- drivers/regulator/axp20x-regulator.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/

[PATCH 4/5] regulator: axp20x: Add support for the AXP808 PMIC

2017-01-26 Thread Rask Ingemann Lambertsen
The regulators are the same as on the AXP806. Signed-off-by: Rask Ingemann Lambertsen --- drivers/regulator/axp20x-regulator.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c index a3ade9e

[PATCH 3/5] mfd: axp20x: Add support for the AXP808 PMIC

2017-01-26 Thread Rask Ingemann Lambertsen
for the interrupts on the AXP808 and enables the regulator sub-device. The next patch in the series adds the actual regulator support. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> --- drivers/mfd/axp20x-rsb.c | 1 + drivers/mfd/axp20x.c

[PATCH 3/5] mfd: axp20x: Add support for the AXP808 PMIC

2017-01-26 Thread Rask Ingemann Lambertsen
for the interrupts on the AXP808 and enables the regulator sub-device. The next patch in the series adds the actual regulator support. Signed-off-by: Rask Ingemann Lambertsen --- drivers/mfd/axp20x-rsb.c | 1 + drivers/mfd/axp20x.c | 28 include/linux/mfd

[PATCH 2/5] DT: mfd: axp20x: Add binding for the AXP808

2017-01-26 Thread Rask Ingemann Lambertsen
The AXP808 does not support address space extension, but is otherwise identical to the AXP806, including the chip ID, so add a compatible string for it to the binding. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> --- Documentation/devicetree/bindings/mfd/axp20x.txt | 7

[PATCH 2/5] DT: mfd: axp20x: Add binding for the AXP808

2017-01-26 Thread Rask Ingemann Lambertsen
The AXP808 does not support address space extension, but is otherwise identical to the AXP806, including the chip ID, so add a compatible string for it to the binding. Signed-off-by: Rask Ingemann Lambertsen --- Documentation/devicetree/bindings/mfd/axp20x.txt | 7 --- 1 file changed, 4

[PATCH 1/5] DT: mfd: axp20x: Add AXP806 to list of current AXP20x family members

2017-01-26 Thread Rask Ingemann Lambertsen
An entry for the AXP806 was forgotten, so add one. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> Fixes: 204ae2963e10 ("mfd: axp20x: Add bindings for AXP806 PMIC") --- Documentation/devicetree/bindings/mfd/axp20x.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/5] DT: mfd: axp20x: Add AXP806 to list of current AXP20x family members

2017-01-26 Thread Rask Ingemann Lambertsen
An entry for the AXP806 was forgotten, so add one. Signed-off-by: Rask Ingemann Lambertsen Fixes: 204ae2963e10 ("mfd: axp20x: Add bindings for AXP806 PMIC") --- Documentation/devicetree/bindings/mfd/axp20x.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetre

[PATCH] ARM: dts: tegra: Fix missing card detection in Trimslice µSD card slot

2017-01-22 Thread Rask Ingemann Lambertsen
Card insertion and removal currently goes undetected. AFAIK there's no way to generate interrupts on card changes in this slot, so use polling. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> --- arch/arm/boot/dts/tegra20-trimslice.dts | 1 + 1 file changed, 1 insertion(+)

[PATCH] ARM: dts: tegra: Fix missing card detection in Trimslice µSD card slot

2017-01-22 Thread Rask Ingemann Lambertsen
Card insertion and removal currently goes undetected. AFAIK there's no way to generate interrupts on card changes in this slot, so use polling. Signed-off-by: Rask Ingemann Lambertsen --- arch/arm/boot/dts/tegra20-trimslice.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot

[PATCH] regulator: axp20x: AXP806: Fix dcdcb being set instead of dcdce

2017-01-21 Thread Rask Ingemann Lambertsen
A typo or copy-paste bug means that the register access intended for regulator dcdce goes to dcdcb instead. This patch corrects it. Signed-off-by: Rask Ingemann Lambertsen <r...@formelder.dk> Fixes: 2ca342d391e3 (regulator: axp20x: Support AXP806 variant) --- I have a board where dcdcb

[PATCH] regulator: axp20x: AXP806: Fix dcdcb being set instead of dcdce

2017-01-21 Thread Rask Ingemann Lambertsen
A typo or copy-paste bug means that the register access intended for regulator dcdce goes to dcdcb instead. This patch corrects it. Signed-off-by: Rask Ingemann Lambertsen Fixes: 2ca342d391e3 (regulator: axp20x: Support AXP806 variant) --- I have a board where dcdcb powers the DRAM, which I

Dropping device tree pinmux nodes for GPIO usage (Was: [PATCH 3/5] arm64: dts: sun50i: add MMC nodes)

2017-01-15 Thread Rask Ingemann Lambertsen
pins = "PF6"; > > + function = "gpio_in"; > > + bias-pull-up; > > + }; > > We are starting to drop pinmux nodes for gpio usage. How do we get the equivalent of bias-pull-up/down and drive-strength if we run across a pin that needs it? -- Rask Ingemann Lambertsen

Dropping device tree pinmux nodes for GPIO usage (Was: [PATCH 3/5] arm64: dts: sun50i: add MMC nodes)

2017-01-15 Thread Rask Ingemann Lambertsen
function = "gpio_in"; > > + bias-pull-up; > > + }; > > We are starting to drop pinmux nodes for gpio usage. How do we get the equivalent of bias-pull-up/down and drive-strength if we run across a pin that needs it? -- Rask Ingemann Lambertsen

Re: [PATCH 01/37] ARM: dts: imx6dl-aristainetos2: Correct license text

2016-12-15 Thread Rask Ingemann Lambertsen
On Thu, Dec 15, 2016 at 12:57:10AM +0100, Alexandre Belloni wrote: > The license test has been mangled at some point then copy pasted across s/test/text/ -- Rask Ingemann Lambertsen

Re: [PATCH 01/37] ARM: dts: imx6dl-aristainetos2: Correct license text

2016-12-15 Thread Rask Ingemann Lambertsen
On Thu, Dec 15, 2016 at 12:57:10AM +0100, Alexandre Belloni wrote: > The license test has been mangled at some point then copy pasted across s/test/text/ -- Rask Ingemann Lambertsen

Re: [PATCH 5/6] ARM: dts: Add NextThing GR8 dtsi

2016-09-07 Thread Rask Ingemann Lambertsen
ng a new file here, please use hyphens instead. [1] https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1122967.html [2] https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1145633.html -- Rask Ingemann Lambertsen

Re: [PATCH 5/6] ARM: dts: Add NextThing GR8 dtsi

2016-09-07 Thread Rask Ingemann Lambertsen
e0 { > + be0: display-backend@01e6 { Underscores should not be used in node names. [1][2] Since you're adding a new file here, please use hyphens instead. [1] https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1122967.html [2] https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1145633.html -- Rask Ingemann Lambertsen

Re: [PATCH v3] ARM: dts: sun8i: Add dts file for the NanoPi NEO SBC

2016-09-05 Thread Rask Ingemann Lambertsen
On Mon, Sep 05, 2016 at 02:31:47PM +1000, James Pettigrew wrote: > The NanoPi NEO is a minimal H3 based SBC. It comes with 256/512M RAM, a > micro SD slot, 10/100Mbit ethernet and a single USB-A port. > > Signed-off-by: James Pettigrew <ja...@innovum.com.au> Reviewed-by: Rask I

Re: [PATCH v3] ARM: dts: sun8i: Add dts file for the NanoPi NEO SBC

2016-09-05 Thread Rask Ingemann Lambertsen
On Mon, Sep 05, 2016 at 02:31:47PM +1000, James Pettigrew wrote: > The NanoPi NEO is a minimal H3 based SBC. It comes with 256/512M RAM, a > micro SD slot, 10/100Mbit ethernet and a single USB-A port. > > Signed-off-by: James Pettigrew Reviewed-by: Rask Ingemann Lambertsen -- R

Re: [PATCH 1/1] ARM: dts: sun8i: Add dts file for the NanoPi NEO SBC

2016-09-04 Thread Rask Ingemann Lambertsen
warnings about this sort of mismatch when your device tree is compiled as part of Das U-Boot. > +_pio { > + leds_r_opc: led_pins@0 { Likewise. [1] https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1122967.html [2] https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1145633.html -- Rask Ingemann Lambertsen

  1   2   >