From: Krzysztof Kozlowski <hidden> Date: 2021-08-20 08:25:58
Align the name of operating-points node to dtschema to fix warnings like:
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dt.yaml:
cpu-opp-table: $nodename:0: 'cpu-opp-table' does not match '^opp-table(-[a-z0-9]+)?$'
Signed-off-by: Krzysztof Kozlowski <redacted>
---
arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Krzysztof Kozlowski <hidden> Date: 2021-08-20 08:25:56
Align the name of thermal zone node to dtschema to fix warnings like:
arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dt.yaml:
thermal-zones: 'cpu-thermal-zone', 'ddr-thermal-zone', 'gpu-thermal-zone' do not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <redacted>
---
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 6 +++---
arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
On Fri, Aug 20, 2021 at 4:17 PM Krzysztof Kozlowski
[off-list ref] wrote:
Align the name of thermal zone node to dtschema to fix warnings like:
arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dt.yaml:
thermal-zones: 'cpu-thermal-zone', 'ddr-thermal-zone', 'gpu-thermal-zone' do not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <redacted>
On Fri, Aug 20, 2021 at 4:16 PM Krzysztof Kozlowski
[off-list ref] wrote:
quoted hunk
Align the name of operating-points node to dtschema to fix warnings like:
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dt.yaml:
cpu-opp-table: $nodename:0: 'cpu-opp-table' does not match '^opp-table(-[a-z0-9]+)?$'
Signed-off-by: Krzysztof Kozlowski <redacted>
---
arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Maybe we should just reorder the name? Name it "opp-table-cpu" instead.
That way if and when we add one for the GPU, we don't accidentally
clash on the name.
ChenYu
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Krzysztof Kozlowski <hidden> Date: 2021-08-20 12:49:08
On 20/08/2021 14:11, Chen-Yu Tsai wrote:
On Fri, Aug 20, 2021 at 4:16 PM Krzysztof Kozlowski
[off-list ref] wrote:
quoted
Align the name of operating-points node to dtschema to fix warnings like:
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dt.yaml:
cpu-opp-table: $nodename:0: 'cpu-opp-table' does not match '^opp-table(-[a-z0-9]+)?$'
Signed-off-by: Krzysztof Kozlowski <redacted>
---
arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Maybe we should just reorder the name? Name it "opp-table-cpu" instead.
That way if and when we add one for the GPU, we don't accidentally
clash on the name.
Although the schema allows such name, but still the devicetree
specification says that name should be generic (representing generic
type of a device). Just like there is a "clock-controller" or
"nand-controller", there should be generic "opp-table".
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Maxime Ripard <hidden> Date: 2021-09-03 16:21:37
On Fri, Aug 20, 2021 at 10:16:44AM +0200, Krzysztof Kozlowski wrote:
Align the name of operating-points node to dtschema to fix warnings like:
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dt.yaml:
cpu-opp-table: $nodename:0: 'cpu-opp-table' does not match '^opp-table(-[a-z0-9]+)?$'
Signed-off-by: Krzysztof Kozlowski <redacted>