]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: mt7621-gpio: avoid use banks in device tree
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 18 Jun 2018 09:36:20 +0000 (11:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:50:59 +0000 (21:50 +0900)
commit6042985276994d5a99b9f195c8ceac002e66f00d
treec4ea0d6e5ef907a15a0b504ec53f613cf56104f8
parent36913c87abc19833874be792569efae890069585
staging: mt7621-gpio: avoid use banks in device tree

Banks shouldn't be defined in DT if number of resources
per bank is not variable. We actually know that this SoC
has three banks so take that into account in order to don't
overspecify the device tree. Device tree will only have one
node making it simple. Update device tree, binding doc and
code accordly.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/gbpc1.dts
drivers/staging/mt7621-dts/mt7621.dtsi
drivers/staging/mt7621-gpio/gpio-mt7621.c
drivers/staging/mt7621-gpio/mediatek,mt7621-gpio.txt