]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: iio: adc: npcm: Add npcm845 compatible string
authorTomer Maimon <tmaimon77@gmail.com>
Wed, 13 Jul 2022 13:26:39 +0000 (16:26 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 18 Jul 2022 17:29:29 +0000 (18:29 +0100)
Add a compatible string for Nuvoton BMC NPCM845 ADC.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220713132640.215916-2-tmaimon77@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/nuvoton,npcm750-adc.yaml

index 001cf263b7d5e2e26c4fde1181b59e19c81f1228..fede2aa64092912ff20e3023c3a111234c77be48 100644 (file)
@@ -10,11 +10,14 @@ maintainers:
   - Tomer Maimon <tmaimon77@gmail.com>
 
 description:
-  The NPCM ADC is a 10-bit converter for eight channel inputs.
+  The NPCM7XX ADC is a 10-bit converter and NPCM8XX ADC is a 12-bit converter,
+  both have eight channel inputs.
 
 properties:
   compatible:
-    const: nuvoton,npcm750-adc
+    enum:
+      - nuvoton,npcm750-adc
+      - nuvoton,npcm845-adc
 
   reg:
     maxItems: 1