ramips: gpio-ralink: use ngpios, not ralink,num-gpios
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Tue, 6 Apr 2021 05:53:46 +0000 (22:53 -0700)
committerChuanhong Guo <gch981213@gmail.com>
Wed, 14 Apr 2021 16:00:54 +0000 (00:00 +0800)
commit85ca6923bc21a7de031ca9b68e13ecfb4f3debd3
treeaccf521ef40c5bfdb0f5da2a01b9ae9df0ea0a9b
parent5f07c579f8c2eeb8056628f7b6a8732bf0f8d492
ramips: gpio-ralink: use ngpios, not ralink,num-gpios

DTS properties that match *-gpios are treated specially.

Use ngpios instead, as most GPIO drivers upstream do.

Fixes 5.10 DTS errors such as:
  OF: /palmbus@300000/gpio@600: could not find phandle

Fixes DTC warnings such as:
  Warning (gpios_property): /palmbus@300000/gpio@600:ralink,num-gpios:
  Could not get phandle node for (cell 0)

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Cc: Daniel Golle <daniel@makrotopia.org>
13 files changed:
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/dts/rt2880.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi
target/linux/ramips/patches-5.10/801-DT-Add-documentation-for-gpio-ralink.patch
target/linux/ramips/patches-5.10/802-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
target/linux/ramips/patches-5.10/804-staging-mt7621-pinctrl-use-ngpios-not-num-gpios.patch [new file with mode: 0644]
target/linux/ramips/patches-5.4/0026-DT-Add-documentation-for-gpio-ralink.patch
target/linux/ramips/patches-5.4/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
target/linux/ramips/patches-5.4/804-staging-mt7621-pinctrl-use-ngpios-not-num-gpios.patch [new file with mode: 0644]