Skip to content

Commit

Permalink
ARM: dts: microchip: at91-sama7g5ek: Replace regulator-suspend-voltag…
Browse files Browse the repository at this point in the history
…e with the valid property

[ Upstream commit e027b71 ]

By checking the pmic node with microchip,mcp16502.yaml#
'regulator-suspend-voltage' does not match any of the
regexes 'pinctrl-[0-9]+' from schema microchip,mcp16502.yaml#
which inherits regulator.yaml#. So replace regulator-suspend-voltage
with regulator-suspend-microvolt to avoid the inconsitency.

Fixes: 85b1304 ("ARM: dts: at91: sama7g5ek: set regulator voltages for standby state")
Signed-off-by: Andrei Simion <andrei.simion@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20240404123824.19182-2-andrei.simion@microchip.com
[claudiu.beznea: added a dot before starting the last sentence in commit
 description]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
asimion797 authored and gregkh committed May 2, 2024
1 parent 94346ef commit 1fb855a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/microchip/at91-sama7g5ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@

regulator-state-standby {
regulator-on-in-suspend;
regulator-suspend-voltage = <1150000>;
regulator-suspend-microvolt = <1150000>;
regulator-mode = <4>;
};

Expand All @@ -314,7 +314,7 @@

regulator-state-standby {
regulator-on-in-suspend;
regulator-suspend-voltage = <1050000>;
regulator-suspend-microvolt = <1050000>;
regulator-mode = <4>;
};

Expand All @@ -331,7 +331,7 @@
regulator-always-on;

regulator-state-standby {
regulator-suspend-voltage = <1800000>;
regulator-suspend-microvolt = <1800000>;
regulator-on-in-suspend;
};

Expand All @@ -346,7 +346,7 @@
regulator-max-microvolt = <3700000>;

regulator-state-standby {
regulator-suspend-voltage = <1800000>;
regulator-suspend-microvolt = <1800000>;
regulator-on-in-suspend;
};

Expand Down

0 comments on commit 1fb855a

Please sign in to comment.