dt-bindings: arm: sunxi: Expand MBUS binding
authorSamuel Holland <samuel@sholland.org>
Thu, 18 Nov 2021 03:18:37 +0000 (21:18 -0600)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 23 Nov 2021 10:29:44 +0000 (11:29 +0100)
commit245578ba9f03e07132bcaf60cbdfeb0e89457104
treefdd58b40974eb7d34fed41dee59f16d9de8ad928
parent71b597ef5d46a326fb0d5cbfc1c6ff1d73cdc7f9
dt-bindings: arm: sunxi: Expand MBUS binding

The MBUS provides more than address translation and bandwidth control.
It also provides a PMU to measure bandwidth usage by certain masters,
and it provides notification via IRQ when they are active or idle.

The MBUS is also tightly integrated with the DRAM controller to provide
a Memory Dynamic Frequency Scaling (MDFS) feature. In view of this, the
MBUS binding needs to represent the hardware resources needed for MDFS,
which include the clocks and MMIO range of the adjacent DRAM controller.

Add the additional resources for the H3 and A64 compatibles, and a new
example showing how they are used.

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211118031841.42315-3-samuel@sholland.org
Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml