From 4a08b90a293d1b58d1e40de7ea4513ed816d9a4f Mon Sep 17 00:00:00 2001 From: Justin Hammond Date: Sun, 2 Aug 2026 16:02:16 +0800 Subject: [PATCH] boards/risc-v/eic7700x: Enable the pinctrl procfs entry. Publishes /proc/pinctrl on both boards, which lists every pad with the function it currently carries. The startup banner counts how many pads differ from their reset values, once, at boot; this answers the same question at any later moment, which is what is wanted when a driver has just reconfigured a pad and the result is not what was expected. PINCTRL_PROCFS depends on FS_PROCFS_REGISTER, the entry registering itself at run time rather than being one of the built in ones. Neither board set it, and without it the symbol is dropped when the configuration is regenerated and the entry never appears, which is silent: the defconfig still reads as though the feature were on. Assisted-by: Claude:claude-opus-5 Signed-off-by: Justin Hammond --- boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig | 1 + boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig b/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig index 649b462b056..43f1c9630da 100644 --- a/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig +++ b/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig @@ -94,6 +94,7 @@ CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_FILE_APPS=y CONFIG_NSH_READLINE=y CONFIG_PATH_INITIAL="/system/bin" +CONFIG_PINCTRL_PROCFS=y CONFIG_POSIX_SPAWN_DEFAULT_STACKSIZE=2048 CONFIG_RAMLOG=y CONFIG_RAMLOG_BUFSIZE=32768 diff --git a/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig b/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig index 7e0b27ad46f..f70ba3d07ad 100644 --- a/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig +++ b/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig @@ -90,6 +90,7 @@ CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_FILE_APPS=y CONFIG_NSH_READLINE=y CONFIG_PATH_INITIAL="/system/bin" +CONFIG_PINCTRL_PROCFS=y CONFIG_POSIX_SPAWN_DEFAULT_STACKSIZE=2048 CONFIG_RAMLOG=y CONFIG_RAMLOG_BUFSIZE=32768