linux-phy.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains
@ 2025-10-07 16:01 ` André Draszik
  2025-10-07 20:21   ` Peter Griffin
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: André Draszik @ 2025-10-07 16:01 UTC (permalink / raw)
  To: Vinod Koul, Kishon Vijay Abraham I, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
  Cc: Peter Griffin, Tudor Ambarus, Will McVicker, kernel-team,
	linux-phy, devicetree, linux-kernel, André Draszik

The UFS phy can be part of a power domain, so we need to allow the
relevant property 'power-domains'.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
---
 Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
index d70ffeb6e824bfc19668e0f678276acd879a6217..2b20c0a5e5094889eb3e80dcc21b505943c68523 100644
--- a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
@@ -36,6 +36,9 @@ properties:
     minItems: 1
     maxItems: 4
 
+  power-domains:
+    maxItems: 1
+
   samsung,pmu-syscon:
     $ref: /schemas/types.yaml#/definitions/phandle-array
     maxItems: 1

---
base-commit: 3b9b1f8df454caa453c7fb07689064edb2eda90a
change-id: 20251007-power-domains-dt-bindings-phy-samsung-ufs-phy-fce95e2eae38

Best regards,
-- 
André Draszik <andre.draszik@linaro.org>


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains
  2025-10-07 16:01 ` [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains André Draszik
@ 2025-10-07 20:21   ` Peter Griffin
  2025-10-08  2:08   ` Krzysztof Kozlowski
  2025-10-08  6:26   ` Alim Akhtar
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Griffin @ 2025-10-07 20:21 UTC (permalink / raw)
  To: André Draszik
  Cc: Vinod Koul, Kishon Vijay Abraham I, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Alim Akhtar, Tudor Ambarus,
	Will McVicker, kernel-team, linux-phy, devicetree, linux-kernel

On Tue, 7 Oct 2025 at 17:01, André Draszik <andre.draszik@linaro.org> wrote:
>
> The UFS phy can be part of a power domain, so we need to allow the
> relevant property 'power-domains'.
>
> Signed-off-by: André Draszik <andre.draszik@linaro.org>
> ---

Reviewed-by: Peter Griffin <peter.griffin@linaro.org>

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains
  2025-10-07 16:01 ` [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains André Draszik
  2025-10-07 20:21   ` Peter Griffin
@ 2025-10-08  2:08   ` Krzysztof Kozlowski
  2025-10-08  6:26   ` Alim Akhtar
  2 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-08  2:08 UTC (permalink / raw)
  To: André Draszik, Vinod Koul, Kishon Vijay Abraham I,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
  Cc: Peter Griffin, Tudor Ambarus, Will McVicker, kernel-team,
	linux-phy, devicetree, linux-kernel

On 08/10/2025 01:01, André Draszik wrote:
> The UFS phy can be part of a power domain, so we need to allow the
> relevant property 'power-domains'.
> 
> Signed-off-by: André Draszik <andre.draszik@linaro.org>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains
  2025-10-07 16:01 ` [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains André Draszik
  2025-10-07 20:21   ` Peter Griffin
  2025-10-08  2:08   ` Krzysztof Kozlowski
@ 2025-10-08  6:26   ` Alim Akhtar
  2025-10-08  8:07     ` André Draszik
  2 siblings, 1 reply; 6+ messages in thread
From: Alim Akhtar @ 2025-10-08  6:26 UTC (permalink / raw)
  To: 'André Draszik', 'Vinod Koul',
	'Kishon Vijay Abraham I', 'Rob Herring',
	'Krzysztof Kozlowski', 'Conor Dooley'
  Cc: 'Peter Griffin', 'Tudor Ambarus',
	'Will McVicker', kernel-team, linux-phy, devicetree,
	linux-kernel



> -----Original Message-----
> From: André Draszik <andre.draszik@linaro.org>
> Sent: Tuesday, October 7, 2025 9:32 PM
> To: Vinod Koul <vkoul@kernel.org>; Kishon Vijay Abraham I
> <kishon@kernel.org>; Rob Herring <robh@kernel.org>; Krzysztof Kozlowski
> <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>; Alim Akhtar
> <alim.akhtar@samsung.com>
> Cc: Peter Griffin <peter.griffin@linaro.org>; Tudor Ambarus
> <tudor.ambarus@linaro.org>; Will McVicker <willmcvicker@google.com>;
> kernel-team@android.com; linux-phy@lists.infradead.org;
> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; André Draszik
> <andre.draszik@linaro.org>
> Subject: [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains
> 
> The UFS phy can be part of a power domain, so we need to allow the
> relevant property 'power-domains'.
> 
Can you cross check if there is a separate power domain control for ufs-phy? 

> Signed-off-by: André Draszik <andre.draszik@linaro.org>
> ---
>  Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> index
> d70ffeb6e824bfc19668e0f678276acd879a6217..2b20c0a5e5094889eb3e80dcc2
> 1b505943c68523 100644
> --- a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> @@ -36,6 +36,9 @@ properties:
>      minItems: 1
>      maxItems: 4
> 
> +  power-domains:
> +    maxItems: 1
> +
>    samsung,pmu-syscon:
>      $ref: /schemas/types.yaml#/definitions/phandle-array
>      maxItems: 1
> 
> ---
> base-commit: 3b9b1f8df454caa453c7fb07689064edb2eda90a
> change-id: 20251007-power-domains-dt-bindings-phy-samsung-ufs-phy-
> fce95e2eae38
> 
> Best regards,
> --
> André Draszik <andre.draszik@linaro.org>




-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains
  2025-10-08  6:26   ` Alim Akhtar
