mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From 50cba35f0ba469688a5f87c20f90e6ce4554bbcc Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Fri, 19 Apr 2024 15:02:02 +0100
|
|
Subject: [PATCH 1044/1085] ARM: dts: Add strict_gpiod dtparam
|
|
|
|
Setting strict_gpiod disables the GPIO output persistence, such that
|
|
pins are returned to being inputs when they are released. Note that
|
|
this applies to the GPIO/pinctrl driver for the user-facing GPIOs,
|
|
not the SoC GPIOs on Pi 5.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi | 2 ++
|
|
arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi | 1 +
|
|
2 files changed, 3 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi
|
|
+++ b/arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi
|
|
@@ -110,6 +110,8 @@
|
|
cam0_sync_inverted = <&csi0>, "sync-gpios:0=", <&gpio>,
|
|
<&csi0>, "sync-gpios:4",
|
|
<&csi0>, "sync-gpios:8=0", <GPIO_ACTIVE_LOW>;
|
|
+
|
|
+ strict_gpiod = <&chosen>, "bootargs=pinctrl_bcm2835.strict_gpiod=y";
|
|
};
|
|
};
|
|
|
|
--- a/arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi
|
|
+++ b/arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi
|
|
@@ -99,6 +99,7 @@
|
|
nvmem_cust_rw = <&nvmem_cust>,"rw?";
|
|
nvmem_priv_rw = <&nvmem_priv>,"rw?";
|
|
nvmem_mac_rw = <&nvmem_mac>,"rw?";
|
|
+ strict_gpiod = <&chosen>, "bootargs=pinctrl_rp1.strict_gpiod=y";
|
|
};
|
|
};
|
|
|