summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power/supply
diff options
context:
space:
mode:
authorJakob Hauser <jahau@rocketmail.com>2023-05-15 22:57:18 +0200
committerLee Jones <lee@kernel.org>2023-06-08 19:18:00 +0200
commit395289114602ed3319eb7c4c064083dfacf4240d (patch)
treebf98262e8c897c257e6769fe0fc2828e16d5270a /Documentation/devicetree/bindings/power/supply
parentpower: supply: rt5033_battery: Adopt status property from charger (diff)
downloadlinux-395289114602ed3319eb7c4c064083dfacf4240d.tar.xz
linux-395289114602ed3319eb7c4c064083dfacf4240d.zip
dt-bindings: power: supply: rt5033-battery: Apply unevaluatedProperties
Additionally to the already available ref "power-supply.yaml", replace "additionalProperties: false" by "unevaluatedProperties: false". Otherwise, when referencing rt5033-battery in an example, message "'power-supplies' does not match any of the regexes: 'pinctrl-[0-9]+'" will be returned. Signed-off-by: Jakob Hauser <jahau@rocketmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/ef86067348f01a3bbf1bd9b4f81716b62ea1f552.1684182964.git.jahau@rocketmail.com
Diffstat (limited to 'Documentation/devicetree/bindings/power/supply')
-rw-r--r--Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml b/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml
index 756c16d1727d..b5d8888d03d2 100644
--- a/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml
+++ b/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml
@@ -26,7 +26,7 @@ required:
- compatible
- reg
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |