Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3256402rwi; Sun, 16 Oct 2022 07:49:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6xuVVbTeRAaVyQ3JkVM2gOkUAOql5dpCz86Rp/U+1ip3jEcgYUyWVI4Xmfk2GZN460jGRc X-Received: by 2002:a17:90a:ca96:b0:20b:6ff:1b2 with SMTP id y22-20020a17090aca9600b0020b06ff01b2mr8631543pjt.228.1665931794196; Sun, 16 Oct 2022 07:49:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665931794; cv=none; d=google.com; s=arc-20160816; b=Cg/GBPdaHiw92yGhTk92jBJDmd3SBr1x2lf/dy5R10YA3XmpF8rTZWtSaDawyXXSGT huX4YvWir8QZHa4WxmjuzghHpTf80Y1BPvifQu24XtVYcDt5PWxciCu6wr4X8thazwge 05aAU9P0SmZV+neeCVCXpm8rpIV2WPAJszabRZx7LUA7X1yR4icJ/4c8e62HfmrrXObL IKMKthBKN0I4Au2QBkeI+b11csyp7iVjNPssoGMYunpYaEiEBY8WTgIhRGT5EIHeYsmJ eEXt6aTWjHYk0y26WqFvKg9xht1JoASBig5OULQ7CdNC2uc3nZ/8idSmlzAz5cW+JWBc md5Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qykf9cobLBLPVoVdRp46OEJmyRQZ5GGRqXYXF3AhMqQ=; b=VkKKsIC07NruAgR7448QSjPfPhquP/Yu5UKtwPFzC5M2r8zMKdcEr5ZLhhT/V/gbsb XzK9+Cdu94GfzuOiuu0o7W0l1JqC05FLEn4pli6FxBJ9OY4HutRHPIF6w11zUevY5yow R71fhzyCtZcisdm01JqKePjbFPsF862E+7YJ+Hj8ZhwBGzY0DnoreBZIZl348ybl8dJN A5akVkCzWthJhXqqttIV0tV2ch6HdsSLxIHpYMMCxQGJYSbQReRCBmbhz07LH5HT+6bc 4mruuOCxGRdRbw61SgAKLTuBYlHuPxgL6/FLSgc85xRZ2NOB1bVhsQHVHPod6J1DKV8v dcMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=c8kihdYu; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p4-20020a637f44000000b0046b3dce8455si410740pgn.14.2022.10.16.07.49.42; Sun, 16 Oct 2022 07:49:54 -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=@postmarketos.org header.s=donut header.b=c8kihdYu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229729AbiJPOsI (ORCPT + 99 others); Sun, 16 Oct 2022 10:48:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbiJPOsF (ORCPT ); Sun, 16 Oct 2022 10:48:05 -0400 Received: from proxmox1.postmarketos.org (proxmox1.postmarketos.org [213.239.216.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 881B42EF02; Sun, 16 Oct 2022 07:48:04 -0700 (PDT) Received: from localhost.localdomain (cpc76482-cwma10-2-0-cust629.7-3.cable.virginm.net [86.14.22.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by proxmox1.postmarketos.org (Postfix) with ESMTPSA id 3CAFF140236; Sun, 16 Oct 2022 14:48:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1665931682; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qykf9cobLBLPVoVdRp46OEJmyRQZ5GGRqXYXF3AhMqQ=; b=c8kihdYuOdk+wvDvnRIOYzfEP/CE3sto28l9Tg2PdRQGotNs+L1vXsXBBpWALBBLZWnaGO kn7UecA9sqhpj3EDqtB+p70ydLJjL4G5iPfdIJIaSaHbGBHpxteJKPzwOBwoxItg+OLLtH 1Tfq917jRP9lLTFRgoJOckX2J/LP088= From: Caleb Connolly To: caleb@connolly.tech 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: [RESEND PATCH 1/7] arm64: dts: qcom: sdm845: commonize bluetooth UART pinmux Date: Sun, 16 Oct 2022 15:47:07 +0100 Message-Id: <20221016144714.1742824-2-kc@postmarketos.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221016144714.1742824-1-kc@postmarketos.org> References: <20221016144714.1742824-1-kc@postmarketos.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 From: Caleb Connolly 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/qcom/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 { }; }; + qup_uart6_4pin: qup-uart6-4pin { + pinmux { + pins = "gpio45", "gpio46", "gpio47", "gpio48"; + function = "qup6"; + }; + + cts { + pins = "gpio45"; + bias-pull-down; + }; + + rts-tx { + pins = "gpio46", "gpio47"; + drive-strength = <2>; + bias-disable; + }; + + rx { + pins = "gpio48"; + bias-pull-up; + }; + }; + qup_uart7_default: qup-uart7-default { pinmux { pins = "gpio95", "gpio96"; -- 2.38.0