Re: [PATCH 1/4] arm64: dts: qcom: sdm630: add UART pin functions

From: Konrad Dybcio
Date: Fri Oct 07 2022 - 15:39:29 EST




On 6.10.2022 12:41, Krzysztof Kozlowski wrote:
> Configure UART1 and UART2 pins to respective functions in default state,
> otherwise the pins might stay as GPIOs.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>

Konrad
> arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
> index e119060ac56c..bc7c341e793c 100644
> --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
> @@ -723,6 +723,7 @@ tlmm: pinctrl@3100000 {
>
> blsp1_uart1_default: blsp1-uart1-default {
> pins = "gpio0", "gpio1", "gpio2", "gpio3";
> + function = "blsp_uart1";
> drive-strength = <2>;
> bias-disable;
> };
> @@ -735,6 +736,7 @@ blsp1_uart1_sleep: blsp1-uart1-sleep {
>
> blsp1_uart2_default: blsp1-uart2-default {
> pins = "gpio4", "gpio5";
> + function = "blsp_uart2";
> drive-strength = <2>;
> bias-disable;
> };