diff options
author | Georgii Staroselskii <georgii.staroselskii@emlid.com> | 2018-09-11 13:31:07 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2018-09-17 17:35:52 +0800 |
commit | 355c9b757e1110151c78ea82fd834e6cb09bdb96 (patch) | |
tree | 57f0437dddc32e4049f6d8e4b9ac88737317cf64 /arch/x86/dts | |
parent | 224742a390f48c64aac75095c7ac251077f07bdb (diff) | |
download | u-boot-355c9b757e1110151c78ea82fd834e6cb09bdb96.tar.gz u-boot-355c9b757e1110151c78ea82fd834e6cb09bdb96.tar.xz u-boot-355c9b757e1110151c78ea82fd834e6cb09bdb96.zip |
x86: tangier: pinmux: add API to configure protected pins
This API is going to be used to configure some pins that are protected
for simple modification.
It's not a comprehensive pinctrl driver but can be turned into one
when we need this in the future. Now it is planned to be used only
in one place. So that's why I decided not to pollute the codebase with a
full-blown pinctrl-merrifield nobody will use.
This driver reads corresponding fields in DT and configures pins
accordingly.
The "protected" flag is used to distinguish configuration of SCU-owned
pins from the ordinary ones.
The code has been adapted from Linux work done by Andy Shevchenko
in pinctrl-merrfifield.c
Signed-off-by: Georgii Staroselskii <georgii.staroselskii@emlid.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: fix build warning]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/dts')
0 files changed, 0 insertions, 0 deletions