Skip to content

Commit f8c65a5

Browse files
Rafał MiłeckiAngeloGioacchino Del Regno
authored andcommitted
arm64: dts: mediatek: mt7986: prefix BPI-R3 cooling maps with "map-"
This fixes: arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: thermal-zones: cpu-thermal:cooling-maps: 'cpu-active-high', 'cpu-active-low', 'cpu-active-med' do not match any of the regexes: '^map[-a-zA-Z0-9]*$', 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# Fixes: c26f779 ("arm64: dts: mt7986: add pwm-fan and cooling-maps to BPI-R3 dts") Cc: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20240213061459.17917-1-zajec5@gmail.com Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
1 parent 970f8b0 commit f8c65a5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,19 +146,19 @@
146146

147147
&cpu_thermal {
148148
cooling-maps {
149-
cpu-active-high {
149+
map-cpu-active-high {
150150
/* active: set fan to cooling level 2 */
151151
cooling-device = <&fan 2 2>;
152152
trip = <&cpu_trip_active_high>;
153153
};
154154

155-
cpu-active-med {
155+
map-cpu-active-med {
156156
/* active: set fan to cooling level 1 */
157157
cooling-device = <&fan 1 1>;
158158
trip = <&cpu_trip_active_med>;
159159
};
160160

161-
cpu-active-low {
161+
map-cpu-active-low {
162162
/* active: set fan to cooling level 0 */
163163
cooling-device = <&fan 0 0>;
164164
trip = <&cpu_trip_active_low>;

0 commit comments

Comments
 (0)