Skip to content

Commit b9cb2ba

Browse files
vireshktmlind
authored andcommitted
ARM: dts: Use - instead of @ for DT OPP entries for TI SoCs
Compiling the DT file with W=1, DTC warns like follows: Warning (unit_address_vs_reg): Node /opp_table0/opp@1000000000 has a unit name, but no reg property Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property. Reported-by: Krzysztof Kozlowski <[email protected]> Reported-by: Masahiro Yamada <[email protected]> Suggested-by: Mark Rutland <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Rob Herring <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 49b2c13 commit b9cb2ba

File tree

5 files changed

+28
-28
lines changed

5 files changed

+28
-28
lines changed

Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,64 +63,64 @@ cpu0_opp_table: opp-table {
6363
* because they can not be enabled simultaneously on a
6464
* single SoC.
6565
*/
66-
opp50@300000000 {
66+
opp50-300000000 {
6767
opp-hz = /bits/ 64 <300000000>;
6868
opp-microvolt = <950000 931000 969000>;
6969
opp-supported-hw = <0x06 0x0010>;
7070
opp-suspend;
7171
};
7272

73-
opp100@275000000 {
73+
opp100-275000000 {
7474
opp-hz = /bits/ 64 <275000000>;
7575
opp-microvolt = <1100000 1078000 1122000>;
7676
opp-supported-hw = <0x01 0x00FF>;
7777
opp-suspend;
7878
};
7979

80-
opp100@300000000 {
80+
opp100-300000000 {
8181
opp-hz = /bits/ 64 <300000000>;
8282
opp-microvolt = <1100000 1078000 1122000>;
8383
opp-supported-hw = <0x06 0x0020>;
8484
opp-suspend;
8585
};
8686

87-
opp100@500000000 {
87+
opp100-500000000 {
8888
opp-hz = /bits/ 64 <500000000>;
8989
opp-microvolt = <1100000 1078000 1122000>;
9090
opp-supported-hw = <0x01 0xFFFF>;
9191
};
9292

93-
opp100@600000000 {
93+
opp100-600000000 {
9494
opp-hz = /bits/ 64 <600000000>;
9595
opp-microvolt = <1100000 1078000 1122000>;
9696
opp-supported-hw = <0x06 0x0040>;
9797
};
9898

99-
opp120@600000000 {
99+
opp120-600000000 {
100100
opp-hz = /bits/ 64 <600000000>;
101101
opp-microvolt = <1200000 1176000 1224000>;
102102
opp-supported-hw = <0x01 0xFFFF>;
103103
};
104104

105-
opp120@720000000 {
105+
opp120-720000000 {
106106
opp-hz = /bits/ 64 <720000000>;
107107
opp-microvolt = <1200000 1176000 1224000>;
108108
opp-supported-hw = <0x06 0x0080>;
109109
};
110110

111-
oppturbo@720000000 {
111+
oppturbo-720000000 {
112112
opp-hz = /bits/ 64 <720000000>;
113113
opp-microvolt = <1260000 1234800 1285200>;
114114
opp-supported-hw = <0x01 0xFFFF>;
115115
};
116116

117-
oppturbo@800000000 {
117+
oppturbo-800000000 {
118118
opp-hz = /bits/ 64 <800000000>;
119119
opp-microvolt = <1260000 1234800 1285200>;
120120
opp-supported-hw = <0x06 0x0100>;
121121
};
122122

123-
oppnitro@1000000000 {
123+
oppnitro-1000000000 {
124124
opp-hz = /bits/ 64 <1000000000>;
125125
opp-microvolt = <1325000 1298500 1351500>;
126126
opp-supported-hw = <0x04 0x0200>;

arch/arm/boot/dts/am335x-boneblack.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* BeagleBone Blacks have PG 2.0 silicon which is guaranteed
2323
* to support 1GHz OPP so enable it for PG 2.0 on this board.
2424
*/
25-
oppnitro@1000000000 {
25+
oppnitro-1000000000 {
2626
opp-supported-hw = <0x06 0x0100>;
2727
};
2828
};

arch/arm/boot/dts/am33xx.dtsi

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,64 +64,64 @@
6464
* because the can not be enabled simultaneously on a
6565
* single SoC.
6666
*/
67-
opp50@300000000 {
67+
opp50-300000000 {
6868
opp-hz = /bits/ 64 <300000000>;
6969
opp-microvolt = <950000 931000 969000>;
7070
opp-supported-hw = <0x06 0x0010>;
7171
opp-suspend;
7272
};
7373

74-
opp100@275000000 {
74+
opp100-275000000 {
7575
opp-hz = /bits/ 64 <275000000>;
7676
opp-microvolt = <1100000 1078000 1122000>;
7777
opp-supported-hw = <0x01 0x00FF>;
7878
opp-suspend;
7979
};
8080

81-
opp100@300000000 {
81+
opp100-300000000 {
8282
opp-hz = /bits/ 64 <300000000>;
8383
opp-microvolt = <1100000 1078000 1122000>;
8484
opp-supported-hw = <0x06 0x0020>;
8585
opp-suspend;
8686
};
8787

88-
opp100@500000000 {
88+
opp100-500000000 {
8989
opp-hz = /bits/ 64 <500000000>;
9090
opp-microvolt = <1100000 1078000 1122000>;
9191
opp-supported-hw = <0x01 0xFFFF>;
9292
};
9393

94-
opp100@600000000 {
94+
opp100-600000000 {
9595
opp-hz = /bits/ 64 <600000000>;
9696
opp-microvolt = <1100000 1078000 1122000>;
9797
opp-supported-hw = <0x06 0x0040>;
9898
};
9999

100-
opp120@600000000 {
100+
opp120-600000000 {
101101
opp-hz = /bits/ 64 <600000000>;
102102
opp-microvolt = <1200000 1176000 1224000>;
103103
opp-supported-hw = <0x01 0xFFFF>;
104104
};
105105

106-
opp120@720000000 {
106+
opp120-720000000 {
107107
opp-hz = /bits/ 64 <720000000>;
108108
opp-microvolt = <1200000 1176000 1224000>;
109109
opp-supported-hw = <0x06 0x0080>;
110110
};
111111

112-
oppturbo@720000000 {
112+
oppturbo-720000000 {
113113
opp-hz = /bits/ 64 <720000000>;
114114
opp-microvolt = <1260000 1234800 1285200>;
115115
opp-supported-hw = <0x01 0xFFFF>;
116116
};
117117

118-
oppturbo@800000000 {
118+
oppturbo-800000000 {
119119
opp-hz = /bits/ 64 <800000000>;
120120
opp-microvolt = <1260000 1234800 1285200>;
121121
opp-supported-hw = <0x06 0x0100>;
122122
};
123123

124-
oppnitro@1000000000 {
124+
oppnitro-1000000000 {
125125
opp-hz = /bits/ 64 <1000000000>;
126126
opp-microvolt = <1325000 1298500 1351500>;
127127
opp-supported-hw = <0x04 0x0200>;

arch/arm/boot/dts/am4372.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,32 +59,32 @@
5959
compatible = "operating-points-v2-ti-cpu";
6060
syscon = <&scm_conf>;
6161

62-
opp50@300000000 {
62+
opp50-300000000 {
6363
opp-hz = /bits/ 64 <300000000>;
6464
opp-microvolt = <950000 931000 969000>;
6565
opp-supported-hw = <0xFF 0x01>;
6666
opp-suspend;
6767
};
6868

69-
opp100@600000000 {
69+
opp100-600000000 {
7070
opp-hz = /bits/ 64 <600000000>;
7171
opp-microvolt = <1100000 1078000 1122000>;
7272
opp-supported-hw = <0xFF 0x04>;
7373
};
7474

75-
opp120@720000000 {
75+
opp120-720000000 {
7676
opp-hz = /bits/ 64 <720000000>;
7777
opp-microvolt = <1200000 1176000 1224000>;
7878
opp-supported-hw = <0xFF 0x08>;
7979
};
8080

81-
oppturbo@800000000 {
81+
oppturbo-800000000 {
8282
opp-hz = /bits/ 64 <800000000>;
8383
opp-microvolt = <1260000 1234800 1285200>;
8484
opp-supported-hw = <0xFF 0x10>;
8585
};
8686

87-
oppnitro@1000000000 {
87+
oppnitro-1000000000 {
8888
opp-hz = /bits/ 64 <1000000000>;
8989
opp-microvolt = <1325000 1298500 1351500>;
9090
opp-supported-hw = <0xFF 0x20>;

arch/arm/boot/dts/dra7.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@
9999
compatible = "operating-points-v2-ti-cpu";
100100
syscon = <&scm_wkup>;
101101

102-
opp_nom@1000000000 {
102+
opp_nom-1000000000 {
103103
opp-hz = /bits/ 64 <1000000000>;
104104
opp-microvolt = <1060000 850000 1150000>;
105105
opp-supported-hw = <0xFF 0x01>;
106106
opp-suspend;
107107
};
108108

109-
opp_od@1176000000 {
109+
opp_od-1176000000 {
110110
opp-hz = /bits/ 64 <1176000000>;
111111
opp-microvolt = <1160000 885000 1160000>;
112112
opp-supported-hw = <0xFF 0x02>;

0 commit comments

Comments
 (0)