Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp367202rwb; Sat, 1 Oct 2022 00:47:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4v7zuIp2vWPxVQOYqLzT0/eYL7GW5GoC93mlHnenb6EnNjFl4/OlEoVUbah0zlJKXiKWwZ X-Received: by 2002:a05:6402:28ca:b0:43b:5235:f325 with SMTP id ef10-20020a05640228ca00b0043b5235f325mr10457489edb.320.1664610448531; Sat, 01 Oct 2022 00:47:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664610448; cv=none; d=google.com; s=arc-20160816; b=OAgjuKxsUTOuDPzxHVez2GVMqcb2Q5CCh+ufa3MLlHWL/dReb/eG3Lbgq8cWPC6AIg KytoHvPrmb86VKhdc9IK3yWGX6WT2kqgJeGTFACzZbc6M3Vq72PmJRuS5WhFTZ5YVM7J cedSBtHwgJZ/BIA4dbg06SH9UsuaTjWSg377yynYaNryVY+8EC+ULPdldJ8wJV+oceEg fPu+WIdZWHaTcO6STugadq/XYw2WH6FKS1d1LTfG3BkMEPgWYc0InWbfUFD83ImL9JKN zvl6fVUfWPNSVD3foxdMZSbx4iev5Q1NPsafPfmtJPC3ak3K7q3/j1iWLvPPFcIUG+q9 4X/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DevjoDpfP5UnShykN/LnwC7RCgHNGoNt3dRFdFAks5Y=; b=Dz/FK3OZDwM3yrnrjOhjyd/cDLJ6pk+lD6ROKgZIZOINOErKo+QLcaFMW97gIHYidu kZvkdi+lxq++YnppEfGknCqRi44hELBonNmHcm7UuwOrNCMAI8Yi2tYwMi/lEAJCYTK1 owX6b/rsONYqSKF8UXUdOhy+1GDn3wj/KaFXCwqGNlxCPE0gwqicvKY3P5EI4Maajpvc RErzazM85Pe8aqFvnzbOcHXMwbhxXOU40HeOshljWiIEglBGFUYUfbZfW3v6AC/NNioB xxb0ehEj2aX5lOpNjvQuy4fJ08Wek9mxgRQ2llNNrK3GeiiROEtv/ThPmm1iCrmpsuHK oXZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KAxUG2to; 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 f30-20020a50a6de000000b0044e8fe826a0si3910969edc.156.2022.10.01.00.47.03; Sat, 01 Oct 2022 00:47:28 -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=KAxUG2to; 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 S229583AbiJAH01 (ORCPT + 99 others); Sat, 1 Oct 2022 03:26:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbiJAH0Y (ORCPT ); Sat, 1 Oct 2022 03:26:24 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 110B72AC6D for ; Sat, 1 Oct 2022 00:26:23 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id 207so4434076ybn.1 for ; Sat, 01 Oct 2022 00:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=DevjoDpfP5UnShykN/LnwC7RCgHNGoNt3dRFdFAks5Y=; b=KAxUG2tomJwHYSXF11aSbULR3zxyKpsEmZCqKk6pwrgvSLFv6qF6r64leeR3s7Fn9W k4qIRcQ35RenGH2zMZwQ2x1h1gjNJI7sCA+HDX6jYT+jWKs3uz/stlDlVe1VwEaYLPly Sh1PE1DrLMqRr99gdj00okg/RzgWj+CqWOeNMpWKalepurvmG2INFZcex3FUqXEoe6Pg r354tkjJ/YByfTVmv7Y07n7II3jWaZc5R73UEqMHQB6UDy43xR6gtU9XHPstUb79/Img 9N+a7IsKwkDck8+DPykIgfsXqCHZNXR+tAUv3KtZDbAZvPtDP6fAEBfv/YeBXKOI+6gj 6S3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=DevjoDpfP5UnShykN/LnwC7RCgHNGoNt3dRFdFAks5Y=; b=JEpv2YZ32bSduliMtLH2WWv0XPmuzgO+oRmaIyVNXi1/BAt3ChhU3mMv5pHqjxYRnK UKkz6XWrrwuiHUA4Rt+BsLsqmhJX1sGbCtKXUWrQ4hU43TTWarS33dpwFRZ2X47bA2/L 0sTwkWnWboibpeuK3iTmnDXVTO5jp3Or752BYQ5YjZHU1ZVAZa647CYWBJfe/cWUMYft zoqxqttwA8jK/esG/sAMBfQ0zipHiPARPYvPNLHy/6x4zakn58dyXEsXHUVWpkvjSQ/C WUf8FmS0OzndeYQdGpc5wQmzL2KZenAX+/X4OdA+aSCoes4IXnXeSVbY//xHuhu5vsD6 Irew== X-Gm-Message-State: ACrzQf1xWq9LwpPJEWuOX3E8JYj/bvSr7zEqnNzMz7NwYRTJbtC2V4Xm AXpIjZaHFwLNMjcxZiZecGcR4e/2kaPJCM82fm44d79o5hQ= X-Received: by 2002:a05:6902:102f:b0:6b4:7cba:b77a with SMTP id x15-20020a056902102f00b006b47cbab77amr11703798ybt.516.1664609182341; Sat, 01 Oct 2022 00:26:22 -0700 (PDT) MIME-Version: 1.0 References: <20221001030656.29365-1-quic_molvera@quicinc.com> <20221001030656.29365-4-quic_molvera@quicinc.com> In-Reply-To: <20221001030656.29365-4-quic_molvera@quicinc.com> From: Dmitry Baryshkov Date: Sat, 1 Oct 2022 10:26:11 +0300 Message-ID: Subject: Re: [PATCH 03/19] arm64: dts: qcom: qdru1000: Add tlmm nodes To: Melody Olvera Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Sat, 1 Oct 2022 at 06:09, Melody Olvera wrote: > > Add tlmm node for the QDU1000 and QRU1000 SoCs and the uart pin > configuration. > > Signed-off-by: Melody Olvera > --- > arch/arm64/boot/dts/qcom/qdru1000.dtsi | 30 ++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qdru1000.dtsi b/arch/arm64/boot/dts/qcom/qdru1000.dtsi > index 3610f94bef35..39b9a00d3ad8 100644 > --- a/arch/arm64/boot/dts/qcom/qdru1000.dtsi > +++ b/arch/arm64/boot/dts/qcom/qdru1000.dtsi > @@ -235,6 +235,8 @@ uart7: serial@99c000 { > reg = <0x0 0x99c000 0x0 0x4000>; > clock-names = "se"; > clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; > + pinctrl-names = "default"; > + pinctrl-0 = <&qup_uart7_default>; > interrupts = ; > #address-cells = <1>; > #size-cells = <0>; > @@ -248,6 +250,34 @@ tcsr_mutex: hwlock@1f40000 { > #hwlock-cells = <1>; > }; > > + tlmm: pinctrl@f000000 { > + compatible = "qcom,qdu1000-tlmm", "qcom,qru1000-tlmm"; > + reg = <0x0 0xf000000 0x0 0x1000000>; > + interrupts = ; > + gpio-controller; > + #gpio-cells = <2>; > + interrupt-controller; > + #interrupt-cells = <2>; > + gpio-ranges = <&tlmm 0 0 151>; > + wakeup-parent = <&pdc>; > + > + qup_uart7_default: qup-uart7-default { > + tx { > + pins = "gpio134"; > + function = "qup0_se7_l2"; This looks strange. Usually we'd have a single 'qup7' function here. I'd go back to the interconnect driver. Maybe the functions are not correctly defined there. > + drive-strength = <2>; > + bias-disable; 'drive-strength' and 'bias-disable' are to be patched in in the board dts file. > + }; > + > + rx { > + pins = "gpio135"; > + function = "qup0_se7_l3"; > + drive-strength = <2>; > + bias-disable; > + }; > + }; > + }; > + > pdc: interrupt-controller@b220000 { > compatible = "qcom,pdc"; > reg = <0x0 0xb220000 0x0 0x30000>, <0x0 0x174000f0 0x0 0x64>; > -- > 2.37.3 > -- With best wishes Dmitry