[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250130-kona-gpio-fixes-v1-0-dd61e0c0a9e7@gmail.com>
Date: Thu, 30 Jan 2025 18:10:36 +0100
From: Artur Weber <aweber.kernel@...il.com>
To: Ray Jui <rjui@...adcom.com>,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Scott Branden <sbranden@...adcom.com>,
Markus Mayer <markus.mayer@...aro.org>, Tim Kryger <tim.kryger@...aro.org>,
Matt Porter <matt.porter@...aro.org>, Markus Mayer <mmayer@...adcom.com>,
Christian Daudt <csd@...adcom.com>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht,
Artur Weber <aweber.kernel@...il.com>
Subject: [PATCH 0/3] gpio: bcm-kona: Various GPIO fixups
Fixes two issues that were preventing GPIO from working correctly:
- Lock/unlock functions tried to write the wrong bit to the unlock
registers for GPIOs with numbers larger than 32
- GPIOs only initialized as IRQs did not unlock the configuration
registers, causing IRQ-related configuration (e.g. setting the IRQ
type) to fail.
Also includes a minor fix to add a missing newline to an error message.
Tested on a Samsung Galaxy Grand Neo (baffinlite rev02) with a BCM23550
(DTS not yet in mainline).
Signed-off-by: Artur Weber <aweber.kernel@...il.com>
---
Artur Weber (3):
gpio: bcm-kona: Fix GPIO lock/unlock for banks above bank 0
gpio: bcm-kona: Make sure GPIO bits are unlocked when requesting IRQ
gpio: bcm-kona: Add missing newline to dev_err format string
drivers/gpio/gpio-bcm-kona.c | 73 ++++++++++++++++++++++++++++++++++++--------
1 file changed, 60 insertions(+), 13 deletions(-)
---
base-commit: ffd294d346d185b70e28b1a28abe367bbfe53c04
change-id: 20250130-kona-gpio-fixes-6e74595e69f2
Best regards,
--
Artur Weber <aweber.kernel@...il.com>
Powered by blists - more mailing lists