diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2020-06-22 17:17:49 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-07-16 07:00:44 +0200 |
commit | 6554a295042f714cef20cce67803ec71f1eb913a (patch) | |
tree | f8256021fad34b3441642d99c260009e19f77141 /arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts | |
parent | arm64: dts: msm8916-samsung/longcheer: Move pinctrl/regulators to end of file (diff) | |
download | linux-6554a295042f714cef20cce67803ec71f1eb913a.tar.xz linux-6554a295042f714cef20cce67803ec71f1eb913a.zip |
arm64: dts: qcom: msm8916: Simplify pinctrl configuration
So far we have been separating pinctrl entries into pinmux/pinconf.
It turns out it is also possible to combine them: The advantage is
that the device tree is overall more concise because the "pins"
to configure just need to be specified once, not separately for
pinmux/pinconf.
Using the simpler form only for new entries would be rather confusing.
This commit makes all MSM8916 device trees use the simplfied form.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200622151751.408995-3-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts')
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts index ed105e06c3fc..9f2c8e94fd26 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts @@ -236,25 +236,17 @@ &msmgpio { gpio_keys_default: gpio-keys-default { - pinmux { - function = "gpio"; - pins = "gpio107"; - }; - pinconf { - pins = "gpio107"; - drive-strength = <2>; - bias-pull-up; - }; + pins = "gpio107"; + function = "gpio"; + + drive-strength = <2>; + bias-pull-up; }; usb_vbus_default: usb-vbus-default { - pinmux { - function = "gpio"; - pins = "gpio62"; - }; - pinconf { - pins = "gpio62"; - bias-pull-up; - }; + pins = "gpio62"; + function = "gpio"; + + bias-pull-up; }; }; |