devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: ux500: Add "simple-bus" compatible to soc node
@ 2019-11-24 19:57 Stephan Gerhold
  2019-11-27 13:58 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Stephan Gerhold @ 2019-11-24 19:57 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Rob Herring, Mark Rutland, linux-arm-kernel, devicetree,
	linux-kernel, Stephan Gerhold

The "soc" node in the Ux500 device tree does not need any special
handling - it is just a simple I/O bus that can be accessed without
additional configuration.

Therefore we can additionally describe it as compatible with "simple-bus".
This can be used by platforms to probe devices under the soc node without
special handling for our custom "stericsson,db8500" compatible
(e.g. in U-Boot).

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 arch/arm/boot/dts/ste-dbx5x0.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi
index bda454d12150..51ac65b78be0 100644
--- a/arch/arm/boot/dts/ste-dbx5x0.dtsi
+++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi
@@ -93,7 +93,7 @@
 	soc {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "stericsson,db8500";
+		compatible = "stericsson,db8500", "simple-bus";
 		interrupt-parent = <&intc>;
 		ranges;
 
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: ux500: Add "simple-bus" compatible to soc node
  2019-11-24 19:57 [PATCH] ARM: dts: ux500: Add "simple-bus" compatible to soc node Stephan Gerhold
@ 2019-11-27 13:58 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2019-11-27 13:58 UTC (permalink / raw)
  To: Stephan Gerhold
  Cc: Rob Herring, Mark Rutland, Linux ARM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	linux-kernel

On Sun, Nov 24, 2019 at 8:58 PM Stephan Gerhold <stephan@gerhold.net> wrote:

> The "soc" node in the Ux500 device tree does not need any special
> handling - it is just a simple I/O bus that can be accessed without
> additional configuration.
>
> Therefore we can additionally describe it as compatible with "simple-bus".
> This can be used by platforms to probe devices under the soc node without
> special handling for our custom "stericsson,db8500" compatible
> (e.g. in U-Boot).
>
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-27 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-24 19:57 [PATCH] ARM: dts: ux500: Add "simple-bus" compatible to soc node Stephan Gerhold
2019-11-27 13:58 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).