Message ID | 20230514123130.41172-10-jahau@rocketmail.com (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | Add RT5033 charger device driver | expand |
On 14/05/2023 14:31, Jakob Hauser wrote: > Additionally to the already available ref "power-supply.yaml", add > "power-supplies" as a property. 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> Instead just change additionalProp->unevaluatedProperties: false. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml b/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml index 756c16d1727d..07e03418a909 100644 --- a/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml +++ b/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml @@ -22,6 +22,8 @@ properties: interrupts: maxItems: 1 + power-supplies: true + required: - compatible - reg
Additionally to the already available ref "power-supply.yaml", add "power-supplies" as a property. 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> --- .../bindings/power/supply/richtek,rt5033-battery.yaml | 2 ++ 1 file changed, 2 insertions(+)