Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp4616863rwb; Mon, 8 Aug 2022 04:26:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR5lJHMvSETuzrEXtVni9cEW2oVyj28g+D3uLYe5dYzXpRjXX71nw5rvm9fiZDYAfCrZNqSW X-Received: by 2002:a17:902:f650:b0:15f:3a10:a020 with SMTP id m16-20020a170902f65000b0015f3a10a020mr17950409plg.61.1659957983861; Mon, 08 Aug 2022 04:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659957983; cv=none; d=google.com; s=arc-20160816; b=rdoM50nosW33PVBQj+ZzjErX3qkMRwobatsKhBFeRPS3ozPBC8IPVnSiZDYklQ5Zqm azGCeLQgh0kDM2ethmf6NmHoqOgdAKK/PJtHiUGBW5pS8LS/1YjkgFrPvHPuYBJ1pmDb pSeUy4PEqcmipeaWwNI+vWHWXEUTNz3qN0DFejrSXTVaHCWjknN2qKGndnTRWPJ/bhMx g1qpL07GMNJGDtDt5D3SuKhagXk8d94tTG6oBOtnwG6llbsmymx29IjgKQTH4FA1DV7o CU6AD+MPUhsUPhGnSvz1CA+8FBUVLn7VOadBo2LcxRDhyDkxEY4NR5yW1tks48jEoIiP prJQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id; bh=k3fA8+5kPtsDQMtRVTD1UDAwtT+h6z8LMm7rp+oZp9c=; b=StTMnQ60/51/Xs7T+fDcADBRWEG38IAYlX6BaKRdTbruEQHT3A25M5gCnDOuIBucpJ 2oEADzWTD5wsq2UbLEKdxjexwOFnL/P5DCvfSFcvGAYYcrnfHWPsUXE7TEhVzybonjmi 6VhR5Se5fVYTtpjpu8tc1eQehV1pYX/sgyKYOY3ZapcP9RMI+DGCHyH8xRjDi7ivOlJ0 8AcKyWu9ejRTd+Rhml/Yq+tusnNXJA4Im5kDiP28cC8O1nkrCRUvr00RzF+6OSNKTQu3 PPmyRKBPOdthpJOCGKhxndPFxuEM1k8IIy7PyTv9Sa4Ja8hH0ZKEWrqv88roAxEx6ouF dGjg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l192-20020a6391c9000000b0041183daa0ffsi5469260pge.761.2022.08.08.04.26.07; Mon, 08 Aug 2022 04:26:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242292AbiHHK4B (ORCPT + 99 others); Mon, 8 Aug 2022 06:56:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242684AbiHHKzn (ORCPT ); Mon, 8 Aug 2022 06:55:43 -0400 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [5.144.164.166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7628621B7; Mon, 8 Aug 2022 03:55:41 -0700 (PDT) Received: from [192.168.1.101] (abxh187.neoplus.adsl.tpnet.pl [83.9.1.187]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 9B3483F6F1; Mon, 8 Aug 2022 12:55:37 +0200 (CEST) Message-ID: <3515103e-8663-1df9-a184-a383cc0d6aa9@somainline.org> Date: Mon, 8 Aug 2022 12:55:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 1/3] ARM: dts: qcom: ipq8064: add v2 dtsi variant Content-Language: en-US To: Christian Marangi , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220718161826.4943-1-ansuelsmth@gmail.com> <62efbb68.170a0220.88a00.8207@mx.google.com> From: Konrad Dybcio In-Reply-To: <62efbb68.170a0220.88a00.8207@mx.google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 7.08.2022 15:00, Christian Marangi wrote: > On Mon, Jul 18, 2022 at 06:18:24PM +0200, Christian Marangi wrote: >> Add ipq8064-v2.0 dtsi variant that differ from original ipq8064 SoC for >> some additional pcie, sata and usb configuration values, additional >> reserved memory and serial output. >> >> Signed-off-by: Christian Marangi > > Any news for this?Unless Qualcomm naming was different back then, you should simply merge all of these changes into ipq8064.dtsi, as v1 is often the pre-production, internal chip revision and only the last one (or the last and second-last) are shipped in production devices. Konrad > >> --- >> .../boot/dts/qcom-ipq8064-v2.0-smb208.dtsi | 37 ++++++++++ >> arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi | 69 +++++++++++++++++++ >> 2 files changed, 106 insertions(+) >> create mode 100644 arch/arm/boot/dts/qcom-ipq8064-v2.0-smb208.dtsi >> create mode 100644 arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi >> >> diff --git a/arch/arm/boot/dts/qcom-ipq8064-v2.0-smb208.dtsi b/arch/arm/boot/dts/qcom-ipq8064-v2.0-smb208.dtsi >> new file mode 100644 >> index 000000000000..0442580b22de >> --- /dev/null >> +++ b/arch/arm/boot/dts/qcom-ipq8064-v2.0-smb208.dtsi >> @@ -0,0 +1,37 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> + >> +#include "qcom-ipq8064-v2.0.dtsi" >> + >> +&rpm { >> + smb208_regulators: regulators { >> + compatible = "qcom,rpm-smb208-regulators"; >> + >> + smb208_s1a: s1a { >> + regulator-min-microvolt = <1050000>; >> + regulator-max-microvolt = <1150000>; >> + >> + qcom,switch-mode-frequency = <1200000>; >> + }; >> + >> + smb208_s1b: s1b { >> + regulator-min-microvolt = <1050000>; >> + regulator-max-microvolt = <1150000>; >> + >> + qcom,switch-mode-frequency = <1200000>; >> + }; >> + >> + smb208_s2a: s2a { >> + regulator-min-microvolt = < 800000>; >> + regulator-max-microvolt = <1250000>; >> + >> + qcom,switch-mode-frequency = <1200000>; >> + }; >> + >> + smb208_s2b: s2b { >> + regulator-min-microvolt = < 800000>; >> + regulator-max-microvolt = <1250000>; >> + >> + qcom,switch-mode-frequency = <1200000>; >> + }; >> + }; >> +}; >> diff --git a/arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi b/arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi >> new file mode 100644 >> index 000000000000..2f117d576daf >> --- /dev/null >> +++ b/arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi >> @@ -0,0 +1,69 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> + >> +#include "qcom-ipq8064.dtsi" >> + >> +/ { >> + model = "Qualcomm Technologies, Inc. IPQ8064-v2.0"; >> + >> + aliases { >> + serial0 = &gsbi4_serial; >> + }; >> + >> + chosen { >> + stdout-path = "serial0:115200n8"; >> + }; >> + >> + reserved-memory { >> + #address-cells = <1>; >> + #size-cells = <1>; >> + ranges; >> + >> + rsvd@41200000 { >> + reg = <0x41200000 0x300000>; >> + no-map; >> + }; >> + }; >> +}; >> + >> +&gsbi4 { >> + qcom,mode = ; >> + status = "okay"; >> + >> + serial@16340000 { >> + status = "okay"; >> + }; >> + /* >> + * The i2c device on gsbi4 should not be enabled. >> + * On ipq806x designs gsbi4 i2c is meant for exclusive >> + * RPM usage. Turning this on in kernel manifests as >> + * i2c failure for the RPM. >> + */ >> +}; >> + >> +&pcie0 { >> + compatible = "qcom,pcie-ipq8064-v2"; >> +}; >> + >> +&pcie1 { >> + compatible = "qcom,pcie-ipq8064-v2"; >> +}; >> + >> +&pcie2 { >> + compatible = "qcom,pcie-ipq8064-v2"; >> +}; >> + >> +&sata { >> + ports-implemented = <0x1>; >> +}; >> + >> +&ss_phy_0 { >> + qcom,rx-eq = <2>; >> + qcom,tx-deamp_3_5db = <32>; >> + qcom,mpll = <5>; >> +}; >> + >> +&ss_phy_1 { >> + qcom,rx-eq = <2>; >> + qcom,tx-deamp_3_5db = <32>; >> + qcom,mpll = <5>; >> +}; >> -- >> 2.36.1 >> >