Re: [PATCH] pinctrl: clarify #pinctrl-cells for pinctrl-single,pins

2021-01-20 Thread Emmanuel Vadot
On Tue, 19 Jan 2021 21:03:44 -0800 Drew Fustini wrote: > Document that #pinctrl-cells can be 1 or 2 for pinctrl-single,pins > > Fixes: 27c90e5e48d0 ("ARM: dts: am33xx-l4: change #pinctrl-cells from 1 to 2") > Reported-by: Emmanuel Vadot > Link: > https:

Re: [PATCH v4 2/2] ARM: dts: am33xx-l4: change #pinctrl-cells from 1 to 2

2021-01-15 Thread Emmanuel Vadot
using the offset from the padconf physical address > -- > 2.25.1 Based on the bindings doc a value of 2 is only acceptable if one uses pinctrl-single,bits but all the am33xx pins still uses pinctrl-single,pins. I noticed this because this breaks FreeBSD when I tried with 5.9 dts. -- Emmanuel Vadot

Re: [PATCH v2 0/6] dt-bindings: Convert SP804 to Json-schema (and fix users)

2020-08-31 Thread Emmanuel Vadot
inux and not doing any patches to it without sending them to the Linux ML. > Cheers, > Andre Cheers, > ___ > linux-arm-kernel mailing list > linux-arm-ker...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Emmanuel Vadot

Re: [RESEND 2/2] drm/format_helper: Dual licence the header in GPL-2 and MIT

2020-04-30 Thread Emmanuel Vadot
On Thu, 30 Apr 2020 17:06:34 +0200 Maxime Ripard wrote: > On Thu, Apr 30, 2020 at 04:55:37PM +0200, Emmanuel Vadot wrote: > > Source file was dual licenced but the header was omitted, fix that. > > Contributors for this file are: > > Noralf Trønnes > > Gerd Ho

[PATCH v2 1/2] drm/client: Dual licence the header in GPL-2 and MIT

2020-04-30 Thread Emmanuel Vadot
Zimmermann Signed-off-by: Emmanuel Vadot --- include/drm/drm_client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drm_client.h b/include/drm/drm_client.h index 7402f852d3c4..eb259c2547af 100644 --- a/include/drm/drm_client.h +++ b/include/drm/drm_client.h @@ -1,4

[PATCH v2 2/2] drm/format_helper: Dual licence the header in GPL-2 and MIT

2020-04-30 Thread Emmanuel Vadot
Source file was dual licenced but the header was omitted, fix that. Contributors for this file are: Noralf Trønnes Gerd Hoffmann Thomas Gleixner Acked-by: Gerd Hoffmann Acked-by: Noralf Trønnes Signed-off-by: Emmanuel Vadot --- Change in v2: Retain the GPL-2.0-or-later SPDF identifier

[RESEND 2/2] drm/format_helper: Dual licence the header in GPL-2 and MIT

2020-04-30 Thread Emmanuel Vadot
Source file was dual licenced but the header was omitted, fix that. Contributors for this file are: Noralf Trønnes Gerd Hoffmann Thomas Gleixner Acked-by: Gerd Hoffmann Acked-by: Noralf Trønnes Signed-off-by: Emmanuel Vadot --- include/drm/drm_format_helper.h | 2 +- 1 file changed, 1

[RESEND 1/2] drm/client: Dual licence the header in GPL-2 and MIT

2020-04-30 Thread Emmanuel Vadot
Source file was dual licenced but the header was omitted, fix that. Contributors for this file are: Daniel Vetter Matt Roper Maxime Ripard Noralf Trønnes Thomas Zimmermann Acked-by: Noralf Trønnes Acked-by: Matt Roper Acked-by: Daniel Vetter Signed-off-by: Emmanuel Vadot --- include/drm

Re: [PATCH] ARM: dts: Set status to disable for MMC3

2019-10-07 Thread Emmanuel Vadot
On Mon, 7 Oct 2019 09:58:59 -0700 Tony Lindgren wrote: > * Emmanuel Vadot [191007 16:39]: > > On Mon, 7 Oct 2019 09:16:34 -0700 > > Tony Lindgren wrote: > > > > > Hi, > > > > > > * Emmanuel Vadot [191007 08:04]: > > > > Commit 5

Re: [PATCH] ARM: dts: Set status to disable for MMC3

