ARM: dts: s5pv210: Disable pulls on GPIO I2C adapters for Aries
authorJonathan Bakker <xc-racer2@live.ca>
Fri, 1 May 2020 23:50:06 +0000 (16:50 -0700)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 4 May 2020 15:13:04 +0000 (17:13 +0200)
The bitbanged GPIO I2C adapters have external pull-ups attached
so the internal pulls should be disabled for lower power usage.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/s5pv210-aries.dtsi

index d419b77..f83df42 100644 (file)
@@ -65,6 +65,9 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
+               pinctrl-names = "default";
+               pinctrl-0 = <&pmic_i2c_pins>;
+
                pmic@66 {
                        compatible = "maxim,max8998";
                        reg = <0x66>;
                #address-cells = <1>;
                #size-cells = <0>;
 
+               pinctrl-names = "default";
+               pinctrl-0 = <&fg_i2c_pins>;
+
                fuelgauge@36 {
                        compatible = "maxim,max17040";
                        interrupt-parent = <&vic0>;
                samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
                samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
        };
+
+       pmic_i2c_pins: pmic-i2c-pins {
+               samsung,pins = "gpj4-0", "gpj4-3";
+               samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
+               samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
+       };
+
+       fg_i2c_pins: fg-i2c-pins {
+               samsung,pins = "mp05-0", "mp05-1";
+               samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
+               samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
+       };
 };
 
 &pwm {