[PATCH 1/2] of: Support using 'mask' in making device bus id

Linus Walleij linus.walleij at linaro.org
Tue Nov 9 14:20:17 PST 2021


On Tue, Nov 9, 2021 at 5:46 PM Rob Herring <robh at kernel.org> wrote:

> Commit 25b892b583cc ("ARM: dts: arm: Update register-bit-led nodes
> 'reg' and node names") added a 'reg' property to nodes. This change has
> the side effect of changing how the kernel generates the device name.
> The assumption was a translatable 'reg' address is unique. However, in
> the case of the register-bit-led binding (and a few others) that is not
> the case. The 'mask' property must also be used in this case to make a
> unique device name.
>
> Fixes: 25b892b583cc ("ARM: dts: arm: Update register-bit-led nodes 'reg' and node names")
> Reported-by: Guenter Roeck <linux at roeck-us.net>
> Cc: stable at vger.kernel.org
> Cc: Frank Rowand <frowand.list at gmail.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Signed-off-by: Rob Herring <robh at kernel.org>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list