2019-10-07 Thread Emmanuel Vadot
On Mon, 7 Oct 2019 09:16:34 -0700 Tony Lindgren wrote: > Hi, > > * Emmanuel Vadot [191007 08:04]: > > Commit 5b63fb90adb95 ("ARM: dts: Fix incomplete dts data for am3 and am4 > > mmc") > > fixed the mmc instances on the l3 interconnect but removed the d

[PATCH] ARM: dts: Set status to disable for MMC3

2019-10-07 Thread Emmanuel Vadot
am3 and am4 mmc") Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/am33xx.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index fb6b8aa12cc5..b3a1fd9e39fa 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/a

[PATCH 1/1] ARM: dts: am335x: Fix UARTs length

2019-07-24 Thread Emmanuel Vadot
As seen on the AM335x TRM all the UARTs controller only are 0x1000 in size. Fix this in the DTS. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/am33xx-l4.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/am33xx-l4.dtsi b/arch/arm/boot

[PATCH 0/1] ARM: dts: am335x: Fix UARTs length

2019-07-24 Thread Emmanuel Vadot
. Emmanuel Vadot (1): ARM: dts: am335x: Fix UARTs length arch/arm/boot/dts/am33xx-l4.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.22.0

Re: Allwinner SID THS calibration data cell representation?

2019-02-21 Thread Emmanuel Vadot
:51 PM Maxime Ripard > wrote: > > > > On Thu, Sep 06, 2018 at 01:47:47PM +0200, Philipp Rossak wrote: > > > On 04.09.2018 18:46, Emmanuel Vadot wrote: > > > > > + /* Data cells */ > > > > > + thermal_cal

Re: [PATCH v2 1/1] arm64: dts: marvell: armada-ap806: reserve PSCI area

2019-01-09 Thread Emmanuel Vadot
07ffb49ea > > > x18: 7fb0fdd8 x19: 0040 > > > x20: 0400 x21: 0400 > > > x22: 7ffacff1 x23: 0008 > > > x24: 0004 x25: 0004 > > > x26: 0004 x27: 7fb0a268 > > > x28: x29: 7fb0a1e0 > > > > Resetting CPU ... > > In Linux 4.20 without my patch I regularly experience crashes like the > one below. With the patch I never experience such a crash. For me this is 100% reproducible with the FreeBSD kernel, not the same kind of crash but a hang as soon as we try to call PSCI/SMCCC functions. I don't care personnaly which patch is taken as long as it's applied. Cheers, -- Emmanuel Vadot

[PATCH] arm64: dts: marvell: armada_8k: reserve memory for ATF

2018-11-13 Thread Emmanuel Vadot
Like 4436a371 for 37xx, reserve the PSCI area memory region so kernels can call the code there. Region address is taken from the ATF code [1] and is 2MiB aligned. [1] plat/marvell/a8k/common/include/platform_def.h Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/marvell/armada-ap806.dtsi

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-25 Thread Emmanuel Vadot
Hi, On Fri, 24 Aug 2018 16:03:40 -0700 Eduardo Valentin wrote: > On Fri, Aug 24, 2018 at 09:59:21PM +0200, Emmanuel Vadot wrote: > > > > Hi, > > > > On Fri, 24 Aug 2018 16:58:40 +0200 > > Maxime Ripard wrote: > > > > > Hi, > > >

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-24 Thread Emmanuel Vadot
Hi, On Fri, 24 Aug 2018 16:58:40 +0200 Maxime Ripard wrote: > Hi, > > On Mon, Aug 20, 2018 at 04:27:15PM +0200, Emmanuel Vadot wrote: > > On Mon, 20 Aug 2018 16:07:37 +0200 > > Maxime Ripard wrote: > > > > > On Mon, Aug 20, 2018 at 07:41:22AM -0600, Ro

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-20 Thread Emmanuel Vadot
On Mon, 20 Aug 2018 16:07:37 +0200 Maxime Ripard wrote: > On Mon, Aug 20, 2018 at 07:41:22AM -0600, Rob Herring wrote: > > On Mon, Aug 20, 2018 at 5:17 AM Maxime Ripard > > wrote: > > > > > > On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: >

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-20 Thread Emmanuel Vadot
On Mon, 20 Aug 2018 07:41:22 -0600 Rob Herring wrote: > On Mon, Aug 20, 2018 at 5:17 AM Maxime Ripard > wrote: > > > > On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: > > > This patch adds documentation for Device-Tree bindings for the Allwinner >

[PATCH 7/7] arm64: dts: allwinner: H5: Enable the THS on H5 boards

