ARM: dts: renesas: Convert to named i2c-gpio bindings
Subsystems (2)
v2 cover ARM: dts: renesas: Convert to named i2c-gpio bindings
Hi Simon, Magnus,
Commits 7d29f509d2cfd807 ("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and 05c74778858d7d99 ("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.
This patch series switches all Renesas boards to the new bindings, and adds the missing GPIO_OPEN_DRAIN I/O flags, which were implicitly assumed before. The latter gets rid of messages like:
gpio-208 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file gpio-91 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file
Patch 1 was extracted from series "[PATCH/RFC 0/3] i2c: gpio: Add support for named gpios in DT", hence the v2. All other patches are new.
Note that after this series is applied, the i2c-gpio buses are no longer detected when booting new DTBs on old (v4.14 and older) kernels, which should not be an issue. Booting old DTBs on new kernels is not affected.
Thanks for applying!
Geert Uytterhoeven (4):
ARM: dts: armadillo800eva: Convert to named i2c-gpio bindings
ARM: dts: lager: Convert to named i2c-gpio bindings
ARM: dts: koelsch: Convert to named i2c-gpio bindings
ARM: dts: alt: Convert to named i2c-gpio bindings
arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 5 ++--- arch/arm/boot/dts/r8a7790-lager.dts | 5 ++--- arch/arm/boot/dts/r8a7791-koelsch.dts | 5 ++--- arch/arm/boot/dts/r8a7794-alt.dts | 5 ++--- 4 files changed, 8 insertions(+), 12 deletions(-)
Signature · 12 lines
2.7.4
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsPATCH v2 1/4 ARM: dts: armadillo800eva: Convert to named i2c-gpio bindings
Commits 7d29f509d2cfd807 ("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and 05c74778858d7d99 ("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.
Switch to the new bindings, and add the missing GPIO_OPEN_DRAIN I/O flags, which were implicitly assumed before.
The latter gets rid of the message:
gpio-208 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file gpio-91 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file
---
v2:
- Add GPIO_OPEN_DRAIN to the GPIO flags,
- Reword.
--- arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm/boot/dts/r8a7740-armadillo800eva.dts +2 -3
@@ -138,9 +138,8 @@ #address-cells = <1>; #size-cells = <0>; compatible = "i2c-gpio"; - gpios = <&pfc 208 GPIO_ACTIVE_HIGH /* sda */ - &pfc 91 GPIO_ACTIVE_HIGH /* scl */ - >; + sda-gpios = <&pfc 208 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&pfc 91 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; i2c-gpio,delay-us = <5>; };
Signature · 1 line
2.7.4
PATCH v2 1/4 ARM: dts: armadillo800eva: Convert to named i2c-gpio bindings
Quoted 8 lines · Geert Uytterhoeven
Commits
7d29f509d2cfd807("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and05c74778858d7d99("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.Switch to the new bindings, and add the missing
GPIO_OPEN_DRAINI/O flags, which were implicitly assumed before.
Quoted 6 lines
The latter gets rid of the message:
gpio-208 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file gpio-91 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file
Signed-off-by Geert Uytterhoeven <[email protected]>
Yours,
Linus Walleij
PATCH v2 2/4 ARM: dts: lager: Convert to named i2c-gpio bindings
In reply to Geert UytterhoevenCommits 7d29f509d2cfd807 ("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and 05c74778858d7d99 ("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.
Switch to the new bindings, and add the missing GPIO_OPEN_DRAIN I/O flags, which were implicitly assumed before.
---
v2:
- New.
--- arch/arm/boot/dts/r8a7790-lager.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm/boot/dts/r8a7790-lager.dts +2 -3
@@ -272,9 +272,8 @@ #size-cells = <0>; compatible = "i2c-gpio"; status = "disabled"; - gpios = <&gpio1 17 GPIO_ACTIVE_HIGH /* sda */ - &gpio1 16 GPIO_ACTIVE_HIGH /* scl */ - >; + sda-gpios = <&gpio1 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpio1 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; i2c-gpio,delay-us = <5>; };
Signature · 1 line
2.7.4
PATCH v2 2/4 ARM: dts: lager: Convert to named i2c-gpio bindings
Quoted 9 lines · Geert Uytterhoeven
Commits
7d29f509d2cfd807("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and05c74778858d7d99("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.Switch to the new bindings, and add the missing
GPIO_OPEN_DRAINI/O flags, which were implicitly assumed before.Signed-off-by Geert Uytterhoeven <[email protected]>
Yours,
Linus Walleij
PATCH v2 3/4 ARM: dts: koelsch: Convert to named i2c-gpio bindings
In reply to Geert UytterhoevenCommits 7d29f509d2cfd807 ("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and 05c74778858d7d99 ("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.
Switch to the new bindings, and add the missing GPIO_OPEN_DRAIN I/O flags, which were implicitly assumed before.
---
v2:
- New.
--- arch/arm/boot/dts/r8a7791-koelsch.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm/boot/dts/r8a7791-koelsch.dts +2 -3
@@ -312,9 +312,8 @@ #size-cells = <0>; compatible = "i2c-gpio"; status = "disabled"; - gpios = <&gpio7 16 GPIO_ACTIVE_HIGH /* sda */ - &gpio7 15 GPIO_ACTIVE_HIGH /* scl */ - >; + sda-gpios = <&gpio7 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpio7 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; i2c-gpio,delay-us = <5>; };
Signature · 1 line
2.7.4
PATCH v2 3/4 ARM: dts: koelsch: Convert to named i2c-gpio bindings
Quoted 9 lines · Geert Uytterhoeven
Commits
7d29f509d2cfd807("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and05c74778858d7d99("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.Switch to the new bindings, and add the missing
GPIO_OPEN_DRAINI/O flags, which were implicitly assumed before.Signed-off-by Geert Uytterhoeven <[email protected]>
Yours,
Linus Walleij
PATCH v2 4/4 ARM: dts: alt: Convert to named i2c-gpio bindings
In reply to Geert UytterhoevenCommits 7d29f509d2cfd807 ("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and 05c74778858d7d99 ("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.
Switch to the new bindings, and add the missing GPIO_OPEN_DRAIN I/O flags, which were implicitly assumed before.
---
v2:
- New.
--- arch/arm/boot/dts/r8a7794-alt.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm/boot/dts/r8a7794-alt.dts +2 -3
@@ -143,9 +143,8 @@ #size-cells = <0>; compatible = "i2c-gpio"; status = "disabled"; - gpios = <&gpio4 9 GPIO_ACTIVE_HIGH /* sda */ - &gpio4 8 GPIO_ACTIVE_HIGH /* scl */ - >; + sda-gpios = <&gpio4 9 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpio4 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; i2c-gpio,delay-us = <5>; };
Signature · 1 line
2.7.4
PATCH v2 4/4 ARM: dts: alt: Convert to named i2c-gpio bindings
Quoted 9 lines · Geert Uytterhoeven
Commits
7d29f509d2cfd807("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and05c74778858d7d99("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.Switch to the new bindings, and add the missing
GPIO_OPEN_DRAINI/O flags, which were implicitly assumed before.Signed-off-by Geert Uytterhoeven <[email protected]>
Yours,
Linus Walleij
Simon Horman
Appliedv2 cover ARM: dts: renesas: Convert to named i2c-gpio bindings
In reply to Geert UytterhoevenQuoted 18 lines · Geert Uytterhoeven
Hi Simon, Magnus,
Commits
7d29f509d2cfd807("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and05c74778858d7d99("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.This patch series switches all Renesas boards to the new bindings, and adds the missing
GPIO_OPEN_DRAINI/O flags, which were implicitly assumed before. The latter gets rid of messages like:gpio-208 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file gpio-91 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file
Patch 1 was extracted from series "[PATCH/RFC 0/3] i2c: gpio: Add support for named gpios in DT", hence the v2. All other patches are new.
Quoted 6 lines
Note that after this series is applied, the i2c-gpio buses are no longer detected when booting new DTBs on old (v4.14 and older) kernels, which should not be an issue. Booting old DTBs on new kernels is not affected.
Thanks for applying!
Thanks, applied.
v2 cover ARM: dts: renesas: Convert to named i2c-gpio bindings
Quoted 19 lines · Simon Horman
Quoted 18 lines · Geert Uytterhoeven
Hi Simon, Magnus,
Commits
7d29f509d2cfd807("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and05c74778858d7d99("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.This patch series switches all Renesas boards to the new bindings, and adds the missing
GPIO_OPEN_DRAINI/O flags, which were implicitly assumed before. The latter gets rid of messages like:gpio-208 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file gpio-91 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file
Patch 1 was extracted from series "[PATCH/RFC 0/3] i2c: gpio: Add support for named gpios in DT", hence the v2. All other patches are new.
Quoted 8 lines
Quoted 6 lines
Note that after this series is applied, the i2c-gpio buses are no longer detected when booting new DTBs on old (v4.14 and older) kernels, which should not be an issue. Booting old DTBs on new kernels is not affected.
Thanks for applying!
Thanks, applied.
Phew, you guys are fast. For the record:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171201/85d3a398/attachment.sig>
v2 cover ARM: dts: renesas: Convert to named i2c-gpio bindings
Quoted 25 lines · Wolfram Sang
Quoted 24 lines · Simon Horman
Quoted 23 lines · Geert Uytterhoeven
Hi Simon, Magnus,
Commits
7d29f509d2cfd807("dt-bindings: i2c: i2c-gpio: Add support for named gpios") and05c74778858d7d99("i2c: gpio: Add support for named gpios in DT") introduced named i2c-gpio DT bindings, and deprecated the more error-prone unnamed variant.This patch series switches all Renesas boards to the new bindings, and adds the missing
GPIO_OPEN_DRAINI/O flags, which were implicitly assumed before. The latter gets rid of messages like:gpio-208 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file gpio-91 (?): enforced open drain please flag it properly in DT/ACPI DSDT/board file
Patch 1 was extracted from series "[PATCH/RFC 0/3] i2c: gpio: Add support for named gpios in DT", hence the v2. All other patches are new.
Note that after this series is applied, the i2c-gpio buses are no longer detected when booting new DTBs on old (v4.14 and older) kernels, which should not be an issue. Booting old DTBs on new kernels is not affected.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Thanks for applying!
Thanks, applied.
Phew, you guys are fast. For the record:
Reviewed-by Wolfram Sang <[email protected]>
Thanks, I'll see about adding your tag.