public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] scsi: ufs: dt-bindings: Add compatibles for Nord UFS controller
@ 2026-04-27  1:31 Shawn Guo
  2026-04-27  1:31 ` [PATCH v2 1/2] scsi: ufs: dt-bindings: Add compatible for Nord UFS Host Controller Shawn Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shawn Guo @ 2026-04-27  1:31 UTC (permalink / raw)
  To: Martin K . Petersen
  Cc: Manivannan Sadhasivam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Konrad Dybcio, Dmitry Baryshkov, Kumar Dwivedi,
	Bartosz Golaszewski, Deepti Jaggi, linux-scsi, devicetree,
	linux-arm-msm, linux-kernel, Shawn Guo

This series documents the UFS host controller on Qualcomm Nord SoC.

Nord is a Qualcomm SoC series. Its UFS controller has a multi-queue
command (MCQ) register range in addition to the standard one,
both of which are required.

Nord also has an automotive variant, SA8797P, where the platform
firmware implements an SCMI server and manages UFS resources such as
the PHY, clocks, regulators and resets. As a result, SA8797P shares
the minimal OS-visible DT interface of SA8255P and uses it as the
fallback compatible

Changes in v2:
 - Keep the newline between compatible and reg in SA8797P patch
 - Link to v1: https://lore.kernel.org/all/20260420100416.1252983-1-shengchao.guo@oss.qualcomm.com/

Deepti Jaggi (1):
  scsi: ufs: dt-bindings: Add compatible for SA8797P UFS Host Controller

Shawn Guo (1):
  scsi: ufs: dt-bindings: Add compatible for Nord UFS Host Controller

 .../devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml         | 6 +++++-
 .../devicetree/bindings/ufs/qcom,sm8650-ufshc.yaml          | 3 +++
 2 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.43.0


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

* [PATCH v2 1/2] scsi: ufs: dt-bindings: Add compatible for Nord UFS Host Controller
  2026-04-27  1:31 [PATCH v2 0/2] scsi: ufs: dt-bindings: Add compatibles for Nord UFS controller Shawn Guo
@ 2026-04-27  1:31 ` Shawn Guo
  2026-04-27  1:31 ` [PATCH v2 2/2] scsi: ufs: dt-bindings: Add compatible for SA8797P " Shawn Guo
  2026-04-30 16:00 ` [PATCH v2 0/2] scsi: ufs: dt-bindings: Add compatibles for Nord UFS controller Martin K. Petersen
  2 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2026-04-27  1:31 UTC (permalink / raw)
  To: Martin K . Petersen
  Cc: Manivannan Sadhasivam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Konrad Dybcio, Dmitry Baryshkov, Kumar Dwivedi,
	Bartosz Golaszewski, Deepti Jaggi, linux-scsi, devicetree,
	linux-arm-msm, linux-kernel, Shawn Guo, Krzysztof Kozlowski

Document UFS Host Controller on Qualcomm Nord SoC. Like the Eliza SoC,
Nord has a multi-queue command (MCQ) register range in addition to
the standard one, making both reg entries required.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/ufs/qcom,sm8650-ufshc.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/ufs/qcom,sm8650-ufshc.yaml b/Documentation/devicetree/bindings/ufs/qcom,sm8650-ufshc.yaml
index f28641c6e68f..900d93b675cd 100644
--- a/Documentation/devicetree/bindings/ufs/qcom,sm8650-ufshc.yaml
+++ b/Documentation/devicetree/bindings/ufs/qcom,sm8650-ufshc.yaml
@@ -17,6 +17,7 @@ select:
         enum:
           - qcom,eliza-ufshc
           - qcom,kaanapali-ufshc
+          - qcom,nord-ufshc
           - qcom,sm8650-ufshc
           - qcom,sm8750-ufshc
   required:
@@ -28,6 +29,7 @@ properties:
       - enum:
           - qcom,eliza-ufshc
           - qcom,kaanapali-ufshc
+          - qcom,nord-ufshc
           - qcom,sm8650-ufshc
           - qcom,sm8750-ufshc
       - const: qcom,ufshc
@@ -74,6 +76,7 @@ allOf:
           contains:
             enum:
               - qcom,eliza-ufshc
+              - qcom,nord-ufshc
     then:
       properties:
         reg:
-- 
2.43.0


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

* [PATCH v2 2/2] scsi: ufs: dt-bindings: Add compatible for SA8797P UFS Host Controller
  2026-04-27  1:31 [PATCH v2 0/2] scsi: ufs: dt-bindings: Add compatibles for Nord UFS controller Shawn Guo
  2026-04-27  1:31 ` [PATCH v2 1/2] scsi: ufs: dt-bindings: Add compatible for Nord UFS Host Controller Shawn Guo
@ 2026-04-27  1:31 ` Shawn Guo
  2026-04-29  7:16   ` Krzysztof Kozlowski
  2026-04-30 16:00 ` [PATCH v2 0/2] scsi: ufs: dt-bindings: Add compatibles for Nord UFS controller Martin K. Petersen
  2 siblings, 1 reply; 5+ messages in thread
