Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sunxi: bananapi-m2-plus-v1.2: Add regulator supply to all CPU cores

The device tree currently only assigns the a supply for the first CPU
core, when in reality the regulator supply is shared by all four cores.
This might cause an issue if the implementation does not realize the
sharing of the supply.

Assign the same regulator supply to the remaining CPU cores to address
this.

Fixes: 6eeb4180d4b9 ("ARM: dts: sunxi: h3-h5: Add Bananapi M2+ v1.2 device trees")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200717160053.31191-3-wens@kernel.org

authored by

Chen-Yu Tsai and committed by
Maxime Ripard
55b271af 82e93572

+12
+12
arch/arm/boot/dts/sunxi-bananapi-m2-plus-v1.2.dtsi
··· 28 28 &cpu0 { 29 29 cpu-supply = <&reg_vdd_cpux>; 30 30 }; 31 + 32 + &cpu1 { 33 + cpu-supply = <&reg_vdd_cpux>; 34 + }; 35 + 36 + &cpu2 { 37 + cpu-supply = <&reg_vdd_cpux>; 38 + }; 39 + 40 + &cpu3 { 41 + cpu-supply = <&reg_vdd_cpux>; 42 + };