Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp453862rwb; Sat, 1 Oct 2022 02:39:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Rr+nyDOyD49OT8+0EI80x/4WC8KbgbsoPwP+eRwekOoqnn+uwrI2abVeoM8rUYO49roWS X-Received: by 2002:a17:907:7e83:b0:782:7c78:3828 with SMTP id qb3-20020a1709077e8300b007827c783828mr9157214ejc.7.1664617146483; Sat, 01 Oct 2022 02:39:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664617146; cv=none; d=google.com; s=arc-20160816; b=0mXHcb0tnZN6oNDK0osSJPQxYK2QEFbb1h6l8DSSuLpbsrIq8PXiCNAszhJy4eRCvj sYTGXa4ortxJ+Puz2JKBYtFDIM0mB2ncmJWbA5O9MHHB5e/9F/3mdQ8vFzSetrfEgOFp HPPkp9Ebr9S4nGq3mqo2Du9Xmazk49zJQ/fmHtm2pNsTsd7Zg1i2xgV5UHl7HzcCht5Q oK/gwCFM9aMQB0ZAiW0/36k2bvhb3x1FHCDe+Y90n6lieHQhwy/TvDWk9P0JiZUaYHsk USo9iCTjv8i4uVpvxjs2zDwKdiGbLreVfhXhcZXbnjTW+fDgVrM8pRMxhsw8zjbD2qZB hyaQ== 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=MYzDYTu+y365Di0iY2do9967QJR+w59HugDfWIvDR38=; b=ChqeXiHAK8AcHgEgIMDpYV7hv082C/i+oz6il6e6yYZu4jzhMF5o8NxSf3+0Bqb6VM UspBLMnCsNzUDVDMnjBuMtdvQyM/9vfzboz5sgBKn80TqelgehS1K2X1g1tZhlPCkMNU hsoNrbPUKO4Vkwe+t4VCS7l8qETP7UyQ2bX9aN0WKdAft6/7nY9hjJbu4fYqyjzPcpFI W/nWeIMjO8EPfZHXRZDe0p+1HtRlQ609iRUAMR6gCY4Q+7QUEgU7HOo8IMf1FzUQh9hv OcXYlo5LlN8/rXL4fLDk1HhO/Wx9S2NR+bpBtxeGkrWtTmVq+9QYQdb+56s72Q2hKmCU hQHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iCkghzZ0; 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 bu22-20020a170906a15600b00773db392e1esi3291090ejb.997.2022.10.01.02.38.41; Sat, 01 Oct 2022 02:39:06 -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=iCkghzZ0; 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 S229590AbiJAJMH (ORCPT + 99 others); Sat, 1 Oct 2022 05:12:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbiJAJME (ORCPT ); Sat, 1 Oct 2022 05:12:04 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FE0615C1F5 for ; Sat, 1 Oct 2022 02:12:03 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id o7so2910801lfk.7 for ; Sat, 01 Oct 2022 02:12:03 -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; bh=MYzDYTu+y365Di0iY2do9967QJR+w59HugDfWIvDR38=; b=iCkghzZ0px+bJEBeBpvkcO4sYiA6PztM77nIBZqG1MOw38Zz5oXX0P4SD8KHkX/Ass 0Wlk/3wbQQSI+1bBFJIiOyMN2aC9d8+Yc+G6ggmrNE5tdmeu5bck/JwNHk6fW62IjuMM orOnjYDu/fuJ9EkgE6VLvz8svz91O3CsxZnb7VZRjNnYfEsF2UlkUYxWmf2ZKWbOTF6E SGLbWMqMLu4X69mq9t1pd1rYZhMA2NzXsox4w1HxxXXVngty500BM99Tbj5ru2ssYgJI OI6CU2bv8dFfYG7L2tWUGgLuSqI6fQiDeNykp8+2ra5kQMVSDAd/CzVbXjumE7SIvyls Sy/g== 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; bh=MYzDYTu+y365Di0iY2do9967QJR+w59HugDfWIvDR38=; b=KZP4ovM/Tb8m/tgBMuWLeEbWZZ8juOe8ujHEHZnG+R7P8E1rZNlEUFdLU9JL8Rp990 zvHl/1TS44dJj7LCTM3KLIM5amm8snFZq5ilfL9Vnm0m92hUzEkpnAsISeIu2u7d+Bt6 o6XCoY0bRYuqNXCCmIZA5Y4848J4C7TVYBUZiMvt/Bkj5Y1+KtX9MVPkk6uc46PPiFS4 FND2zsk1f9vT6NuzeK9d4w9IZwxYB/nohfIN/bzgi5pdp2HW1VywU6eljEpX+0eMmxZj 2KOH/uH8CNlfXEuiBSvEOZFskCdzy7tgbHnaytNZF0i4gEdHfaaAIaGbHkj6IUU5DdXQ eh9Q== X-Gm-Message-State: ACrzQf3DYyZjzZwdvixZZVvfVHd4AVQhFqdUvzXt7HelXCzfGWw1ss+E hN3Mr92IgG813Z2IK3aMU5aekw== X-Received: by 2002:a05:6512:3f0e:b0:4a0:45b7:a8dc with SMTP id y14-20020a0565123f0e00b004a045b7a8dcmr4406695lfa.368.1664615521597; Sat, 01 Oct 2022 02:12:01 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id h12-20020a2ea48c000000b0026c2e0258bcsm384753lji.42.2022.10.01.02.12.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Oct 2022 02:12:01 -0700 (PDT) Message-ID: Date: Sat, 1 Oct 2022 11:12:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH 01/19] 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: <20221001030656.29365-1-quic_molvera@quicinc.com> <20221001030656.29365-2-quic_molvera@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <20221001030656.29365-2-quic_molvera@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 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 01/10/2022 05:06, Melody Olvera wrote: > Add the base DTSI files for QDU1000 and QRU1000 SoCs, including base > descriptions of CPUs, GCC, RPMHCC, UART, and interrupt-controller to > boot to shell with console on these SoCs. > > Signed-off-by: Melody Olvera > --- > arch/arm64/boot/dts/qcom/qdru1000.dtsi | 370 +++++++++++++++++++++++++ > arch/arm64/boot/dts/qcom/qdu1000.dtsi | 10 + > arch/arm64/boot/dts/qcom/qru1000.dtsi | 10 + > 3 files changed, 390 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/qdru1000.dtsi > 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/qdru1000.dtsi b/arch/arm64/boot/dts/qcom/qdru1000.dtsi > new file mode 100644 > index 000000000000..3610f94bef35 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/qdru1000.dtsi > @@ -0,0 +1,370 @@ > +// SPDX-License-Identifier: BSD-3-Clause-Clear > +/* > + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. > + */ > + > +#include > +#include > +#include > +#include > + > +/ { > + interrupt-parent = <&intc>; > + > + #address-cells = <2>; > + #size-cells = <2>; > + > + chosen: chosen { }; > + > + No need for double blank line. > + clocks { > + xo_board: xo_board { > + compatible = "fixed-clock"; > + clock-frequency = <19200000>; > + clock-output-names = "xo_board"; > + #clock-cells = <0>; > + }; > + > + sleep_clk: sleep_clk { > + compatible = "fixed-clock"; > + clock-frequency = <32000>; > + #clock-cells = <0>; > + }; > + }; > + (...) > + CPU_PD3: cpu-pd3 { > + #power-domain-cells = <0>; > + power-domains = <&CLUSTER_PD>; > + domain-idle-states = <&SILVER_OFF>; > + }; > + > + CLUSTER_PD: cluster-pd { > + #power-domain-cells = <0>; > + domain-idle-states = <&CLUSTER_PWR_DN &APSS_OFF>; > + }; > + }; > + > + 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", "qcom,gcc-qru1000", "syscon"; Did you document the compatibles? > + 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"; > + }; > + > + qupv3_id_0: geniqup@9c0000 { > + compatible = "qcom,geni-se-qup"; > + reg = <0x0 0x9c0000 0x0 0x2000>; > + clock-names = "m-ahb", "s-ahb"; > + clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, > + <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + status = "disabled"; > + > + uart7: serial@99c000 { > + compatible = "qcom,geni-debug-uart"; > + reg = <0x0 0x99c000 0x0 0x4000>; > + clock-names = "se"; > + clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; > + interrupts = ; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + }; > + (...) > + arch_timer: timer { > + compatible = "arm,armv8-timer"; > + interrupts = , > + , > + , > + , > + ; > + clock-frequency = <19200000>; > + }; > + }; > +}; > diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi > new file mode 100644 > index 000000000000..ba195e7ffc38 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi > @@ -0,0 +1,10 @@ > +// SPDX-License-Identifier: BSD-3-Clause-Clear > +/* > + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. > + */ > + > +#include "qdru1000.dtsi" > + > +/ { > + qcom,msm-id = <545 0x10000>, <587 0x10000>; NAK. > +}; > diff --git a/arch/arm64/boot/dts/qcom/qru1000.dtsi b/arch/arm64/boot/dts/qcom/qru1000.dtsi > new file mode 100644 > index 000000000000..1639a4b3c1fb > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/qru1000.dtsi > @@ -0,0 +1,10 @@ > +// SPDX-License-Identifier: BSD-3-Clause-Clear > +/* > + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. > + */ > + > +#include "qdru1000.dtsi" > + > +/ { > + qcom,msm-id = <539 0x10000>, <588 0x10000>, <589 0x10000>, <590 0x10000>; Nope, property is not documented and not accepted. Efforts in documenting this property were apparently also not accepted, therefore I am not agreeing in bringing DTS with these. > +}; Best regards, Krzysztof