summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bbda7e9)
raw | patch | inline | side by side (parent: bbda7e9)
author | Murali Karicheri <m-karicheri2@ti.com> | |
Wed, 16 Jul 2014 20:54:15 +0000 (16:54 -0400) | ||
committer | Murali 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>
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 | patch | blob | history |
diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,uio-module-drv.txt b/Documentation/devicetree/bindings/arm/keystone/ti,uio-module-drv.txt
index 919c17c21d1857bc2ec2dcc8c90fb44fd6426e37..721f1bba2845c49e79c769006d677dde39ce00df 100644 (file)
- 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 {
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";
};