Re: [PATCH 1/5] dt-bindings: arm: keystone: add ti,j7200-sci compatible

From: Andrew Davis
Date: Wed Nov 29 2023 - 10:55:14 EST


On 11/29/23 9:31 AM, Thomas Richard wrote:
On j7200, during suspend to ram the soc is powered-off.
At resume requested irqs shall be restored which is a different behavior
from other platforms.

Why is J7200 different? All K3 can/will support off mode suspend
to RAM. The only difference is you are adding support for it to this
one SoC first. You are describing a software behavior, not hardware.
Using a compatible to describe if a SW feature is enabled is not a
correct use of DT.

Andrew


Signed-off-by: Thomas Richard <thomas.richard@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
index c24ad0968f3e..53d9c58dcd70 100644
--- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
+++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
@@ -40,6 +40,8 @@ properties:
- description: System controller on TI AM654 SoC
items:
- const: ti,am654-sci
+ - description: System controller on TI J7200 SOC
+ - const: ti,j7200-sci
reg-names:
description: |