projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddeb5e7
)
ARM: dts: s5pv210: replace deprecated "gpios" i2c-gpio property in Goni
author
Krzysztof Kozlowski
<krzk@kernel.org>
Mon, 7 Sep 2020 16:11:39 +0000
(18:11 +0200)
committer
Krzysztof Kozlowski
<krzk@kernel.org>
Wed, 16 Sep 2020 17:17:25 +0000
(19:17 +0200)
"gpios" property is deprecated. Update the Goni DTS to fix
dtbs_checks warnings like:
i2c-pmic: 'sda-gpios' is a required property
i2c-pmic: 'scl-gpios' is a required property
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link:
https://lore.kernel.org/r/20200907161141.31034-24-krzk@kernel.org
arch/arm/boot/dts/s5pv210-goni.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/s5pv210-goni.dts
b/arch/arm/boot/dts/s5pv210-goni.dts
index eec6531e6ef80d8cdfa360d43c4754b7ca31ec2a..ad8d5d2fa32d77d667fa13ad4a775fdf0a426e1d 100644
(file)
--- a/
arch/arm/boot/dts/s5pv210-goni.dts
+++ b/
arch/arm/boot/dts/s5pv210-goni.dts
@@
-76,8
+76,8
@@
i2c_pmic: i2c-pmic {
compatible = "i2c-gpio";
- gpios = <&gpj4 0 GPIO_ACTIVE_HIGH>, /* sda */
- <&gpj4 3 GPIO_ACTIVE_HIGH>; /* scl */
+ sda-gpios = <&gpj4 0 GPIO_ACTIVE_HIGH>;
+ scl-gpios = <&gpj4 3 GPIO_ACTIVE_HIGH>;
i2c-gpio,delay-us = <2>; /* ~100 kHz */
#address-cells = <1>;
#size-cells = <0>;