pinctrl: ocelot: fix pinmuxing for pins after 31
Alexandre Belloni authored
[ Upstream commit 4b36082e ]

The actual layout for OCELOT_GPIO_ALT[01] when there are more than 32 pins
is interleaved, i.e. OCELOT_GPIO_ALT0[0], OCELOT_GPIO_ALT1[0],
OCELOT_GPIO_ALT0[1], OCELOT_GPIO_ALT1[1]. Introduce a new REG_ALT macro to
facilitate the register offset calculation and use it where necessary.

Fixes: da801ab5

 pinctrl: ocelot: add MSCC Jaguar2 support
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
8e9734fd
Name Last commit Last update
Documentation Documentation/admin: Remove the vsyscall=native documentation
LICENSES LICENSES: Add GCC runtime library exception text
arch ARM: dts: imx6ul: fix PWM[1-4] interrupts
block block, bfq: NULL out the bic when it's no longer valid
certs kexec, KEYS: Make use of platform keyring for signature verify
crypto crypto: lrw - use correct alignmask
drivers pinctrl: ocelot: fix pinmuxing for pins after 31
fs afs: Fix uninitialised spinlock afs_volume::cb_break_lock
include drivers: base: cacheinfo: Ensure cpu hotplug work is done before Intel RDT
init initramfs: free initrd memory if opening /initrd.image fails
ipc ipc: prevent lockup on alloc_msg and free_msg
kernel perf/core: Fix perf_sample_regs_user() mm check
lib lib/mpi: Fix karactx leak in mpi_powm
mm mm/vmscan.c: prevent useless kswapd loops
net cfg80211: report measurement start TSF correctly
samples samples, bpf: suppress compiler warning
scripts scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE
security apparmor: reset pos on failure to unpack for various functions
sound ALSA: hda/realtek - Headphone Mic can't record after S3
tools selftests/powerpc: Add test of fork with mapping above 512TB
usr user/Makefile: Fix typo and capitalization in comment section
virt KVM: arm/arm64: Fix emulated ptimer irq injection
.clang-format clang-format: Update with the latest for_each macro list
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore kbuild: Add support for DT binding schema checks
.mailmap Update Nicolas Pitre's email address
COPYING COPYING: use the new text with points to the license files
CREDITS Merge tag 'char-misc-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Kbuild Merge tag 'kbuild-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Kconfig kconfig: move the "Executable file formats" menu to fs/Kconfig.binfmt
MAINTAINERS Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Makefile Linux 5.1.18
README Drop all 00-INDEX files from Documentation/
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.