]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ARM: dts: realview: Fix some more duplicate regulator nodes
authorRob Herring <robh@kernel.org>
Mon, 3 Dec 2018 19:12:48 +0000 (13:12 -0600)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:22:20 +0000 (14:22 -0300)
commit5923570261cf9e448e5f5e2bd915a7b850d0eb2f
treee50b5338a599265eed635bcf5d3ed279f05167f8
parent78ff633e8900c1186fde39f106cbc4e36be9dd98
ARM: dts: realview: Fix some more duplicate regulator nodes

BugLink: https://bugs.launchpad.net/bugs/1857158
[ Upstream commit f3b2f758ec1e6cdb13c925647cbd8ad4938b78fb ]

There's a bug in dtc in checking for duplicate node names when there's
another section (e.g. "/ { };"). In this case, skeleton.dtsi provides
another section. Upon removal of skeleton.dtsi, the dtb fails to build
due to a duplicate node 'fixedregulator@0'. As both nodes were pretty
much the same 3.3V fixed regulator, it hasn't really mattered. Fix this
by renaming the nodes to something unique. In the process, drop the
unit-address which shouldn't be present wtihout reg property.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/arm/boot/dts/arm-realview-pb1176.dts
arch/arm/boot/dts/arm-realview-pb11mp.dts