]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: mediatek: mt8395-nio-12l: Define RSEL in microamperes
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 9 Apr 2024 11:42:09 +0000 (13:42 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 27 Jun 2024 08:10:20 +0000 (10:10 +0200)
The paris pinctrl driver supports specifying the RSEL drive strength
in microamperes as well as internal bits definitions: choose to specify
those in uA to avoid using hardware specific values in device trees.

Link: https://lore.kernel.org/r/20240409114211.310462-4-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts

index 97634cc04e659f31028412ac74674f7148130d5a..abd6612b86245a42826d0f993bf8594b37b06495 100644 (file)
 };
 
 &pio {
+       mediatek,rsel-resistance-in-si-unit;
+
        eth_default_pins: eth-default-pins {
                pins-cc {
                        pinmux = <PINMUX_GPIO85__FUNC_GBE_TXC>,
                pins-bus {
                        pinmux = <PINMUX_GPIO12__FUNC_SDA2>,
                                 <PINMUX_GPIO13__FUNC_SCL2>;
-                       bias-pull-up = <MTK_PULL_SET_RSEL_111>;
+                       bias-pull-up = <1000>;
                        drive-strength = <6>;
                        drive-strength-microamp = <1000>;
                };
                pins-bus {
                        pinmux = <PINMUX_GPIO16__FUNC_SDA4>,
                                 <PINMUX_GPIO17__FUNC_SCL4>;
-                       bias-pull-up = <MTK_PULL_SET_RSEL_111>;
+                       bias-pull-up = <1000>;
                        drive-strength-microamp = <1000>;
                };
        };