appending strings to label refs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I found (via schema checks!) a couple of errors with stdout-path values:

arch/arm/boot/dts/imx53-ppd.dts:                stdout-path = "&uart1:115200n8";
arch/arm/boot/dts/vf610m4-colibri.dts:          stdout-path = "&uart2";

Since they are quoted, there is no resolving the label ref to a path
string. The second case is easily fixed by dropping the quotes. The
first case is not other than switching to an alias. So should it be
supported in some form? Perhaps a syntax like this:

stdout-path = &uart1 ":115200n8";

If that's supported, then should this be:

stdout-path = "/a/path/to/a/node" ":115200n8";

The downside to allowing this is a missing comma between 2 strings
would no longer fail.

Thoughts?

Rob



[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux