* [PATCH] dt-bindings: soc: ti: Update TI PRUSS bindings about schemas to include
@ 2020-12-16 22:50 ` Grzegorz Jaszczyk
0 siblings, 0 replies; 8+ messages in thread
From: Grzegorz Jaszczyk @ 2020-12-16 22:50 UTC (permalink / raw)
To: ssantosh, robh+dt, s-anna
Cc: grzegorz.jaszczyk, santosh.shilimkar, lee.jones, devicetree,
linux-kernel, linux-omap, linux-arm-kernel, praneeth, tony
Now after ti,pruss-intc.yaml and ti,pru-rproc.yaml are merged, include
them in proper property and extend the examples section.
At the occasion extend the allowed property list about dma-ranges.
Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
---
.../devicetree/bindings/soc/ti/ti,pruss.yaml | 76 +++++++++++++++++++
1 file changed, 76 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
index 037c51b2f972..dbc62821c60b 100644
--- a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
+++ b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
@@ -81,6 +81,9 @@ properties:
ranges:
maxItems: 1
+ dma-ranges:
+ maxItems: 1
+
power-domains:
description: |
This property is as per sci-pm-domain.txt.
@@ -278,6 +281,9 @@ patternProperties:
that is common to all the PRU cores. This should be represented as an
interrupt-controller node.
+ allOf:
+ - $ref: /schemas/interrupt-controller/ti,pruss-intc.yaml#
+
type: object
mdio@[a-f0-9]+$:
@@ -299,6 +305,9 @@ patternProperties:
present on K3 SoCs have additional auxiliary PRU cores with slightly
different IP integration.
+ allOf:
+ - $ref: /schemas/remoteproc/ti,pru-rproc.yaml#
+
type: object
required:
@@ -371,6 +380,36 @@ examples:
reg = <0x32000 0x58>;
};
+ pruss_intc: interrupt-controller@20000 {
+ compatible = "ti,pruss-intc";
+ reg = <0x20000 0x2000>;
+ interrupt-controller;
+ #interrupt-cells = <3>;
+ interrupts = <20 21 22 23 24 25 26 27>;
+ interrupt-names = "host_intr0", "host_intr1",
+ "host_intr2", "host_intr3",
+ "host_intr4", "host_intr5",
+ "host_intr6", "host_intr7";
+ };
+
+ pru0: pru@34000 {
+ compatible = "ti,am3356-pru";
+ reg = <0x34000 0x2000>,
+ <0x22000 0x400>,
+ <0x22400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am335x-pru0-fw";
+ };
+
+ pru1: pru@38000 {
+ compatible = "ti,am3356-pru";
+ reg = <0x38000 0x2000>,
+ <0x24000 0x400>,
+ <0x24400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am335x-pru1-fw";
+ };
+
pruss_mdio: mdio@32400 {
compatible = "ti,davinci_mdio";
reg = <0x32400 0x90>;
@@ -425,6 +464,43 @@ examples:
reg = <0x32000 0x58>;
};
+ pruss1_intc: interrupt-controller@20000 {
+ compatible = "ti,pruss-intc";
+ reg = <0x20000 0x2000>;
+ interrupt-controller;
+ #interrupt-cells = <3>;
+ interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "host_intr0", "host_intr1",
+ "host_intr2", "host_intr3",
+ "host_intr4",
+ "host_intr6", "host_intr7";
+ ti,irqs-reserved = /bits/ 8 <0x20>; /* BIT(5) */
+ };
+
+ pru1_0: pru@34000 {
+ compatible = "ti,am4376-pru";
+ reg = <0x34000 0x3000>,
+ <0x22000 0x400>,
+ <0x22400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am437x-pru1_0-fw";
+ };
+
+ pru1_1: pru@38000 {
+ compatible = "ti,am4376-pru";
+ reg = <0x38000 0x3000>,
+ <0x24000 0x400>,
+ <0x24400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am437x-pru1_1-fw";
+ };
+
pruss1_mdio: mdio@32400 {
compatible = "ti,davinci_mdio";
reg = <0x32400 0x90>;
--
2.29.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] dt-bindings: soc: ti: Update TI PRUSS bindings about schemas to include
@ 2020-12-16 22:50 ` Grzegorz Jaszczyk
0 siblings, 0 replies; 8+ messages in thread
From: Grzegorz Jaszczyk @ 2020-12-16 22:50 UTC (permalink / raw)
To: ssantosh, robh+dt, s-anna
Cc: devicetree, grzegorz.jaszczyk, praneeth, santosh.shilimkar,
linux-kernel, tony, linux-omap, lee.jones, linux-arm-kernel
Now after ti,pruss-intc.yaml and ti,pru-rproc.yaml are merged, include
them in proper property and extend the examples section.
At the occasion extend the allowed property list about dma-ranges.
Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
---
.../devicetree/bindings/soc/ti/ti,pruss.yaml | 76 +++++++++++++++++++
1 file changed, 76 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
index 037c51b2f972..dbc62821c60b 100644
--- a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
+++ b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
@@ -81,6 +81,9 @@ properties:
ranges:
maxItems: 1
+ dma-ranges:
+ maxItems: 1
+
power-domains:
description: |
This property is as per sci-pm-domain.txt.
@@ -278,6 +281,9 @@ patternProperties:
that is common to all the PRU cores. This should be represented as an
interrupt-controller node.
+ allOf:
+ - $ref: /schemas/interrupt-controller/ti,pruss-intc.yaml#
+
type: object
mdio@[a-f0-9]+$:
@@ -299,6 +305,9 @@ patternProperties:
present on K3 SoCs have additional auxiliary PRU cores with slightly
different IP integration.
+ allOf:
+ - $ref: /schemas/remoteproc/ti,pru-rproc.yaml#
+
type: object
required:
@@ -371,6 +380,36 @@ examples:
reg = <0x32000 0x58>;
};
+ pruss_intc: interrupt-controller@20000 {
+ compatible = "ti,pruss-intc";
+ reg = <0x20000 0x2000>;
+ interrupt-controller;
+ #interrupt-cells = <3>;
+ interrupts = <20 21 22 23 24 25 26 27>;
+ interrupt-names = "host_intr0", "host_intr1",
+ "host_intr2", "host_intr3",
+ "host_intr4", "host_intr5",
+ "host_intr6", "host_intr7";
+ };
+
+ pru0: pru@34000 {
+ compatible = "ti,am3356-pru";
+ reg = <0x34000 0x2000>,
+ <0x22000 0x400>,
+ <0x22400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am335x-pru0-fw";
+ };
+
+ pru1: pru@38000 {
+ compatible = "ti,am3356-pru";
+ reg = <0x38000 0x2000>,
+ <0x24000 0x400>,
+ <0x24400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am335x-pru1-fw";
+ };
+
pruss_mdio: mdio@32400 {
compatible = "ti,davinci_mdio";
reg = <0x32400 0x90>;
@@ -425,6 +464,43 @@ examples:
reg = <0x32000 0x58>;
};
+ pruss1_intc: interrupt-controller@20000 {
+ compatible = "ti,pruss-intc";
+ reg = <0x20000 0x2000>;
+ interrupt-controller;
+ #interrupt-cells = <3>;
+ interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "host_intr0", "host_intr1",
+ "host_intr2", "host_intr3",
+ "host_intr4",
+ "host_intr6", "host_intr7";
+ ti,irqs-reserved = /bits/ 8 <0x20>; /* BIT(5) */
+ };
+
+ pru1_0: pru@34000 {
+ compatible = "ti,am4376-pru";
+ reg = <0x34000 0x3000>,
+ <0x22000 0x400>,
+ <0x22400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am437x-pru1_0-fw";
+ };
+
+ pru1_1: pru@38000 {
+ compatible = "ti,am4376-pru";
+ reg = <0x38000 0x3000>,
+ <0x24000 0x400>,
+ <0x24400 0x100>;
+ reg-names = "iram", "control", "debug";
+ firmware-name = "am437x-pru1_1-fw";
+ };
+
pruss1_mdio: mdio@32400 {
compatible = "ti,davinci_mdio";
reg = <0x32400 0x90>;
--
2.29.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: soc: ti: Update TI PRUSS bindings about schemas to include
2020-12-16 22:50 ` Grzegorz Jaszczyk
@ 2020-12-21 21:32 ` Rob Herring
-1 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2020-12-21 21:32 UTC (permalink / raw)
To: Grzegorz Jaszczyk
Cc: tony, linux-omap, devicetree, santosh.shilimkar, robh+dt,
ssantosh, praneeth, lee.jones, s-anna, linux-arm-kernel,
linux-kernel
On Wed, 16 Dec 2020 23:50:27 +0100, Grzegorz Jaszczyk wrote:
> Now after ti,pruss-intc.yaml and ti,pru-rproc.yaml are merged, include
> them in proper property and extend the examples section.
>
> At the occasion extend the allowed property list about dma-ranges.
>
> Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
> ---
> .../devicetree/bindings/soc/ti/ti,pruss.yaml | 76 +++++++++++++++++++
> 1 file changed, 76 insertions(+)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: soc: ti: Update TI PRUSS bindings about schemas to include
@ 2020-12-21 21:32 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2020-12-21 21:32 UTC (permalink / raw)
To: Grzegorz Jaszczyk
Cc: devicetree, tony, santosh.shilimkar, linux-kernel, praneeth,
robh+dt, ssantosh, linux-omap, lee.jones, linux-arm-kernel
On Wed, 16 Dec 2020 23:50:27 +0100, Grzegorz Jaszczyk wrote:
> Now after ti,pruss-intc.yaml and ti,pru-rproc.yaml are merged, include
> them in proper property and extend the examples section.
>
> At the occasion extend the allowed property list about dma-ranges.
>
> Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
> ---
> .../devicetree/bindings/soc/ti/ti,pruss.yaml | 76 +++++++++++++++++++
> 1 file changed, 76 insertions(+)
>
Reviewed-by: Rob Herring <robh@kernel.org>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: soc: ti: Update TI PRUSS bindings about schemas to include
2020-12-21 21:32 ` Rob Herring
@ 2021-01-15 16:38 ` Suman Anna
-1 siblings, 0 replies; 8+ messages in thread
From: Suman Anna @ 2021-01-15 16:38 UTC (permalink / raw)
To: santosh.shilimkar
Cc: Rob Herring, Grzegorz Jaszczyk, tony, linux-omap, devicetree,
robh+dt, ssantosh, praneeth, lee.jones, linux-arm-kernel,
linux-kernel
Hi Santosh,
On 12/21/20 3:32 PM, Rob Herring wrote:
> On Wed, 16 Dec 2020 23:50:27 +0100, Grzegorz Jaszczyk wrote:
>> Now after ti,pruss-intc.yaml and ti,pru-rproc.yaml are merged, include
>> them in proper property and extend the examples section.
>>
>> At the occasion extend the allowed property list about dma-ranges.
>>
>> Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
>> ---
>> .../devicetree/bindings/soc/ti/ti,pruss.yaml | 76 +++++++++++++++++++
>> 1 file changed, 76 insertions(+)
>>
>
> Reviewed-by: Rob Herring <robh@kernel.org>
>
Gentle reminder, I haven't seen this patch yet on linux-next.
Can you please pick this up for 5.12.
Thanks,
Suman
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: soc: ti: Update TI PRUSS bindings about schemas to include
@ 2021-01-15 16:38 ` Suman Anna
0 siblings, 0 replies; 8+ messages in thread
From: Suman Anna @ 2021-01-15 16:38 UTC (permalink / raw)
To: santosh.shilimkar
Cc: Grzegorz Jaszczyk, devicetree, tony, linux-kernel, praneeth,
robh+dt, ssantosh, linux-omap, lee.jones, linux-arm-kernel
Hi Santosh,
On 12/21/20 3:32 PM, Rob Herring wrote:
> On Wed, 16 Dec 2020 23:50:27 +0100, Grzegorz Jaszczyk wrote:
>> Now after ti,pruss-intc.yaml and ti,pru-rproc.yaml are merged, include
>> them in proper property and extend the examples section.
>>
>> At the occasion extend the allowed property list about dma-ranges.
>>
>> Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
>> ---
>> .../devicetree/bindings/soc/ti/ti,pruss.yaml | 76 +++++++++++++++++++
>> 1 file changed, 76 insertions(+)
>>
>
> Reviewed-by: Rob Herring <robh@kernel.org>
>
Gentle reminder, I haven't seen this patch yet on linux-next.
Can you please pick this up for 5.12.
Thanks,
Suman
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: soc: ti: Update TI PRUSS bindings about schemas to include
2021-01-15 16:38 ` Suman Anna
@ 2021-01-19 16:57 ` santosh.shilimkar
-1 siblings, 0 replies; 8+ messages in thread
From: santosh.shilimkar @ 2021-01-19 16:57 UTC (permalink / raw)
To: Suman Anna
Cc: Rob Herring, Grzegorz Jaszczyk, tony, linux-omap, devicetree,
robh+dt, ssantosh, praneeth, lee.jones, linux-arm-kernel,
linux-kernel
On 1/15/21 8:38 AM, Suman Anna wrote:
> Hi Santosh,
>
> On 12/21/20 3:32 PM, Rob Herring wrote:
>> On Wed, 16 Dec 2020 23:50:27 +0100, Grzegorz Jaszczyk wrote:
>>> Now after ti,pruss-intc.yaml and ti,pru-rproc.yaml are merged, include
>>> them in proper property and extend the examples section.
>>>
>>> At the occasion extend the allowed property list about dma-ranges.
>>>
>>> Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
>>> ---
>>> .../devicetree/bindings/soc/ti/ti,pruss.yaml | 76 +++++++++++++++++++
>>> 1 file changed, 76 insertions(+)
>>>
>>
>> Reviewed-by: Rob Herring <robh@kernel.org>
>>
>
> Gentle reminder, I haven't seen this patch yet on linux-next.
> Can you please pick this up for 5.12.
>
Yes, will look into it this week.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: soc: ti: Update TI PRUSS bindings about schemas to include
@ 2021-01-19 16:57 ` santosh.shilimkar
0 siblings, 0 replies; 8+ messages in thread
From: santosh.shilimkar @ 2021-01-19 16:57 UTC (permalink / raw)
To: Suman Anna
Cc: Grzegorz Jaszczyk, devicetree, tony, linux-kernel, praneeth,
robh+dt, ssantosh, linux-omap, lee.jones, linux-arm-kernel
On 1/15/21 8:38 AM, Suman Anna wrote:
> Hi Santosh,
>
> On 12/21/20 3:32 PM, Rob Herring wrote:
>> On Wed, 16 Dec 2020 23:50:27 +0100, Grzegorz Jaszczyk wrote:
>>> Now after ti,pruss-intc.yaml and ti,pru-rproc.yaml are merged, include
>>> them in proper property and extend the examples section.
>>>
>>> At the occasion extend the allowed property list about dma-ranges.
>>>
>>> Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
>>> ---
>>> .../devicetree/bindings/soc/ti/ti,pruss.yaml | 76 +++++++++++++++++++
>>> 1 file changed, 76 insertions(+)
>>>
>>
>> Reviewed-by: Rob Herring <robh@kernel.org>
>>
>
> Gentle reminder, I haven't seen this patch yet on linux-next.
> Can you please pick this up for 5.12.
>
Yes, will look into it this week.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-01-19 23:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 22:50 [PATCH] dt-bindings: soc: ti: Update TI PRUSS bindings about schemas to include Grzegorz Jaszczyk
2020-12-16 22:50 ` Grzegorz Jaszczyk
2020-12-21 21:32 ` Rob Herring
2020-12-21 21:32 ` Rob Herring
2021-01-15 16:38 ` Suman Anna
2021-01-15 16:38 ` Suman Anna
2021-01-19 16:57 ` santosh.shilimkar
2021-01-19 16:57 ` santosh.shilimkar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.