Devicetree
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: dt-bindings: Add compatible for Seca UFS Host Controller
@ 2026-11-24 10:54 Yadu M G
  2026-11-24 11:10 ` sashiko-bot
  2026-11-24 15:49 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Yadu M G @ 2026-11-24 10:54 UTC (permalink / raw)
  To: Manivannan Sadhasivam, Alim Akhtar, Bart Van Assche, Bean Huo,
	Stanley Jhu, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Kumar Dwivedi
  Cc: linux-arm-msm, linux-scsi, devicetree

Seca's platform firmware implements an SCMI server that manages UFS
resources such as the PHY, clocks, regulators and resets via the SCMI
power protocol, like SA8255P. 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: Yadu M G <yadu.mg@oss.qualcomm.com>
---
The Seca SoC device tree using this compatible will be posted as a
separate series.

This series was prepared with help from an AI coding assistant
(Claude). It assisted with review on the device tree, bindings and
driver (formatting and alignment fixes), rewording commit messages,
and running the validation steps (checkpatch, dt_binding_check,
dtbs_check and W=1 builds). All changes were reviewed and tested on the
Seca Ride board.
---
 Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml b/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
index 66d73e9025d6..4a5dbc780b0d 100644
--- a/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
+++ b/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
@@ -16,6 +16,9 @@ properties:
       - items:
           - const: qcom,sa8797p-ufshc
           - const: qcom,sa8255p-ufshc
+      - items:
+          - const: qcom,secaau-ufshc
+          - const: qcom,sa8255p-ufshc
 
   reg:
     minItems: 1

base-commit: 3191063649dbf7c0d0b768e1f3655e4c5fc6edb5
-- 
2.43.0


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

* Re: [PATCH] scsi: ufs: dt-bindings: Add compatible for Seca UFS Host Controller
  2026-11-24 10:54 [PATCH] scsi: ufs: dt-bindings: Add compatible for Seca UFS Host Controller Yadu M G
@ 2026-11-24 11:10 ` sashiko-bot
  2026-11-24 15:49 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-11-24 11:10 UTC (permalink / raw)
  To: Yadu M G; +Cc: linux-scsi, devicetree, robh, conor+dt

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] dt-bindings: ufs: duplicate compatible items block in
  qcom,sa8255p-ufshc.yaml
- [Low] dt-bindings: ufs: mismatch between Seca commit message and
  qcom,secaau-ufshc
--

commit b11281b04c340241867d637b437dc8dcec5dc5bf
Author: Yadu M G <yadu.mg@oss.qualcomm.com>

scsi: ufs: dt-bindings: Add compatible for Seca UFS Host Controller

This commit adds the qcom,secaau-ufshc compatible string with the
qcom,sa8255p-ufshc fallback to the SA8255P UFS host controller DT
binding schema.

> diff --git a/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml b/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
> index 66d73e9025d6b..4a5dbc780b0d6 100644
> --- a/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
> +++ b/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
> @@ -16,6 +16,9 @@ properties:
>        - items:
>            - const: qcom,sa8797p-ufshc
>            - const: qcom,sa8255p-ufshc
> +      - items:
> +          - const: qcom,secaau-ufshc

[Severity: Low]
Is "qcom,secaau-ufshc" the intended compatible string when the commit
title and message refer only to "Seca"?  Other Qualcomm codename-based
UFS compatibles in Documentation/devicetree/bindings/ufs/qcom,sm8650-ufshc.yaml
use "qcom,<codename>-ufshc" without an "au" suffix (such as
"qcom,glymur-ufshc" and "qcom,nord-ufshc"), so either the compatible
should match the SoC name or the commit message should explain the
"secaau" variant naming.

> +          - const: qcom,sa8255p-ufshc

[Severity: Low]
Should this compatible be grouped with "qcom,sa8797p-ufshc" in an enum
under the existing items block rather than adding a duplicate items block
with the same "qcom,sa8255p-ufshc" fallback?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/61136dcb5cde2c0cfe1b8f3a488e9edcf36043cf.1795517687.git.yadu.mg@oss.qualcomm.com?part=1

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

* Re: [PATCH] scsi: ufs: dt-bindings: Add compatible for Seca UFS Host Controller
  2026-11-24 10:54 [PATCH] scsi: ufs: dt-bindings: Add compatible for Seca UFS Host Controller Yadu M G
  2026-11-24 11:10 ` sashiko-bot
@ 2026-11-24 15:49 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-24 15:49 UTC (permalink / raw)
  To: Yadu M G, Manivannan Sadhasivam, Alim Akhtar, Bart Van Assche,
	Bean Huo, Stanley Jhu, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Kumar Dwivedi
  Cc: linux-arm-msm, linux-scsi, devicetree

On 24/11/2026 11:54, Yadu M G wrote:
> Seca's platform firmware implements an SCMI server that manages UFS
> resources such as the PHY, clocks, regulators and resets via the SCMI
> power protocol, like SA8255P. 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: Yadu M G <yadu.mg@oss.qualcomm.com>
> ---
> The Seca SoC device tree using this compatible will be posted as a
> separate series.
> 
> This series was prepared with help from an AI coding assistant
> (Claude). It assisted with review on the device tree, bindings and

Claude would do it right, unless you use some poor model.

As explained on the mailing lists and on maintainer summit (and
internally): if you use poor agent, you are slopping and we can throw
your patches to /dev/null.

> driver (formatting and alignment fixes), rewording commit messages,
> and running the validation steps (checkpatch, dt_binding_check,
> dtbs_check and W=1 builds). All changes were reviewed and tested on the
> Seca Ride board.
> ---
>  Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml b/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
> index 66d73e9025d6..4a5dbc780b0d 100644
> --- a/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
> +++ b/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml
> @@ -16,6 +16,9 @@ properties:
>        - items:
>            - const: qcom,sa8797p-ufshc
>            - const: qcom,sa8255p-ufshc
> +      - items:
> +          - const: qcom,secaau-ufshc
> +          - const: qcom,sa8255p-ufshc

And Claude did not tell you how this is organized? That's one enum.

Best regards,
Krzysztof

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

end of thread, other threads:[~2026-11-24 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 10:54 [PATCH] scsi: ufs: dt-bindings: Add compatible for Seca UFS Host Controller Yadu M G
2026-11-24 11:10 ` sashiko-bot
2026-11-24 15:49 ` Krzysztof Kozlowski

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