[openwrt/openwrt] ath79: drop redundant gpios on i2c
LEDE Commits
lede-commits at lists.infradead.org
Fri Oct 9 16:49:51 EDT 2020
adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f2b952a657c08e1611593572b0d12bb54aac8736
commit f2b952a657c08e1611593572b0d12bb54aac8736
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Fri Oct 9 22:45:36 2020 +0200
ath79: drop redundant gpios on i2c
Since "sda-gpios" and "scl-gpios" are only available since kernel 4.19,
a few devices have redundantly defined "gpios" to also support older
kernels. Since we have nothing older than 4.19 now, we can remove
the redundant definitions.
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
target/linux/ath79/dts/ar7161_aruba_ap-105.dts | 4 ----
target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts | 4 ----
2 files changed, 8 deletions(-)
diff --git a/target/linux/ath79/dts/ar7161_aruba_ap-105.dts b/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
index 65c0be073b..45f77f7891 100644
--- a/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
+++ b/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
@@ -85,10 +85,6 @@
sda-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
scl-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- /* can be removed on 4.19 */
- gpios = <&gpio 5 GPIO_ACTIVE_LOW>,
- <&gpio 4 GPIO_ACTIVE_LOW>;
-
#address-cells = <1>;
#size-cells = <0>;
diff --git a/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts b/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts
index fd587c5da0..f2cb35eae9 100644
--- a/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts
+++ b/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts
@@ -30,10 +30,6 @@
sda-gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
scl-gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- /* can be removed on 4.19 */
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
- <&gpio 15 GPIO_ACTIVE_LOW>;
-
pcf8563: pcf8563 at 51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
More information about the lede-commits
mailing list