summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen Wang <[email protected]>2024-05-28 16:24:47 +0800
committerRbb666 <[email protected]>2024-07-16 11:37:23 +0800
commita63c07fd75ec9632e063646f043db3bfdad2aa49 (patch)
tree79a49d691ce104675caf5c069dec6c9a42ff1a4b /include
parent80668e0ba20572d98300fdbaeb31a7aaf698b443 (diff)
bsp: cvitek: new design for pinmux
In the new design, we require the user to manually enter the PinName (as a string) in menuconfig instead of being given menu items to select. The original method will lead to too many menu item-related macros being defined in the code, causing ifdef and other codes scatter everywhere in the driver code, which is inconvenient to maintain. The new design adds a pinmux driver module to manage the multiplexing of pins. This patch provides this driver module. P.S., the reason why users are allowed to specify pinname in a string instead of the pin number is mainly because the technical manual provided by the SOC manufacturer does not have numbers for some pins, only names. Signed-off-by: Chen Wang <[email protected]> Reviewed-by: Yuanjie He <[email protected]> Reviewed-by: Shell <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions