Message ID | 20231117222930.228688-1-afd@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/8] arm64: dts: ti: k3-am64: Convert serdes_ln_ctrl node into reg-mux | expand |
On 11/17/23 4:29 PM, Andrew Davis wrote: > This removes a dependency on the parent node being a syscon node. > Convert from mmio-mux to reg-mux adjusting node name and properties > as needed. > > Signed-off-by: Andrew Davis <afd@ti.com> > --- This series depends on this driver fix[0]. Andrew [0] https://lore.kernel.org/lkml/20231025161247.1283319-1-afd@ti.com/ > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > index 0be642bc1b86d..d630cbe6d7eb9 100644 > --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > @@ -51,10 +51,11 @@ chipid@14 { > reg = <0x00000014 0x4>; > }; > > - serdes_ln_ctrl: mux-controller { > - compatible = "mmio-mux"; > + serdes_ln_ctrl: mux-controller@4080 { > + compatible = "reg-mux"; > + reg = <0x4080 0x4>; > #mux-control-cells = <1>; > - mux-reg-masks = <0x4080 0x3>; /* SERDES0 lane0 select */ > + mux-reg-masks = <0x0 0x3>; /* SERDES0 lane0 select */ > }; > > phy_gmii_sel: phy@4044 {
diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index 0be642bc1b86d..d630cbe6d7eb9 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -51,10 +51,11 @@ chipid@14 { reg = <0x00000014 0x4>; }; - serdes_ln_ctrl: mux-controller { - compatible = "mmio-mux"; + serdes_ln_ctrl: mux-controller@4080 { + compatible = "reg-mux"; + reg = <0x4080 0x4>; #mux-control-cells = <1>; - mux-reg-masks = <0x4080 0x3>; /* SERDES0 lane0 select */ + mux-reg-masks = <0x0 0x3>; /* SERDES0 lane0 select */ }; phy_gmii_sel: phy@4044 {
This removes a dependency on the parent node being a syscon node. Convert from mmio-mux to reg-mux adjusting node name and properties as needed. Signed-off-by: Andrew Davis <afd@ti.com> --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)