]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-linux/linux.git/commitdiff
Documentation: dts: dd optional configuration parameters for uio module
authorMurali Karicheri <m-karicheri2@ti.com>
Wed, 16 Jul 2014 20:54:15 +0000 (16:54 -0400)
committerMurali Karicheri <m-karicheri2@ti.com>
Wed, 3 Dec 2014 16:18:34 +0000 (11:18 -0500)
- Certain peripheral exposed using uio driver, is required to
  be configured with platform specific parameters.
- Added generic parameter list to device tree entry

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Documentation/devicetree/bindings/arm/keystone/ti,uio-module-drv.txt

index 919c17c21d1857bc2ec2dcc8c90fb44fd6426e37..721f1bba2845c49e79c769006d677dde39ce00df 100644 (file)
@@ -16,6 +16,13 @@ Recommended properties :
 - interrupts : standard interrupt property
 - clocks : desired clock domain property
 
+Optional properties:
+- cfg-params: Specifies configuration parameters to be used with peripheral
+       num_params: Number of params specified
+       param1, param2, ... param(num_params-1): parameters
+               label: label of parameter
+               value: Value of parameter
+
 Example:
 
                uio_hyperlink0: hyperlink0 {
@@ -25,5 +32,21 @@ Example:
                                0x0231a000 0x00002000>;
                        clocks = <&clkhyperlink0>;
                        interrupts      = <0 387 0x101>;
+                       cfg-params
+                       {
+                               num_params = <3>;
+                               param1 {
+                                       label = "c1";
+                                       value =  <4>;
+                               };
+                               param2 {
+                                       label = "c2";
+                                       value =  <0>;
+                                       };
+                               param3 {
+                                       label = "cm";
+                                       value =  <3>;
+                               };
+                       };
                        label = "hyperlink0";
                };