Re: [PATCH] of/platform: export of_default_bus_match_table

From: Arnd Bergmann
Date: Tue Jan 05 2016 - 06:48:51 EST


On Tuesday 05 January 2016 19:50:31 Masahiro Yamada wrote:
> 2016-01-05 19:13 GMT+09:00 Arnd Bergmann <arnd@xxxxxxxx>:
> > On Tuesday 05 January 2016 11:17:53 Masahiro Yamada wrote:
>
> This bus is used to connect external (on-board) devices with the SoC.
>
> So, no possibility for AMBA, but
> I want "simple-bus" for grouping some device nodes.
> Also, "simple-mfd" would be useful because an external device could be an MFD.
>
>
> Please see arch/arm/boot/dts/uniphier-support-card.dtsi
>
> It describes an add-on card (expansion board)
> which has ETHER, UART, etc. on it.
>
> I implemented it as "simple-bus".
>
> This card is connected to the chip select 1
> of the UniPhier System Bus.
>

Ok, got it. So you could alternatively define your own match table
in the driver with just "simple-bus" and "simple-mfd". I think either
way is fine, let's see what the DT maintainers prefer.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/