Re: [PATCH] Remove all references to "device_type" property from examples

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



On Mon, Aug 6, 2018 at 11:50 AM Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>
>
> While the "device_type" property is still used and supported, it is
> deprecated so it should be removed from examples in the documentation.
> There is no value in encouraging developers to keep using that
> property, so just quietly disappear it from examples, but leave its
> explanation in the spec.
>
> Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>
>
> ---
>
>   according to the spec, that property is still marginally acceptable
> for memory and cpu nodes, but it really has no place being used for
> any other types of nodes.

It's not just acceptable, but it is still required. It is also
required for PCI bridges.

I'm not sure if Linux and other client programs still have
dependencies on device_type, but we'd need to remove those first. Then
make it optional in the spec, remove from dts files (some time later
to avoid breaking new dtb with old kernel), and then finally remove
from the spec.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree-spec" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux