[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220530201436.902505-1-fparent@baylibre.com>
Date: Mon, 30 May 2022 22:14:30 +0200
From: Fabien Parent <fparent@...libre.com>
To: matthias.bgg@...il.com, ck.hu@...iatek.com, jitao.shi@...iatek.com,
krzysztof.kozlowski+dt@...aro.org, robh+dt@...nel.org
Cc: chunkuang.hu@...nel.org, p.zabel@...gutronix.de, airlied@...ux.ie,
daniel@...ll.ch, dri-devel@...ts.freedesktop.org,
linux-mediatek@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Fabien Parent <fparent@...libre.com>
Subject: [PATCH 1/7] dt-bindings: display: mediatek: dpi: add power-domains property
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 documentation.
Signed-off-by: Fabien Parent <fparent@...libre.com>
---
.../devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
index 77ee1b923991..caf4c88708f4 100644
--- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
@@ -57,6 +57,9 @@ properties:
Output port node. This port should be connected to the input port of an
attached HDMI or LVDS encoder chip.
+ power-domains:
+ maxItems: 1
+
required:
- compatible
- reg
@@ -64,6 +67,7 @@ required:
- clocks
- clock-names
- port
+ - power-domains
additionalProperties: false
@@ -71,11 +75,13 @@ examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/mt8173-clk.h>
+ #include <dt-bindings/power/mt8183-power.h>
dpi0: dpi@...1d000 {
compatible = "mediatek,mt8173-dpi";
reg = <0x1401d000 0x1000>;
interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_LOW>;
+ power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
clocks = <&mmsys CLK_MM_DPI_PIXEL>,
<&mmsys CLK_MM_DPI_ENGINE>,
<&apmixedsys CLK_APMIXED_TVDPLL>;
--
2.36.1
Powered by blists - more mailing lists