Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp704222pxb; Wed, 13 Apr 2022 10:27:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztGB+CCQyGBAqwFu/jXq+4Q4k7nSJRuicmv97eHGsRm1elrY8xKMm9G42TMq4XumixBEVa X-Received: by 2002:a17:90a:6c64:b0:1cb:93b2:b6a9 with SMTP id x91-20020a17090a6c6400b001cb93b2b6a9mr12113056pjj.144.1649870853230; Wed, 13 Apr 2022 10:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649870853; cv=none; d=google.com; s=arc-20160816; b=R1G+dfXsmBxKrmksABUesCyVxIGeuSt9g0NdnnicHyPYfbAfrDANq8DZ3Tw0okJEtI sdWcNGJin6puxJxwXjkRiwdB7denaaCiQOIZ6RiL0IaAbZcOpTyhOxMszqsY/1Ub2MaF fSfO1dxPLmYvikI0idzL4XbX3z9ndK/SKMFk7TlbXcPMUM903FtopOFCG3Y8vrbhIKdL Xxl1JfFCk49aXmsCGB8osD4gFzaGPDWtX2YDY+zT4Aa4AoHu0jp7BbiX9ANCx0z8+TL+ hhf/4dLHAjEjSchxNILGGk+wp+QyptcPXd2HusFva7d8Ele81+yRTsQv46k8vBgESniu jPXw== 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=pW/YXqDQlANPBYShRmBV2kdR37gC3CSOvx43OZDkAhE=; b=itpfB2ax39A9qCqCq5pY0qDCAgggGVaeZ8NJ6H+9SCeN/migorixKCdrbAVjl2XOKb XTTxRx0bUaoqwcnH05FUO9fP8e2w+D79GVTxahNZ20RmVWi1P301/jEvI7hq6duSoEL3 pAoBTPuWsWywDKhsQM09KHMIvFX6ZRFKgD6VpRN3nQUWRCZZXBJXJyyJWXxNRdMxL1R1 alo4cd/WB9tgiBTTz4JlpUsC2DHA+bNsxjE/Yclw5ycK0PisB+a6urEm70aTx75n+LBA F61CZEVyrx2StSFfNg0BojgsXi+Bo6xM4JBkGvM1UZ1lqKjcMAukUpFU7UrG+yatzqHY G+zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qh42nCIW; 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 oj11-20020a17090b4d8b00b001ca9946de5dsi15948908pjb.56.2022.04.13.10.27.17; Wed, 13 Apr 2022 10:27:33 -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=qh42nCIW; 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 S234145AbiDMI6p (ORCPT + 99 others); Wed, 13 Apr 2022 04:58:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232242AbiDMI6o (ORCPT ); Wed, 13 Apr 2022 04:58:44 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB0404B84F for ; Wed, 13 Apr 2022 01:56:23 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id b21so1354894ljf.4 for ; Wed, 13 Apr 2022 01:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=pW/YXqDQlANPBYShRmBV2kdR37gC3CSOvx43OZDkAhE=; b=qh42nCIWLGN1ZO8hf0HKW2TozddfXNaIBL9zBdN2j8n60oMeBN/ONPfQS1qzMtVYXb HDixcST50N9KtLPWYqQxHI2Qyjva/qMxKOMgpJ7AAs8DMV4chKNTmaPrex/fFApFPGFY aUsZCgsZBjlxrs6ob5iJX5Noga9W/z2l4AJfUsiokfmWZEl0XfR8IKthQQU8afNzrJQt z0K6VqLO8h3TIQYl1NTbqD2J/PRdSJEoZBJqgvu0XThoT+Ptyd8NNfwfcoYPWpBbSgF2 NzzvcGl2G3XA5zDizGPbxtHgFGc1cd7gEI5BVBRTlD2eD5MZMu7cEbc3KKAk5sDV7r7S qWsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=pW/YXqDQlANPBYShRmBV2kdR37gC3CSOvx43OZDkAhE=; b=rtoso5m0gxnCxH7IU0MckfhT34mBzFU0XRlRvJfWLvLfQ75oKIp08gij8/63wvD3Fm EzTZbwYEn/D97xMa6ZdeIfMKiyEJ7sFvAw0krTw8nRzvZj3QRN6zqBvjrTrGLCuInfZz i93Sw12L3910POGM3KeFQokk/jTSWi/LVXLfDmcccweKQGiQrXrcsoybb29Sb2KZZGMe taGkanefpyA9hXzXgK4xoP716hHNJ3sy0u0EyFvekyIV+oiS7Z/u+MNEPrJIWr7ss0AU 6d8s+3bsLSZQrDUpf5TkcciSjb7xgj/XYJMe0sqE40/4fAUD0k8ycH6dv57ASr55AGRX QYHg== X-Gm-Message-State: AOAM533siMTS/76eJDM8uYQuOtfomjs4Sge9uhZJyRVI88u14cYtvbUf 4IlVcwYsbvL9KiuIF1+PHPN8M+sccgX01A== X-Received: by 2002:a05:651c:4d2:b0:24b:5de1:222 with SMTP id e18-20020a05651c04d200b0024b5de10222mr10509562lji.38.1649840182020; Wed, 13 Apr 2022 01:56:22 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id c3-20020a056512104300b0044a3582c9ecsm4034584lfb.219.2022.04.13.01.56.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Apr 2022 01:56:21 -0700 (PDT) Message-ID: Date: Wed, 13 Apr 2022 11:56:21 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v3 17/18] ARM: dts: qcom: add ipq8064-v2.0 dtsi Content-Language: en-GB To: Ansuel Smith , Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan McDowell References: <20220309190152.7998-1-ansuelsmth@gmail.com> <20220309190152.7998-18-ansuelsmth@gmail.com> From: Dmitry Baryshkov In-Reply-To: <20220309190152.7998-18-ansuelsmth@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.4 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 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 09/03/2022 22:01, Ansuel Smith wrote: > Many devices are based on the v2.0 of the ipq8064 SoC. Main difference > is a change in the pci compatible and different way to configre the usb > phy. > > Signed-off-by: Ansuel Smith > Tested-by: Jonathan McDowell > --- > arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi | 70 ++++++++++++++++++++++++ > 1 file changed, 70 insertions(+) > create mode 100644 arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi > > 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..c082c3cd1a19 > --- /dev/null > +++ b/arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi > @@ -0,0 +1,70 @@ > +// SPDX-License-Identifier: GPL-2.0 > +#include "qcom-ipq8064.dtsi" > + > +/ { > + aliases { > + serial0 = &gsbi4_serial; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; I'd expect that /aliases and /chosen should go to the board dts files. I see that ipq8064-v1.0.dtsi also is a mixture of SoC-specific nodes and board details (gpio, leds, aliases, etc.). I think it should be split into ipq8064-v1.0.dtsi and ipq8064-common.dtsi (or ipq8064-v1.0-common.dtsi). This file also should contain just SoC specifics, not the enablement of individual devices. > + > + 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. > + */ > +}; > + > +&CPU_SPC { > + status = "okay"; > +}; > + > +&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>; > +}; -- With best wishes Dmitry