55 lines
2.8 KiB
Diff
55 lines
2.8 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|||
|
|
From: Codex <codex@example.com>
|
||
|
|
Date: Mon, 13 Jul 2026 00:00:00 +0800
|
||
|
|
Subject: [PATCH] uis7885: enable GPIO sysfs userspace interface
|
||
|
|
|
||
|
|
Enable the legacy /sys/class/gpio interface so GPIOs can be exported and
|
||
|
|
controlled from userspace with echo commands.
|
||
|
|
---
|
||
|
|
.../linux/linux-unisoc-5.4/uis7885/product/wifionly/sprd_uis7885_defconfig | 2 +-
|
||
|
|
.../linux/linux-unisoc-5.4/uis7885/recovery_uis7885_defconfig | 2 +-
|
||
|
|
.../linux/linux-unisoc-5.4/uis7885/sprd_uis7885_defconfig | 2 +-
|
||
|
|
3 files changed, 3 insertions(+), 3 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/product/wifionly/sprd_uis7885_defconfig b/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/product/wifionly/sprd_uis7885_defconfig
|
||
|
|
index 000000000000..000000000000 100755
|
||
|
|
--- a/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/product/wifionly/sprd_uis7885_defconfig
|
||
|
|
+++ b/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/product/wifionly/sprd_uis7885_defconfig
|
||
|
|
@@ -2584,7 +2584,7 @@ CONFIG_GPIOLIB_FASTPATH_LIMIT=512
|
||
|
|
CONFIG_OF_GPIO=y
|
||
|
|
CONFIG_GPIOLIB_IRQCHIP=y
|
||
|
|
# CONFIG_DEBUG_GPIO is not set
|
||
|
|
-# CONFIG_GPIO_SYSFS is not set
|
||
|
|
+CONFIG_GPIO_SYSFS=y
|
||
|
|
|
||
|
|
#
|
||
|
|
# Memory mapped GPIO drivers
|
||
|
|
diff --git a/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/recovery_uis7885_defconfig b/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/recovery_uis7885_defconfig
|
||
|
|
index 000000000000..000000000000 100755
|
||
|
|
--- a/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/recovery_uis7885_defconfig
|
||
|
|
+++ b/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/recovery_uis7885_defconfig
|
||
|
|
@@ -2584,7 +2584,7 @@ CONFIG_GPIOLIB_FASTPATH_LIMIT=512
|
||
|
|
CONFIG_OF_GPIO=y
|
||
|
|
CONFIG_GPIOLIB_IRQCHIP=y
|
||
|
|
# CONFIG_DEBUG_GPIO is not set
|
||
|
|
-# CONFIG_GPIO_SYSFS is not set
|
||
|
|
+CONFIG_GPIO_SYSFS=y
|
||
|
|
|
||
|
|
#
|
||
|
|
# Memory mapped GPIO drivers
|
||
|
|
diff --git a/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/sprd_uis7885_defconfig b/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/sprd_uis7885_defconfig
|
||
|
|
index 000000000000..000000000000 100755
|
||
|
|
--- a/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/sprd_uis7885_defconfig
|
||
|
|
+++ b/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/sprd_uis7885_defconfig
|
||
|
|
@@ -2584,7 +2584,7 @@ CONFIG_GPIOLIB_FASTPATH_LIMIT=512
|
||
|
|
CONFIG_OF_GPIO=y
|
||
|
|
CONFIG_GPIOLIB_IRQCHIP=y
|
||
|
|
# CONFIG_DEBUG_GPIO is not set
|
||
|
|
-# CONFIG_GPIO_SYSFS is not set
|
||
|
|
+CONFIG_GPIO_SYSFS=y
|
||
|
|
|
||
|
|
#
|
||
|
|
# Memory mapped GPIO drivers
|
||
|
|
--
|
||
|
|
2.34.1
|