Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4380191rwl; Tue, 28 Mar 2023 06:30:35 -0700 (PDT) X-Google-Smtp-Source: AKy350bDzn5CZqqbDlOFm8WynwR3nU/3y7MHqlgpHaaNEOHjJ8+A+osu+Wb98VIvyRcDmuIGiOKh X-Received: by 2002:aa7:cd9a:0:b0:4ac:b687:f57e with SMTP id x26-20020aa7cd9a000000b004acb687f57emr14995164edv.1.1680010235591; Tue, 28 Mar 2023 06:30:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680010235; cv=none; d=google.com; s=arc-20160816; b=zlZ9eTd29d6Sj6ZkQhnEKK4n8rpLBNsjqCtDB7cD1HVKSbm9NTlsxQobXu8qXAHUui BQHbC1Hi0cJSIHzZBPNqWmHcYleYzaWD5N79fgLCRDumOVwKYMQYiL+TxepivIbxgyQ1 6kdwF4g9uWTwlF86hg3feZ4nPDmTgLq5DqZ24Nqof3dWwLf7RLgBNHAESJmPtRAN3xPP QRXVvRA/iC4s9UlC5S05K+K2P2PKUMOenHWQraBzXro8cpSGUUUEVueeLhooxjd5ed3F tE346cnkxPvDAfjoi2QIEVBXCu7vZnaQwdl+4kAfXB3242sQkNVKes0pRhLHMwTh2Ikd O6Ig== 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=AYY5Dr1Z1I9hb8CrXHC9U6DlzlFB2ypBISlRnxmPY3I=; b=M1ri/qZsE8AXEwpq/xZZhHSIJkxhy89/j+igzKNq+S8vHSjDuhdxc5fKkGtmG4lXFW z52lqCvZ5kNDn2NNwMNJqYDZGhk/jqJJDQlGNIYVaIWH1ayDFnC8nkfBdXI1PETTN412 aQj86h4DKtXGA7mVuZVfWcZ7FfB5qO9LMcjlElmaHREK7OUZDC2nYO9Tid3sxdeJZgGW F2HA9sbpn8S3gP21p1FMnGy6Biij6jKWojUFqUwEQ6Yft4gUSwmHuAU3mGY/QugtnxHh sbLmxmLTb0TfugpdPyexWcKeuDh+rD2n/Ev9MCgo0LsMSplfA+nFsOHi24NwAIh1VPyK CtAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LSUtWT/A"; 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 d19-20020aa7d693000000b004af625a0f8esi32611074edr.395.2023.03.28.06.30.10; Tue, 28 Mar 2023 06:30:35 -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="LSUtWT/A"; 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 S229532AbjC1N3I (ORCPT + 99 others); Tue, 28 Mar 2023 09:29:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjC1N3G (ORCPT ); Tue, 28 Mar 2023 09:29:06 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 431521B6 for ; Tue, 28 Mar 2023 06:29:04 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id y35so10045091ljq.4 for ; Tue, 28 Mar 2023 06:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680010142; 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=AYY5Dr1Z1I9hb8CrXHC9U6DlzlFB2ypBISlRnxmPY3I=; b=LSUtWT/AWGybRwLerH/91aATgi4rurZprloou1LoGbGck955eT2qPbsBESu3GGovM1 Ef82KFLSrfncXdZPa+HO0VHz6/FWeQDOYPZtXTBvOcftd29V/kbshbm89jeOhdgNv72z tIBltFQthZyxbP6DnlXHUCQvj7zsXrtmWMZmNso1w1Vz49P7zG/ASg7HQ7r4ifogj/ws eRl3o9x5JWVcUPqx5/Wt8dKS6a6guAPmnjP/QFyjmsxcN542w9RqBqdCOFTBbSRGNeMg tJ/FR4tWEHOoOd6iME5heju7i64W4GuYfqI6w2KVY5O6997+lc7nztRn7DyHHjQcYCvg 3g2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680010142; 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=AYY5Dr1Z1I9hb8CrXHC9U6DlzlFB2ypBISlRnxmPY3I=; b=1VvMbNIfaFPxL6hjAH66Acnw2deg/DKUkHDFRI3sw+gtLl7WLYJlbiCIfBOSOUnv5J QKYmO4/eMqeFM8Q2EzjbOcnFCah619SiRpP/OFKRlSLhtYRY5D3H6U5KipBlRZsYaHED kv3qujzcrPaULQvwtXUDAWPrE2He0hgt04wFZtgW8O7tK8vyE0xGaV1swOWoeBKRJvPw dAXXHvMs+a3hPvGlUD5pSm3+oRsAXMSY652dfsDVmvmmuqAqzQI6ao4MFiexm875WXCf gd11dUEzHMJU9vRT3yPembJWxJ1VnIIuQKajOP9nqwUQve3UpHBSCKlXGEx1S6Ge775T nX3g== X-Gm-Message-State: AAQBX9cvUZaZcQhVNx9+yINoHaawqlyhvm+ORu+pVQAv//7i58uHsjTb dyx0cM/gGHaSBsPiNY0RTRj65g== X-Received: by 2002:a2e:9a8e:0:b0:2a0:7d07:edba with SMTP id p14-20020a2e9a8e000000b002a07d07edbamr5228469lji.43.1680010142574; Tue, 28 Mar 2023 06:29:02 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id n12-20020a2e904c000000b00299f0194108sm5049811ljg.31.2023.03.28.06.29.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Mar 2023 06:29:02 -0700 (PDT) Message-ID: <76c5b46c-82d6-847c-aaca-7380d310d012@linaro.org> Date: Tue, 28 Mar 2023 15:29:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v4 2/5] ARM: dts: qcom: sdx65: Add support for PCIe PHY Content-Language: en-US To: Rohit Agarwal , agross@kernel.org, andersson@kernel.org, lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, lpieralisi@kernel.org, kw@linux.com, bhelgaas@google.com, manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org References: <1679036039-27157-1-git-send-email-quic_rohiagar@quicinc.com> <1679036039-27157-3-git-send-email-quic_rohiagar@quicinc.com> From: Konrad Dybcio In-Reply-To: <1679036039-27157-3-git-send-email-quic_rohiagar@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 17.03.2023 07:53, Rohit Agarwal wrote: > Add devicetree support for PCIe PHY used in SDX65 platform. This PHY is > used by the PCIe EP controller. > > Signed-off-by: Rohit Agarwal > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm/boot/dts/qcom-sdx65.dtsi | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi > index 192f9f9..084daf8 100644 > --- a/arch/arm/boot/dts/qcom-sdx65.dtsi > +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi > @@ -293,6 +293,37 @@ > status = "disabled"; > }; > > + pcie_phy: phy@1c06000 { > + compatible = "qcom,sdx65-qmp-gen4x2-pcie-phy"; > + reg = <0x01c06000 0x2000>; > + > + clocks = <&gcc GCC_PCIE_AUX_PHY_CLK_SRC>, > + <&gcc GCC_PCIE_CFG_AHB_CLK>, > + <&gcc GCC_PCIE_0_CLKREF_EN>, > + <&gcc GCC_PCIE_RCHNG_PHY_CLK>, > + <&gcc GCC_PCIE_PIPE_CLK>; > + clock-names = "aux", > + "cfg_ahb", > + "ref", > + "rchng", > + "pipe"; > + > + resets = <&gcc GCC_PCIE_PHY_BCR>; > + reset-names = "phy"; > + > + assigned-clocks = <&gcc GCC_PCIE_RCHNG_PHY_CLK>; > + assigned-clock-rates = <100000000>; > + > + power-domains = <&gcc PCIE_GDSC>; > + > + #clock-cells = <0>; > + clock-output-names = "pcie_pipe_clk"; > + > + #phy-cells = <0>; > + > + status = "disabled"; > + }; > + > tcsr_mutex: hwlock@1f40000 { > compatible = "qcom,tcsr-mutex"; > reg = <0x01f40000 0x40000>;