Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3249088rwi; Sun, 16 Oct 2022 07:41:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7jasa5ww2gqAhWgdwK0pJIpCqIkbVsbR2y8ZGkmELMcswugbuFxCnuxsW/Raww1XFKlHaf X-Received: by 2002:a17:902:e9ca:b0:17f:93b5:5ec8 with SMTP id 10-20020a170902e9ca00b0017f93b55ec8mr7332600plk.59.1665931300885; Sun, 16 Oct 2022 07:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665931300; cv=none; d=google.com; s=arc-20160816; b=AGnOwiH4YnZnvZp633Dewovc0DS5rbLESJtPtCPLeuAyEMQAu+HFZP3LTRfhBJl5S8 V4umD2YB5mzmdQT5sHJFbvXwE7rT3govNSfK1HNLqu2V7/WWTd8rnSHohzeduDQQvDQg 9QmJcpNFuwoEs1MVKkDjS73VBd4eVW7cPf8r6DwjERcYaTlP12aO57lXZcTdRG2Vt3M1 rdf1enQH2n/8IcUsb+T9PoiUEj6uevhuKxIiSn9Ev6dukzFHcn7JRdOH1Qf60fne0nI9 xpzznmN0NYmVC2IisZoYGA8lYBYq5FH2LFvKSLGkeITMLDizLFfyBgCSue6P6lCnfJpp 0M4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=WnxtVrYBr40QFa/agfVuW7lN496SFcxiF7zdspp9/LY=; b=HwCv2RDZeduAzuYydbpNQa5MdqLxeME4tRR/WjJkb0dJcM6TjBy/EerHtTb+30+byN NfTTUtfzp1tJuAFmo+KWraV0D4m3fUa+1It+CuBAY+qBUWhE52vXWtXaCVy1BFysi2Ky R3AnWCzQTk26SDXFCRv7yMrLO9flPUmIBinJdCLTodgG4x4x/KBVDmavYM7SkB6TGio2 8tR7B9g/HXBkFI3a+TRHLXV4pWLosBMyk+RIEeUzxR7kHFZTH4PuK1xn58RNia08onvG EC8nA0Kse9wTbB8e8LEIT3DsS92g366Dd3TsVO1iWiezpTf36kDcSPh8yOUsaE96c253 8rJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@connolly.tech header.s=protonmail header.b=PflAHFt2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=connolly.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a17090ab30100b001f4fc7af64esi13601008pjr.101.2022.10.16.07.41.28; Sun, 16 Oct 2022 07:41:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@connolly.tech header.s=protonmail header.b=PflAHFt2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=connolly.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229737AbiJPOdr (ORCPT + 99 others); Sun, 16 Oct 2022 10:33:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbiJPOdq (ORCPT ); Sun, 16 Oct 2022 10:33:46 -0400 Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1725D31FB9; Sun, 16 Oct 2022 07:33:46 -0700 (PDT) Date: Sun, 16 Oct 2022 14:33:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1665930824; x=1666190024; bh=WnxtVrYBr40QFa/agfVuW7lN496SFcxiF7zdspp9/LY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=PflAHFt2bdd3iQms26MO3YsiI0fVkHv3f9Ius6HbxbVvIPtGHiidwGfP7tplXnnYN 7Z7DYt85V5zPhYaxSkTZXHfawQpu/oieWf+GgX+FQgwLJF6uTQpicbyizaenWz5+ET tTaUpquiICQNVOvUy0S7b6MElxobj0OX9Y4wIZis= To: caleb@connolly.tech From: Caleb Connolly Cc: Dmitry Baryshkov , Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 1/7] arm64: dts: qcom: sdm845: commonize bluetooth UART pinmux Message-ID: <20221016143300.1738550-2-caleb@connolly.tech> In-Reply-To: <20221016143300.1738550-1-caleb@connolly.tech> References: <20221016143300.1738550-1-caleb@connolly.tech> Feedback-ID: 10753939:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,TO_EQ_FM_DIRECT_MX autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 4-pin configuration for UART6 is used for all or almost all SDM845 devices with built in Bluetooth. Move the pinmux configuration to sdm845.dtsi in preparation to be removed from individual devices in future patches. Suggested-by: Dmitry Baryshkov Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qco= m/sdm845.dtsi index f0e286715d1b..8c69942b969b 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2971,6 +2971,29 @@ pinmux { =09=09=09=09}; =09=09=09}; +=09=09=09qup_uart6_4pin: qup-uart6-4pin { +=09=09=09=09pinmux { +=09=09=09=09=09pins =3D "gpio45", "gpio46", "gpio47", "gpio48"; +=09=09=09=09=09function =3D "qup6"; +=09=09=09=09}; + +=09=09=09=09cts { +=09=09=09=09=09pins =3D "gpio45"; +=09=09=09=09=09bias-pull-down; +=09=09=09=09}; + +=09=09=09=09rts-tx { +=09=09=09=09=09pins =3D "gpio46", "gpio47"; +=09=09=09=09=09drive-strength =3D <2>; +=09=09=09=09=09bias-disable; +=09=09=09=09}; + +=09=09=09=09rx { +=09=09=09=09=09pins =3D "gpio48"; +=09=09=09=09=09bias-pull-up; +=09=09=09=09}; +=09=09=09}; + =09=09=09qup_uart7_default: qup-uart7-default { =09=09=09=09pinmux { =09=09=09=09=09pins =3D "gpio95", "gpio96"; -- 2.38.0