2018-08-04 Thread Emmanuel Vadot
Enable the Thermal Sensor Controller on all H5 boards. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts | 4 arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts | 4 arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts

[PATCH 2/7] ARM: dts: sun8i: h3: Add thermal sensor controller node

2018-08-04 Thread Emmanuel Vadot
This add the ths controller for the H3 and the nvmem cell for the calibration data on the sid node. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun8i-h3.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts

[PATCH 5/7] ARM: dts: sun8i: h3: Enable the THS on H3 boards

2018-08-04 Thread Emmanuel Vadot
Enable the Thermal Sensor Controller on all H3 boards. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 4 arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 4 arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 4 arch/arm/boot/dts/sun8i-h3

[PATCH 6/7] arm64: dts: allwinner: a64: Enable the THS on A64 boards

2018-08-04 Thread Emmanuel Vadot
Enable the Thermal Sensor Controller on all A64 boards. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts| 4 arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 4 arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts

[PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-04 Thread Emmanuel Vadot
This patch adds documentation for Device-Tree bindings for the Allwinner Thermal Sensor Controller found on the H3, H5 and A64 SoCs Signed-off-by: Emmanuel Vadot --- .../bindings/thermal/allwinner-thermal.txt| 41 +++ 1 file changed, 41 insertions(+) create mode 100644

[PATCH 3/7] arm64: dts: allwinner: h5: Add thermal sensor controller node

2018-08-04 Thread Emmanuel Vadot
This add the ths controller for the H5 and the nvmem cell for the calibration data on the sid node. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5

[PATCH 4/7] arm64: dts: allwinner: a64: Add thermal sensor controller node

2018-08-04 Thread Emmanuel Vadot
This add the ths controller for the A64 and the nvmem cell for the calibration data on the sid node. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64

[PATCH v3 4/4] arm64: dts: allwinner: h5: Add SID for H5

2018-07-27 Thread Emmanuel Vadot
The H5 SoC have a SID controller like the others Allwinner SoC. Add a node for it. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts

[PATCH v3 1/4] arm64: dts: allwinner: a64: Add SID node

2018-07-27 Thread Emmanuel Vadot
The A64 have a SID controller which consist of EFUSE (starting at 0x200) and three registers to read/write some of the protected efuses. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH v3 3/4] nvmem: sunxi-sid: add support for H5's SID controller

2018-07-27 Thread Emmanuel Vadot
The H5 SoC have a SID controller that looks like the one in A64, the cells are in the same offset but doesn't contain the same data (thermal sensor calibration for example). Add a binding for it. Signed-off-by: Emmanuel Vadot --- Documentation/devicetree/bindings/nvmem/allwinner,sunxi-si

[PATCH v3 2/4] ARM: dts: sun8i: h3: Add SID compatible string

2018-07-27 Thread Emmanuel Vadot
The SID controller on H3 already have a binding but isn't present in the dtsi file. Add a node for it. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun8i-h3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3

Re: [PATCH v2 5/5] arm64: dts: allwinner: h5: Add SID for H5

2018-07-27 Thread Emmanuel Vadot
On Fri, 27 Jul 2018 12:56:54 +0200 Emmanuel Vadot wrote: > On Thu, 26 Jul 2018 13:54:09 +0200 > Maxime Ripard wrote: > > > On Tue, Jul 24, 2018 at 04:55:01PM +0200, Emmanuel Vadot wrote: > > > On Tue, 24 Jul 2018 16:42:18 +0200 > > > Maxime Ripard wrote: >

Re: [PATCH v2 5/5] arm64: dts: allwinner: h5: Add SID for H5

2018-07-27 Thread Emmanuel Vadot
On Thu, 26 Jul 2018 13:54:09 +0200 Maxime Ripard wrote: > On Tue, Jul 24, 2018 at 04:55:01PM +0200, Emmanuel Vadot wrote: > > On Tue, 24 Jul 2018 16:42:18 +0200 > > Maxime Ripard wrote: > > > > > On Tue, Jul 24, 2018 at 03:34:32PM +0200, Emmanuel Vadot wrote: >

Re: [PATCH] arm64: dts: allwinner: activate spi flash on pine64 LTS board

2018-07-26 Thread Emmanuel Vadot
d dts. Why is that? There is still no dts for Pine64-LTS (Andre latest serie address that). Note that the sopine.dtsi already have the SPI node, the patch is present in sunxi/dt64-for-4.19 > Maxime > > -- > Maxime Ripard, Bootlin (formerly Free Electrons) > Embedded Linux and Kernel engineering > https://bootlin.com -- Emmanuel Vadot

Re: [linux-sunxi] Re: [PATCH v2 14/16] arm: dts: sun8i: h3: enable H3 sid controller

2018-07-25 Thread Emmanuel Vadot
S node? > > > > > > > > > > > > > > Maxime > > > > > > > > > > > > > > > > > > > Oh seems like I forgot that. > > > > > > As related to the wiki [1] this should be 64 bit wide at the address > > > > > > > > > > 0x34. I > > > > > > will add that in the next version. > > > > > > > > > > > > > > > > > > [1]: http://linux-sunxi.org/SID_Register_Guide#eFUSE > > > > > > > > > > > > Thanks, > > > > > > Philipp > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > Any chance this will see a v3 soon? I'm kind of interested in sid node > > > > > for h3. =) > > > > > > > > This patch is independent and can be easily sent out > > > > by its own. > > > > > > > > > > Right- I had considered doing so, but wanted to make sure I wasn't > > > going to collide with this series if a v3 is imminent. > > > > > > > > -- > Developer of free digital technology and hardware support. > > Website: https://www.paulk.fr/ > Coding blog: https://code.paulk.fr/ > Git repositories: https://git.paulk.fr/ https://git.code.paulk.fr/ -- Emmanuel Vadot

Re: [PATCH v2 5/5] arm64: dts: allwinner: h5: Add SID for H5

2018-07-24 Thread Emmanuel Vadot
On Tue, 24 Jul 2018 16:42:18 +0200 Maxime Ripard wrote: > On Tue, Jul 24, 2018 at 03:34:32PM +0200, Emmanuel Vadot wrote: > > On Tue, 24 Jul 2018 15:00:04 +0200 > > Maxime Ripard wrote: > > > > > On Tue, Jul 24, 2018 at 12:15:22PM +0200, Emmanuel Vadot wrote: &g

Re: [PATCH v2 5/5] arm64: dts: allwinner: h5: Add SID for H5

2018-07-24 Thread Emmanuel Vadot
On Tue, 24 Jul 2018 15:00:04 +0200 Maxime Ripard wrote: > On Tue, Jul 24, 2018 at 12:15:22PM +0200, Emmanuel Vadot wrote: > > The SID controller on H5 look the same as the one present in the A64. > > But in case we find some difference one day at a compatible string > &

[PATCH v2 4/5] nvmem: sunxi-sid: add support for H5's SID controller

2018-07-24 Thread Emmanuel Vadot
The H5 SoC have a SID controller that looks like the one in A64, but in case we find some difference in the futur at a binding for it. Signed-off-by: Emmanuel Vadot --- Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v2 5/5] arm64: dts: allwinner: h5: Add SID for H5

2018-07-24 Thread Emmanuel Vadot
The SID controller on H5 look the same as the one present in the A64. But in case we find some difference one day at a compatible string of it's own and a fallback to the A64 one. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 5 + 1 file chang

[PATCH v2 3/5] ARM: dts: sun8i: h3: Add SID compatible string

2018-07-24 Thread Emmanuel Vadot
The SID controller on H3 is one of it's kind (at least from what we know). Add a compatible string for it in the SoC dtsi. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun8i-h3.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm

[PATCH v2 2/5] ARM: dts: sunxi: h3/h5: Add SID node

2018-07-24 Thread Emmanuel Vadot
Both H3 and H5 and a SID controller at the same address. They are know to be different, the H5 one is the same as the A64 so add a node in the common dtsi and we will override the compatible string in the SoC dts. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 4 1

[PATCH v2 1/5] arm64: dts: allwinner: a64: Add SID node

2018-07-24 Thread Emmanuel Vadot
The A64 have a SID controller which consist on EFUSE (starting at 0x200) and three registers to read/write the efuses. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i

[PATCH 3/4] ARM: dts: sun8i: h3: Add SID compatible string

2018-07-23 Thread Emmanuel Vadot
The SID controller on H3 is one of it's kind (at least from what we know). Add a compatible string for it in the SoC dtsi. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun8i-h3.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm

[PATCH 4/4] arm64: dts: allwinner: h5: Add SID for H5

2018-07-23 Thread Emmanuel Vadot
The SID controller on H5 look the same as the one present in the A64. But in case we find some difference one day at a compatible string of it's own and a fallback to the A64 one. Signed-off-by: Emmanuel Vadot --- .../devicetree/bindings/nvmem/allwinner,sunxi-sid.txt| 1 + arch/