@ 2025-10-08  8:07     ` André Draszik
  2025-10-08  9:00       ` André Draszik
  0 siblings, 1 reply; 6+ messages in thread
From: André Draszik @ 2025-10-08  8:07 UTC (permalink / raw)
  To: Alim Akhtar, 'Vinod Koul',
	'Kishon Vijay Abraham I', 'Rob Herring',
	'Krzysztof Kozlowski', 'Conor Dooley'
  Cc: 'Peter Griffin', 'Tudor Ambarus',
	'Will McVicker', kernel-team, linux-phy, devicetree,
	linux-kernel

Hi Alim,

On Wed, 2025-10-08 at 11:56 +0530, Alim Akhtar wrote:
> 
> 
> > -----Original Message-----
> > From: André Draszik <andre.draszik@linaro.org>
> > Sent: Tuesday, October 7, 2025 9:32 PM
> > To: Vinod Koul <vkoul@kernel.org>; Kishon Vijay Abraham I
> > <kishon@kernel.org>; Rob Herring <robh@kernel.org>; Krzysztof Kozlowski
> > <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>; Alim Akhtar
> > <alim.akhtar@samsung.com>
> > Cc: Peter Griffin <peter.griffin@linaro.org>; Tudor Ambarus
> > <tudor.ambarus@linaro.org>; Will McVicker <willmcvicker@google.com>;
> > kernel-team@android.com; linux-phy@lists.infradead.org;
> > devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; André Draszik
> > <andre.draszik@linaro.org>
> > Subject: [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains
> > 
> > The UFS phy can be part of a power domain, so we need to allow the
> > relevant property 'power-domains'.
> > 
> Can you cross check if there is a separate power domain control for ufs-phy? 

I'm still having some other troubles with the hsi2 (UFS) power domain on gs101,
but I can confirm the usb-phy is part of the hsi0 (USB) power domain. So for the
ufs-phy I presume it's similar: it should be part of the hsi2 power domain. There
certainly is no separate domain for the ufs-phy itself.

See also my reply to the other patch:
https://lore.kernel.org/all/ff3a0b96980669f326ed02ed81b97d34c104b09d.camel@linaro.org/

Does that answer your question?

Cheers,
Andre'

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains
  2025-10-08  8:07     ` André Draszik
@ 2025-10-08  9:00       ` André Draszik
  0 siblings, 0 replies; 6+ messages in thread
From: André Draszik @ 2025-10-08  9:00 UTC (permalink / raw)
  To: Alim Akhtar, 'Vinod Koul',
	'Kishon Vijay Abraham I', 'Rob Herring',
	'Krzysztof Kozlowski', 'Conor Dooley'
  Cc: 'Peter Griffin', 'Tudor Ambarus',
	'Will McVicker', kernel-team, linux-phy, devicetree,
	linux-kernel

Alim,

On Wed, 2025-10-08 at 09:07 +0100, André Draszik wrote:
> Hi Alim,
> 
> On Wed, 2025-10-08 at 11:56 +0530, Alim Akhtar wrote:
> > 
> > 
> > > -----Original Message-----
> > > From: André Draszik <andre.draszik@linaro.org>
> > > Sent: Tuesday, October 7, 2025 9:32 PM
> > > To: Vinod Koul <vkoul@kernel.org>; Kishon Vijay Abraham I
> > > <kishon@kernel.org>; Rob Herring <robh@kernel.org>; Krzysztof Kozlowski
> > > <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>; Alim Akhtar
> > > <alim.akhtar@samsung.com>
> > > Cc: Peter Griffin <peter.griffin@linaro.org>; Tudor Ambarus
> > > <tudor.ambarus@linaro.org>; Will McVicker <willmcvicker@google.com>;
> > > kernel-team@android.com; linux-phy@lists.infradead.org;
> > > devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; André Draszik
> > > <andre.draszik@linaro.org>
> > > Subject: [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains
> > > 
> > > The UFS phy can be part of a power domain, so we need to allow the
> > > relevant property 'power-domains'.
> > > 
> > Can you cross check if there is a separate power domain control for ufs-phy? 
> 
> I'm still having some other troubles with the hsi2 (UFS) power domain on gs101,
> but I can confirm the usb-phy is part of the hsi0 (USB) power domain. So for the
> ufs-phy I presume it's similar: it should be part of the hsi2 power domain. There
> certainly is no separate domain for the ufs-phy itself.

After double checking the HSI2 HDD, the ufs-phy is indeed part of PD_HSI2.


Cheers,
Andre'

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-10-08  9:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20251007160147epcas5p305e74b7b3449b934687396e9c8aa3ff4@epcas5p3.samsung.com>
2025-10-07 16:01 ` [PATCH] dt-bindings: phy: samsung,ufs-phy: add power-domains André Draszik
2025-10-07 20:21   ` Peter Griffin
2025-10-08  2:08   ` Krzysztof Kozlowski
2025-10-08  6:26   ` Alim Akhtar
2025-10-08  8:07     ` André Draszik
2025-10-08  9:00       ` André Draszik

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).