Skip to content

Commit 5823f04

Browse files
FaboChun-Kuang Hu
authored andcommitted
dt-bindings: display: mediatek: dpi: add power-domains example
DPI is part of the display / multimedia block in MediaTek SoCs, and always have a power-domain (at least in the upstream device-trees). Add the power-domains property to the binding example. Fixes: 9273cf7 ("dt-bindings: display: mediatek: convert the dpi bindings to yaml") Signed-off-by: Fabien Parent <fparent@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> Link: https://patchwork.kernel.org/project/dri-devel/patch/20231023-display-support-v7-1-6703f3e26831@baylibre.com/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
1 parent 106a6de commit 5823f04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,13 @@ examples:
121121
- |
122122
#include <dt-bindings/interrupt-controller/arm-gic.h>
123123
#include <dt-bindings/clock/mt8173-clk.h>
124+
#include <dt-bindings/power/mt8173-power.h>
124125
125126
dpi: dpi@1401d000 {
126127
compatible = "mediatek,mt8173-dpi";
127128
reg = <0x1401d000 0x1000>;
128129
interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_LOW>;
130+
power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
129131
clocks = <&mmsys CLK_MM_DPI_PIXEL>,
130132
<&mmsys CLK_MM_DPI_ENGINE>,
131133
<&apmixedsys CLK_APMIXED_TVDPLL>;

0 commit comments

Comments
 (0)