[PATCH 2/4] ARM: dts: sunxi: h3/h5: Add SID node

2018-07-23 Thread Emmanuel Vadot
Both H3 and H5 and a SID controller at the same address. They are know to be different, the H5 one is the same as the A64 so add a node in the common dtsi and we will override the compatible string in the SoC dts. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 4 1

[PATCH 1/4] arm64: dts: allwinner: a64: Add SID node

2018-07-23 Thread Emmanuel Vadot
The A64 have a SID controller which consist on EFUSE (starting at 0x200) and three registers to read/write the efuses. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i

[PATCH] arm64: allwinner: a64-sopine: Add cd-gpios to mmc0 node

2018-06-20 Thread Emmanuel Vadot
The card detect GPIO for Sopine and Pine64-LTS is PF6. Add this to the dts. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi b/arch/arm64/boot/dts

Re: [PATCH] ARM: dts: imx6: RIoTboard Add chosen stdout-path property

2018-06-18 Thread Emmanuel Vadot
On Mon, 18 Jun 2018 18:03:17 +0200 Lucas Stach wrote: > Am Montag, den 18.06.2018, 17:42 +0200 schrieb Emmanuel Vadot: > > The RIoTboard debug uart is connected to serial1. > > Add a chosen property in the DTS so OS knows what serial port to use for > > the console. >

[PATCH] ARM: dts: imx6: RIoTboard Add chosen stdout-path property

2018-06-18 Thread Emmanuel Vadot
The RIoTboard debug uart is connected to serial1. Add a chosen property in the DTS so OS knows what serial port to use for the console. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/imx6dl-riotboard.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl

[PATCH v2] ARM64: dts: sun50i: h5: Add spi flash node for OrangePi PC2

2018-05-21 Thread Emmanuel Vadot
The OrangePi PC2 have an mx25l1606e spi flash. Add a node for it. Signed-off-by: Emmanuel Vadot --- Changes in v2: - Only use the compatible 'jedec,spi-nor' since the device answer to the jedec command 0x9F arch/arm64//boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts| 12 +

[PATCH v2] ARM64: dts: sun50i: a64: Add spi flash node for sopine

2018-05-21 Thread Emmanuel Vadot
The Sopine and Pine64-LTS have a winbond w25q128 spi flash on spi0. Add a node for it. Signed-off-by: Emmanuel Vadot --- Changes in v2: - Only use the compatible 'jedec,spi-nor' since the device answer to the jedec command 0x9F arch/arm64/boot/dts/allwinner/sun50i-a64-sopine

[PATCH] ARM64: dts: sun50i: a64: Add spi flash node for sopine

2018-05-17 Thread Emmanuel Vadot
The Sopine and Pine64-LTS have a winbond w25q128 spi flash on spi0. Add a node for it. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi b

[PATCH] ARM64: dts: sun50i: h5: Add spi flash node for OrangePi PC2

2018-05-17 Thread Emmanuel Vadot
The OrangePi PC2 have an mx25l1606e spi flash. Add a node for it. Signed-off-by: Emmanuel Vadot --- .../boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts| 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot

Re: linux-next: build failure after merge of the sunxi tree

2018-03-07 Thread Emmanuel Vadot
othwell I don't even know how I managed to screw this patch. Maxime, Chen-Yu, how would you like this problem to be handled ? Cheers, -- Emmanuel Vadot

[PATCH] dts: sunxi: Add eMMC for NanoPi M1 Plus

2018-03-02 Thread Emmanuel Vadot
The NanoPi-M1-Plus have a 8GB eMMC, add a node for it. This eMMC is always powered with 3.3V. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts b/arch/arm

Re: [PATCH] Revert "ARM: dts: sunxi: Add regulators for Sinovoip BPI-M2"

2018-02-14 Thread Emmanuel Vadot
On Tue, 13 Feb 2018 18:36:24 +0800 Chen-Yu Tsai wrote: > On Sat, Feb 10, 2018 at 5:20 AM, Emmanuel Vadot wrote: > > On 2018-02-05 10:05, Icenowy Zheng wrote: > >> > >> ? 2018?2?5? GMT+08:00 ??4:55:58, Emmanuel Vadot > >> ??: > >>> > >&g

Re: [PATCH] Revert "ARM: dts: sunxi: Add regulators for Sinovoip BPI-M2"

2018-02-09 Thread Emmanuel Vadot
On 2018-02-05 10:05, Icenowy Zheng wrote: 于 2018年2月5日 GMT+08:00 下午4:55:58, Emmanuel Vadot 写到: Hello, On Sat, 3 Feb 2018 19:23:53 +0800 Icenowy Zheng wrote: This reverts commit 7daa213700758b5b08fc0daab09bb139dd334165. The original commit has several problems: - vdd-cpus and aldo3 (AVCC

Re: [PATCH] Revert "ARM: dts: sunxi: Add regulators for Sinovoip BPI-M2"

2018-02-05 Thread Emmanuel Vadot
0>; > - regulator-name = "vdd-cpu"; > -}; > - > -®_dcdc4 { > - regulator-always-on; > - regulator-min-microvolt = <70>; > - regulator-max-microvolt = <132>; > - regulator-name = "vdd-sys-dll"; > -}; > - > -®_dcdc5 { > - regulator-always-on; > - regulator-min-microvolt = <150>; > - regulator-max-microvolt = <150>; > - regulator-name = "vcc-dram"; > -}; > - > &uart0 { > pinctrl-names = "default"; > pinctrl-0 = <&uart0_pins_a>; > -- > 2.15.1 > > > ___ > linux-arm-kernel mailing list > linux-arm-ker...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Emmanuel Vadot

Re: [PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Emmanuel Vadot
On Sat, 23 Dec 2017 17:58:46 +0100 Heiko Stuebner wrote: > Am Samstag, 23. Dezember 2017, 17:53:45 CET schrieb Emmanuel Vadot: > > On Sat, 23 Dec 2017 17:15:06 +0100 > > Heiko Stuebner wrote: > > > > > Hi Emmanuel, > > > > > > Am Samstag, 23. De

Re: [PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Emmanuel Vadot
On Sat, 23 Dec 2017 17:15:06 +0100 Heiko Stuebner wrote: > Hi Emmanuel, > > Am Samstag, 23. Dezember 2017, 16:22:54 CET schrieb Emmanuel Vadot: > > Since those files are also needed kernel side, switch their licences > > to GPL/X11 so it can be used in BSD kernels. &

Re: [PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Emmanuel Vadot
On Sat, 23 Dec 2017 17:19:58 +0100 Philippe Ombredanne wrote: > Dear Emmanuel, > > On Sat, Dec 23, 2017 at 4:22 PM, Emmanuel Vadot wrote: > > Since those files are also needed kernel side, switch their licences > > to GPL/X11 so it can be used in BSD kernels. > >

[PATCH] clk: rockchip: Switch dt-binding headers for rk3328 to GPL/X11

2017-12-23 Thread Emmanuel Vadot
Since those files are also needed kernel side, switch their licences to GPL/X11 so it can be used in BSD kernels. Signed-off-by: Emmanuel Vadot --- include/dt-bindings/clock/rk3328-cru.h | 44 ++-- include/dt-bindings/power/rk3328-power.h | 2 +- 2 files changed

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2017-12-22 Thread Emmanuel Vadot
On Fri, 22 Dec 2017 09:35:08 +0100 Maxime Ripard wrote: > On Thu, Dec 21, 2017 at 07:09:03PM +0100, Emmanuel Vadot wrote: > > > > Hi Maxime, > > > > On Thu, 21 Dec 2017 16:26:30 +0100 > > Maxime Ripard wrote: > > > > > Hi, > > > &

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2017-12-21 Thread Emmanuel Vadot
ng itself looks fine, so as > far as FreeBSD goes, there shouldn't be anything preventing you from > using it I guess. > > Chen-Yu, what do you think? > > Thanks! > Maxime > > -- > Maxime Ripard, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com -- Emmanuel Vadot

[PATCH] ARM: dts: sunxi: Add codec for A13 Olinuxino

2017-11-06 Thread Emmanuel Vadot
The A13 Olinuxino have an headphone jack and audio is supported so enable it. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts b/arch/arm/boot/dts/sun5i-a13

Re: [linux-sunxi] [PATCH v4 5/6] ARM: sun7i: Convert to CCU

2017-06-29 Thread Emmanuel Vadot
On Thu, 29 Jun 2017 11:57:05 +0100 Andre Przywara wrote: > Hi, > > On 25/06/17 21:45, Priit Laes wrote: > > Convert sun7i-a20.dtsi to new CCU driver. > > I know that some people hat^Wget annoyed by me asking this, but anyway: > > Why do we actually need this? No. I can understand the need fo

Re: [PATCH] ARM: dts: sun7i: Add A20 LCD0 RGB888 pins

2017-06-26 Thread Emmanuel Vadot
x27;function' (i.e. without the 'allwinner,' prefix). > mmc0_pins_a: mmc0@0 { > pins = "PF0", "PF1", "PF2", > "PF3", "PF4", "PF5"; > -- > 2.13.1 > > > ___ > linux-arm-kernel mailing list > linux-arm-ker...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Emmanuel Vadot

Re: [PATCH 1/4] clk: sunxi-ng: Add clocks and reset indices for sun7i-a20 SoC

2017-02-28 Thread Emmanuel Vadot
RST_DE_MP 8 > +#define RST_TCON0 9 > +#define RST_TCON1 10 > +#define RST_CSI011 > +#define RST_CSI1 12 > +#define RST_VE 13 > +#define RST_ACE 14 > +#define RST_LVDS15 > +#define RST_GPU 16 > +#define RST_HDMI_H 17 > +#define RST_HDMI_SYS18 > +#define RST_HDMI_AUDIO_DMA 19 > + > +#endif /* _RST_SUN7I_H_ */ > -- > 2.9.3 > > > ___ > linux-arm-kernel mailing list > linux-arm-ker...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Emmanuel Vadot

[PATCH] ARM: dts: sunxi: Add regulators for Sinovoip BPI-M2

2017-02-22 Thread Emmanuel Vadot
Add the needed node for DFVS on Sinovoip BPI-M2. This add the axp221 under the p2wi node, the regulators and the cpu-supply property for cpu0. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts | 57 1 file changed, 57 insertions(+) diff

Re: [PATCH] ARM: dts: sunxi: Enable spi1 and spi2 for Olimex A20 SOM EVB

2017-01-05 Thread Emmanuel Vadot
Hi, On Thu, 5 Jan 2017 18:16:01 +0100 Maxime Ripard wrote: > Hi, > > On Mon, Dec 26, 2016 at 06:53:49PM +0100, Emmanuel Vadot wrote: > > Enable the spi1 and spi2 node since the pins are exposed on the UEXT > > connectors. > > > > Signed-off-by: Emmanuel Vado

Re: [PATCH] ARM: dts: sunxi: Enable spi1 and spi2 for Olimex A20 SOM EVB

2017-01-05 Thread Emmanuel Vadot
On Thu, 5 Jan 2017 19:01:51 +0100 Maxime Ripard wrote: > On Thu, Jan 05, 2017 at 06:37:34PM +0100, Emmanuel Vadot wrote: > > > > Hi, > > > > On Thu, 5 Jan 2017 18:16:01 +0100 > > Maxime Ripard wrote: > > > > > Hi, > > > > > &

[PATCH v3] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-12-27 Thread Emmanuel Vadot
The spi0 controller on the A20 have up to 4 CS (Chip Select) while the others three only have 1. Add the num-cs property to each node. The current driver doesn't read this property but this is useful for downstream user of DTS (FreeBSD for example). Signed-off-by: Emmanuel Vadot --- Chang

[PATCH] ARM: dts: sunxi: Use axp209.dtsi for Olinuxino Lime2

2016-12-27 Thread Emmanuel Vadot
have a typical value of 3.0V LD03/4 are used for Port-E/Port-G Power pin, and the schematics recommands to set them to 2.8V as they can be used for CSI0/1. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 90 - 1 file changed, 42 insertions

[PATCH] ARM: dts: sunxi: Enable spi1 and spi2 for Olimex A20 SOM EVB

2016-12-26 Thread Emmanuel Vadot
Enable the spi1 and spi2 node since the pins are exposed on the UEXT connectors. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts b/arch/arm/boot/dts/sun7i-a20

[PATCH v2] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-12-26 Thread Emmanuel Vadot
The spi0 controller on the A20 have up to 4 CS (Chip Select) while the others three only have 1. Add the num-cs property to each node. The current driver doesn't read this property but this is useful for downstream user of DTS (FreeBSD for example). Signed-off-by: Emmanuel Vadot --- Chang

Re: [PATCH v2] ARM: dts: sunxi: Change node name for pwrseq pin on Olinuxino-lime2-emmc

2016-12-15 Thread Emmanuel Vadot
Hi Maxime, On Wed, 14 Dec 2016 16:30:13 +0100 Maxime Ripard wrote: > On Wed, Dec 14, 2016 at 03:57:24PM +0100, Emmanuel Vadot wrote: > > The node name for the power seq pin is mmc2@0 like the mmc2_pins_a one. > > This makes the original node (mmc2_pins_a) scrapped out

[PATCH v2] ARM: dts: sunxi: Change node name for pwrseq pin on Olinuxino-lime2-emmc

2016-12-14 Thread Emmanuel Vadot
ff-by: Emmanuel Vadot --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts index 5ea4915..10d3074 100644 --- a/arc

Re: [PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-12-05 Thread Emmanuel Vadot
On Mon, 5 Dec 2016 10:28:21 +0100 Maxime Ripard wrote: > On Thu, Dec 01, 2016 at 11:24:14AM +0100, Emmanuel Vadot wrote: > > > > > > If num-cs isn't present nothing prevent to start a transfer > > > > > > with a non-valid CS pin, resulting in an err

Re: [PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-12-01 Thread Emmanuel Vadot
Hi Maxime, On Thu, 1 Dec 2016 10:21:50 +0100 Maxime Ripard wrote: > Hi Emmanuel, > > On Fri, Nov 25, 2016 at 10:07:52PM +0100, Emmanuel Vadot wrote: > > On Fri, 25 Nov 2016 16:20:47 +0100 > > Maxime Ripard wrote: > > > > > On Thu, Nov 24, 2016 at 09

Re: [PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-11-25 Thread Emmanuel Vadot
On Fri, 25 Nov 2016 16:20:47 +0100 Maxime Ripard wrote: > On Thu, Nov 24, 2016 at 09:05:09PM +0100, Emmanuel Vadot wrote: > > On Thu, 24 Nov 2016 20:55:17 +0100 > > Maxime Ripard wrote: > > > > > On Tue, Nov 22, 2016 at 06:06:16PM +0100, Emmanuel Vadot wrote: >

Re: [PATCH] ARM: dts: sunxi: Enable UEXT related nodes for Olimex A20 SOM EVB

2016-11-24 Thread Emmanuel Vadot
On Wed, 23 Nov 2016 18:16:10 +0100 Emmanuel Vadot wrote: > On Wed, 23 Nov 2016 09:03:50 +0100 > Maxime Ripard wrote: > > > On Mon, Nov 21, 2016 at 05:49:11PM +0100, Emmanuel Vadot wrote: > > > UEXT are Universal EXTension connector from Olimex. They embed i2c, spi &

Re: [PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-11-24 Thread Emmanuel Vadot
On Thu, 24 Nov 2016 20:55:17 +0100 Maxime Ripard wrote: > On Tue, Nov 22, 2016 at 06:06:16PM +0100, Emmanuel Vadot wrote: > > The spi0 controller on the A20 have up to 4 CS (Chip Select) while the > > others three only have 1. > > Add the num-cs property to each node. &

Re: [PATCH] ARM: dts: sunxi: Enable UEXT related nodes for Olimex A20 SOM EVB

2016-11-23 Thread Emmanuel Vadot
On Wed, 23 Nov 2016 09:03:50 +0100 Maxime Ripard wrote: > On Mon, Nov 21, 2016 at 05:49:11PM +0100, Emmanuel Vadot wrote: > > UEXT are Universal EXTension connector from Olimex. They embed i2c, spi > > and uart pins along power in one connector and are found on most, > &g

[PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-11-22 Thread Emmanuel Vadot
The spi0 controller on the A20 have up to 4 CS (Chip Select) while the others three only have 1. Add the num-cs property to each node. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun7i-a20.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b

[PATCH] ARM: dts: sunxi: Enable UEXT related nodes for Olimex A20 SOM EVB

2016-11-21 Thread Emmanuel Vadot
UEXT are Universal EXTension connector from Olimex. They embed i2c, spi and uart pins along power in one connector and are found on most, if not all, Olimex boards. The Olimex A20 SOM EVB have two UEXT connector so enable the nodes found on those two connectors. Signed-off-by: Emmanuel Vadot

[PATCH] ARM: dts: sunxi: Add cpu-supply for Olimex A20 EVB

2016-10-15 Thread Emmanuel Vadot
sun7i-a20-olimex-som-evb.dts doesn't contain cpu-supply needed for voltage-scaling with cpufreq-dt so define it. The default voltages are defined in sun7i-a20.dtsi. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 4 1 file changed, 4 insertions(+)