File tree Expand file tree Collapse file tree
Documentation/devicetree/bindings/crypto Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,10 +28,14 @@ properties:
2828 maxItems : 1
2929
3030 clocks :
31+ minItems : 1
3132 maxItems : 2
3233
3334 clock-names :
34- maxItems : 2
35+ minItems : 1
36+ items :
37+ - const : core
38+ - const : iface
3539
3640 power-domains :
3741 maxItems : 1
@@ -40,11 +44,28 @@ required:
4044 - compatible
4145 - reg
4246 - clocks
43- - clock-names
44- - power-domains
4547
4648additionalProperties : false
4749
50+ allOf :
51+ - if :
52+ properties :
53+ compatible :
54+ contains :
55+ enum :
56+ - qcom,eliza-inline-crypto-engine
57+ - qcom,milos-inline-crypto-engine
58+
59+ then :
60+ required :
61+ - power-domains
62+ - clock-names
63+ properties :
64+ clocks :
65+ minItems : 2
66+ clock-names :
67+ minItems : 2
68+
4869examples :
4970 - |
5071 #include <dt-bindings/clock/qcom,sm8550-gcc.h>
@@ -55,8 +76,8 @@ examples:
5576 reg = <0x01d88000 0x8000>;
5677 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
5778 <&gcc GCC_UFS_PHY_AHB_CLK>;
58- clock-names = "ice_core_clk ",
59- "iface_clk ";
79+ clock-names = "core ",
80+ "iface ";
6081 power-domains = <&gcc UFS_PHY_GDSC>;
6182 };
6283 ...
Original file line number Diff line number Diff line change 683683 "qcom,inline-crypto-engine";
684684 reg = <0x0 0x01d88000 0x0 0x18000>;
685685
686- clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
686+ clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
687+ <&gcc GCC_UFS_PHY_AHB_CLK>;
688+ clock-names = "core",
689+ "iface";
690+ power-domains = <&gcc GCC_UFS_PHY_GDSC>;
687691 };
688692
689693 tcsr_mutex: hwlock@1f40000 {
Original file line number Diff line number Diff line change 28242824 reg = <0x0 0x01d88000 0x0 0x18000>;
28252825 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
28262826 <&gcc GCC_UFS_PHY_AHB_CLK>;
2827- clock-names = "ice_core_clk ",
2828- "iface_clk ";
2827+ clock-names = "core ",
2828+ "iface ";
28292829 power-domains = <&gcc UFS_PHY_GDSC>;
28302830 };
28312831
Original file line number Diff line number Diff line change 26642664 reg = <0x0 0x01d88000 0x0 0x18000>;
26652665 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
26662666 <&gcc GCC_UFS_PHY_AHB_CLK>;
2667- clock-names = "ice_core_clk ",
2668- "iface_clk ";
2667+ clock-names = "core ",
2668+ "iface ";
26692669 power-domains = <&gcc GCC_UFS_PHY_GDSC>;
26702670 };
26712671
Original file line number Diff line number Diff line change 16011601 reg = <0 0x01d90000 0 0x8000>;
16021602 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
16031603 <&gcc GCC_UFS_PHY_AHB_CLK>;
1604- clock-names = "ice_core_clk ",
1605- "iface_clk ";
1604+ clock-names = "core ",
1605+ "iface ";
16061606 power-domains = <&gcc UFS_PHY_GDSC>;
16071607 };
16081608
Original file line number Diff line number Diff line change 25902590 reg = <0 0x01d88000 0 0x18000>;
25912591 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
25922592 <&gcc GCC_UFS_PHY_AHB_CLK>;
2593- clock-names = "ice_core_clk ",
2594- "iface_clk ";
2593+ clock-names = "core ",
2594+ "iface ";
25952595 power-domains = <&gcc GCC_UFS_PHY_GDSC>;
25962596 };
25972597
Original file line number Diff line number Diff line change 53515351 reg = <0 0x01d88000 0 0x18000>;
53525352 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
53535353 <&gcc GCC_UFS_PHY_AHB_CLK>;
5354- clock-names = "ice_core_clk ",
5355- "iface_clk ";
5354+ clock-names = "core ",
5355+ "iface ";
53565356 power-domains = <&gcc UFS_PHY_GDSC>;
53575357 };
53585358
Original file line number Diff line number Diff line change 24162416
24172417 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
24182418 <&gcc GCC_UFS_PHY_AHB_CLK>;
2419- clock-names = "ice_core_clk ",
2420- "iface_clk ";
2419+ clock-names = "core ",
2420+ "iface ";
24212421 power-domains = <&gcc UFS_PHY_GDSC>;
24222422 };
24232423
Original file line number Diff line number Diff line change 40484048
40494049 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
40504050 <&gcc GCC_UFS_PHY_AHB_CLK>;
4051- clock-names = "ice_core_clk ",
4052- "iface_clk ";
4051+ clock-names = "core ",
4052+ "iface ";
40534053 power-domains = <&gcc UFS_PHY_GDSC>;
40544054 };
40554055
Original file line number Diff line number Diff line change 20692069
20702070 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
20712071 <&gcc GCC_UFS_PHY_AHB_CLK>;
2072- clock-names = "ice_core_clk ",
2073- "iface_clk ";
2072+ clock-names = "core ",
2073+ "iface ";
20742074 power-domains = <&gcc GCC_UFS_PHY_GDSC>;
20752075 };
20762076
You can’t perform that action at this time.
0 commit comments