1
0
Fork 0

arm64: dts: allwinner: a64: Rename r_i2c_pins_a label to r_i2c_pl89_pins

The pinmux name and label for a specific function should denote which
pingroup it is on, or if there is only one option for the function, have
not enumerating prefix/suffix at all.

The "r_i2c_pins_a" label is renamed to "r_i2c_pl89_pins" to fit our
current style. The node name "i2c" is also changed to "r-i2c-pl89-pins"
to match. The reason for the peculiar name is that the other option for
muxing R_I2C is on the PL0/PL1 pins, so the name has to mention the pin
numbers in addition to the pingroup.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
hifive-unleashed-5.1
Chen-Yu Tsai 2018-08-28 18:01:32 +08:00
parent d91ebb95b9
commit 1b6ff1cb7e
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@
&r_i2c {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&r_i2c_pins_a>;
pinctrl-0 = <&r_i2c_pl89_pins>;
status = "okay";
};

View File

@ -770,7 +770,7 @@
interrupt-controller;
#interrupt-cells = <3>;
r_i2c_pins_a: i2c-a {
r_i2c_pl89_pins: r-i2c-pl89-pins {
pins = "PL8", "PL9";
function = "s_i2c";
};