* [PATCH v2] dt-bindings: phy: mediatek: tphy: add a property for power-domains
@ 2024-10-11 6:48 Macpaul Lin
2024-10-11 14:56 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Macpaul Lin @ 2024-10-11 6:48 UTC (permalink / raw)
To: Chunfeng Yun, Vinod Koul, Kishon Vijay Abraham I, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
AngeloGioacchino Del Regno, linux-arm-kernel, linux-mediatek,
linux-phy, devicetree, linux-kernel
Cc: Bear Wang, Pablo Sun, Macpaul Lin, Macpaul Lin,
Project_Global_Chrome_Upstream_Group
MediaTek TPHY should be existed in a power-domains.
So we add property 'power-domains' and set 'maxItems: 1' in the
DT Schema.
A reminder is also added to the description of 'power-domains'
property.
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
.../devicetree/bindings/phy/mediatek,tphy.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
Changes for v2:
- Add a reminder in description of 'power-domains' property.
- Fix commit message from v1.
diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
index 423b7c4e62f2..6be3aa4557e5 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
@@ -125,6 +125,16 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32
default: 28
+ power-domains:
+ description:
+ The TPHY of MediaTek should exist within a power domain. The
+ developer should be aware that the hardware design of MediaTek TPHY
+ does not require the addition of MTCMOS. If the power to the TPHY
+ is turned off, it will impact other functions. From the current
+ perspective of USB hardware design, even if MTCMOS is added to the
+ TPHY, it should remain always on.
+ maxItems: 1
+
# Required child node:
patternProperties:
"^(usb|pcie|sata)-phy@[0-9a-f]+$":
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH v2] dt-bindings: phy: mediatek: tphy: add a property for power-domains
2024-10-11 6:48 [PATCH v2] dt-bindings: phy: mediatek: tphy: add a property for power-domains Macpaul Lin
@ 2024-10-11 14:56 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-11 14:56 UTC (permalink / raw)
To: Macpaul Lin, Chunfeng Yun, Vinod Koul, Kishon Vijay Abraham I,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
AngeloGioacchino Del Regno, linux-arm-kernel, linux-mediatek,
linux-phy, devicetree, linux-kernel
Cc: Bear Wang, Pablo Sun, Macpaul Lin,
Project_Global_Chrome_Upstream_Group
On 11/10/2024 08:48, Macpaul Lin wrote:
> MediaTek TPHY should be existed in a power-domains.
should be part of power domain, hm?
> So we add property 'power-domains' and set 'maxItems: 1' in the
> DT Schema.
Entire commit msg would benefit from Google Doc/office or ChatGpt/AI
grammar correction.
Many of us, including myself, are not native speakers so use tools when
needed for that.
>
> A reminder is also added to the description of 'power-domains'
> property.
Use imperative. See longer explanation here:
https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-11 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-11 6:48 [PATCH v2] dt-bindings: phy: mediatek: tphy: add a property for power-domains Macpaul Lin
2024-10-11 14:56 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).