Skip to content

Commit 814ae20

Browse files
krzkgclement
authored andcommitted
ARM: dts: marvell: armada: Align GPIO hog name with bindings
Bindings expect GPIO hog names to end with 'hog' suffix, so correct it to fix dtbs_check warnings like: armada-385-clearfog-gtr-s4.dtb: wifi-disable: $nodename:0: 'wifi-disable' does not match '^.+-hog(-[0-9]+)?$' Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
1 parent 37586f6 commit 814ae20

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@
453453
pinctrl-0 = <&cf_gtr_fan_pwm &cf_gtr_wifi_disable_pins>;
454454
pinctrl-names = "default";
455455

456-
wifi-disable {
456+
wifi-disable-hog {
457457
gpio-hog;
458458
gpios = <30 GPIO_ACTIVE_LOW>, <31 GPIO_ACTIVE_LOW>;
459459
output-low;
@@ -465,7 +465,7 @@
465465
pinctrl-0 = <&cf_gtr_isolation_pins &cf_gtr_poe_reset_pins &cf_gtr_lte_disable_pins>;
466466
pinctrl-names = "default";
467467

468-
lte-disable {
468+
lte-disable-hog {
469469
gpio-hog;
470470
gpios = <2 GPIO_ACTIVE_LOW>;
471471
output-low;
@@ -476,14 +476,14 @@
476476
* This signal, when asserted, isolates Armada 38x sample at reset pins
477477
* from control of external devices. Should be de-asserted after reset.
478478
*/
479-
sar-isolation {
479+
sar-isolation-hog {
480480
gpio-hog;
481481
gpios = <15 GPIO_ACTIVE_LOW>;
482482
output-low;
483483
line-name = "sar-isolation";
484484
};
485485

486-
poe-reset {
486+
poe-reset-hog {
487487
gpio-hog;
488488
gpios = <16 GPIO_ACTIVE_LOW>;
489489
output-low;

arch/arm/boot/dts/marvell/armada-388-clearfog-base.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
};
3535

3636
&gpio0 {
37-
phy1_reset {
37+
phy1-reset-hog {
3838
gpio-hog;
3939
gpios = <19 GPIO_ACTIVE_LOW>;
4040
output-low;

0 commit comments

Comments
 (0)