Re: [PATCH] powerpc: dts: replace 'linux,stdout-path' with 'stdout-path'
From: Rob Herring
Date: Thu Mar 01 2018 - 08:39:38 EST
On Wed, Feb 28, 2018 at 7:33 PM, Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:
> Rob Herring <robh@xxxxxxxxxx> writes:
>
>> 'linux,stdout-path' has been deprecated for some time in favor of
>> 'stdout-path'. Now dtc will warn on occurrences of 'linux,stdout-path'.
>> Search and replace all the of occurrences with 'stdout-path'.
>
> This patch looks OK.
>
> But please remember that not all device trees are generated with dtc, we
> still have machines in the wild that have firmware which use
> "linux,stdout-path" and may never be updated.
Absolutely. The core code still supports both.
The only scenario I could come up with is someone has an old
bootloader that only understands linux,stdout-path and modifies it and
they update the dtb. We may end up with both properties with
stdout-path taking preference.
Rob