* [PATCH 0/3] Add support for ESM
@ 2023-04-14 10:52 Neha Malcom Francis
2023-04-14 10:52 ` [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Neha Malcom Francis
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Neha Malcom Francis @ 2023-04-14 10:52 UTC (permalink / raw)
To: u-boot, robh+dt, krzysztof.kozlowski+dt, devicetree,
linux-kernel, linux-arm-kernel
Cc: n-francis, nm, vigneshr, u-kumar1
ESM (Error Signaling Module) is a fundamental IP responsible for
handling safety events. The driver currently present in U-Boot is
responsible for configuring ESM. This patch series adds dt-binding and
nodes for J721E and J7200. This goes towards end goal of having DTB sync
with that of U-Boot as well as ensuring completeness of hardware
description in devicetree.
Neha Malcom Francis (3):
dt-bindings: misc: esm: Add ESM support for TI K3 devices
arm64: dts: ti: k3-j721e: Add ESM support
arm64: dts: ti: k3-j7200: Add ESM support
.../devicetree/bindings/misc/esm-k3.yaml | 54 +++++++++++++++++++
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 6 +++
arch/arm64/boot/dts/ti/k3-j7200.dtsi | 1 +
arch/arm64/boot/dts/ti/k3-j721e.dtsi | 1 +
4 files changed, 62 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/esm-k3.yaml
--
2.34.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices
2023-04-14 10:52 [PATCH 0/3] Add support for ESM Neha Malcom Francis
@ 2023-04-14 10:52 ` Neha Malcom Francis
2023-04-14 11:40 ` Krzysztof Kozlowski
2023-04-14 10:52 ` [PATCH 2/3] arm64: dts: ti: k3-j721e: Add ESM support Neha Malcom Francis
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Neha Malcom Francis @ 2023-04-14 10:52 UTC (permalink / raw)
To: u-boot, robh+dt, krzysztof.kozlowski+dt, devicetree,
linux-kernel, linux-arm-kernel
Cc: n-francis, nm, vigneshr, u-kumar1
Document the binding for TI K3 ESM (Error Signaling Module) block.
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
---
.../devicetree/bindings/misc/esm-k3.yaml | 54 +++++++++++++++++++
1 file changed, 54 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/esm-k3.yaml
diff --git a/Documentation/devicetree/bindings/misc/esm-k3.yaml b/Documentation/devicetree/bindings/misc/esm-k3.yaml
new file mode 100644
index 000000000000..5e637add3b0e
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/esm-k3.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# Copyright (C) 2022 Texas Instruments Incorporated
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/misc/esm-k3.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments K3 ESM Binding
+
+maintainers:
+ - Neha Malcom Francis <n-francis@ti.com>
+
+description: |
+ The ESM (Error Signaling Module) is an IP block on TI K3 devices
+ that allows handling of safety events somewhat similar to what interrupt
+ controller would do. The safety signals have their separate paths within
+ the SoC, and they are handld by the ESM, which routes them to the proper
+ destination, which can be system reset, interrupt controller, etc. In the
+ simplest configuration the signals are just routed to reset the SoC.
+
+properties:
+ compatible:
+ const: ti,j721e-esm
+
+ reg:
+ items:
+ - description: physical address and length of the registers which
+ contain revision and debug features
+ - description: physical address and length of the registers which
+ indicate strapping options
+
+ ti,esm-pins:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description: |
+ integer array of ESM event IDs to route to external event pin which can
+ be used to reset the SoC. The array can have an arbitrary amount of event
+ IDs listed on it.
+ minItems: 1
+ maxItems: 255
+
+additionalProperties: false
+
+required:
+ - compatible
+ - reg
+ - ti,esm-pins
+
+examples:
+ - |
+ main_esm: esm@700000 {
+ compatible = "ti,j721e-esm";
+ reg = <0x0 0x700000 0x0 0x1000>;
+ ti,esm-pins = <344>, <345>;
+ };
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/3] arm64: dts: ti: k3-j721e: Add ESM support
2023-04-14 10:52 [PATCH 0/3] Add support for ESM Neha Malcom Francis
2023-04-14 10:52 ` [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Neha Malcom Francis
@ 2023-04-14 10:52 ` Neha Malcom Francis
2023-04-14 10:52 ` [PATCH 3/3] arm64: dts: ti: k3-j7200: " Neha Malcom Francis
2023-04-14 11:02 ` [PATCH 0/3] Add support for ESM Neha Malcom Francis
3 siblings, 0 replies; 9+ messages in thread
From: Neha Malcom Francis @ 2023-04-14 10:52 UTC (permalink / raw)
To: u-boot, robh+dt, krzysztof.kozlowski+dt, devicetree,
linux-kernel, linux-arm-kernel
Cc: n-francis, nm, vigneshr, u-kumar1
Add address entry mapping ESM on J721E.
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
---
arch/arm64/boot/dts/ti/k3-j721e.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j721e.dtsi b/arch/arm64/boot/dts/ti/k3-j721e.dtsi
index b912143b6a11..52bcde601eb8 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e.dtsi
@@ -131,6 +131,7 @@ cbass_main: bus@100000 {
#size-cells = <2>;
ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
<0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */
+ <0x00 0x00700000 0x00 0x00700000 0x00 0x00001000>, /* ESM */
<0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */
<0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* timesync router */
<0x00 0x06000000 0x00 0x06000000 0x00 0x00400000>, /* USBSS0 */
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/3] arm64: dts: ti: k3-j7200: Add ESM support
2023-04-14 10:52 [PATCH 0/3] Add support for ESM Neha Malcom Francis
2023-04-14 10:52 ` [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Neha Malcom Francis
2023-04-14 10:52 ` [PATCH 2/3] arm64: dts: ti: k3-j721e: Add ESM support Neha Malcom Francis
@ 2023-04-14 10:52 ` Neha Malcom Francis
2023-04-14 11:02 ` [PATCH 0/3] Add support for ESM Neha Malcom Francis
3 siblings, 0 replies; 9+ messages in thread
From: Neha Malcom Francis @ 2023-04-14 10:52 UTC (permalink / raw)
To: u-boot, robh+dt, krzysztof.kozlowski+dt, devicetree,
linux-kernel, linux-arm-kernel
Cc: n-francis, nm, vigneshr, u-kumar1
Add address entry mapping ESM on J7200.
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
---
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 6 ++++++
arch/arm64/boot/dts/ti/k3-j7200.dtsi | 1 +
2 files changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
index ef352e32f19d..89f816f5e53d 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
@@ -1010,4 +1010,10 @@ main_r5fss0_core1: r5f@5d00000 {
ti,loczrama = <1>;
};
};
+
+ main_esm: esm@700000 {
+ compatible = "ti,j721e-esm";
+ reg = <0x0 0x700000 0x0 0x1000>;
+ ti,esm-pins = <656>, <657>;
+ };
};
diff --git a/arch/arm64/boot/dts/ti/k3-j7200.dtsi b/arch/arm64/boot/dts/ti/k3-j7200.dtsi
index bbe380c72a7e..4998eb4fbe75 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200.dtsi
@@ -128,6 +128,7 @@ cbass_main: bus@100000 {
#size-cells = <2>;
ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
<0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */
+ <0x00 0x00700000 0x00 0x00700000 0x00 0x00001000>, /* ESM */
<0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* timesync router */
<0x00 0x01000000 0x00 0x01000000 0x00 0x0d000000>, /* Most peripherals */
<0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>, /* MAIN NAVSS */
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 0/3] Add support for ESM
2023-04-14 10:52 [PATCH 0/3] Add support for ESM Neha Malcom Francis
` (2 preceding siblings ...)
2023-04-14 10:52 ` [PATCH 3/3] arm64: dts: ti: k3-j7200: " Neha Malcom Francis
@ 2023-04-14 11:02 ` Neha Malcom Francis
3 siblings, 0 replies; 9+ messages in thread
From: Neha Malcom Francis @ 2023-04-14 11:02 UTC (permalink / raw)
To: u-boot
Please ignore following patches, send by mistake. Sorry for the spam!
On 14/04/23 16:22, Neha Malcom Francis wrote:
> ESM (Error Signaling Module) is a fundamental IP responsible for
> handling safety events. The driver currently present in U-Boot is
> responsible for configuring ESM. This patch series adds dt-binding and
> nodes for J721E and J7200. This goes towards end goal of having DTB sync
> with that of U-Boot as well as ensuring completeness of hardware
> description in devicetree.
>
> Neha Malcom Francis (3):
> dt-bindings: misc: esm: Add ESM support for TI K3 devices
> arm64: dts: ti: k3-j721e: Add ESM support
> arm64: dts: ti: k3-j7200: Add ESM support
>
> .../devicetree/bindings/misc/esm-k3.yaml | 54 +++++++++++++++++++
> arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 6 +++
> arch/arm64/boot/dts/ti/k3-j7200.dtsi | 1 +
> arch/arm64/boot/dts/ti/k3-j721e.dtsi | 1 +
> 4 files changed, 62 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/misc/esm-k3.yaml
>
--
Thanking You
Neha Malcom Francis
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices
2023-04-14 10:52 ` [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Neha Malcom Francis
@ 2023-04-14 11:40 ` Krzysztof Kozlowski
2023-04-17 8:56 ` Neha Malcom Francis
0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-14 11:40 UTC (permalink / raw)
To: Neha Malcom Francis, u-boot, robh+dt, krzysztof.kozlowski+dt,
devicetree, linux-kernel, linux-arm-kernel
Cc: nm, vigneshr, u-kumar1
On 14/04/2023 12:52, Neha Malcom Francis wrote:
> Document the binding for TI K3 ESM (Error Signaling Module) block.
>
> Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
> ---
> .../devicetree/bindings/misc/esm-k3.yaml | 54 +++++++++++++++++++
> 1 file changed, 54 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/misc/esm-k3.yaml
>
> diff --git a/Documentation/devicetree/bindings/misc/esm-k3.yaml b/Documentation/devicetree/bindings/misc/esm-k3.yaml
> new file mode 100644
> index 000000000000..5e637add3b0e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/misc/esm-k3.yaml
Filename matching compatible. Missing vendor prefix and device name.
> @@ -0,0 +1,54 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# Copyright (C) 2022 Texas Instruments Incorporated
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/misc/esm-k3.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Texas Instruments K3 ESM Binding
Drop: Binding
> +
> +maintainers:
> + - Neha Malcom Francis <n-francis@ti.com>
> +
> +description: |
> + The ESM (Error Signaling Module) is an IP block on TI K3 devices
> + that allows handling of safety events somewhat similar to what interrupt
> + controller would do. The safety signals have their separate paths within
> + the SoC, and they are handld by the ESM, which routes them to the proper
typo: handled
> + destination, which can be system reset, interrupt controller, etc. In the
> + simplest configuration the signals are just routed to reset the SoC.
There is no proper bindings directory for ESM? Misc is discouraged.
> +
> +properties:
> + compatible:
> + const: ti,j721e-esm
> +
> + reg:
> + items:
> + - description: physical address and length of the registers which
> + contain revision and debug features
Drop useless "physical address and length of the registers which". reg
cannot be anything else.
> + - description: physical address and length of the registers which
> + indicate strapping options
> +
> + ti,esm-pins:
> + $ref: /schemas/types.yaml#/definitions/uint32-array
> + description: |
Do not need '|' unless you need to preserve formatting.
> + integer array of ESM event IDs to route to external event pin which can
> + be used to reset the SoC. The array can have an arbitrary amount of event
> + IDs listed on it.
What is ESM event ID? The property name suggests pins...
> + minItems: 1
> + maxItems: 255
> +
> +additionalProperties: false
> +
> +required:
> + - compatible
> + - reg
> + - ti,esm-pins
> +
> +examples:
> + - |
> + main_esm: esm@700000 {
Drop label.
> + compatible = "ti,j721e-esm";
> + reg = <0x0 0x700000 0x0 0x1000>;
> + ti,esm-pins = <344>, <345>;
> + };
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices
2023-04-14 11:40 ` Krzysztof Kozlowski
@ 2023-04-17 8:56 ` Neha Malcom Francis
2023-04-18 16:10 ` Krzysztof Kozlowski
0 siblings, 1 reply; 9+ messages in thread
From: Neha Malcom Francis @ 2023-04-17 8:56 UTC (permalink / raw)
To: Krzysztof Kozlowski, u-boot, robh+dt, krzysztof.kozlowski+dt,
devicetree, linux-kernel, linux-arm-kernel
Cc: nm, vigneshr, u-kumar1
Hi Krzysztof
On 14/04/23 17:10, Krzysztof Kozlowski wrote:
> On 14/04/2023 12:52, Neha Malcom Francis wrote:
>> Document the binding for TI K3 ESM (Error Signaling Module) block.
>>
>> Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
>> ---
>> .../devicetree/bindings/misc/esm-k3.yaml | 54 +++++++++++++++++++
>> 1 file changed, 54 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/misc/esm-k3.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/misc/esm-k3.yaml b/Documentation/devicetree/bindings/misc/esm-k3.yaml
>> new file mode 100644
>> index 000000000000..5e637add3b0e
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/misc/esm-k3.yaml
>
> Filename matching compatible. Missing vendor prefix and device name.
>
>> @@ -0,0 +1,54 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +# Copyright (C) 2022 Texas Instruments Incorporated
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/misc/esm-k3.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Texas Instruments K3 ESM Binding
>
> Drop: Binding
>
>> +
>> +maintainers:
>> + - Neha Malcom Francis <n-francis@ti.com>
>> +
>> +description: |
>> + The ESM (Error Signaling Module) is an IP block on TI K3 devices
>> + that allows handling of safety events somewhat similar to what interrupt
>> + controller would do. The safety signals have their separate paths within
>> + the SoC, and they are handld by the ESM, which routes them to the proper
>
> typo: handled
>
>> + destination, which can be system reset, interrupt controller, etc. In the
>> + simplest configuration the signals are just routed to reset the SoC.
>
> There is no proper bindings directory for ESM? Misc is discouraged.
>
There is no other directory I see fit for a block like ESM; it could
either remain in misc/ or maybe create a directory error/ for all error
signaling and correction mechanisms? I see misc/xlnx,sd-fec.txt that
could also go in error/
What do you think is fit?
>> +
>> +properties:
>> + compatible:
>> + const: ti,j721e-esm
>> +
>> + reg:
>> + items:
>> + - description: physical address and length of the registers which
>> + contain revision and debug features
>
> Drop useless "physical address and length of the registers which". reg
> cannot be anything else.
>
>> + - description: physical address and length of the registers which
>> + indicate strapping options
>> +
>> + ti,esm-pins:
>> + $ref: /schemas/types.yaml#/definitions/uint32-array
>> + description: |
>
> Do not need '|' unless you need to preserve formatting.
>
>> + integer array of ESM event IDs to route to external event pin which can
>> + be used to reset the SoC. The array can have an arbitrary amount of event
>> + IDs listed on it.
>
> What is ESM event ID? The property name suggests pins...
>
>
>> + minItems: 1
>> + maxItems: 255
>> +
>> +additionalProperties: false
>> +
>> +required:
>> + - compatible
>> + - reg
>> + - ti,esm-pins
>> +
>> +examples:
>> + - |
>> + main_esm: esm@700000 {
>
> Drop label.
>
Thanks for the reviews! I'll send v2 after we decide on the location.
>> + compatible = "ti,j721e-esm";
>> + reg = <0x0 0x700000 0x0 0x1000>;
>> + ti,esm-pins = <344>, <345>;
>> + };
>
> Best regards,
> Krzysztof
>
--
Thanking You
Neha Malcom Francis
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices
2023-04-17 8:56 ` Neha Malcom Francis
@ 2023-04-18 16:10 ` Krzysztof Kozlowski
2023-04-19 8:46 ` Neha Malcom Francis
0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-18 16:10 UTC (permalink / raw)
To: Neha Malcom Francis, u-boot, robh+dt, krzysztof.kozlowski+dt,
devicetree, linux-kernel, linux-arm-kernel, Guenter Roeck
Cc: nm, vigneshr, u-kumar1
On 17/04/2023 10:56, Neha Malcom Francis wrote:
> Hi Krzysztof
>
> On 14/04/23 17:10, Krzysztof Kozlowski wrote:
>> On 14/04/2023 12:52, Neha Malcom Francis wrote:
>>> Document the binding for TI K3 ESM (Error Signaling Module) block.
>>>
>>> Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
>>> ---
>>> .../devicetree/bindings/misc/esm-k3.yaml | 54 +++++++++++++++++++
>>> 1 file changed, 54 insertions(+)
>>> create mode 100644 Documentation/devicetree/bindings/misc/esm-k3.yaml
>>>
>>> diff --git a/Documentation/devicetree/bindings/misc/esm-k3.yaml b/Documentation/devicetree/bindings/misc/esm-k3.yaml
>>> new file mode 100644
>>> index 000000000000..5e637add3b0e
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/misc/esm-k3.yaml
>>
>> Filename matching compatible. Missing vendor prefix and device name.
>>
>>> @@ -0,0 +1,54 @@
>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>>> +# Copyright (C) 2022 Texas Instruments Incorporated
>>> +%YAML 1.2
>>> +---
>>> +$id: http://devicetree.org/schemas/misc/esm-k3.yaml#
>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: Texas Instruments K3 ESM Binding
>>
>> Drop: Binding
>>
>>> +
>>> +maintainers:
>>> + - Neha Malcom Francis <n-francis@ti.com>
>>> +
>>> +description: |
>>> + The ESM (Error Signaling Module) is an IP block on TI K3 devices
>>> + that allows handling of safety events somewhat similar to what interrupt
>>> + controller would do. The safety signals have their separate paths within
>>> + the SoC, and they are handld by the ESM, which routes them to the proper
>>
>> typo: handled
>>
>>> + destination, which can be system reset, interrupt controller, etc. In the
>>> + simplest configuration the signals are just routed to reset the SoC.
>>
>> There is no proper bindings directory for ESM? Misc is discouraged.
>>
>
> There is no other directory I see fit for a block like ESM; it could
> either remain in misc/ or maybe create a directory error/ for all error
> signaling and correction mechanisms? I see misc/xlnx,sd-fec.txt that
> could also go in error/
>
> What do you think is fit?
I don't know. Maybe it is something like hwmon? Or maybe along with
xlnx,sd-fec, tmr-inject and tmr-manager should be moved to some "fault"
directory for all fault-management-and-handling hardware?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices
2023-04-18 16:10 ` Krzysztof Kozlowski
@ 2023-04-19 8:46 ` Neha Malcom Francis
0 siblings, 0 replies; 9+ messages in thread
From: Neha Malcom Francis @ 2023-04-19 8:46 UTC (permalink / raw)
To: Krzysztof Kozlowski, u-boot, robh+dt, krzysztof.kozlowski+dt,
devicetree, linux-kernel, linux-arm-kernel, Guenter Roeck
Cc: nm, vigneshr, u-kumar1
Hi Krzysztof
On 18/04/23 21:40, Krzysztof Kozlowski wrote:
> On 17/04/2023 10:56, Neha Malcom Francis wrote:
>> Hi Krzysztof
>>
>> On 14/04/23 17:10, Krzysztof Kozlowski wrote:
>>> On 14/04/2023 12:52, Neha Malcom Francis wrote:
>>>> Document the binding for TI K3 ESM (Error Signaling Module) block.
>>>>
>>>> Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
>>>> ---
>>>> .../devicetree/bindings/misc/esm-k3.yaml | 54 +++++++++++++++++++
>>>> 1 file changed, 54 insertions(+)
>>>> create mode 100644 Documentation/devicetree/bindings/misc/esm-k3.yaml
>>>>
>>>> diff --git a/Documentation/devicetree/bindings/misc/esm-k3.yaml b/Documentation/devicetree/bindings/misc/esm-k3.yaml
>>>> new file mode 100644
>>>> index 000000000000..5e637add3b0e
>>>> --- /dev/null
>>>> +++ b/Documentation/devicetree/bindings/misc/esm-k3.yaml
>>>
>>> Filename matching compatible. Missing vendor prefix and device name.
>>>
>>>> @@ -0,0 +1,54 @@
>>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>>>> +# Copyright (C) 2022 Texas Instruments Incorporated
>>>> +%YAML 1.2
>>>> +---
>>>> +$id: http://devicetree.org/schemas/misc/esm-k3.yaml#
>>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>>> +
>>>> +title: Texas Instruments K3 ESM Binding
>>>
>>> Drop: Binding
>>>
>>>> +
>>>> +maintainers:
>>>> + - Neha Malcom Francis <n-francis@ti.com>
>>>> +
>>>> +description: |
>>>> + The ESM (Error Signaling Module) is an IP block on TI K3 devices
>>>> + that allows handling of safety events somewhat similar to what interrupt
>>>> + controller would do. The safety signals have their separate paths within
>>>> + the SoC, and they are handld by the ESM, which routes them to the proper
>>>
>>> typo: handled
>>>
>>>> + destination, which can be system reset, interrupt controller, etc. In the
>>>> + simplest configuration the signals are just routed to reset the SoC.
>>>
>>> There is no proper bindings directory for ESM? Misc is discouraged.
>>>
>>
>> There is no other directory I see fit for a block like ESM; it could
>> either remain in misc/ or maybe create a directory error/ for all error
>> signaling and correction mechanisms? I see misc/xlnx,sd-fec.txt that
>> could also go in error/
>>
>> What do you think is fit?
>
> I don't know. Maybe it is something like hwmon? Or maybe along with
> xlnx,sd-fec, tmr-inject and tmr-manager should be moved to some "fault"
> directory for all fault-management-and-handling hardware?
>
I think hwmon would be a fit for now. Maybe we can move to a common
fault directory in a future patch if there is enough bindings.
> Best regards,
> Krzysztof
>
--
Thanking You
Neha Malcom Francis
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-04-19 8:47 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 10:52 [PATCH 0/3] Add support for ESM Neha Malcom Francis
2023-04-14 10:52 ` [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices Neha Malcom Francis
2023-04-14 11:40 ` Krzysztof Kozlowski
2023-04-17 8:56 ` Neha Malcom Francis
2023-04-18 16:10 ` Krzysztof Kozlowski
2023-04-19 8:46 ` Neha Malcom Francis
2023-04-14 10:52 ` [PATCH 2/3] arm64: dts: ti: k3-j721e: Add ESM support Neha Malcom Francis
2023-04-14 10:52 ` [PATCH 3/3] arm64: dts: ti: k3-j7200: " Neha Malcom Francis
2023-04-14 11:02 ` [PATCH 0/3] Add support for ESM Neha Malcom Francis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).