summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/nohash/32/pgtable.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2022-09-27 12:23:58 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2022-11-24 23:31:48 +1100
commit4e87bd14e501030619d1bad29b3ec1f947f84fc4 (patch)
tree7c9e30edf713352e31001124bfa61a8bba2727ee /arch/powerpc/include/asm/nohash/32/pgtable.h
parent1892e87a3e9170146549779622cb844582f1e2bb (diff)
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
Diffstat (limited to 'arch/powerpc/include/asm/nohash/32/pgtable.h')
0 files changed, 0 insertions, 0 deletions