devicetree-org / dt-schema

Devicetree schema tools
http://www.devicetree.org
BSD 2-Clause "Simplified" License
66 stars 59 forks source link

Missing stdin-path in chosen node schema #132

Open vstehle opened 5 months ago

vstehle commented 5 months ago

The /chosen node YAML schema is missing a property for stdin-path, while it is defined in the Devicetree specification.

The two other /chosen node properties defined in the specification, bootargs and stdout-path, do indeed have a corresponding property in the YAML schema.

robherring commented 5 months ago

I started to add it, but then:

$ git grep stdin-path arch/m68k/sun3/prom/console.c: prom_getproperty(prom_root_node, "stdin-path", propb, sizeof(propb));

Yes, that's "just" Linux, but seems unlikely anywhere else will support it. So maybe it should just be removed from the spec instead? Do you have a usecase for it?

vstehle commented 1 month ago

So maybe it should just be removed from the spec instead?

Hi @robherring, thanks for having a look. You are right, this sounds like the sensible thing to do.