Skip to content

Commit 2ac03d0

Browse files
macpaul-lin-mtkvinodkoul
authored andcommitted
dt-bindings: phy: mediatek: tphy: add a property for power-domains
Include the MediaTek TPHY in a power domain. Add the 'power-domains' property in the Device Tree (DT) Schema and set 'maxItems: 1'. Also, include a reminder in the description of the 'power-domains' property. Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20241012035016.17667-1-macpaul.lin@mediatek.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 3f12bf1 commit 2ac03d0

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Documentation/devicetree/bindings/phy/mediatek,tphy.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,16 @@ properties:
125125
$ref: /schemas/types.yaml#/definitions/uint32
126126
default: 28
127127

128+
power-domains:
129+
description:
130+
The TPHY of MediaTek should exist within a power domain. The
131+
developer should be aware that the hardware design of MediaTek TPHY
132+
does not require the addition of MTCMOS. If the power to the TPHY
133+
is turned off, it will impact other functions. From the current
134+
perspective of USB hardware design, even if MTCMOS is added to the
135+
TPHY, it should remain always on.
136+
maxItems: 1
137+
128138
# Required child node:
129139
patternProperties:
130140
"^(usb|pcie|sata)-phy@[0-9a-f]+$":

0 commit comments

Comments
 (0)