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 <justin@dynam.ac>
This commit is contained in:
Justin Hammond 2026-08-02 16:02:16 +08:00 • committed by Xiang Xiao
parent 2bd1334ec4
commit 4a08b90a29
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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