]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: ti: k3-j721e: Fix mux-reg-masks in hbmc_mux
authorAndrew Davis <afd@ti.com>
Thu, 15 Feb 2024 14:19:57 +0000 (08:19 -0600)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:16:46 +0000 (18:16 -0400)
[ Upstream commit 3d585389d454e147187684e492a0eb8f56adf311 ]

Change offset in mux-reg-masks property for hbmc_mux node
since reg-mux property is used in compatible.

While here, update the reg region to include 4 bytes as this
is a 32bit register.

Fixes: 2765149273f4 ("mux: mmio: use reg property when parent device is not a syscon")
Suggested-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240215141957.13775-1-afd@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi

index a74912d9e4dafdf307961e390110706a863a015e..c463e23ced04e20815c0a1733cbc604c8cc5b0a6 100644 (file)
 
                hbmc_mux: mux-controller@47000004 {
                        compatible = "reg-mux";
-                       reg = <0x00 0x47000004 0x00 0x2>;
+                       reg = <0x00 0x47000004 0x00 0x4>;
                        #mux-control-cells = <1>;
-                       mux-reg-masks = <0x4 0x2>; /* HBMC select */
+                       mux-reg-masks = <0x0 0x2>; /* HBMC select */
                };
 
                hbmc: hyperbus@47034000 {