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

2016-09-07 Thread Rask Ingemann Lambertsen
rontend@01e0 { > + 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: [RFC PATCH 8/9] ARM: dts: suniv: add initial DTSI file for suniv and F1C100s

2018-01-21 Thread Rask Ingemann Lambertsen
The 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] 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

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

[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

[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

[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 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 3/5] mfd: axp20x: Add support for the AXP808 PMIC

2017-01-26 Thread Rask Ingemann Lambertsen
upport 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

[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 0/5] arm: sun9i: Support AXP808 PMIC and Sunchip CX-A99 board

2017-01-26 Thread Rask Ingemann Lambertsen
ernel.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: Initial

[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

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 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 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

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

2017-02-22 Thread Rask Ingemann Lambertsen
t; compatible since 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 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 --- Chan

[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 v2: C

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-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

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
w writing 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 b

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

2017-02-13 Thread Rask Ingemann Lambertsen
pl is probably better... 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

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, b

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

2017-02-17 Thread Rask Ingemann Lambertsen
machine." "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

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

2017-02-18 Thread Rask Ingemann Lambertsen
t; compatible since 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 PMIC

[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 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

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] arm64: dts: allwinner: add support for Pinebook

2017-02-25 Thread Rask Ingemann Lambertsen
5 6 GPIO_ACTIVE_HIGH>; > + cd-inverted; You ought to be able to replace those last two lines with just cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; > + disable-wp; > + bus-width = <4>; > + status = "okay"; > +}; -- 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 v5 7/7] arm64: dts: sunxi: add support for the Orange Pi PC 2 board

2017-02-26 Thread Rask Ingemann Lambertsen
lt;®_vcc3v3>; > + bus-width = <4>; > + cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */ > + cd-inverted; You should be able to simplify those last two lines to just cd-gpios = <&pio 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 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: [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 > > > > Enable th

[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

[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 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 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 v2 0/5] arm: sun9i: Support AXP808 PMIC and Sunchip CX-A99 board

2017-02-08 Thread Rask Ingemann Lambertsen
work.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: Init

[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 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 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 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 v2 3/5] mfd: axp20x: Add support for the AXP808 PMIC

2017-02-08 Thread Rask Ingemann Lambertsen
al regulator 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 AXP

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 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: [v5,3/7] rtc: ac100: Add RTC driver for X-Powers AC100

2017-02-05 Thread Rask Ingemann Lambertsen
fig as 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(+) dif

Re: [PATCH v2] ARM: dts: sun8i: enable UART1 for iNet D978 Rev2 board

2016-08-28 Thread Rask Ingemann Lambertsen
m/linux-kernel%40vger.kernel.org/msg1145633.html -- Rask Ingemann Lambertsen

Re: [PATCH 1/4] ARM: dts: Add TOPEET itop core board SCP package version

2016-08-28 Thread Rask Ingemann Lambertsen
ger.kernel.org/msg1122967.html https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1145633.html -- Rask Ingemann Lambertsen

[PATCH v3 2/3] devicetree: Add vendor prefix for Shenzhen Sunchip Technology Co., Ltd

2016-08-18 Thread Rask Ingemann Lambertsen
Shenzhen Sunchip Technology Co., Ltd produces TV boxes and TV dongles, some of which are sold under other brands. Website: http://www.sunchip-tech.com/> Signed-off-by: Rask Ingemann Lambertsen --- Changes in v3: None. Changes in v2: No patch changes, but added CC to the ARM kernel mailing l

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

2016-08-18 Thread Rask Ingemann Lambertsen
rts powered up, as I'm still working on a driver for the AXP808 PMIC. Signed-off-by: Rask Ingemann Lambertsen --- Although the vendor U-Boot lets you boot the kernel on one of the Cortex-A15 cores, the kernel gpio-regulator driver currently glitches the GPIO lines to the OZ80120 regulator such

[PATCH v3 1/3] devicetree: Sort vendor prefixes in alphabetical order

2016-08-18 Thread Rask Ingemann Lambertsen
Vendor prefixes should be listed in alphabetical order, which some of them weren't, so this patch corrects that. Signed-off-by: Rask Ingemann Lambertsen --- I used 'sort --ignore-case --key 1,1'. Changes in v3: This patch is new in v3. .../devicetree/bindings/vendor-prefixes.

Re: [PATCH v3 1/3] devicetree: Sort vendor prefixes in alphabetical order

2016-08-18 Thread Rask Ingemann Lambertsen
Abierta Argentina > > cirrus Cirrus Logic, Inc. > > +ciaa Computadora Industrial Abierta Argentina > > ciaa comes after cirrus? It does with LC_COLLATE=da_DK :-( I'm sorry about that. I'll post v4 this afternoon. -- Rask Ingemann Lambertsen Danish law

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

2016-08-19 Thread Rask Ingemann Lambertsen
rts powered up, as I'm still working on a driver for the AXP808 PMIC. Signed-off-by: Rask Ingemann Lambertsen --- Although the vendor U-Boot lets you boot the kernel on one of the Cortex-A15 cores, the kernel gpio-regulator driver currently glitches the GPIO lines to the OZ80120 regulator s

[PATCH v4 1/3] devicetree: Sort vendor prefixes in alphabetical order

2016-08-19 Thread Rask Ingemann Lambertsen
Vendor prefixes should be listed in alphabetical order, which some of them weren't, so this patch corrects that. Signed-off-by: Rask Ingemann Lambertsen --- I used 'LC_COLLATE=C sort --ignore-case -k 1,1'. Changes in v4: Added LC_COLLATE=C when sorting. Changes in v3: This pat

[PATCH v4 2/3] devicetree: Add vendor prefix for Shenzhen Sunchip Technology Co., Ltd

2016-08-19 Thread Rask Ingemann Lambertsen
Shenzhen Sunchip Technology Co., Ltd produces TV boxes and TV dongles, some of which are sold under other brands. Website: http://www.sunchip-tech.com/> Signed-off-by: Rask Ingemann Lambertsen --- Changes in v4: None. Changes in v3: None. Changes in v2: No patch changes, but added CC to

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

2017-07-16 Thread Rask Ingemann Lambertsen
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 concatenation

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 v2] ARM: zImage: Fix stack overflow in merge_fdt_bootargs()

2017-07-22 Thread Rask Ingemann Lambertsen
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 1/1] ARM: dts: sun8i: Add dts file for the NanoPi NEO SBC

2016-09-04 Thread Rask Ingemann Lambertsen
drop the @0 part of the node name. You'll get warnings about this sort of mismatch when your device tree is compiled as part of Das U-Boot. > +&r_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

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 v2] clocksource: sun4i: Clear interrupts after stopping timer in probe function

2016-08-15 Thread Rask Ingemann Lambertsen
x27;t set yet. This results in a NULL > pointer dereference exception, panic, and no way to reboot. Thanks for tracking down this bug. It bit me too once. Now I won't wonder if it was my fault. I do wonder if there are more interrupts which need their pending status cleared in the probe function. -- Rask Ingemann Lambertsen

Re: [PATCH v2 1/2] devicetree: Add vendor prefix for Shenzhen Sunchip Technology Co., Ltd

2016-08-16 Thread Rask Ingemann Lambertsen
On Tue, Aug 16, 2016 at 07:56:24AM -0500, Rob Herring wrote: > On Thu, Aug 11, 2016 at 10:11:51PM +0200, Rask Ingemann Lambertsen wrote: > > > > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt > > b/Documentation/devicetree/bindings/vendor-prefixes.

Re: [PATCH 3/9] regulator: core: Try full range when adjusting regulators to constraints

2016-08-22 Thread Rask Ingemann Lambertsen
-> 110 [2.589003] vcc12-hsic: override max_uV, 132 -> 130 [2.594673] vcc12-hsic: 1100 <--> 1300 mV at 1100 mV [1] Details on which will be happily accepted, btw. -- Rask Ingemann Lambertsen

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

2016-08-22 Thread Rask Ingemann Lambertsen
On Mon, Aug 22, 2016 at 08:57:45PM +0200, Maxime Ripard wrote: > Hi, > > On Sat, Aug 13, 2016 at 12:03:57AM +0200, Rask Ingemann Lambertsen wrote: > > The Suncip CX-A99 board is found in at least four brands of TV boxes. > > It features an Allwinner A80 SOC, with either 2 GiB

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

2016-08-12 Thread Rask Ingemann Lambertsen
rts powered up, as I'm still working on a driver for the AXP808 PMIC. Signed-off-by: Rask Ingemann Lambertsen --- Although the vendor U-Boot lets you boot the kernel on one of the Cortex-A15 cores, the kernel gpio-regulator driver currently glitches the GPIO lines to the OZ80120 regulator such

[PATCH 1/2] devicetree: Add vendor prefix for Shenzhen Sunchip Technology Co., Ltd

2016-08-12 Thread Rask Ingemann Lambertsen
Shenzhen Sunchip Technology Co., Ltd produces TV boxes and TV dongles, some of which are sold under other brands. Website: http://www.sunchip-tech.com/> Signed-off-by: Rask Ingemann Lambertsen --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) d

[PATCH v2 1/2] devicetree: Add vendor prefix for Shenzhen Sunchip Technology Co., Ltd

2016-08-14 Thread Rask Ingemann Lambertsen
Shenzhen Sunchip Technology Co., Ltd produces TV boxes and TV dongles, some of which are sold under other brands. Website: http://www.sunchip-tech.com/> Signed-off-by: Rask Ingemann Lambertsen --- Changes in v2: No patch changes, but added CC to the ARM kernel mailing list. Documentat

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

2016-08-14 Thread Rask Ingemann Lambertsen
rts powered up, as I'm still working on a driver for the AXP808 PMIC. Signed-off-by: Rask Ingemann Lambertsen --- Although the vendor U-Boot lets you boot the kernel on one of the Cortex-A15 cores, the kernel gpio-regulator driver currently glitches the GPIO lines to the OZ80120 regulator such