linux-next/arch/powerpc/platforms/85xx
Dmitry Torokhov 4e87bd14e5 powerpc/sgy_cts1000: convert to using gpiod API and facelift
This patch converts the driver to newer gpiod API, and away from
OF-specific legacy gpio API that we want to stop using.

While at it, let's address a few more issues:

- switch to using dev_info()/pr_info() and friends
- cancel work when unbinding the driver

Note that the original code handled halt GPIO polarity incorrectly:
in halt callback, when line polarity is "low" it would set trigger to
"1" and drive halt line high, which is counter to the annotation.
gpiod API will drive such line low. However I do not see any DTSes
in mainline that have a DT node with "sgy,gpio-halt" compatible.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/YzNNznewTyCJiGFz@google.com
2022-11-24 23:31:48 +11:00
..
bsc913x_qds.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
bsc913x_rdb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
c293pcie.c powerpc/85xx: Make c293_pcie_pic_init() static 2021-11-29 22:49:17 +11:00
common.c powerpc/85xx: remove mostly pointless mpc85xx_qe_init() 2019-11-17 01:55:42 -06:00
corenet_generic.c powerpc: Cleanup idle for e500 2022-09-26 23:00:14 +10:00
ge_imp3a.c powerpc/85xx: Add missing of_node_get/put() in ge_imp3a_pci_assign_primary() 2022-09-05 17:30:29 +10:00
Kconfig powerpc: Replace PPC_85xx || PPC_BOOKE_64 by PPC_E500 2022-09-26 23:00:14 +10:00
ksi8560.c powerpc/85xx: Add missing of_node_put() in ksi8560.c 2022-09-05 17:28:25 +10:00
Makefile powerpc/85xx: fix timebase sync issue when CONFIG_HOTPLUG_CPU=n 2021-10-09 00:15:58 +11:00
mpc85xx_ads.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc85xx_cds.c powerpc/85xx: Fix fall-through warning for Clang 2022-09-08 11:11:18 +10:00
mpc85xx_ds.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpc85xx_mds.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
mpc85xx_pm_ops.c powerpc/85xx: Fix no previous prototype warning for mpc85xx_setup_pmc() 2021-11-29 22:49:09 +11:00
mpc85xx_rdb.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
mpc85xx.h powerpc/85xx: remove mostly pointless mpc85xx_qe_init() 2019-11-17 01:55:42 -06:00
mpc8536_ds.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
mvme2500.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
p1010rdb.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
p1022_ds.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
p1022_rdk.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
p1023_rdb.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
ppa8548.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
qemu_e500.c powerpc: Cleanup idle for e500 2022-09-26 23:00:14 +10:00
sgy_cts1000.c powerpc/sgy_cts1000: convert to using gpiod API and facelift 2022-11-24 23:31:48 +11:00
smp.c powerpc/85xx: Fix virt_to_phys() off-by-one in smp_85xx_start_cpu() 2022-04-27 21:57:36 +10:00
smp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
socrates_fpga_pic.c powerpc/85xx: Add __init attribute to eligible functions 2021-12-23 22:33:18 +11:00
socrates_fpga_pic.h powerpc/85xx: Add __init attribute to eligible functions 2021-12-23 22:33:18 +11:00
socrates.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
stx_gp3.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
t1042rdb_diu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm85xx.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
twr_p102x.c ARM: SoC-related driver updates 2020-02-08 14:04:19 -08:00
xes_mpc85xx.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00