Message ID | 20230308155838.1094920-3-abel.vesa@linaro.org |
---|---|
State | New |
Headers | show |
Series | Add dedicated Qcom ICE driver | expand |
On 08/03/2023 16:58, Abel Vesa wrote: > The ICE will have its own devicetree node, so drop the ICE core clock > and add the qcom,ice property instead. > properties: > clocks: > - minItems: 11 > - maxItems: 11 > + minItems: 10 > + maxItems: 10 > clock-names: > items: > - const: core_clk_src > @@ -177,7 +180,6 @@ allOf: > - const: iface_clk > - const: core_clk_unipro_src > - const: core_clk_unipro > - - const: core_clk_ice Order is fixed, you cannot drop entries from the middle. > - const: ref_clk > - const: tx_lane0_sync_clk > - const: rx_lane0_sync_clk Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index c5a06c048389..a0c93c2d7a42 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -70,6 +70,10 @@ properties: power-domains: maxItems: 1 + qcom,ice: + $ref: /schemas/types.yaml#/definitions/phandle + description: phandle to the Inline Crypto Engine node + reg: minItems: 1 maxItems: 2 @@ -140,8 +144,8 @@ allOf: then: properties: clocks: - minItems: 9 - maxItems: 9 + minItems: 8 + maxItems: 8 clock-names: items: - const: core_clk @@ -152,7 +156,6 @@ allOf: - const: tx_lane0_sync_clk - const: rx_lane0_sync_clk - const: rx_lane1_sync_clk - - const: ice_core_clk reg: minItems: 2 maxItems: 2 @@ -166,8 +169,8 @@ allOf: then: properties: clocks: - minItems: 11 - maxItems: 11 + minItems: 10 + maxItems: 10 clock-names: items: - const: core_clk_src @@ -177,7 +180,6 @@ allOf: - const: iface_clk - const: core_clk_unipro_src - const: core_clk_unipro - - const: core_clk_ice - const: ref_clk - const: tx_lane0_sync_clk - const: rx_lane0_sync_clk
The ICE will have its own devicetree node, so drop the ICE core clock and add the qcom,ice property instead. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> --- This patch was not part of the v1. .../devicetree/bindings/ufs/qcom,ufs.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)