diff options
author | Artur Rojek <contact@artur-rojek.eu> | 2020-09-26 20:35:29 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2020-09-30 01:12:37 +0300 |
commit | 5fb768a5a47ac7d3a4d0e6747a0751de58c742ea (patch) | |
tree | 5b102dda3bb7960393087bb4717900b0c03e5000 /Documentation/devicetree/bindings/power | |
parent | 8d58ca2754f18eed4d0461c99755e844bb5ef4cc (diff) | |
download | linux-5fb768a5a47ac7d3a4d0e6747a0751de58c742ea.tar.xz |
dt-bindings: power: ingenic,battery: add new compatibles
This binding can support Ingenic JZ4725B and JZ4770 SoCs, as they are
compatible with Ingenic JZ4740 battery.
Introduce the following compatible property combinations:
compatible = "ingenic,jz4725b-battery", "ingenic,jz4740-battery",
compatible = "ingenic,jz4770-battery", "ingenic,jz4740-battery"
Signed-off-by: Artur Rojek <contact@artur-rojek.eu>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'Documentation/devicetree/bindings/power')
-rw-r--r-- | Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml b/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml index 446cd329f527..867e3e6b7e80 100644 --- a/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml +++ b/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml @@ -12,7 +12,13 @@ maintainers: properties: compatible: - const: ingenic,jz4740-battery + oneOf: + - const: ingenic,jz4740-battery + - items: + - enum: + - ingenic,jz4725b-battery + - ingenic,jz4770-battery + - const: ingenic,jz4740-battery io-channels: maxItems: 1 |