Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3268999rwi; Sun, 16 Oct 2022 08:02:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5/v90i081kvDEy/CggHaJp3BMoWMaSQdaR3h9BBjUNar4nlX5Hs1bLZ4allnX8WZAP20/Y X-Received: by 2002:a17:907:74a:b0:77e:9455:b4e1 with SMTP id xc10-20020a170907074a00b0077e9455b4e1mr5530780ejb.462.1665932530753; Sun, 16 Oct 2022 08:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665932530; cv=none; d=google.com; s=arc-20160816; b=aIyISo5gyxk24jjkEE+dW/OY17rYQFpBMx/NmNqXBZ1Sf5PIohYYQGH3C2lL5N8uyi sZV8YoeEviTX5kJrgJN7cVYotg/whvamkM2z0+EFq9SRG0idxIG5SC1pGhaxwyLgvR7C tGoUt2A7tV72ffAiW12qJWFG8TnZIOAQe81uhwvJXqwvLgq/Aq2m2KhOa013zH6EZpzm DGpYR7T/3fuAylGYIkVC7okyM3HJMKF9WhnGP2nLJOkdQwRcVIVRWJH1hdmw+XfR0XbR wgvZrZsdOGnFj9hlW/5fdg5AEsbIT1nwV9eJ2K13za1qItGXhYO9ALUi4dde622+0b6U hUeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=DSlW8PNJtwCgbiq6siD3FnHoq6S/nqAGOOpU/YoqzYs=; b=ZF6FUtQsOPNw5rel8nIMWKK/rGfXBvJ7loNe2w7maMmgmF+gLdRP9zh1MiZgIvrR9G h+FApNjMtKkw3bhaTlsniUoeg4fIv15QxFzB5XYv7hEeM6eq3SOIh1DFXLIMkwlCNVXg ZUZe9HClUPzh3aUDHUaPGkxL5Wi8te8E7BCeB8kmfA5ennMY6sh8hq0KtwspQnd2ekaW kYd2r+VwdQcZWYZeBYxmZks7pULY+tN08thqHLE4YZYOc/7VP3vlapyRyjOTdjC/ph9M oD5aX2V7LVzyxWBHcGek5+ZMzdJQQtuzbz8d4ULMsLB/mSGtvszmo/XrqHn79jIVQmh8 4eVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="vV/qQ6as"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x95-20020a50bae8000000b00452dfa2bb27si6567093ede.134.2022.10.16.08.01.44; Sun, 16 Oct 2022 08:02:10 -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=@linaro.org header.s=google header.b="vV/qQ6as"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229793AbiJPO5S (ORCPT + 99 others); Sun, 16 Oct 2022 10:57:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbiJPO5R (ORCPT ); Sun, 16 Oct 2022 10:57:17 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 910DE3F1FD for ; Sun, 16 Oct 2022 07:57:15 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id 8so5346520qka.1 for ; Sun, 16 Oct 2022 07:57:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=DSlW8PNJtwCgbiq6siD3FnHoq6S/nqAGOOpU/YoqzYs=; b=vV/qQ6asJlxSPVcfjQJYDrv5VO6jXTRHaQoC52bpWb/eHqUFhRllYF01pr1+rac+An 4a43tN9UZBJuhbNv6wQpXtDGYee5PWgim5ry/pu1oXszsyNV6RMb7dyNK3pTxYl3t/ku UKH8yef3b3ojfn3LJOJa/HIhSlMEZHxHXsFMjV0j75zf73GStE4tAJpZqTbjmXR9ABBP Eot7sQoCUrR2lcEy2u6ZYnuVjR+MJ6Wh+e4/NdemIJ75gA2V93+bVXmcnxnf9lgRjyRC AkYy3ARp6XEVn01Ncbikq1B0+oO/EKCc8v5rVQmgXCW9EnTen4Z+VzDQzKUlQrAfrYCq 25Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DSlW8PNJtwCgbiq6siD3FnHoq6S/nqAGOOpU/YoqzYs=; b=j6+BhSUwWpsxigx6h6lHHZXbjcvfRrc2ecknVxVgod8Fn06J16h5ZmUCzOyGRL2fYh dKxJWSq6tsEMa3GJ4ztIV7Rn1wYmpuT6sjlbhqHkL6e0tM5XGFGQsWNbQsxB6tODt3x0 bYgIS5+eIEC5n5E+239rOUPJ305u8AwwRBb1SxSKsS2YxUnTj19djGaMQNdcEsiC/VDZ 095yQMB2pWTDv5ZseatmtFvdq7a2vR8I0Frk4xcoLjankg1Q87n9914SmCwDgiYTbm+l GgwKm0gEsbb9z6hvJHahKfPKOUshOhmV4wz2FhBz+40gji0JWf8wiRAMKlLEZJV5HxUK F/bA== X-Gm-Message-State: ACrzQf2+exU38UsHZ4JU57/i0Ty3fUCTLs7oxBbB89CuEgXrtCLTq8km CjFS2RlqIHMTo59YB+NPt2t1gQ== X-Received: by 2002:a05:620a:25d4:b0:6bb:f596:97d0 with SMTP id y20-20020a05620a25d400b006bbf59697d0mr4868999qko.411.1665932234683; Sun, 16 Oct 2022 07:57:14 -0700 (PDT) Received: from ?IPV6:2601:42:0:3450:9b13:d679:7b5b:6921? ([2601:42:0:3450:9b13:d679:7b5b:6921]) by smtp.gmail.com with ESMTPSA id r18-20020ac85212000000b0039a17374294sm5965001qtn.78.2022.10.16.07.57.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Oct 2022 07:57:13 -0700 (PDT) Message-ID: <82e4f75e-ddf1-de9c-f552-bde5e35009cb@linaro.org> Date: Sun, 16 Oct 2022 10:57:12 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH 1/7] arm64: dts: qcom: sdm845: commonize bluetooth UART pinmux Content-Language: en-US To: 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 References: <20221016143300.1738550-1-caleb@connolly.tech> <20221016143300.1738550-2-caleb@connolly.tech> From: Krzysztof Kozlowski In-Reply-To: <20221016143300.1738550-2-caleb@connolly.tech> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 16/10/2022 10:33, Caleb Connolly wrote: > 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 +++++++++++++++++++++++ The move should happen here. Otherwise you add new nodes and we cannot see in one place how the old nodes look like. > 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 { -state suffix > + pinmux { > + pins = "gpio45", "gpio46", "gpio47", "gpio48"; Drop pinmux node entirely and put function to others. > + function = "qup6"; > + }; > + > + cts { -pins suffix > + pins = "gpio45"; > + bias-pull-down; > + }; > + > + rts-tx { -pins suffix > + pins = "gpio46", "gpio47"; > + drive-strength = <2>; > + bias-disable; > + }; > + > + rx { -pins suffix > + pins = "gpio48"; > + bias-pull-up; > + }; > + }; > + > qup_uart7_default: qup-uart7-default { > pinmux { > pins = "gpio95", "gpio96"; > -- > 2.38.0 > > Best regards, Krzysztof