Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp911477rwi; Thu, 27 Oct 2022 08:56:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6fLtPRNn9GhxkTl9MYUyMARwFK/dbtaXhFrmQlsXOtRXtogzNRFrfmX56DJaGAvck2Mzgf X-Received: by 2002:a17:902:e80a:b0:184:6043:752d with SMTP id u10-20020a170902e80a00b001846043752dmr49727363plg.137.1666886162063; Thu, 27 Oct 2022 08:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666886162; cv=none; d=google.com; s=arc-20160816; b=WuP32eKxN+uDAT5FfzovmlcZN/e25ZyBN4vboPMnWam0wC0p3uV9wuRA7xlxd5NeIU ZMANqfvpeQmlBYWXYgRYnXAphamXiQQjqNfpeJDQ2MtVG0l8fTsFf0y6jKf32WleUuKq vpMEYeW3kpGzVN2OKkLVw2wQh8/I4weicHIXk872yCkzj11adiu0SV1IHMTv6FwCNxou pwHOB9dqIQbLRBLfFTyVLGGZtol2WAV7MS3nYrAv77HAMoqShJDYkhIaDGh2j07Vvb9n 5G8Za+Oaf3O+W1SGLwubvCfob/JOdNeNdeYuugaiF+QdUgfB0sTXXgEPJPjyW0qU8lwF 1R1A== 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=heHpdcI45GOXk8T2s9CmWTp8F02GlWHnis60xMjPMlk=; b=degAfH1ILsI+0Cr7GGFQn2vBKXBzuYzGMMfocYKyUMjEy4gzrptm9qijIoLdZqGaZN jPWmkIDd4alfG3TROqOLcRDUVSFM53e+y/ymRBmzVAtRUXVzzDDGR6Jmz9ymj3sAnVZw /oAfJ7v82K3plGTM779SatG5lvAAUqXEHFNJNSR5LECkAmuIaYWBZQOHANFeQSPVeJSR eZdQ5SeUrK3TYTSPs3NZFAr170cDfts2OWx/Ljk97boUy0FFOoIwfgx2E2DA/4KtzXTO LD6JUsnDHhaf6V1WjuHSikjjKipnM6Sa2rrbGo8168eUQ57AH/gfAR4QpreS0DF0Sdn3 QHjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B6pZGgr5; 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 mh1-20020a17090b4ac100b00212d5631badsi7132616pjb.55.2022.10.27.08.55.50; Thu, 27 Oct 2022 08:56:02 -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=B6pZGgr5; 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 S236274AbiJ0PWa (ORCPT + 99 others); Thu, 27 Oct 2022 11:22:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236160AbiJ0PWC (ORCPT ); Thu, 27 Oct 2022 11:22:02 -0400 Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B46D01A07D for ; Thu, 27 Oct 2022 08:21:52 -0700 (PDT) Received: by mail-qk1-x730.google.com with SMTP id 8so1164667qka.1 for ; Thu, 27 Oct 2022 08:21:52 -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=heHpdcI45GOXk8T2s9CmWTp8F02GlWHnis60xMjPMlk=; b=B6pZGgr5Vb424y2UPAUjVdVDpiMLvwsdFM7+CrEvb00N8q5EF4R+w+SLQqq3RNL6i+ dda795nURfokgHWmscaDh5bQt4n9BlfhVrZzIYNPeioZZHxuzgfH8PG6lQI3JnyaYeVB y7ivL2118dYWNSYp5QnrE0AOSUIf3wS+P0FVjvPRiPeKZuOkCUzCjofP95A9pub7EOLN sd7GGCbmolDJz/pHT5OppzbZgJyehQ5d28wzutZ8lruxuXNvO00M38WUfmzCFJtgPhff LcrWGzIrV4w8Wabdumi2jfgRLFHfY6yJ9Le30/NdiZlrBjD+bsoolEvzzHReqyqhGUM+ ld0g== 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=heHpdcI45GOXk8T2s9CmWTp8F02GlWHnis60xMjPMlk=; b=x1fs44uZnqRRKezsJOXVSWxHLz0l13wBaPP/6s4h8Ipn0q2CP3jdZ9LkW2tI8Dqcig nkbpaChSyCprcTz/kWlRtAf6TMWdbI2DkrW2b5ZQ4uEfHAcQPzc1S351JQWMisjnJ6k3 eqh5JzBLVeaPn4BnFb8OmAjH6A39a/bMhkMsMmDNYwJccGOzfL+ur92qIf+qg1S3mtbj OUmmIZS2sFr6poLlNo3JWPxtSgtI8jWo97nwuh00nXfe08KCQrYrbOipOHUb+g2r/RHn ZoCzXY7QJLzd/MwSS9dq4RRBVJoofHbTic2TNfurvjTg7sf8TF2J7Ypw6w+pN0HSTrfp 5TCQ== X-Gm-Message-State: ACrzQf0QULa1HW3qAVLAVouLz1+ka3aO92UMLAJb/XXjoXA6R04s4P7/ RGLzesz1OToQ4kWtbw4QxOpX99HeEBxXcw== X-Received: by 2002:a05:622a:19a2:b0:39c:ba6d:5d6d with SMTP id u34-20020a05622a19a200b0039cba6d5d6dmr41370322qtc.358.1666884100567; Thu, 27 Oct 2022 08:21:40 -0700 (PDT) Received: from [192.168.1.11] ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id y27-20020a37f61b000000b006cf19068261sm1094226qkj.116.2022.10.27.08.21.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Oct 2022 08:21:39 -0700 (PDT) Message-ID: Date: Thu, 27 Oct 2022 11:21:38 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v3 3/4] arm64: dts: qcom: Add base QDU1000/QRU1000 DTSIs Content-Language: en-US To: Melody Olvera , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221026200429.162212-1-quic_molvera@quicinc.com> <20221026200429.162212-4-quic_molvera@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <20221026200429.162212-4-quic_molvera@quicinc.com> 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=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 On 26/10/2022 16:04, Melody Olvera wrote: > Add the base DTSI files for QDU1000 and QRU1000 SoCs, including base > descriptions of CPUs, GCC, RPMHCC, QUP, TLMM, and interrupt-controller > to boot to shell with console on these SoCs. > > Signed-off-by: Melody Olvera > --- > arch/arm64/boot/dts/qcom/qdu1000.dtsi | 1406 +++++++++++++++++++++++++ Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. > arch/arm64/boot/dts/qcom/qru1000.dtsi | 27 + > 2 files changed, 1433 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/qdu1000.dtsi > create mode 100644 arch/arm64/boot/dts/qcom/qru1000.dtsi > > diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi > new file mode 100644 > index 000000000000..76474106e931 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi > @@ -0,0 +1,1406 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. > + */ (...) > + > + soc: soc@0 { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges = <0 0 0 0 0x10 0>; > + dma-ranges = <0 0 0 0 0x10 0>; > + compatible = "simple-bus"; > + > + gcc: clock-controller@80000 { > + compatible = "qcom,gcc-qdu1000", "syscon"; > + reg = <0x0 0x80000 0x0 0x1f4200>; > + #clock-cells = <1>; > + #reset-cells = <1>; > + #power-domain-cells = <1>; > + clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>; > + clock-names = "bi_tcxo", "sleep_clk"; > + }; > + > + gpi_dma0: dma-controller@900000 { > + compatible = "qcom,sm6350-gpi-dma"; You should add here a specific compatible as well. Same in other places. All places. I had impression we talked about this few times, so I don't know what is missing on your side. This must be: "qcom,qdu1000-gpi-dma", "qcom,sm6350-gpi-dma" > + #dma-cells = <3>; > + reg = <0x0 0x900000 0x0 0x60000>; > + interrupts = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + dma-channels = <12>; > + dma-channel-mask = <0x3f>; > + iommus = <&apps_smmu 0xf6 0x0>; > + }; > + (...) > + > + tlmm: pinctrl@f000000 { > + compatible = "qcom,qdu1000-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_uart0_default: qup-uart0-default-state { > + pins = "gpio6", "gpio7", "gpio8", "gpio9"; > + function = "qup00"; > + }; > + > + qup_i2c1_data_clk: qup-i2c1-data-clk-state { > + pins = "gpio10", "gpio11"; > + function = "qup01"; > + drive-strength = <2>; Can we have some generic agreement where to put drive-strengths and bias? See also: https://lore.kernel.org/linux-devicetree/20221026200357.391635-2-krzysztof.kozlowski@linaro.org/ https://lore.kernel.org/lkml/CAD=FV=VUL4GmjaibAMhKNdpEso_Hg_R=XeMaqah1LSj_9-Ce4Q@mail.gmail.com/ > + bias-pull-up; > + }; (...) > + }; > + > + cpufreq_hw: cpufreq@17d90000 { > + compatible = "qcom,sm8250-cpufreq-epss", "qcom,cpufreq-epss"; This is not sm8250... > + reg = <0x0 0x17d90000 0x0 0x1000>, <0x0 0x17d91000 0x0 0x1000>; > + reg-names = "freq-domain0", "freq-domain1"; > + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>; > + clock-names = "xo", "alternate"; > + #freq-domain-cells = <1>; > + }; > + > + gem_noc: interconnect@19100000 { > + reg = <0x0 0x19100000 0x0 0xB8080>; > + compatible = "qcom,qdu1000-gem-noc"; > + #interconnect-cells = <1>; > + qcom,bcm-voters = <&apps_bcm_voter>; > + }; > + }; Best regards, Krzysztof