On 10/14/22 3:23 AM, Apurva Nandan wrote:
The J784S4 SoC belongs to the K3 Multicore SoC architecture platform, providing advanced system integration in automotive, ADAS and industrial applications requiring AI at the network edge. This SoC extends the K3 Jacinto 7 family of SoCs with focus on raising performance and integration while providing interfaces, memory architecture and compute performance for multi-sensor, high concurrency applications.
[...]
+ + hwspinlock: hwlock@30e00000 { + compatible = "ti,am654-hwspinlock"; + reg = <0x00 0x30e00000 0x00 0x1000>; + #hwlock-cells = <1>; + status = "disabled";
Why is this disabled? The node is complete and usable. I do not know if we settled on a set of rules for disabling nodes by default in the dtsi, I couldn't find one if we did, but how does this sound, If a node in a dtsi file is incomplete, or the described hardware unusable, without additional information provided by board-level additions, then the node may be disabled. Otherwise it must be left in the default enabled state. Without something like that, we will end up with the same problem we are trying to fix here, but in reverse, one will have to enable nodes in board files that would not otherwise need to refrenced. Worse that sounds like a configuration setting, not a hardware description, so it would not belong in the device tree. Same for main_ringacc, main_udmap, cpts, and mcu_navss below.
+ }; +
[...]
+ +#include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/pinctrl/k3.h> +#include <dt-bindings/soc/ti,sci_pm_domain.h> + +/ { +
Extra newline not needed. Andrew
+ model = "Texas Instruments K3 J784S4 SoC";