summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2020-06-22 17:17:49 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-07-16 07:00:44 +0200
commit6554a295042f714cef20cce67803ec71f1eb913a (patch)
treef8256021fad34b3441642d99c260009e19f77141 /arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
parentarm64: dts: msm8916-samsung/longcheer: Move pinctrl/regulators to end of file (diff)
downloadlinux-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.dts26
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;
};
};