Message ID | 20191023101317.26656-11-afaerber@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: Realtek RTD1295 reset controllers | expand |
Am 23.10.19 um 12:13 schrieb Andreas Färber: > Replace reset controller indices with constants. > > Signed-off-by: Andreas Färber <afaerber@suse.de> > --- > v1 -> v2: Unchanged > > arch/arm64/boot/dts/realtek/rtd129x.dtsi | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) Squashed into preceding arm64 patch and applied to linux-realtek.git v5.5/dt64: https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.5/dt64 Thanks, Andreas
diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi index 15d321d9515c..4433114476f5 100644 --- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi @@ -12,6 +12,7 @@ /memreserve/ 0x0000000001ffe000 0x0000000000004000; #include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/reset/realtek,rtd1295.h> / { interrupt-parent = <&gic>; @@ -79,7 +80,7 @@ reg-shift = <2>; reg-io-width = <4>; clock-frequency = <27000000>; - resets = <&iso_reset 8>; + resets = <&iso_reset RTD1295_ISO_RSTN_UR0>; status = "disabled"; }; @@ -89,7 +90,7 @@ reg-shift = <2>; reg-io-width = <4>; clock-frequency = <432000000>; - resets = <&reset2 28>; + resets = <&reset2 RTD1295_RSTN_UR1>; status = "disabled"; }; @@ -99,7 +100,7 @@ reg-shift = <2>; reg-io-width = <4>; clock-frequency = <432000000>; - resets = <&reset2 27>; + resets = <&reset2 RTD1295_RSTN_UR2>; status = "disabled"; };
Replace reset controller indices with constants. Signed-off-by: Andreas Färber <afaerber@suse.de> --- v1 -> v2: Unchanged arch/arm64/boot/dts/realtek/rtd129x.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)