Add Sm4450 pinctrl driver for support enable uart console.
Signed-off-by: Tengfei Fan <[email protected]>
---
v2 -> v3:
- update example pieces
- update gpio pins pattern
v1 -> v2:
- update right platform name
- update gpio-reserved-ranges have right maxItems
- update gpio-line-names have right maxItems
- add min/maxItems for pins properties
- redo dt_binding_check check
- delete reserved gpios setting
- combine separate pinctrl functions
previous discussion here:
[1] v1: https://lore.kernel.org/linux-arm-msm/[email protected]
[2] v2: https://lore.kernel.org/linux-arm-msm/[email protected]
Tengfei Fan (2):
dt-bindings: pinctrl: qcom: Add SM4450 pinctrl
pinctrl: qcom: Add SM4450 pinctrl driver
.../bindings/pinctrl/qcom,sm4450-tlmm.yaml | 151 +++
drivers/pinctrl/qcom/Kconfig.msm | 8 +
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-sm4450.c | 1013 +++++++++++++++++
4 files changed, 1173 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml
create mode 100644 drivers/pinctrl/qcom/pinctrl-sm4450.c
base-commit: dfa449a58323de195773cf928d99db4130702bf7
--
2.17.1