From: Shawn Guo @ 2026-04-27  1:31 UTC (permalink / raw)
  To: Martin K . Petersen
  Cc: Manivannan Sadhasivam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Konrad Dybcio, Dmitry Baryshkov, Kumar Dwivedi,
	Bartosz Golaszewski, Deepti Jaggi, linux-scsi, devicetree,
	linux-arm-msm, linux-kernel, Shawn Guo

From: Deepti Jaggi <deepti.jaggi@oss.qualcomm.com>

SA8797P is the automotive variant of the Nord SoC. Like SA8255P, its
platform firmware implements an SCMI server that manages UFS resources
such as the PHY, clocks, regulators and resets via the SCMI power
protocol. As a result, the OS-visible DT only describes the controller's
MMIO, interrupt, IOMMU and power-domain interfaces, making SA8255P the
appropriate fallback compatible.

Signed-off-by: Deepti Jaggi <deepti.jaggi@oss.qualcomm.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
---
 .../devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml         | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml b/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
index 75fae9f1eba7..db165a235cb6 100644
--- a/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
+++ b/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
@@ -11,7 +11,11 @@ maintainers:
 
 properties:
   compatible:
-    const: qcom,sa8255p-ufshc
+    oneOf:
+      - const: qcom,sa8255p-ufshc
+      - items:
+          - const: qcom,sa8797p-ufshc
+          - const: qcom,sa8255p-ufshc
 
   reg:
     maxItems: 1
-- 
2.43.0


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

* Re: [PATCH v2 2/2] scsi: ufs: dt-bindings: Add compatible for SA8797P UFS Host Controller
  2026-04-27  1:31 ` [PATCH v2 2/2] scsi: ufs: dt-bindings: Add compatible for SA8797P " Shawn Guo
@ 2026-04-29  7:16   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2026-04-29  7:16 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Martin K . Petersen, Manivannan Sadhasivam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio,
	Dmitry Baryshkov, Kumar Dwivedi, Bartosz Golaszewski,
	Deepti Jaggi, linux-scsi, devicetree, linux-arm-msm, linux-kernel

On Mon, Apr 27, 2026 at 09:31:15AM +0800, Shawn Guo wrote:
> From: Deepti Jaggi <deepti.jaggi@oss.qualcomm.com>
> 
> SA8797P is the automotive variant of the Nord SoC. Like SA8255P, its
> platform firmware implements an SCMI server that manages UFS resources
> such as the PHY, clocks, regulators and resets via the SCMI power
> protocol. As a result, the OS-visible DT only describes the controller's
> MMIO, interrupt, IOMMU and power-domain interfaces, making SA8255P the
> appropriate fallback compatible.
> 
> Signed-off-by: Deepti Jaggi <deepti.jaggi@oss.qualcomm.com>
> Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
> Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
> ---
>  .../devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml         | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


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

* Re: [PATCH v2 0/2] scsi: ufs: dt-bindings: Add compatibles for Nord UFS controller
  2026-04-27  1:31 [PATCH v2 0/2] scsi: ufs: dt-bindings: Add compatibles for Nord UFS controller Shawn Guo
  2026-04-27  1:31 ` [PATCH v2 1/2] scsi: ufs: dt-bindings: Add compatible for Nord UFS Host Controller Shawn Guo
  2026-04-27  1:31 ` [PATCH v2 2/2] scsi: ufs: dt-bindings: Add compatible for SA8797P " Shawn Guo
@ 2026-04-30 16:00 ` Martin K. Petersen
  2 siblings, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2026-04-30 16:00 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Martin K . Petersen, Manivannan Sadhasivam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio,
	Dmitry Baryshkov, Kumar Dwivedi, Bartosz Golaszewski,
	Deepti Jaggi, linux-scsi, devicetree, linux-arm-msm, linux-kernel


Shawn,

> This series documents the UFS host controller on Qualcomm Nord SoC.

Applied to 7.2/scsi-staging, thanks!

-- 
Martin K. Petersen

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

end of thread, other threads:[~2026-04-30 16:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27  1:31 [PATCH v2 0/2] scsi: ufs: dt-bindings: Add compatibles for Nord UFS controller Shawn Guo
2026-04-27  1:31 ` [PATCH v2 1/2] scsi: ufs: dt-bindings: Add compatible for Nord UFS Host Controller Shawn Guo
2026-04-27  1:31 ` [PATCH v2 2/2] scsi: ufs: dt-bindings: Add compatible for SA8797P " Shawn Guo
2026-04-29  7:16   ` Krzysztof Kozlowski
2026-04-30 16:00 ` [PATCH v2 0/2] scsi: ufs: dt-bindings: Add compatibles for Nord UFS controller Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox