Message ID | 20231201165810.334212-4-heiko@sntech.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: dts: rockchip: aliases for core busses in main dtsi | expand |
On Friday, 1 December 2023 17:58:09 CET Heiko Stuebner wrote: > So instead of having each board repeating their list of gpio aliases move > them to the soc dtsi Nit: To prevent each board repeating their list of gpio aliases, define them in the soc dtsi Patch 1 did in fact *move* items, but patch 2-4 only added them to the soc dtsi, which I assume is to prevent them being added to each board.
Am Freitag, 1. Dezember 2023, 18:23:27 CET schrieb Diederik de Haas: > On Friday, 1 December 2023 17:58:09 CET Heiko Stuebner wrote: > > So instead of having each board repeating their list of gpio aliases move > > them to the soc dtsi > > Nit: > To prevent each board repeating their list of gpio aliases, define them in the > soc dtsi > > Patch 1 did in fact *move* items, but patch 2-4 only added them to the soc > dtsi, which I assume is to prevent them being added to each board. ah yes, the magic of doing similar things in bulk, thanks for catching that :-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index 47512c39e55a..a59407466746 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -19,6 +19,11 @@ / { #size-cells = <2>; aliases { + gpio0 = &gpio0; + gpio1 = &gpio1; + gpio2 = &gpio2; + gpio3 = &gpio3; + gpio4 = &gpio4; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2;