> -----Original Message----- > From: Bin Meng <bmeng.cn@xxxxxxxxx> > Sent: Monday, July 22, 2019 1:32 PM > To: Anup Patel <Anup.Patel@xxxxxxx> > Cc: linux-riscv <linux-riscv@xxxxxxxxxxxxxxxxxxx>; devicetree > <devicetree@xxxxxxxxxxxxxxx>; Rob Herring <robh+dt@xxxxxxxxxx>; Mark > Rutland <mark.rutland@xxxxxxx>; Albert Ou <aou@xxxxxxxxxxxxxxxxx>; > Paul Walmsley <paul.walmsley@xxxxxxxxxx>; Palmer Dabbelt > <palmer@xxxxxxxxxx>; Yash Shah <yash.shah@xxxxxxxxxx> > Subject: Re: [PATCH] riscv: dts: fu540-c000: Add "status" property to cpu > node > > On Fri, Jul 5, 2019 at 1:11 PM Bin Meng <bmeng.cn@xxxxxxxxx> wrote: > > > > On Fri, Jul 5, 2019 at 11:59 AM Anup Patel <Anup.Patel@xxxxxxx> wrote: > > > > > > > > > > > > > -----Original Message----- > > > > From: linux-riscv <linux-riscv-bounces@xxxxxxxxxxxxxxxxxxx> On > > > > Behalf Of Bin Meng > > > > Sent: Friday, July 5, 2019 9:23 AM > > > > To: linux-riscv <linux-riscv@xxxxxxxxxxxxxxxxxxx>; devicetree > > > > <devicetree@xxxxxxxxxxxxxxx>; Rob Herring <robh+dt@xxxxxxxxxx>; > > > > Mark Rutland <mark.rutland@xxxxxxx>; Albert Ou > > > > <aou@xxxxxxxxxxxxxxxxx>; Paul Walmsley > <paul.walmsley@xxxxxxxxxx>; > > > > Palmer Dabbelt <palmer@xxxxxxxxxx>; Yash Shah > > > > <yash.shah@xxxxxxxxxx> > > > > Subject: [PATCH] riscv: dts: fu540-c000: Add "status" property to > > > > cpu node > > > > > > > > Per device tree spec, the "status" property property shall be > > > > present for nodes representing CPUs in a SMP configuration. This > > > > property is currently missing in cpu 1/2/3/4 node in the fu540-c000.dtsi. > > > > > > We don't need explicit "status = okay" for SOC internal devices > > > (such as PLIC, INTC, etc) which are always enabled by default. > > > > > > > Yes, that's fine because those device bindings do not require them. > > > > > Absence of "status" DT prop is treated as enabled by default. > > > > > > > But per current device tree spec, "status" in cpu node is mandatory. > > (spec uses "shall"). Missing it is a spec violation. > > Ping? I am fine with explicit status = "okay". I am hoping DT maintainers will share there views on this. Regards, Anup