Skip to content

Commit e2725ed

Browse files
ram-dwivedimartinkpetersen
authored andcommitted
scsi: ufs: dt-bindings: Document bindings for SA8255P UFS Host Controller
Document the device tree bindings for UFS host controller on Qualcomm SA8255P platform which integrates firmware-managed resources. The platform firmware implements the SCMI server and manages 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. The generic "qcom,ufshc" and "jedec,ufs-2.0" compatible strings are removed from the binding, since this firmware managed design won't be compatible with the drivers doing full resource management. Co-developed-by: Anjana Hari <anjana.hari@oss.qualcomm.com> Signed-off-by: Anjana Hari <anjana.hari@oss.qualcomm.com> Signed-off-by: Ram Kumar Dwivedi <ram.dwivedi@oss.qualcomm.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Acked-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://patch.msgid.link/20260113080046.284089-3-ram.dwivedi@oss.qualcomm.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 7f386b0 commit e2725ed

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/ufs/qcom,sa8255p-ufshc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm SA8255P UFS Host Controller
8+
9+
maintainers:
10+
- Ram Kumar Dwivedi <ram.dwivedi@oss.qualcomm.com>
11+
12+
properties:
13+
compatible:
14+
const: qcom,sa8255p-ufshc
15+
16+
reg:
17+
maxItems: 1
18+
19+
interrupts:
20+
maxItems: 1
21+
22+
iommus:
23+
maxItems: 1
24+
25+
dma-coherent: true
26+
27+
power-domains:
28+
maxItems: 1
29+
30+
required:
31+
- compatible
32+
- reg
33+
- interrupts
34+
- power-domains
35+
- iommus
36+
- dma-coherent
37+
38+
allOf:
39+
- $ref: ufs-common.yaml
40+
41+
unevaluatedProperties: false
42+
43+
examples:
44+
- |
45+
#include <dt-bindings/interrupt-controller/arm-gic.h>
46+
47+
ufshc@1d84000 {
48+
compatible = "qcom,sa8255p-ufshc";
49+
reg = <0x01d84000 0x3000>;
50+
interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
51+
lanes-per-direction = <2>;
52+
53+
iommus = <&apps_smmu 0x100 0x0>;
54+
power-domains = <&scmi3_pd 0>;
55+
dma-coherent;
56+
};

0 commit comments

Comments
 (0)