]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: iio: adc: exynos: Remove old requirement of two register address ranges
authorKrzysztof Kozlowski <krzk@kernel.org>
Sat, 7 Sep 2019 09:20:07 +0000 (11:20 +0200)
committerRob Herring <robh@kernel.org>
Tue, 1 Oct 2019 12:12:38 +0000 (07:12 -0500)
Commit fafb37cfae6d ("iio: exyno-adc: use syscon for PMU
register access") changed the Exynos ADC driver so the PMU syscon
phandle is required instead of second register address space.  The
bindings were not updated so fix them now.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml

index dd58121f25b1c7b5ab2789bb9f1dad39fe79d0a9..b4c6c26681d97713b9c613b3d2309c086f595270 100644 (file)
@@ -25,8 +25,7 @@ properties:
       - samsung,s5pv210-adc
 
   reg:
-    minItems: 1
-    maxItems: 2
+    maxItems: 1
 
   clocks:
     description:
@@ -55,7 +54,7 @@ properties:
     $ref: '/schemas/types.yaml#/definitions/phandle'
     description:
       Phandle to the PMU system controller node (to access the ADC_PHY
-      register on Exynos5250/5420/5800/3250).
+      register on Exynos3250/4x12/5250/5420/5800).
 
   has-touchscreen:
     description:
@@ -83,19 +82,8 @@ allOf:
               - samsung,exynos4212-adc
               - samsung,s5pv210-adc
     then:
-      properties:
-        reg:
-          items:
-            # For S5P and Exynos
-            - description: base registers
-            - description: phy registers
       required:
         - samsung,syscon-phandle
-    else:
-      properties:
-        reg:
-          items:
-            - description: base registers
 
   - if:
       properties: