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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 *
[...]
> > > >
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> &
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
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
m/linux-kernel%40vger.kernel.org/msg1145633.html
--
Rask Ingemann Lambertsen
ger.kernel.org/msg1122967.html
https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1145633.html
--
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
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
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.
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
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
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
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
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
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)
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
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
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
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
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.
-> 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
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
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
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
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
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
68 matches
Mail list logo