Re: [PATCH 3/4] arm64: dts: exynos: Align DMA controller bus node name with dtschema

From: Marek Szyprowski
Date: Tue Jun 30 2020 - 03:34:58 EST


Hi Krzysztof,

On 29.06.2020 22:44, Krzysztof Kozlowski wrote:
> AMBA is a bus so name the node with DMA controllers just as "bus" to fix
> dtschema warnings like:
>
> amba: $nodename:0: 'amba' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Do we really need a separate 'bus' for those DMA controllers?

IMHO they are not different from the hw perspective from the other
devices available on the SoC. A separate bus is a historical thing, they
work fine when moved directly under the 'soc' node. The separate bus
only mimics the way Linux organizes its drivers. This comment affects
both ARM and ARM64.

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland