Skip to content

Commit a11eaed

Browse files
ichernevrobherring
authored andcommitted
dt-bindings: ufs: qcom: Add sm6115 binding
Add SM6115 UFS to DT schema. Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> Reviewed-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Iskren Chernev <me@iskren.info> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Link: https://lore.kernel.org/r/20230814-dt-binding-ufs-v6-2-fd94845adeda@fairphone.com Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 7839d56 commit a11eaed

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Documentation/devicetree/bindings/ufs/qcom,ufs.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ properties:
2929
- qcom,sa8775p-ufshc
3030
- qcom,sc8280xp-ufshc
3131
- qcom,sdm845-ufshc
32+
- qcom,sm6115-ufshc
3233
- qcom,sm6350-ufshc
3334
- qcom,sm8150-ufshc
3435
- qcom,sm8250-ufshc
@@ -204,6 +205,35 @@ allOf:
204205
reg-names:
205206
maxItems: 1
206207

208+
- if:
209+
properties:
210+
compatible:
211+
contains:
212+
enum:
213+
- qcom,sm6115-ufshc
214+
then:
215+
properties:
216+
clocks:
217+
minItems: 8
218+
maxItems: 8
219+
clock-names:
220+
items:
221+
- const: core_clk
222+
- const: bus_aggr_clk
223+
- const: iface_clk
224+
- const: core_clk_unipro
225+
- const: ref_clk
226+
- const: tx_lane0_sync_clk
227+
- const: rx_lane0_sync_clk
228+
- const: ice_core_clk
229+
reg:
230+
minItems: 2
231+
maxItems: 2
232+
reg-names:
233+
minItems: 2
234+
required:
235+
- reg-names
236+
207237
# TODO: define clock bindings for qcom,msm8994-ufshc
208238

209239
- if:

0 commit comments

Comments
 (0)