linux/arch/powerpc/boot/dts
Dmitry Torokhov 1892e87a3e powerpc/warp: switch to using gpiod API
This switches PIKA Warp away from legacy gpio API and to newer gpiod
API, so that we can eventually deprecate the former.

Because LEDs are normally driven by leds-gpio driver, but the
platform code also wants to access the LEDs during thermal shutdown,
and gpiod API does not allow locating GPIO without requesting it,
the platform code is now responsible for locating GPIOs through device
tree and requesting them. It then constructs platform data for
leds-gpio platform device and registers it. This allows platform
code to retain access to LED GPIO descriptors and use them when needed.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/YzKSLcrYmV5kjyeX@google.com
2022-11-24 23:31:47 +11:00
..
fsl powerpc: Fix SPE Power ISA properties for e500v1 platforms 2022-09-28 19:22:13 +10:00
a3m071.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
a4m072.dts powerpc/5200: dts: fix pci ranges warnings 2021-10-22 15:22:04 +11:00
ac14xx.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
acadia.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
adder875-redboot.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
adder875-uboot.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
akebono.dts powerpc/boot/dts: Fix dtc "pciex" warnings 2020-06-30 14:38:00 +10:00
amigaone.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
arches.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
asp834x-redboot.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
bamboo.dts powerpc/44x/bamboo: Fix PCI range 2018-12-20 22:21:20 +11:00
bluestone.dts powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
canyonlands.dts powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
charon.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
cm5200.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
currituck.dts powerpc/boot/dts: Fix dtc "pciex" warnings 2020-06-30 14:38:00 +10:00
digsy_mtc.dts powerpc/dts: Remove "spidev" nodes 2021-12-21 20:17:58 +11:00
ebony.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
eiger.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
ep88xc.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ep8248e.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
fsp2.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
gamecube.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
glacier.dts powerpc/boot/dts: Fix dtc "pciex" warnings 2020-06-30 14:38:00 +10:00
haleakala.dts powerpc/boot/dts: Fix dtc "pciex" warnings 2020-06-30 14:38:00 +10:00
holly.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
hotfoot.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
icon.dts xsysace: Remove SYSACE driver 2021-03-23 10:27:38 -06:00
iss4xx-mpic.dts powerpc/dts: Standardize DTS status assignments from "ok" to "okay" 2019-02-22 00:10:15 +11:00
iss4xx.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
katmai.dts powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
kilauea.dts powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
klondike.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
kmeter1.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ksi8560.dts powerpc: Include e500v1_power_isa.dtsi for remaining e500v1 platforms 2022-09-28 19:22:14 +10:00
kuroboxHD.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
kuroboxHG.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
lite5200.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
lite5200b.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
makalu.dts powerpc/boot/dts: Fix dtc "pciex" warnings 2020-06-30 14:38:00 +10:00
Makefile powerpc: Remove Xilinx PPC405/PPC440 support 2020-05-28 23:24:34 +10:00
media5200.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
mgcoge.dts powerpc/82xx: remove spidev node from mgcoge 2022-08-26 11:02:21 +10:00
microwatt.dts powerpc/microwatt: Add mmu bits to device tree 2022-05-22 15:59:54 +10:00
motionpro.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc832x_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc832x_rdb.dts powerpc/devicetrees: Change 'gpios' to 'cs-gpios' on fsl, spi nodes 2020-01-23 21:31:14 +11:00
mpc834x_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc836x_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc836x_rdk.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc866ads.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc885ads.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc5121.dtsi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc5121ads.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc5125twr.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc5200b.dtsi powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
mpc7448hpc2.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8272ads.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8308_p1m.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8308rdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8313erdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8315erdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8349emitx.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8349emitxgp.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8377_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8377_rdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8377_wlan.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8378_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8378_rdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8379_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8379_rdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8610_hpcd.dts powerpc/devicetrees: Change 'gpios' to 'cs-gpios' on fsl, spi nodes 2020-01-23 21:31:14 +11:00
mucmc52.dts powerpc/5200: dts: fix pci ranges warnings 2021-10-22 15:22:04 +11:00
mvme5100.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
o2d300.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
o2d.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
o2d.dtsi powerpc/dts: Remove "spidev" nodes 2021-12-21 20:17:58 +11:00
o2dnt2.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
o2i.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
o2mnt.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
o3dnt.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
obs600.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
pcm030.dts powerpc/5200: dts: fix pci ranges warnings 2021-10-22 15:22:04 +11:00
pcm032.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
pdm360ng.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pq2fads.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ps3.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
rainier.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
redwood.dts powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
sam440ep.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
sequoia.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
socrates.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
storcenter.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
stx_gp3_8560.dts powerpc: Include e500v1_power_isa.dtsi for remaining e500v1 platforms 2022-09-28 19:22:14 +10:00
stxssa8555.dts powerpc: Include e500v1_power_isa.dtsi for remaining e500v1 platforms 2022-09-28 19:22:14 +10:00
taishan.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
tqm8xx.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm5200.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
tqm8540.dts powerpc: Include e500v1_power_isa.dtsi for remaining e500v1 platforms 2022-09-28 19:22:14 +10:00
tqm8541.dts powerpc: Include e500v1_power_isa.dtsi for remaining e500v1 platforms 2022-09-28 19:22:14 +10:00
tqm8548-bigflash.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm8548.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm8555.dts powerpc: Include e500v1_power_isa.dtsi for remaining e500v1 platforms 2022-09-28 19:22:14 +10:00
tqm8560.dts powerpc: Include e500v1_power_isa.dtsi for remaining e500v1 platforms 2022-09-28 19:22:14 +10:00
turris1x.dts powerpc: dts: turris1x.dts: Fix labels in DSA cpu port nodes 2022-09-26 20:58:19 +10:00
uc101.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
warp.dts powerpc/warp: switch to using gpiod API 2022-11-24 23:31:47 +11:00
wii.dts powerpc: wii.dts: Expose HW_SRNPROT on this platform 2021-12-16 10:46:35 +01:00
xcalibur1501.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 419 2019-06-05 17:37:15 +02:00
xpedite5200_xmon.dts powerpc: dts: Fix some I2C unit addresses 2022-01-31 13:45:24 +11:00
xpedite5200.dts powerpc: dts: Fix some I2C unit addresses 2022-01-31 13:45:24 +11:00
xpedite5301.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 419 2019-06-05 17:37:15 +02:00
xpedite5330.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 419 2019-06-05 17:37:15 +02:00
xpedite5370.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 419 2019-06-05 17:37:15 +02:00
yosemite.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00