diff options
author | Pali Rohár <pali@kernel.org> | 2022-09-22 13:25:13 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-09-26 10:04:37 +0200 |
commit | 54bcd84adf2dd2a42552143549541b2c809869a6 (patch) | |
tree | 2ef163a8e4bbe71004caee4daa3ad8e2e52d873c /fs/btrfs/disk-io.c | |
parent | 435596d57f8beedf36b5dc858fe7ba9d6c03334b (diff) |
gpio: turris_omnia_mcu: Fix registering gpios
Currently all GPIOs supported by CMD_EXT_CONTROL/CMD_GET_EXT_CONTROL_STATUS
commands (last 16 GPIOs) are available only when FEAT_PERIPH_MCU feature
bit is set. So do not register these GPIOs by U-Boot driver when this
feature bit is not set, so U-Boot 'gpio' command would see only GPIOs which
really exists.
Fixes: 5e4d24ccc115 ("gpio: Add Turris Omnia MCU driver")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions