@@ -139,6 +139,11 @@ properties:
139139 $ref : /schemas/types.yaml#/definitions/uint32
140140 description : platform specific settings for DLL_CONFIG reg.
141141
142+ qcom,ice :
143+ $ref : /schemas/types.yaml#/definitions/phandle
144+ description :
145+ phandle to the Inline Crypto Engine (ICE) hardware block for this controller.
146+
142147 iommus :
143148 minItems : 1
144149 maxItems : 8
@@ -192,35 +197,69 @@ allOf:
192197 enum :
193198 - qcom,sdhci-msm-v4
194199 then :
195- properties :
196- reg :
197- minItems : 2
198- items :
199- - description : Host controller register map
200- - description : SD Core register map
201- - description : CQE register map
202- - description : Inline Crypto Engine register map
203- reg-names :
204- minItems : 2
205- items :
206- - const : hc
207- - const : core
208- - const : cqhci
209- - const : ice
200+ if :
201+ required :
202+ - qcom,ice
203+ then :
204+ properties :
205+ reg :
206+ minItems : 2
207+ items :
208+ - description : Host controller register map
209+ - description : SD Core register map
210+ - description : CQE register map
211+ reg-names :
212+ minItems : 2
213+ items :
214+ - const : hc
215+ - const : core
216+ - const : cqhci
217+ else :
218+ properties :
219+ reg :
220+ minItems : 2
221+ items :
222+ - description : Host controller register map
223+ - description : SD Core register map
224+ - description : CQE register map
225+ - description : Inline Crypto Engine register map
226+ reg-names :
227+ minItems : 2
228+ items :
229+ - const : hc
230+ - const : core
231+ - const : cqhci
232+ - const : ice
210233 else :
211- properties :
212- reg :
213- minItems : 1
214- items :
215- - description : Host controller register map
216- - description : CQE register map
217- - description : Inline Crypto Engine register map
218- reg-names :
219- minItems : 1
220- items :
221- - const : hc
222- - const : cqhci
223- - const : ice
234+ if :
235+ required :
236+ - qcom,ice
237+ then :
238+ properties :
239+ reg :
240+ minItems : 1
241+ items :
242+ - description : Host controller register map
243+ - description : CQE register map
244+ reg-names :
245+ minItems : 1
246+ items :
247+ - const : hc
248+ - const : cqhci
249+ else :
250+ properties :
251+ reg :
252+ minItems : 1
253+ items :
254+ - description : Host controller register map
255+ - description : CQE register map
256+ - description : Inline Crypto Engine register map
257+ reg-names :
258+ minItems : 1
259+ items :
260+ - const : hc
261+ - const : cqhci
262+ - const : ice
224263
225264unevaluatedProperties : false
226265
0 commit comments