Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
From 384ad7fd45ab61b8260f400a069d2ca5e7dffe82 Mon Sep 17 00:00:00 2001
|
||||
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
||||
Date: Thu, 16 May 2024 18:24:01 +0100
|
||||
Subject: [PATCH 1090/1135] dtoverlays: Fix noints mode of mcp23017
|
||||
|
||||
noints mode disables 2 fragments that configure a GPIO to
|
||||
be used for the interrupt line from the MCP23017, but fails
|
||||
to remove the pinctrl-0 reference or pinctrl-names.
|
||||
It therefore fails to load due to an invalid phandle.
|
||||
|
||||
Move the pinctrl-0 and pinctrl-names properties so they
|
||||
also get disabled by the noints override.
|
||||
|
||||
https://forums.raspberrypi.com/viewtopic.php?t=370907
|
||||
|
||||
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
||||
---
|
||||
arch/arm/boot/dts/overlays/mcp23017-overlay.dts | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/arch/arm/boot/dts/overlays/mcp23017-overlay.dts
|
||||
+++ b/arch/arm/boot/dts/overlays/mcp23017-overlay.dts
|
||||
@@ -34,6 +34,8 @@
|
||||
target = <&mcp23017>;
|
||||
mcp23017_irq: __overlay__ {
|
||||
#interrupt-cells=<2>;
|
||||
+ pinctrl-name = "default";
|
||||
+ pinctrl-0 = <&mcp23017_pins>;
|
||||
interrupt-parent = <&gpio>;
|
||||
interrupts = <4 2>;
|
||||
interrupt-controller;
|
||||
@@ -49,8 +51,6 @@
|
||||
|
||||
mcp23017: mcp@20 {
|
||||
compatible = "microchip,mcp23017";
|
||||
- pinctrl-name = "default";
|
||||
- pinctrl-0 = <&mcp23017_pins>;
|
||||
reg = <0x20>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
Reference in New Issue
Block a user