Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp674739rwd; Wed, 7 Jun 2023 05:35:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6txh9LKkDQaEwFiarrLwkGTizWkA1W7QGJK1OT4dqi6CclpiBWrsZIZfVCk9bvatlMK+e5 X-Received: by 2002:a05:6a00:1490:b0:652:98e9:fb1 with SMTP id v16-20020a056a00149000b0065298e90fb1mr6032232pfu.32.1686141326400; Wed, 07 Jun 2023 05:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686141326; cv=none; d=google.com; s=arc-20160816; b=WTfyspHI0yT5r8BviKHdseHBpN5qjwkcuq/b7cxOUn6dGrt+CDxTPdZ8BwM4mCf9v3 AZ6TOocNig5QaLkbXBCMQGyTopH+1X5hufhPgnpmeUlfxcYkKm9PVbZqtojyuReLGQIZ KAfU6nnJSYr5F8j8Wmru2YAqnUMortv8acy/qSkfKzuJcpGFq3uLyQRDg+EC9PS7WKe0 0jtkcQ6nwjNIyLdl+2m7XHgQO4OfeV0hf4y79hQuXGF8JnWHt1OJruVvJcT7AH+eUAP9 q2CsciwHc+DK3KIxgzgRT8XdRU1bBJUTdo6G3JJudFE/X9ytn4Lmxq4duBu1pnNB2wtW R6xA== 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=NxeLXXBCAzKSF9EaKSeDGi9QZ7gj28djOqBeKfbqbww=; b=rekI6eVpAqGYuakg1hEuD29SnET6D4CE8P41S6PnOiSkMI9/IeaYl9/0Y3O3f/iB6+ NnwWaxA8Kj8rKhzoAsXDu/6DD3zWk3uxe+NwcL4qIDN1tJzXtGVtpf4Sn70Oxu5S1tVK 70DVVMUAOOW3V/Qo5KgpSt/hJuZtxBt0h1XZpCqeH71VdBO+ocKGRAs1RUU5fz57QMA0 eGW1V1I/5NbfqygjKP8dEjXI5YdEgNSJtoNGuH3H6yfVC/6r2aZjllIayW77CbhOH2pn wlvQZGjo3y4yJMnEuUXqcj7jIuxH4nPzJa6XOlxiSHv2RJuJG8UztLx7KxDRnkCNI4IU EswA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PRLqBcz5; 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 b17-20020aa78ed1000000b0063f1cb928bdsi8421000pfr.313.2023.06.07.05.35.12; Wed, 07 Jun 2023 05:35:26 -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=PRLqBcz5; 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 S238701AbjFGMNP (ORCPT + 99 others); Wed, 7 Jun 2023 08:13:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234955AbjFGMNO (ORCPT ); Wed, 7 Jun 2023 08:13:14 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40B2C1BD4 for ; Wed, 7 Jun 2023 05:13:12 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-51458e3af68so1269430a12.2 for ; Wed, 07 Jun 2023 05:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686139990; x=1688731990; 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=NxeLXXBCAzKSF9EaKSeDGi9QZ7gj28djOqBeKfbqbww=; b=PRLqBcz5NVG99Nufi6ltzVRN5RxfSwKsMxJn5jW+WKz4ba1VxKdUbld4Fh7WvaSKrl GIQfPA6zDkXHT5/dkrqkMge3s4s6+fXRH68XjHOx3sPFkBdYhGKr1OCVBSNjclnWLjKy ZF3kQJlR8cnpzNnQBm51kgUC1POmKuF1QDQ3TEyVeKyZ/sZkd2TCz+OgUSV93Kh72fGv rugYNUfQwNLut4vKgDZ/3GqHn1Iefu1lh+aCHCxhTXCSl4foyZYeSXa/U5VDds2TKRu1 BrNT0ea+IsyCJm/liIeRyLwnfBbIO8IiB4e22smE8IUJPY2L7eZ3kM0I2abmzmdSxmEQ srjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686139990; x=1688731990; 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=NxeLXXBCAzKSF9EaKSeDGi9QZ7gj28djOqBeKfbqbww=; b=V4DihpgYCvWLPSdrtuMgaajHNJ3Avly28si+GS1C9L9QBKuWnY4AKB2Xr/mqOxWK7I HbC9xLoTHQQbQw6DZXMG9eRMLSN2ntcxM4LPX1z7IWujV0v4/8XqqlysYsKRJfLwDhbo MCn58pvW9gVdH6v07iovQtq/Du7aggWrPmDcKT2xkE01SirEykMNwApDDBMK4UeM/K7p FtzaM0UyQhvl6NMmy9eEWOkqx6Bj9K2eB9s0IxUW0S29sOoXsUOYcJXl6g3tyDuX6D4F gpAPLhmTHPh0NFsPLuCF8cRqqUnvsSH54rQ8ImczREdGBkkeELb/asJK/y/2F7tj0pG2 BuSg== X-Gm-Message-State: AC+VfDwQcRzX3YE7YJFIgTYq87x2MkMC04l97Jkfoqmx9t6yUkOgNKM0 X+5hlcueMQA4vn1XhdL8P0PpDA== X-Received: by 2002:a05:6402:50:b0:510:6ccf:84aa with SMTP id f16-20020a056402005000b005106ccf84aamr4549921edu.32.1686139990621; Wed, 07 Jun 2023 05:13:10 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id z19-20020aa7c653000000b005149b6ec1bdsm6072041edr.29.2023.06.07.05.13.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Jun 2023 05:13:09 -0700 (PDT) Message-ID: Date: Wed, 7 Jun 2023 14:13:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v3 5/5] arm64: dts: qcom: Add SDX75 platform and IDP board support Content-Language: en-US To: Rohit Agarwal , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, rafael@kernel.org, viresh.kumar@linaro.org, tglx@linutronix.de, maz@kernel.org, mani@kernel.org, robimarko@gmail.com Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <1686138469-1464-1-git-send-email-quic_rohiagar@quicinc.com> <1686138469-1464-6-git-send-email-quic_rohiagar@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <1686138469-1464-6-git-send-email-quic_rohiagar@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 07/06/2023 13:47, Rohit Agarwal wrote: > Add basic devicetree support for SDX75 platform and IDP board from > Qualcomm. The SDX75 platform features an ARM Cortex A55 CPU which forms > the Application Processor Sub System (APSS) along with standard Qualcomm > peripherals like GCC, TLMM, UART, QPIC, and BAM etc... Also, there > exists the networking parts such as IPA, MHI, PCIE-EP, EMAC, and Modem > etc.. > > Signed-off-by: Rohit Agarwal > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > arch/arm64/boot/dts/qcom/sdx75-idp.dts | 33 ++ > arch/arm64/boot/dts/qcom/sdx75.dtsi | 660 +++++++++++++++++++++++++++++++++ > 3 files changed, 694 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/sdx75-idp.dts > create mode 100644 arch/arm64/boot/dts/qcom/sdx75.dtsi > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index d42c595..4fd5a18 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -173,6 +173,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-polaris.dtb > dtb-$(CONFIG_ARCH_QCOM) += sdm845-shift-axolotl.dtb > dtb-$(CONFIG_ARCH_QCOM) += sdm850-lenovo-yoga-c630.dtb > dtb-$(CONFIG_ARCH_QCOM) += sdm850-samsung-w737.dtb > +dtb-$(CONFIG_ARCH_QCOM) += sdx75-idp.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm4250-oneplus-billie2.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm6115p-lenovo-j606f.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb > diff --git a/arch/arm64/boot/dts/qcom/sdx75-idp.dts b/arch/arm64/boot/dts/qcom/sdx75-idp.dts > new file mode 100644 > index 0000000..cbe5cdf > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sdx75-idp.dts > @@ -0,0 +1,33 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. > + */ > + > +/dts-v1/; > + > +#include "sdx75.dtsi" > + > +/ { > + model = "Qualcomm Technologies, Inc. SDX75 IDP"; > + compatible = "qcom,sdx75-idp", "qcom,sdx75"; > + > + aliases { > + serial0 = &uart1; > + }; > +}; > + > +&chosen { > + stdout-path = "serial0:115200n8"; > +}; > + > +&qupv3_id_0 { > + status = "okay"; > +}; > + > +&tlmm { > + gpio-reserved-ranges = <110 6>; > +}; > + > +&uart1 { > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi > new file mode 100644 > index 0000000..40fa579 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi > @@ -0,0 +1,660 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * SDX75 SoC device tree source > + * > + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. > + * > + */ > + > +#include > +#include > +#include > +#include > + > +/ { > + #address-cells = <2>; > + #size-cells = <2>; > + interrupt-parent = <&intc>; > + > + chosen: chosen { }; > + > + clocks { > + xo_board: xo-board { > + compatible = "fixed-clock"; > + clock-frequency = <76800000>; > + #clock-cells = <0>; > + }; > + > + sleep_clk: sleep-clk { > + compatible = "fixed-clock"; > + clock-frequency = <32000>; > + #clock-cells = <0>; > + }; > + }; > + > + cpus { > + #address-cells = <2>; > + #size-cells = <0>; > + > + CPU0: cpu@0 { > + device_type = "cpu"; > + compatible = "arm,cortex-a55"; > + reg = <0x0 0x0>; > + clocks = <&cpufreq_hw 0>; > + enable-method = "psci"; > + power-domains = <&CPU_PD0>; > + power-domain-names = "psci"; > + qcom,freq-domain = <&cpufreq_hw 0>; > + capacity-dmips-mhz = <1024>; > + dynamic-power-coefficient = <100>; > + next-level-cache = <&L2_0>; > + > + L2_0: l2-cache { > + compatible = "cache"; > + next-level-cache = <&L3_0>; You miss properties like level and unified. Maybye you tested it with some old (half year ago) dtschema? It does not look like you tested the DTS against bindings. Please run `make dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). Best regards, Krzysztof