[PATCH 0/2] ARM: bcm: nsp: gpio improvements (hopefully)

From: Chris Packham
Date: Fri Oct 25 2019 - 00:01:09 EST


I'm working on a platform using the BCM 58525 SoC. I noticed that some of
the peripherals were being deferred (not that that's a problem) and debugfs
was complaining "File ':axi@18000000:gpio@20' in directory 'domains' already
present!" which is more of a sign that things were not right.

The debugfs error was because the manually created irq domain was not
cleaned up on failure (or deferral). The deferral was happening because the
pinctrl node had not been probed.

These two patches take care of these problems.

Chris Packham (2):
pinctrl: bcm: nsp: use gpiolib infrastructure for interrupts
ARM: dts: NSP: avoid unnecessary probe deferrals

arch/arm/boot/dts/bcm-nsp.dtsi | 14 ++--
drivers/pinctrl/bcm/pinctrl-nsp-gpio.c | 105 ++++++++++---------------
2 files changed, 49 insertions(+), 70 deletions(-)

--
2.23.0