No description
Find a file
Quentin Schulz b0625def1a pinctrl: rockchip: add pinmux_ops.gpio_set_direction callback
commit 4635c0e2a7 upstream.

Before the split of gpio and pinctrl sections in their own driver,
rockchip_set_mux was called in pinmux_ops.gpio_set_direction for
configuring a pin in its GPIO function.

This is essential for cases where pinctrl is "bypassed" by gpio
consumers otherwise the GPIO function is not configured for the pin and
it does not work. Such was the case for the sysfs/libgpiod userspace
GPIO handling.

Let's re-implement the pinmux_ops.gpio_set_direction callback so that
the gpio subsystem can request from the pinctrl driver to put the pin in
its GPIO function.

Fixes: 9ce9a02039 ("pinctrl/rockchip: drop the gpio related codes")
Cc: stable@vger.kernel.org
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20220930132033.4003377-2-foss+kernel@0leil.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-21 12:37:46 +02:00
arch powerpc/boot: Explicitly disable usage of SPE instructions 2022-10-21 12:37:45 +02:00
block block-6.0-2022-09-22 2022-09-24 08:22:53 -07:00
certs certs: make system keyring depend on built-in x509 parser 2022-09-24 04:31:18 +09:00
crypto
Documentation arm64: errata: Add Cortex-A55 to the repeat tlbi list 2022-10-21 12:37:42 +02:00
drivers pinctrl: rockchip: add pinmux_ops.gpio_set_direction callback 2022-10-21 12:37:46 +02:00
fs NFSD: Protect against send buffer overflow in NFSv3 READ 2022-10-21 12:37:44 +02:00
include serial: 8250: Let drivers request full 16550A feature probing 2022-10-21 12:37:44 +02:00
init
io_uring io_uring: correct pinned_vm accounting 2022-10-21 12:37:34 +02:00
ipc
kernel btf: Export bpf_dynptr definition 2022-10-21 12:37:37 +02:00
lib Makefile.debug: re-enable debug info for .S files 2022-09-24 11:19:19 +09:00
LICENSES
mm mm/mmap: undo ->mmap() when arch_validate_flags() fails 2022-10-21 12:37:42 +02:00
net io_uring/af_unix: defer registered files gc to io_uring release 2022-10-21 12:37:33 +02:00
samples
scripts Makefile.extrawarn: Move -Wcast-function-type-strict to W=1 2022-10-12 09:39:04 +02:00
security LoadPin: Fix Kconfig doc about format of file with verity digests 2022-10-21 12:37:44 +02:00
sound ASoC: wcd934x: fix order of Slimbus unprepare/disable 2022-10-21 12:37:38 +02:00
tools perf tools fixes for v6.0: 5th batch 2022-09-30 16:03:19 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap Qualcomm ARM64 DTS fixes for 6.0 2022-09-23 16:44:37 +02:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS One MAINTAINERS update, two MM fixes, both cc:stable 2022-10-01 09:13:29 -07:00
Makefile Linux 6.0.2 2022-10-15 08:02:59 +02:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.