diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-08-02 17:39:45 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-08-30 00:18:23 +0200 |
commit | 36c9d012f193747d42af80b634217addd974c522 (patch) | |
tree | 096f946184efed19ebbf0dd98aa9d7409f3f5633 /arch/arm64/boot/dts/qcom/msm8994.dtsi | |
parent | arm64: dts: qcom: sdm845-db845c: drop gpios from CCI I2C sensors (diff) | |
download | linux-36c9d012f193747d42af80b634217addd974c522.tar.xz linux-36c9d012f193747d42af80b634217addd974c522.zip |
arm64: dts: qcom: use GPIO flags for tlmm
Use respective GPIO_ACTIVE_LOW/HIGH flags for tlmm GPIOs. Include
gpio.h header if this is first usage of that flag.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220802153947.44457-4-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8994.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8994.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi index 8bc6c070e306..86ef0091caff 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -6,6 +6,7 @@ #include <dt-bindings/clock/qcom,gcc-msm8994.h> #include <dt-bindings/clock/qcom,mmcc-msm8994.h> #include <dt-bindings/clock/qcom,rpmcc.h> +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/power/qcom-rpmpd.h> / { @@ -502,7 +503,7 @@ pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; - cd-gpios = <&tlmm 100 0>; + cd-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>; bus-width = <4>; status = "disabled"; }; |