[PATCH] dt-bindings: mfd: ti,am3359-tscadc: change clock-names property to enum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Several J7 platforms use adc_tsc_fck instead of fck for clock naming. To
avoid warnings from dt-schema on invalid clock naming; create an enum with
both fck, and adc_tsc_fck options.

Signed-off-by: Matt Ranostay <mranostay@xxxxxx>
---
 Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
index 34bf6a01436f..fbb44531ed88 100644
--- a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
@@ -28,7 +28,9 @@ properties:
     maxItems: 1
 
   clock-names:
-    const: fck
+    enum:
+      - fck
+      - adc_tsc_fck
 
   dmas:
     items:
-- 
2.38.GIT




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux