Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1088029rwb; Thu, 19 Jan 2023 06:32:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXt7X3OtdZMz9a/OM6Hi7ruM2bRIAd8jxwhzTrmlubNNM4Fhcj4PaF0Up/2w2mOFBRxzUx9X X-Received: by 2002:a05:6a20:2a10:b0:b8:54ef:632b with SMTP id e16-20020a056a202a1000b000b854ef632bmr10103993pzh.49.1674138726858; Thu, 19 Jan 2023 06:32:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674138726; cv=none; d=google.com; s=arc-20160816; b=fxue5AdQcwr6iYxI94Ko3TtIINz6eOq1j0pDhSJt8uF2WW7TBN8Hx1k8EVtYwYbVkB AAtZ2AxNutZnEMVT77eGyTVU3PUbflDNRDEJqk7XjVCGKZ0iEgx6fqOi2SbUzJuujVcu V7aBai9svBHPLSijrB3+C8fRUcgkm1rCZGf9v2OzPhWbbfOA+HnYmRA9Pyk879GqOjVQ L6uBWQWk5u5+vFr5jrT8ym004Hz16KdRI5DkMapM/4m12NLExwrhHDIUPInsfMVeZOm7 qjlpThoGX0VpbssI/lQ/wvCHvQ+l4tK6avr+FZxQIemHtUKjc5+WwLWr0c/yReDNbyUF DjMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2Gt6fBxe/r87B/vQZGTNNkKXveozIdYh6y/soHiLobw=; b=Y1J6GnTubhAJO7odJsYw+wd7xgero8I+a8oUVLkWok8+CmMjF2Ne7JZbR5aAysrFit /7yi0jLx+ZIFInlWymsrenoQjqsKuk76M028SGqjHfoggAYglOgxDnB6FXk0/bweQILz 9itthwJeAkHIRng8/KG6ogl+nSJERKFA+WHfJ4bMmBsjBu6CABJfEZbV7pwc/KsTgm/1 JSUKmkSEHih8FMGRWTyC9t/i6WzbzmbDdmOjeB6G6N3JaWjsRNXfzqbNeC5VX4F89+yk 77LCZC6ZB6D2HpvfmYn7aZCGy3+DO+wUIiDuCTB1P2zsOD7wFbp3nheWwu81FwP1twm6 EXCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lMgflNK9; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020aa78203000000b0058d9266a507si14431517pfi.376.2023.01.19.06.32.00; Thu, 19 Jan 2023 06:32:06 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=lMgflNK9; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230178AbjASOWc (ORCPT + 45 others); Thu, 19 Jan 2023 09:22:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231508AbjASOWT (ORCPT ); Thu, 19 Jan 2023 09:22:19 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 926572133; Thu, 19 Jan 2023 06:22:12 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2898161958; Thu, 19 Jan 2023 14:22:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 311D8C433D2; Thu, 19 Jan 2023 14:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674138131; bh=bY47sj+taCgjVg3ciOHgQdSFSSTtzqbCSq1j2aPO4Cw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lMgflNK94RMu0HDmaLdm3GnHGNVnW5J/RoxECwBu4K3DIg3722+vjDkVux1dVwXXD 0MCc1HnLi5ILp6pWp1gx+fP9RIOvhu1heAQywr44/50zTqb5mwoxWe7nO1zksWB3Mw RV0Hl6Nc7+LxhAFwNFznpY3r4hqbLI2XM0FuFDEj2PBNo8DlgauEkiw4yrEp0XgP9N f3vor7PXuQ1t2lvEfs6uHiZIa0GNV7c4Llji1U7jzYbTMEDWZVN8uhJxroCUKCJLR3 LHfKhTy2Lm5xrjB9jRVgqfm0i+RmZO6w6rgBHnyxOmyPdq4gOkbczG2jHD00tO/dJk FcIzO9TzgZMog== Date: Thu, 19 Jan 2023 19:51:55 +0530 From: Manivannan Sadhasivam To: Abel Vesa Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Krzysztof Kozlowski , Lorenzo Pieralisi , "vkoul@kernel.org" , Kishon Vijay Abraham I , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATCH v4 10/12] PCI: qcom: Add SM8550 PCIe support Message-ID: <20230119142155.GA101896@thinkpad> References: <20230119140453.3942340-1-abel.vesa@linaro.org> <20230119140453.3942340-11-abel.vesa@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230119140453.3942340-11-abel.vesa@linaro.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Thu, Jan 19, 2023 at 04:04:51PM +0200, Abel Vesa wrote: > Add compatible for both PCIe found on SM8550. > Also add the cnoc_pcie_sf_axi clock needed by the SM8550. > > Signed-off-by: Abel Vesa Reviewed-by: Manivannan Sadhasivam > Reviewed-by: Konrad Dybcio > --- > > The v3 of this patchset is: > https://lore.kernel.org/all/20230119112453.3393911-1-abel.vesa@linaro.org/ > > Changes since v3: > * renamed cnoc_pcie_sf_axi to cnoc_sf_axi > > Changes since v2: > * none > > Changes since v1: > * changed the subject line prefix for the patch to match the history, > like Bjorn Helgaas suggested. > * added Konrad's R-b tag > > > drivers/pci/controller/dwc/pcie-qcom.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c > index 77e5dc7b88ad..30f74bc51dbf 100644 > --- a/drivers/pci/controller/dwc/pcie-qcom.c > +++ b/drivers/pci/controller/dwc/pcie-qcom.c > @@ -182,7 +182,7 @@ struct qcom_pcie_resources_2_3_3 { > > /* 6 clocks typically, 7 for sm8250 */ Now this comment is outdated ;) Thanks, Mani > struct qcom_pcie_resources_2_7_0 { > - struct clk_bulk_data clks[12]; > + struct clk_bulk_data clks[13]; > int num_clks; > struct regulator_bulk_data supplies[2]; > struct reset_control *pci_reset; > @@ -1208,6 +1208,7 @@ static int qcom_pcie_get_resources_2_7_0(struct qcom_pcie *pcie) > res->clks[idx++].id = "noc_aggr_4"; > res->clks[idx++].id = "noc_aggr_south_sf"; > res->clks[idx++].id = "cnoc_qx"; > + res->clks[idx++].id = "cnoc_sf_axi"; > > num_opt_clks = idx - num_clks; > res->num_clks = idx; > @@ -1828,6 +1829,7 @@ static const struct of_device_id qcom_pcie_match[] = { > { .compatible = "qcom,pcie-sm8250", .data = &cfg_1_9_0 }, > { .compatible = "qcom,pcie-sm8450-pcie0", .data = &cfg_1_9_0 }, > { .compatible = "qcom,pcie-sm8450-pcie1", .data = &cfg_1_9_0 }, > + { .compatible = "qcom,pcie-sm8550", .data = &cfg_1_9_0 }, > { } > }; > > -- > 2.34.1 > -- மணிவண்ணன் சதாசிவம்