aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>2020-12-22 14:53:10 +0100
committerGrzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>2020-12-22 16:33:32 +0100
commit22a958abe81ea627d3edd4b8f468156056d225b6 (patch)
tree7ee4483d4df129c0667ab3cd9e182a41093aab7c
parent328e86bf3df70fdb2fb1ad2751aafc9a0267a289 (diff)
downloadlinux-ti-pruss-binding-issue.tar.gz
TEMP: w/a issues for property names with comma s/ti,prus/ti-prus/ti-pruss-binding-issue
Changing s/ti,prus/ti-prus/ results with only one expected (left for test) warning: serial@28000: ti-pruss-gp-mux-sel:0:0: 7 is not one of [0, 1, 2, 3, 4] From schema: ...linux/Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml
-rw-r--r--Documentation/devicetree/bindings/remoteproc/ti,pru-consumer.yaml20
-rw-r--r--Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml12
-rw-r--r--arch/arm64/boot/dts/ti/k3-am65-main.dtsi4
3 files changed, 18 insertions, 18 deletions
diff --git a/Documentation/devicetree/bindings/remoteproc/ti,pru-consumer.yaml b/Documentation/devicetree/bindings/remoteproc/ti,pru-consumer.yaml
index d6de34f9e6f1..b1a759b3ff81 100644
--- a/Documentation/devicetree/bindings/remoteproc/ti,pru-consumer.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/ti,pru-consumer.yaml
@@ -21,7 +21,7 @@ description: |
devices, so below are in addition to each node's bindings.
properties:
- ti,prus:
+ ti-prus:
$ref: /schemas/types.yaml#/definitions/phandle-array
description: phandles to the PRU, RTU or Tx_PRU nodes used
@@ -30,27 +30,27 @@ properties:
description: |
firmwares for the PRU cores, the default firmware for the core from
the PRU node will be used if not provided. The firmware names should
- correspond to the PRU cores listed in the 'ti,prus' property
+ correspond to the PRU cores listed in the 'ti-prus' property
- ti,pruss-gp-mux-sel:
+ ti-pruss-gp-mux-sel:
$ref: /schemas/types.yaml#/definitions/uint32-array
enum: [0, 1, 2, 3, 4]
description: |
array of values for the GP_MUX_SEL under PRUSS_GPCFG register for a PRU.
This selects the internal muxing scheme for the PRU instance. Values
- should correspond to the PRU cores listed in the 'ti,prus' property. The
+ should correspond to the PRU cores listed in the 'ti-prus' property. The
GP_MUX_SEL setting is a per-slice setting (one setting for PRU0, RTU0,
and Tx_PRU0 on K3 SoCs). Use the same value for all cores within the
same slice in the associative array. If the array size is smaller than
- the size of 'ti,prus' property, the default out-of-reset value (0) for the
+ the size of 'ti-prus' property, the default out-of-reset value (0) for the
PRU core is used.
required:
- - ti,prus
+ - ti-prus
dependencies:
- firmware-name: [ 'ti,prus' ]
- ti,pruss-gp-mux-sel: [ 'ti,prus' ]
+ firmware-name: [ 'ti-prus' ]
+ ti-pruss-gp-mux-sel: [ 'ti-prus' ]
additionalProperties: true
@@ -58,7 +58,7 @@ examples:
- |
/* PRU application node example */
pru-app {
- ti,prus = <&pru0>, <&pru1>;
+ ti-prus = <&pru0>, <&pru1>;
firmware-name = "pruss-app-fw0", "pruss-app-fw1";
- ti,pruss-gp-mux-sel = <2>, <1>;
+ ti-pruss-gp-mux-sel = <2>, <1>;
};
diff --git a/Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml b/Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml
index 68ff66b8385b..9a0d6ecd0c6e 100644
--- a/Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml
@@ -33,14 +33,14 @@ properties:
description: |
UART interrupt, which is PRU UART uint System Event id
-# ti,prus:
-# maxItems: 1
+ ti-prus:
+ maxItems: 1
firmware-name:
maxItems: 1
-# ti,pruss-gp-mux-sel:
-# maxItems: 1
+ ti-pruss-gp-mux-sel:
+ maxItems: 1
required:
- compatible
@@ -59,6 +59,6 @@ examples:
clocks = <&dpll_per_m2_ck>;
interrupt-parent = <&pruss_intc>;
interrupts = <6>;
- ti,prus = <&pru0>;
- ti,pruss-gp-mux-sel = <7>;
+ ti-prus = <&pru0>;
+ ti-pruss-gp-mux-sel = <7>;
};
diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
index 2c0232884f40..da2d91a93ecf 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
@@ -1044,10 +1044,10 @@
reg = <0x0 0xb028000 0x0 0x38>;
interrupt-parent = <&icssg0_intc>;
firmware-name = "ti-pruss/pruss0_0-uart-fw.elf";
- ti,prus = <&pru0_0>;
+ ti-prus = <&pru0_0>;
interrupts = <6 2 2>;
pinctrl-names = "default";
- ti,pruss-gp-mux-sel = <7>;
+ ti-pruss-gp-mux-sel = <7>;
status = "okay";
};
};