From patchwork Fri Jan 13 16:44:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 43429 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp372960wrt; Fri, 13 Jan 2023 08:48:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXs7FhpZUVgWbwB6sl2XbpqA4hQ3+9rGG8NNmfXkTSzpb3AqzN1qfOf++vf75R2jJhQgev9F X-Received: by 2002:a17:902:b7cc:b0:194:6409:b54a with SMTP id v12-20020a170902b7cc00b001946409b54amr5809149plz.49.1673628489894; Fri, 13 Jan 2023 08:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673628489; cv=none; d=google.com; s=arc-20160816; b=BDorXMQIdCHrX1e9vQZaA1rLivgwAuRKes+qklt7R7xtdnskRB8o8gikAwZVihzeR9 cPC7qk3DlYzeZUpmpeQZA5u3VR68f2zFz3obgc1z66pCCBzJUETvdPf5YC28qk7fSWhW 8v6Z4joJOD5LrLAWXUbzMTRA84Ei7zukafGHHJkC6ZlEFzTMbtw3y25Kjhq8X4+IJJtU AWCkOD+Ksni7JTDk8FgMTrhAXiRvGTuLqTDyW8QgLriYC9oebAwok9yseHnEWiBVXWCY XV9CWcU9NkqwnDNQ+pSbsuMNRq0Won2s4Ci+iDoERHDDKaA1+4HN9f65FZpvjoPmA7Dm Jeug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hSYE2T82iOkVo5VndGHZGfvNrTv8HNJ4m9Ysiu68KwI=; b=EnxfHn52gCArb0JzJ2VeXLWSDGBJTFm6F0oGSNJ+CG34OQov55lXe2e4Mf1WHc1qfH SUZ0ujNNqCGU6H9pSfZRVJBDbTWxsNqdfVzKbrsBsq+rR9fF7gxqIKWYIC9/dPTCsrvp UP/ff+uQHAzjzaictT6JADDs+hxSp928p3Ko/1PnDzvLFWzLrhgoJtKR2ghz1PJnTQ+n X87aPCFmBzlQ74tVj4e4Je7wlmEr7Tc+88tC/oJECbIG+XfJlgfXgVpOBO7iCdn3QPDL WEj7aV6dLEFL6NQBzDDbPDH8SxLpSW5naGd6DrbIezzSymwHJzjHEm0Xh/N7s74qzf3L nfDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Wud4UUW4; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i11-20020a17090332cb00b00189d0fa14desi21585043plr.620.2023.01.13.08.47.41; Fri, 13 Jan 2023 08:48:09 -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=@gmail.com header.s=20210112 header.b=Wud4UUW4; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230197AbjAMQr3 (ORCPT + 99 others); Fri, 13 Jan 2023 11:47:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbjAMQrF (ORCPT ); Fri, 13 Jan 2023 11:47:05 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C790589BC3; Fri, 13 Jan 2023 08:44:53 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id vm8so53606485ejc.2; Fri, 13 Jan 2023 08:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hSYE2T82iOkVo5VndGHZGfvNrTv8HNJ4m9Ysiu68KwI=; b=Wud4UUW4I0LXXwykMW38HKJzeiS+ewkGf9GCGBhdspHzc/IDzmQhpNmnyBCs6aOYdb AOFYSdUSeTUxz+Lk/LMrl0vrloshPMfcXeLAvRWMFsQK4JQfsAOdwLCRljl2pVvlMpCi x3CtDMaKPlfQ0T2TZnDo1ymZMQVPoH30CwwGJTIPC68iU7Ab8TqoorI4yO5xAUQYX4qQ GQJBjp46izovE6xhsm0Z/KmMHtcDBVazocFosVTkV6i9gmD8IUrRWH65/oWuhmEVbBJy CMb5l+YCMMYObueKXEVUksnHUrYQvRnl9FpQG7m38BUjuQktrWnBYFXBgGUDiL6BD+m/ Hnuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hSYE2T82iOkVo5VndGHZGfvNrTv8HNJ4m9Ysiu68KwI=; b=joRwul10fFjiQFOdFDPiYYbXgEmpArDQoMXzNJxXwyeSUxWMveUuOWIGSIcFgBWWHZ 8NAFe0M8fNAy3y/j73bdUbdZqHA/BXix1VApN4ZikJdmz199uMgeNedotvVYb8asexve d1uff0lwUSrl8LReVlkcK1Ivp+31K3Af8Rnc2xnvNcnexHMCqDfT8aOzJNv0109a0pHf rImKjnI+8vfzSkTP1GRe3mCR+XqaZvNOKYGHj2t3mR39u8avqdRBzDPQeccsr6luCsVO U+Smjn7lWbjakNuNI8TfvjsIb71F2RhVDdlZB+V9h6/cDmSrw8CpPvgYoqoH+S61zgoK 3y5w== X-Gm-Message-State: AFqh2kpK5yqd/u9ZUKr6m4Nt35RqYMXhbdZ9tg5lzHh4ivjODovjDRzR HTEFoBQxpayP3f60VoqFgQA= X-Received: by 2002:a17:906:3095:b0:809:c1f4:ea09 with SMTP id 21-20020a170906309500b00809c1f4ea09mr63716609ejv.69.1673628292202; Fri, 13 Jan 2023 08:44:52 -0800 (PST) Received: from fedora.. (dh207-97-147.xnet.hr. [88.207.97.147]) by smtp.googlemail.com with ESMTPSA id sb25-20020a1709076d9900b007b2a58e31dasm8777831ejc.145.2023.01.13.08.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:44:51 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, bhelgaas@google.com, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, svarbanov@mm-sol.com, shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH v2 1/9] arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY Date: Fri, 13 Jan 2023 17:44:41 +0100 Message-Id: <20230113164449.906002-1-robimarko@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754926667709840159?= X-GMAIL-MSGID: =?utf-8?q?1754926667709840159?= Serdes register space sizes are incorrect, update them to match the actual sizes from downstream QCA 5.4 kernel. Fixes: 942bcd33ed45 ("arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes") Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 06e2f0157396..31ec24100213 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -277,9 +277,9 @@ pcie_qmp1: phy@8e000 { status = "disabled"; pcie_phy1: phy@8e200 { - reg = <0x8e200 0x16c>, + reg = <0x8e200 0x130>, <0x8e400 0x200>, - <0x8e800 0x4f4>; + <0x8e800 0x1f8>; #phy-cells = <0>; #clock-cells = <0>; clocks = <&gcc GCC_PCIE1_PIPE_CLK>; From patchwork Fri Jan 13 16:44:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 43430 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp373071wrt; Fri, 13 Jan 2023 08:48:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXtVif0U+KJjfKDImxjKOm1Xv0cseONmccFlMCWKtKOW8Sh1cVydGMxtG2iiskle25LhqV4J X-Received: by 2002:a17:907:a708:b0:82e:a59a:5c3e with SMTP id vw8-20020a170907a70800b0082ea59a5c3emr89065525ejc.10.1673628501048; Fri, 13 Jan 2023 08:48:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673628501; cv=none; d=google.com; s=arc-20160816; b=mmJGyVvK4V9H9bo1fCRGe2lK3wajEX4pq93A/IO/6mjAAbpyi69DzIvHJr/rNNlPux ZbweIJr9VKM56btgISGnTVebEGewpyPKjJGmyDaXGXC8jb8kJY+iXkUhrUCGfdBZe4JN VnWULJM6AmeNX5IZl7xfdo2XolcCNbEaMAaxjW7ypvuQW/BdkTwKngC8sEiki6C6eXPm lf2UwoMFudm/XjkRYYIkX2rvhzv3nn72zQxTmpXe69q3JSi5DfQae6BYan30yWPSVjTi 6ItO7j7zdKUo6CTL+y8edmAqpnjKIIMu6yLd9cU8uA3r7loNlicZ99t6SndGkjkpIcy8 3TGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JZtHSB0eCc8lOVuNfyokAmhYTSqa4Jdvmr66zlOUrvk=; b=GMQpbyJavsotH0jdLBKkrQj0qiR+FdBEk7g6KBz3gs6rVZB/8+885vNwCF7+d26izj wO2xMuGt/Wf3Ob9GYpKNjYlODYbxIU6+W5L6y3AkYIl/0n/Ld5g7dFFr2uJYG1BLPSge HqsUF3Ut/DPjvFbRyEomFmcY+7mZRMF1+D50QbsMwJcQG9ucx4dVYGkuRiRb1I6ReV5N BMcghp0nGnJacb8NREvhm2YOw0WDRryHSchHNn4NB5qr9xK9Qbg5XehOTOuYSjYTLqSy vyzFVActWp7j7S357j6rmStXy92ZyeMWILwI8leG2yeaScZ+GBj8M5R/7U0zM/6eF1Ay 4BaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZrTOQtwA; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc12-20020a1709078a0c00b007bebf105450si22069223ejc.235.2023.01.13.08.47.57; Fri, 13 Jan 2023 08:48:21 -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=@gmail.com header.s=20210112 header.b=ZrTOQtwA; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229457AbjAMQrf (ORCPT + 99 others); Fri, 13 Jan 2023 11:47:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230126AbjAMQrF (ORCPT ); Fri, 13 Jan 2023 11:47:05 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07EF665E1; Fri, 13 Jan 2023 08:44:55 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id ud5so53646599ejc.4; Fri, 13 Jan 2023 08:44:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JZtHSB0eCc8lOVuNfyokAmhYTSqa4Jdvmr66zlOUrvk=; b=ZrTOQtwAkJSneXkJZLjZKlc/0Nkl52jz7jsKdEpo5HfWRitKDqZKZWDXOMjmyQ5dLp 9sVVZSdDXRSw7BCWZvdEnoph1YAPOD4UUW3fIN2AM9EAlhDBqd6icKLcGuCarC3cL7qS 5p1xd7nSKKX1NvdgSksOP4mWvYx6K7RtHIk3Px4IBb7QybQbQ4KVyQLxndy7mKkhn5qC fCmuARsE3kttt/xK9Vh0ezsTZjiA6/Q1cN3orCieUyITDFMRxiGOu/M5dQNYZVUWrfXf 3VMTpWzukj3EVBeDAMYZRmgPKuU8I4PryehGP1OE2DivKkdTmhCVlLZmaNCL/oNU/DOj kerA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JZtHSB0eCc8lOVuNfyokAmhYTSqa4Jdvmr66zlOUrvk=; b=wHN4uvtylIA66nbOVhdRTI+vthE7StcVWt2G6qDHwDCkli+KowC5rQt7yOKM6JbUGu TT7JOfG264VVNEnvvMyZvxer8U9RFH9vyTLxBMbovAY4a79NZfeWRnJ7D/4rZyf1h9BQ dln4yREZuetvb2w76RKJJTM07L8yv0E99diFRUyM6zFuXk0ejlH26e1lEZa8v0y090aa nxCXvg0yjr1cCwO7jb9mdGDIsYxDn5OG31FJyPqonMrXnLFnMReicCFnPHE+MTBkf5Kz H9rhsbcZ5WxIM3W92HTU9lbRLnBPwFoK9rf6bPieRvcTwyGQ10I1Xsr5HqAWUolYf2mu t+gQ== X-Gm-Message-State: AFqh2krKG10tmSOa2E7fkhyFbvT0wnwQ4fg+YHfNFsdx4AcW8ywRqW40 U908Lsv6tPti4Z7KHthIaOI= X-Received: by 2002:a17:906:99c7:b0:7ae:b637:633f with SMTP id s7-20020a17090699c700b007aeb637633fmr92461686ejn.4.1673628293556; Fri, 13 Jan 2023 08:44:53 -0800 (PST) Received: from fedora.. (dh207-97-147.xnet.hr. [88.207.97.147]) by smtp.googlemail.com with ESMTPSA id sb25-20020a1709076d9900b007b2a58e31dasm8777831ejc.145.2023.01.13.08.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:44:53 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, bhelgaas@google.com, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, svarbanov@mm-sol.com, shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH v2 2/9] arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY Date: Fri, 13 Jan 2023 17:44:42 +0100 Message-Id: <20230113164449.906002-2-robimarko@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113164449.906002-1-robimarko@gmail.com> References: <20230113164449.906002-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754926679212486809?= X-GMAIL-MSGID: =?utf-8?q?1754926679212486809?= IPQ8074 comes in 2 silicon versions: * v1 with 2x Gen2 PCIe ports and QMP PHY-s * v2 with 1x Gen3 and 1x Gen2 PCIe ports and QMP PHY-s v2 is the final and production version that is actually supported by the kernel, however it looks like PCIe related nodes were added for the v1 SoC. Now that we have Gen3 QMP PHY support, we can start fixing the PCIe support by fixing the Gen3 QMP PHY node first. Change the compatible to the Gen3 QMP PHY, correct the register space start and size, add the missing misc PCS register space. Fixes: 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes") Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 31ec24100213..c93e3f39f33d 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -232,9 +232,9 @@ qusb_phy_0: phy@79000 { status = "disabled"; }; - pcie_qmp0: phy@86000 { - compatible = "qcom,ipq8074-qmp-pcie-phy"; - reg = <0x00086000 0x1c4>; + pcie_qmp0: phy@84000 { + compatible = "qcom,ipq8074-qmp-gen3-pcie-phy"; + reg = <0x00084000 0x1bc>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -248,10 +248,11 @@ pcie_qmp0: phy@86000 { "common"; status = "disabled"; - pcie_phy0: phy@86200 { - reg = <0x86200 0x16c>, - <0x86400 0x200>, - <0x86800 0x4f4>; + pcie_phy0: phy@84200 { + reg = <0x84200 0x16c>, + <0x84400 0x200>, + <0x84800 0x1f0>, + <0x84c00 0xf4>; #phy-cells = <0>; #clock-cells = <0>; clocks = <&gcc GCC_PCIE0_PIPE_CLK>; From patchwork Fri Jan 13 16:44:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 43431 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp373110wrt; Fri, 13 Jan 2023 08:48:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXuNFIpOxDMQqbS3Q+0tF32rgtlXDySPIwfQRtgytgpU8a977Rb3HMMyp0AykBFMVgampGvO X-Received: by 2002:a17:90a:294f:b0:226:f7f6:ad2f with SMTP id x15-20020a17090a294f00b00226f7f6ad2fmr24574735pjf.38.1673628504006; Fri, 13 Jan 2023 08:48:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673628503; cv=none; d=google.com; s=arc-20160816; b=VKXw+U8FjikhwKk20SymqURVIg53egMKOFWkbERY/GDhz4OO12Mr97xU2Uywo00anq Kx5a67W6FyBkzPWru2w5oceRNShk2VZdgK/16u0hmNqkL+Y3hQW53xYeXeHfgur70zQ9 SWZ9a3B3Tn02uFzugHuphuU9haJDGmKkhDDQ9rt95/UCuJCXv5oMu8BIyxp8KfJnkwbk IMDwKZrxf4gpV//F3smr2lvuIUriU/TLkjN9iUNRJCfQdqENWieNwLyNzoScdgsogUzl 6uLeDwwW8hxmEbju7j+PHng+mSxhiQZ1KZuGEO8IGofyo5b8P9ODZgRSml814/d2sTsZ oa1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EQcb/oB3xwlOm2s48lLOAq9nyVmzgn+8crtA0/+mZ6I=; b=Ds3/MRvFE/ULlUH5meey+6u/bzabMaL0gbZBPbZnfIxdTz9mHiZkhxva7f7NHedMS/ Smsq9bfL//wJHOsupX8Ey/Dd0CimPZnCVNL7EGVUczO9KBl5l1g2mVutxRrRvY2r7uxk 3Jwc/HHD4I1FBAny4YPQzvTNVKcHXWjzLbHutyJ7s36cQFMCtU0RtH6Awqkf7Rp68uK4 8Q+AwXqRxDHuGEram1y9ZXLW2tssfo+XgCcICHB06rthJIzZWSNyh1zPIJD4gHXt44c/ 7GoEWqbp+F03RCltJllqwb5ARZJ2McLQwzlpLuFOP9sgkH+DJI7f9xIyfJQCcDuEuvgr 5SyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="EMGWF/60"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 68-20020a17090a09ca00b00229008bcf6bsi5308085pjo.16.2023.01.13.08.48.12; Fri, 13 Jan 2023 08:48:23 -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=@gmail.com header.s=20210112 header.b="EMGWF/60"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230256AbjAMQrk (ORCPT + 99 others); Fri, 13 Jan 2023 11:47:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjAMQrH (ORCPT ); Fri, 13 Jan 2023 11:47:07 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C60987BDC5; Fri, 13 Jan 2023 08:44:56 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id ss4so46355397ejb.11; Fri, 13 Jan 2023 08:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EQcb/oB3xwlOm2s48lLOAq9nyVmzgn+8crtA0/+mZ6I=; b=EMGWF/60kpr/l/+9wKwakDK9XdOz38PcYFeA7MDzQldjdl4x03vknBOGOPhoFBMI+0 /HIBACCJ/OuWYQnHFrvKnN758S7TWNsHCC3eI4BWDVGM0zQH9Ct4nYPP/LHeuwbz3okI WS2yn5yiskrYPSVKUA7x9zsPskcxd0br5xZWRUcjlRQV/ck2kOsNNfuXj6H15n8WgWsl opshIvdMpsqLo9yVKpErnzIk/flj4HA9FP6+8PQN9rmoRcHUzuSZqxi1XxFRa9AxEZXp sFV3Aw4lslSF4UuHYd5ruzo4m9aTgmHXq6LWqgZv15rmhtQ0hIFRWJ4mDOdtIkb0tAaC GTCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EQcb/oB3xwlOm2s48lLOAq9nyVmzgn+8crtA0/+mZ6I=; b=78cIM6vzJ9zfcqZCQ4X5kAC4Uyt494l6GeCE1IizFs9fteKt62rZAgkPWGgotGufkh alVgm7r/tY3uon/OqAd7ViHx8Tc7QtYTFUDNLLz+J5xspfhGTi9DhaMPK0Du1DNQn+v8 ktXV074ScLNiNHRCUR6NerGsziwtxOsQANmhI/z0qfi1c0H8SPtBQkxg3cQLi9H+oedB Cr4d+NbgZmq5Kt75XjD7x1A98WCANhpWcRkBbVzyPecDyyfRqM4YG4Er8Kc9ANoZ5LTL nsKh8k3UzmSFYB4qeGJhTMwpZsqRYXY/5nT/YHREIp40DmNfRK4FwUnQjLT+esf+dyn8 +Pyw== X-Gm-Message-State: AFqh2kqUJLXepsZLCsA6ptsJHvOJQ7EoesP7pSh6hOGiXezwwna71JrQ o6aULrEL27WLErWGaxRjNoo= X-Received: by 2002:a17:906:6693:b0:7c1:8ba7:3182 with SMTP id z19-20020a170906669300b007c18ba73182mr77501370ejo.69.1673628294893; Fri, 13 Jan 2023 08:44:54 -0800 (PST) Received: from fedora.. (dh207-97-147.xnet.hr. [88.207.97.147]) by smtp.googlemail.com with ESMTPSA id sb25-20020a1709076d9900b007b2a58e31dasm8777831ejc.145.2023.01.13.08.44.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:44:54 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, bhelgaas@google.com, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, svarbanov@mm-sol.com, shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH v2 3/9] arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges Date: Fri, 13 Jan 2023 17:44:43 +0100 Message-Id: <20230113164449.906002-3-robimarko@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113164449.906002-1-robimarko@gmail.com> References: <20230113164449.906002-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754926682144202880?= X-GMAIL-MSGID: =?utf-8?q?1754926682144202880?= Current ranges property set in Gen2 PCIe node is incorrect, replace it with the downstream 5.4 QCA kernel value. Fixes: 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes") Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index c93e3f39f33d..06e1da176334 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -808,9 +808,9 @@ pcie1: pci@10000000 { phy-names = "pciephy"; ranges = <0x81000000 0 0x10200000 0x10200000 - 0 0x100000 /* downstream I/O */ - 0x82000000 0 0x10300000 0x10300000 - 0 0xd00000>; /* non-prefetchable memory */ + 0 0x10000>, /* downstream I/O */ + <0x82000000 0 0x10220000 0x10220000 + 0 0xfde0000>; /* non-prefetchable memory */ interrupts = ; interrupt-names = "msi"; From patchwork Fri Jan 13 16:44:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 43432 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp373140wrt; Fri, 13 Jan 2023 08:48:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXu4FOTRiqBB52BbAhByBcitiwiSLtXf9Zh/89cdl1NF+0RSUpABtj6Mz9QBPllLDwT4SObh X-Received: by 2002:a17:902:8d87:b0:192:d58f:e5ff with SMTP id v7-20020a1709028d8700b00192d58fe5ffmr36423927plo.16.1673628508589; Fri, 13 Jan 2023 08:48:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673628508; cv=none; d=google.com; s=arc-20160816; b=hciYOuakIyqKAOyQl+zOkPRtCeMaomweSVgJRUlGwqMFO2O5P/w4F8Hzj24CRYtZH7 3T9owomM1wvBDnfnDWqTqkwTCERAzOewI0bfYnmzuz5RNoQ7x2Q1kOr/LvOyg8EIa0cS r1DfSYM22UY/HAQyeW3Mrd4/SZe7YA6XLHcWfmBh0R9zNI/+7yWvfzYHq5RKtogP4v4w zJgKVfTySWT9AZB2tkgpx1Jr1mzZm2u9/3v7Z3HyiX+Y+HFg8iHA0LJu3iYkB/jLut3M 5CmSVYgVFKJ7GBDqOtPEqMONio7no2Ovfxdm/yqenvYmHq1nUEbPpLlnn5DNZ/tLwp60 vpNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Myq7mHdqsUE+VFev1hT0NgPEUBx3bz87gHy9ti3y5O0=; b=E5u9OLclo6Q9oO1yu6BqBPRJr1Jv+bgTkPtwT2p2FQmMzmt6KJtBKrtdbkmfbhhIFj xeBVzn+FHLqSnMJ3iaIKN0pQmfyz+x3bQK3FKX4Xp+O4ZB0b4+so2L8JPiJIQM+tTa+t YcGb1eyy0bXybzQi3+TMPYYnvpDrsRXtVrfjnuDaCBQXQbeYfWH7iYq0as1AcwPRzP4k cM3pNF+y/OAciNbgirSu3kok47upgfsNdmEOLLAWwyHvzaZMQrhpN+8NFekZm8N+u4ZS jcOrlubMlcbve5magIru5yPJKz+LczDK1E2emUHu/mqScq87zh/pnwz0o8vhcty/SkpM wiKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CSvoS7ch; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a170903228a00b001930a5bccfcsi2862610plh.610.2023.01.13.08.48.16; Fri, 13 Jan 2023 08:48:28 -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=@gmail.com header.s=20210112 header.b=CSvoS7ch; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230280AbjAMQrs (ORCPT + 99 others); Fri, 13 Jan 2023 11:47:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbjAMQrI (ORCPT ); Fri, 13 Jan 2023 11:47:08 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1C374D4AB; Fri, 13 Jan 2023 08:44:57 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id ud5so53646862ejc.4; Fri, 13 Jan 2023 08:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Myq7mHdqsUE+VFev1hT0NgPEUBx3bz87gHy9ti3y5O0=; b=CSvoS7chzkXNLmc/XORHl9BROENcpS3fJZq2ie/HnCE1o88cqobm9BFVk1wSqQStRI RKXHfAySsNC9u2SCfUg1B6Oy9d3034AQ8e1nD5A8h6/kF7DVgibMchQgh5+w3WDkPzhu Nb9POAtxPwPqzqIXaaRw9SBUaQlCz5n/LZclFK3YfZocECFYkFnJxZ9sb+OP1YTOUFnC T/c14TJeU8YVznPhy2+Fps9Iq/CvPD2MuLwC+rp6MgtNAAL4znLx8qb58Ht3y7lMoWGG Ej+TwprS85rbDpSYAV4Q5KjYtlQVJjjjEKPzMUT9g7/4b70wtpFLE0sLPxY3xT/MbCk8 9wDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Myq7mHdqsUE+VFev1hT0NgPEUBx3bz87gHy9ti3y5O0=; b=w2U8QVIjtDHAoPR0qjTjr14BZuyBTkRnnZ2gcfr6o7uhTIRcMZ0Hjsv3fHnJlln1vB kL5OkwYC2f71RdhAB2WWNKC0aCBeeOElHUeakIUhDBn3xRFDwsGj0eyDJxqPjMzj9Ym0 ry2Z/O1erADjjUJpRke61C+JWe1W+9jGW2pQgU2YoQn33q+SZ7OfYwaLTjW5Tty+lYYt LFS7BCQ4arjpaVTb7vXRgmJn/jk8JYBmhFMcnCmaK+DLeXtVl9HCMlXTN4n0l8w2glnt TZw2DoEkF7c0gCvcRHS4nU3rsAH7Z/0KAIKATui7RL0e0mqXDinHz+8PIIx0WFY5v3T8 vGLg== X-Gm-Message-State: AFqh2kql6KciP18kkiOTepWR3xGmjB0YnkvjpKYjikOVo4b2kUXhI+lX 1oukEtWGM7hze8WmE/hQF8E= X-Received: by 2002:a17:906:370a:b0:7c0:a350:9d29 with SMTP id d10-20020a170906370a00b007c0a3509d29mr66478731ejc.18.1673628296317; Fri, 13 Jan 2023 08:44:56 -0800 (PST) Received: from fedora.. (dh207-97-147.xnet.hr. [88.207.97.147]) by smtp.googlemail.com with ESMTPSA id sb25-20020a1709076d9900b007b2a58e31dasm8777831ejc.145.2023.01.13.08.44.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:44:55 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, bhelgaas@google.com, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, svarbanov@mm-sol.com, shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH v2 4/9] arm64: dts: qcom: ipq8074: set Gen2 PCIe pcie max-link-speed Date: Fri, 13 Jan 2023 17:44:44 +0100 Message-Id: <20230113164449.906002-4-robimarko@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113164449.906002-1-robimarko@gmail.com> References: <20230113164449.906002-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754926686921585987?= X-GMAIL-MSGID: =?utf-8?q?1754926686921585987?= Add the generic 'max-link-speed' property to describe the Gen2 PCIe link generation limit. This allows the generic DWC code to configure the link speed correctly. Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 06e1da176334..5ef4383ab18b 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -801,6 +801,7 @@ pcie1: pci@10000000 { linux,pci-domain = <1>; bus-range = <0x00 0xff>; num-lanes = <1>; + max-link-speed = <2>; #address-cells = <3>; #size-cells = <2>; From patchwork Fri Jan 13 16:44:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 43433 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp373227wrt; Fri, 13 Jan 2023 08:48:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXvhy4hh/HbzWQ/BZSx/8qmRLGF1YDt01T2ddQfJnmLNHxtjJwE/M/hMTiKzK61TVhvn1Dc7 X-Received: by 2002:a62:b619:0:b0:574:3cde:385a with SMTP id j25-20020a62b619000000b005743cde385amr70345881pff.32.1673628518507; Fri, 13 Jan 2023 08:48:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673628518; cv=none; d=google.com; s=arc-20160816; b=fSzHX3EhEHDwtJ4qVsDgauAGoQwA5RpGWb/m8frXon9CbFZ6Jn75Hxah4OlR80+wd8 KhIGXERILoIE8Zt5rDlRvfL4m3Lsyd9zQU4iStowiW1xUmX4bm5uJ82iXoKfyYdW0Bjz 0H6tWYIP7Ad34L8D4aohms8cKYqRzxijvK57MwIpK5KG+rl4TbFwKGTdHBqsCx6lEAJA KzZeGkLRRD3RoiwJIXRs/rP1EsMaBYh58VdoG8rlB00azRbokGBIN3uTbQiGvujhR3UM C6Fan5dIfRUdgo0TUcb6jsxYQo/E6lfqDZ+cIxnrbCkFwuSa8D22IRRanzU0Yfe5d6Zy a5GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=97SxF/mOuJXLVnQXR3aT6mXxy12CiY85FHycSGN5Oi8=; b=ws81TSriJXKAudoxpyELsYrIx1U0ooTE5ije5QmDzyagCTjbgkX1ly7abwdRz3RPOR Kx6Xe7mrruN1D0BKQBkfsqLIrP8LVQWVqoYeKGa0uvHVSfs0WJ7Plc97aemHYaxTgWe7 r/rW1wyRRPOg8WLkifDnOWr/KdNc56QswJ+aBSgO3LUIArJEGq4M7xU7s1nogS0YyF7r MBFzTxW1t20aeblKGK7lhBjz2vptxoUEOWkjoirR4tyum3jbfDS0EWXnvUn5cf2Dbiec Zfr7TSH4S0Rb9IjPpMbmaDdF968tu6kfR/vRnDxaP0pdSxIN6ZUV14Kfur2epVqUChXo joag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LrRbpIk9; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd9-20020a056a00278900b0056bf15d0cbfsi22008365pfb.308.2023.01.13.08.48.25; Fri, 13 Jan 2023 08:48:38 -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=@gmail.com header.s=20210112 header.b=LrRbpIk9; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229840AbjAMQr6 (ORCPT + 99 others); Fri, 13 Jan 2023 11:47:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbjAMQrK (ORCPT ); Fri, 13 Jan 2023 11:47:10 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 360BB78A6B; Fri, 13 Jan 2023 08:44:59 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id v6so10606510ejg.6; Fri, 13 Jan 2023 08:44:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=97SxF/mOuJXLVnQXR3aT6mXxy12CiY85FHycSGN5Oi8=; b=LrRbpIk9cBXGhme0Gl5YjV5U6TFOgD6XR7SMEkM7OaNrAmMDbke6kBdVhPbOfyMLjP dke4nrIR8GQ76qoFJar7pgFZUHlaNpAc4Y5q3kLnBl8z0RYc1Md8jka34WRjgWlRLAdI f2XdxL6A7AfNystl0GVu/lLo1ykmAggOpCcoh1mUyctV5gPD/CjdOUjFo8v7u4y6nP/Z si/KRYXpcSkoQ6KAUsCz7GEqb6HbhxToRsFtJAkpHg2IGMP0ZZXNblw5GmaMPC/K8hfb QFT4Ye1odE32Bi3u5hb+CZW2HFSvsBxx67PJgVkszzb0iQ8b3ueogd2nx8W6+/x57nXv zy3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=97SxF/mOuJXLVnQXR3aT6mXxy12CiY85FHycSGN5Oi8=; b=ufgaPbY2JSiZig+yzF+S0O5JfcDxVMqWjichNkp60A/XVt9ub+WmyWgckPQEidxDDp 1YY/qd112fwJh/QCIkEp2pR5KKZ2pZHvUnixnObKciwKoWA9XyxqY9ZM3bE5iSSWGyfC LI97bGh69HeEpvgdO7nOGwWen3KevIkviTQ8q4PpCIY/sK6CJWsQiN+XL7jKoF2cFdfC JVtMe+y2ZEmbhHl5S7iOSa/emvAL+2IIsuROwPw/GBTMD4d5MALvUmCHR322mg8IGysR mUGY2pM7HW4Wnub++DHl8IwakRuI9rWAA1UcgKRZa9++uwO7VKBtQcthwbXcdcDkSevz k3gg== X-Gm-Message-State: AFqh2kpHN3UgT5TU3FGQ94u6xzZqshUy8Ol3RmdtOFfgrXnHECe0mFJ1 j3WmH9LM8CMVW0B5ULf3c86KQ/oUhoBaxg== X-Received: by 2002:a17:906:2886:b0:7c0:fd1a:79f0 with SMTP id o6-20020a170906288600b007c0fd1a79f0mr3178305ejd.21.1673628297691; Fri, 13 Jan 2023 08:44:57 -0800 (PST) Received: from fedora.. (dh207-97-147.xnet.hr. [88.207.97.147]) by smtp.googlemail.com with ESMTPSA id sb25-20020a1709076d9900b007b2a58e31dasm8777831ejc.145.2023.01.13.08.44.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:44:57 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, bhelgaas@google.com, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, svarbanov@mm-sol.com, shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v2 5/9] dt-bindings: PCI: qcom: alphabetically sort compatibles Date: Fri, 13 Jan 2023 17:44:45 +0100 Message-Id: <20230113164449.906002-5-robimarko@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113164449.906002-1-robimarko@gmail.com> References: <20230113164449.906002-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754926697503712818?= X-GMAIL-MSGID: =?utf-8?q?1754926697503712818?= Sort the compatibles list alphabetically for maintenance. Signed-off-by: Robert Marko Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 8da8ece1d4d7..19580350db11 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -17,13 +17,14 @@ description: | properties: compatible: enum: - - qcom,pcie-ipq8064 - - qcom,pcie-ipq8064-v2 - qcom,pcie-apq8064 - qcom,pcie-apq8084 - - qcom,pcie-msm8996 - qcom,pcie-ipq4019 + - qcom,pcie-ipq6018 + - qcom,pcie-ipq8064 + - qcom,pcie-ipq8064-v2 - qcom,pcie-ipq8074 + - qcom,pcie-msm8996 - qcom,pcie-qcs404 - qcom,pcie-sa8540p - qcom,pcie-sc7280 @@ -35,7 +36,6 @@ properties: - qcom,pcie-sm8350 - qcom,pcie-sm8450-pcie0 - qcom,pcie-sm8450-pcie1 - - qcom,pcie-ipq6018 reg: minItems: 4 From patchwork Fri Jan 13 16:44:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 43434 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp373248wrt; Fri, 13 Jan 2023 08:48:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXsmCK//ycZ73l5h6iTEbH1/KFPRnnzGS5QPVsMn/duGUrxib49P75PIAEWa2FpnyseJR4HB X-Received: by 2002:a05:6a20:2d06:b0:ad:e5e8:cfe8 with SMTP id g6-20020a056a202d0600b000ade5e8cfe8mr100393743pzl.48.1673628520406; Fri, 13 Jan 2023 08:48:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673628520; cv=none; d=google.com; s=arc-20160816; b=byYJ8jnqjHy1l9K+Af6r4L0CZGTDrPL5Y4+IzpoBhMSjh13Zaot4ZyUp7ps3T2/gjl v4i3M9ZY0L1M3HCjA9wRinl8B7TMdkAPaKa9HkPSNxziBPjCvxtNhUFafFNkVOiIdo8c xDdmFGEZzZygpXnsjql51EiiqNlYXkqs09/j0MF//JaabR4xRUyC4iIHp+4PAdntnHfw oBcdDakTejOVAZ6qpRx7Lk+ikvQeQCXjzf0IVTk14JIULofnfB7zlfJrOnF40AeJrQCU /bptcj06E6iblFn5YPD2idnnarZT720MgkNHszmF4iQyJHrVc8gAnVqtwFtaQ8xxLN+O 2otg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8RXpc+qR14+HHZGpeltUoGyeqhas9NSG4qLAjy0buBE=; b=qzq7AX6uVilpnkjpaBYq3SOuDUABxSNqHz0B9yXoR0D2562elzQM61wCiXLSwaQYqB kqcxRqWjMCl/swEXVcyJUbTEzxgIwZ29pziy2hrEyIoacVDSYmfm89EI84mToiUu7BtX Cx7B0y4lFm6Y0bBwEZxWo0ZqEVBTEzjO8moa4+09SMY7qky0SL4/nmLui2aYzrQGSdMg 0fZ9JSbz+ALSw/JHHUmAo9VKdnt0uAIx/Kl2+M3imc7RpRs52C40PZRQ7FGaspz3y5hl PI8zrW19BmbDtGaxVoEgAriMaq7WhhLyZSVpNXeX4IuOjMcd2wu9tG4Ki1jR+/p/UiTT Qm0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LFU15355; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a63d809000000b0047895cb23d2si21360888pgh.646.2023.01.13.08.48.25; Fri, 13 Jan 2023 08:48:40 -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=@gmail.com header.s=20210112 header.b=LFU15355; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229759AbjAMQsF (ORCPT + 99 others); Fri, 13 Jan 2023 11:48:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229703AbjAMQrN (ORCPT ); Fri, 13 Jan 2023 11:47:13 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F4364D72F; Fri, 13 Jan 2023 08:45:00 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id hw16so41767972ejc.10; Fri, 13 Jan 2023 08:45:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8RXpc+qR14+HHZGpeltUoGyeqhas9NSG4qLAjy0buBE=; b=LFU15355PqIgpndYz2zO+dJjiMLCOYI/Bh87jnvHGBTYG1F0WRKj2up5rZ4FCUu9uS leojmQIOzUl58kE49ZTgFGmokLWB68a31Mhh/0kl7/qgXnBDxGkWgfosXo6IHnihiXU/ FvM2o4ttMQ94ZoWC5zdlrx11M1shpTXDmUgxkeqYLY4kbCYtPRYy+FD+FeL+lt/qy6wt xGqNkxosTkUvSDong4q4pddRpbx9JCqs1ztyRXlsnk1SAHT1Ie/GmMNBmo+/9az77c/7 k2/dEZg2Pvc5zRuBDLYEtKn/CnavYLoL+I4xnyL0V++bRZEuQXTH4K2tiRryytnMcGcT rhNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8RXpc+qR14+HHZGpeltUoGyeqhas9NSG4qLAjy0buBE=; b=JnriOPnmDFYjUa42Fe30rODpiXfrpNze1tN7UvjGi0eFsltYv+eiAxwfqFLp7rzsx9 20gMFyJkVrRg94Eu6cBnHlTShq6Kzml2DPhW1cICFfV1s412140uLJnxh06vdemuSg77 SvfOmmDrZCOLHXXxO6XxG+gPot0l0Efot7C6sjHly6gpFOBp37FZqRgSS8GFbL5c8dbF 2ZrEJ169xO4krv/SFGYKYa5LfcXf06di63smJiXnXKkfaaWlN1RXrN76Fp7CHhW+wbbs Il9oxDO3sNrfSfxGsHhR9k23IdJ8CQdbq22jgjWmS58xTAbeSpGmoXLKrhKs5aQik9ai VlmQ== X-Gm-Message-State: AFqh2kqGIPd6cUrk5liLygTRlKbeiREOogBxKSwpxmKiMeV4JFojj8U7 uQG+6RQwCfZGsCM+ntIYoKU= X-Received: by 2002:a17:906:b053:b0:7ad:ca80:5669 with SMTP id bj19-20020a170906b05300b007adca805669mr83559889ejb.64.1673628299120; Fri, 13 Jan 2023 08:44:59 -0800 (PST) Received: from fedora.. (dh207-97-147.xnet.hr. [88.207.97.147]) by smtp.googlemail.com with ESMTPSA id sb25-20020a1709076d9900b007b2a58e31dasm8777831ejc.145.2023.01.13.08.44.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:44:58 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, bhelgaas@google.com, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, svarbanov@mm-sol.com, shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v2 6/9] dt-bindings: PCI: qcom: document IPQ8074 Gen3 port Date: Fri, 13 Jan 2023 17:44:46 +0100 Message-Id: <20230113164449.906002-6-robimarko@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113164449.906002-1-robimarko@gmail.com> References: <20230113164449.906002-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754926699062454690?= X-GMAIL-MSGID: =?utf-8?q?1754926699062454690?= IPQ8074 has one Gen2 and one Gen3 PCIe port, with Gen2 already supported. Document Gen3 port which uses the same controller as IPQ6018. Signed-off-by: Robert Marko Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 19580350db11..0f258aa1bfaf 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -24,6 +24,7 @@ properties: - qcom,pcie-ipq8064 - qcom,pcie-ipq8064-v2 - qcom,pcie-ipq8074 + - qcom,pcie-ipq8074-gen3 - qcom,pcie-msm8996 - qcom,pcie-qcs404 - qcom,pcie-sa8540p @@ -154,6 +155,7 @@ allOf: contains: enum: - qcom,pcie-ipq6018 + - qcom,pcie-ipq8074-gen3 then: properties: reg: @@ -375,6 +377,7 @@ allOf: contains: enum: - qcom,pcie-ipq6018 + - qcom,pcie-ipq8074-gen3 then: properties: clocks: @@ -695,6 +698,7 @@ allOf: - qcom,pcie-ipq8064 - qcom,pcie-ipq8064v2 - qcom,pcie-ipq8074 + - qcom,pcie-ipq8074-gen3 - qcom,pcie-qcs404 then: required: @@ -778,6 +782,7 @@ allOf: - qcom,pcie-ipq8064 - qcom,pcie-ipq8064-v2 - qcom,pcie-ipq8074 + - qcom,pcie-ipq8074-gen3 - qcom,pcie-qcs404 - qcom,pcie-sa8540p then: From patchwork Fri Jan 13 16:44:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 43435 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp373557wrt; Fri, 13 Jan 2023 08:49:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXs1c7nX/vV0Yng2PqpH4l3g+TavU0lKASzcBRMbi0x+qxBrJ1KH6a+JCy7yue55xDeVzVBT X-Received: by 2002:a05:6a20:7b0a:b0:b7:cdfd:9415 with SMTP id s10-20020a056a207b0a00b000b7cdfd9415mr752343pzh.32.1673628563389; Fri, 13 Jan 2023 08:49:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673628563; cv=none; d=google.com; s=arc-20160816; b=Jdt4cLxiKAyhXT5mBL0xbBl1upw0/GlxqfHSIg9n4nakSt7thauPAbbvDoTAHFh93J jfQNiDllchcExgUkUCXP1unzKrFNPtTqi14X/pOABOtDQwhyOyxVgl2Af1eiy8D/Bfsh 8MD6l0AxHqx/yGUVYQLoVAivptdsykK7hMD5eaDZvTfm2FYlzMqzRL975huRSKg5aBmY UbtQ2LuKQDu1ffPHg6HpURadEzjR8KdEl3FnVf/59BgoNTTM2QurpkF6ZouWa90lsh0D 4rEsd0gXnTI9pZ01QX2gcxMIyLakKOyqkAiT0IMTfO8xN/boONlH1yI2MNcWjCna/TbC 9NPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LC/kSTJgwG4TkbkacIZ8rFmg4tsFLgqDy6gtWI/V4yY=; b=nFIsEf6qgYnmUiJX5hCZYw7W+yG3Xkf+lYRyiWcTCPGbBUMsENb7gmy8Yp8QOLgznB tZcaJz2wGcVHslkjrbyeLUuvcpJY0wbL6OE1gUmECg9OJ6F+oBnJpA4xyKnM6pCHPqGq BcFKDKSoERJB5wnvicDyJ1mWduuobeW51xDKYyj2rl9BeTeKLHky8aXewBeQKDCOaC1O n64Nwo4rtuSXNQ9LEBEOhwXlZaq8Wqpey3onjA0O7QEAQk+PN6UQM1TExDKLbHZelL2m ECnMDUVuT3l9YgAjLmiexQgHoSkCrEgIdupqtOkUO+WEhoCp6NiQA+KgitLKgUBtz5dT f2gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Wrl8oHmk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x4-20020a63cc04000000b00476e3bb2325si20708090pgf.816.2023.01.13.08.49.10; Fri, 13 Jan 2023 08:49:23 -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=@gmail.com header.s=20210112 header.b=Wrl8oHmk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229450AbjAMQsJ (ORCPT + 99 others); Fri, 13 Jan 2023 11:48:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230111AbjAMQrP (ORCPT ); Fri, 13 Jan 2023 11:47:15 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBE4155841; Fri, 13 Jan 2023 08:45:01 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id tz12so53628598ejc.9; Fri, 13 Jan 2023 08:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LC/kSTJgwG4TkbkacIZ8rFmg4tsFLgqDy6gtWI/V4yY=; b=Wrl8oHmkr5sSArBIjiUthAfhuCoz2L5r4tKmWUGMldj/7uMp4vsuU6eK/UlmGpBK/Y BenKnhQQv8wlOkasyhEFWlmUXAvQzF0+4SbrnCnUwoU3h/YQd8rxDspeXn0wUQr4BGQW 6W4Bys+GD/+g0fz0uYG8wLsUBFQKutcUrnlA9G6RVddEnn5OIXgsUBS+Io8VsPLmHvd4 9ofUY61QFsHsel1iuz4JP643uXjA/QwQT/0RZJRVzVaxoNcdML2+WUJNr+xflqaYoVhI N/IQ2d66zIu/abrprU4ao3woqFaGfnw6iJLjdKjmxBHnBy01tUZG05tb6pbhNjBRLUM1 jrsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LC/kSTJgwG4TkbkacIZ8rFmg4tsFLgqDy6gtWI/V4yY=; b=yvUR7GaT7hP11Aw7LhlUxiP7HLyokPQBVFcK28DkWdNGfAZNfdDoB/GEPq6MSRzmnc t6n9r1KMv2w0mCodDk7VKKXy3gRWq5m0GcMk6leYoMUi+qjhDG0zz03joe0z49oXmapj pW2sDmCHVhWnj7UbTR1x1VcKnXRrkC9AmZ5XUn2GGDe/fNz8sMFVICijfOaoDgoMrBAp NQ0NZ5cQBal+XCxypmUByQvLqNL6RHaqRhtPqOd9rpJs8/Mp1HQ/dEEiGH8suf3Xlk7S LruvytY1Q/25gtz/dbagoUKVq3PYWrT6Yhu5LNOO1Rz1lIKXpHY25iBXOt9JQDEkq25P PAFQ== X-Gm-Message-State: AFqh2kpbl285oCUaQ+YIIdjzs6rcy68T7qmZDsA1A39ryTQ9G0eh/ODv YNP10SoLe65vHshhCgP5e5g= X-Received: by 2002:a17:907:6f09:b0:7c1:37:6d5e with SMTP id sy9-20020a1709076f0900b007c100376d5emr50441585ejc.2.1673628300521; Fri, 13 Jan 2023 08:45:00 -0800 (PST) Received: from fedora.. (dh207-97-147.xnet.hr. [88.207.97.147]) by smtp.googlemail.com with ESMTPSA id sb25-20020a1709076d9900b007b2a58e31dasm8777831ejc.145.2023.01.13.08.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:45:00 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, bhelgaas@google.com, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, svarbanov@mm-sol.com, shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH v2 7/9] PCI: qcom: Add support for IPQ8074 Gen3 port Date: Fri, 13 Jan 2023 17:44:47 +0100 Message-Id: <20230113164449.906002-7-robimarko@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113164449.906002-1-robimarko@gmail.com> References: <20230113164449.906002-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754926744078277225?= X-GMAIL-MSGID: =?utf-8?q?1754926744078277225?= IPQ8074 has one Gen2 and one Gen3 port, with Gen2 port already supported. Add compatible for Gen3 port which uses the same controller as IPQ6018. Signed-off-by: Robert Marko --- Changes in v2: * Capitalize subject to match previous history --- drivers/pci/controller/dwc/pcie-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index b9350d93b4ba..b69a406a2660 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -1817,6 +1817,7 @@ static const struct of_device_id qcom_pcie_match[] = { { .compatible = "qcom,pcie-ipq8064", .data = &cfg_2_1_0 }, { .compatible = "qcom,pcie-ipq8064-v2", .data = &cfg_2_1_0 }, { .compatible = "qcom,pcie-ipq8074", .data = &cfg_2_3_3 }, + { .compatible = "qcom,pcie-ipq8074-gen3", .data = &cfg_2_9_0 }, { .compatible = "qcom,pcie-msm8996", .data = &cfg_2_3_2 }, { .compatible = "qcom,pcie-qcs404", .data = &cfg_2_4_0 }, { .compatible = "qcom,pcie-sa8540p", .data = &cfg_1_9_0 }, From patchwork Fri Jan 13 16:44:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 43436 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp374014wrt; Fri, 13 Jan 2023 08:50:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXu1yU+ik3k6aepEGsC2A1WFsxIe2BUKnXuHu9+sRyzA4SE97kgeF6i5L6KkEwdEGG7jca47 X-Received: by 2002:a05:6a00:198c:b0:582:d44f:3948 with SMTP id d12-20020a056a00198c00b00582d44f3948mr36092967pfl.18.1673628629298; Fri, 13 Jan 2023 08:50:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673628629; cv=none; d=google.com; s=arc-20160816; b=I9oH0eNDPHrE6ImyV7geH9TL/zPUiEJ19OXFx1Rr5ZxWPcFU0nbU6BwUThlha1zX2S mhWdIEtwcnMDebQsxpDREhgo+KrH+T0Huf5jBp9FPxTZLvsZRsmDSYaA3qkJmgQAH7VW aKL0sFJBDoNZc/ZfgshQU9aGdypKpNq7fR/+F4d0XuWSQHnTN0nr+Mnqi6vWdsaXJFne XwS8Dmkxl1syRluh9tt42P29RrxOiDTAnBwJh9yWZZS1k52ezlADO5L3jEjtlMtKpOFf pA4Fe+JFseGgN3tf/OGmKDGptPtIbTuRn5pS5m+/gnA/dbtV6esRBHzhnpObjXbxzOVu 9N3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wGVN3rLMqJQGbw0wWLclIhoV7qmP5/8gcNfX7fkrepc=; b=a/0MesQ4MupPuX/R9utA1vOMlim5VthKeNDX/YWvRD+CqKYiQGhUxjPo3xCJ73C6sD QM43W5m+5WiMTiNi0i9t2dg78iDHo2dSvilG1xgeD9qHTd74W/CQh34C8SbZ8ksGUM3U /GH8etHMXnRaWP6+3jvngp2izenPeANPjWgmcAT1xSF5lzMppdrodAHHBgQikLByPpNb S1yxxSyapW+B+ffa1qKi+S2PTIsIkEFByOtThPdSNvH+vkFoOrbdQFQss37/wpmtlbBE CwNHcdZmZI0AS+6ci6XsJm+s0dJ3VxdedvCYG4VVulbdxXAAMqIjfOgEb7Ydmz/Gd0ct ATtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gJ8+B0Wi; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g17-20020a056a001a1100b005820fba237fsi22778703pfv.302.2023.01.13.08.50.15; Fri, 13 Jan 2023 08:50:29 -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=@gmail.com header.s=20210112 header.b=gJ8+B0Wi; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229640AbjAMQsP (ORCPT + 99 others); Fri, 13 Jan 2023 11:48:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbjAMQrR (ORCPT ); Fri, 13 Jan 2023 11:47:17 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6637F58D12; Fri, 13 Jan 2023 08:45:03 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id l22so23904329eja.12; Fri, 13 Jan 2023 08:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wGVN3rLMqJQGbw0wWLclIhoV7qmP5/8gcNfX7fkrepc=; b=gJ8+B0Wi77XymiL/mpPDCUfVYHG0jWaZZhwS+lctfzbnfDK4etJHm7PctM2Fqsi6AU wPF7w4kJlbBfNrrBSf/gj1ixHYlLKhAqVbqZ1RoOulmJ9sqSMsLV8ZDzfSuwlEoZWUpv N3++2HOnLeaBsIKH5/E59POv5Z8XoYanAt8U5UU32NHR6ZlHX3j4GORTfQ0Km2Ai886W F59dxMePI/m/GZHSPhuaMzAKGpSAqoo5Ra+WHrqjcI5/pZIDFiBK4BiglnZiZfZwLZdC 58a7HiMaj9fm1BvKCFR2/qlaSkb0up/+Pte4KAaq1QOYQyi7j38DwztZQtYCAQ/3ZwTc a7Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wGVN3rLMqJQGbw0wWLclIhoV7qmP5/8gcNfX7fkrepc=; b=spSXWbcKYrV2uPgDfMYFfkHF/iAhceejxTUstNMDQLxgdSJzF65mi5zhENMK4k1CQa zuvkLG1ItT9O7oAdjOUaD7ETlCLvX6nrp061o3oBBltDpJ2NTFu2xZzX7b9LlnlrFE4B VT3FF3B3c5s653p4IJPbN36EJNqKxrDjJFOxQcjttUjB4icG5VOpu4LJVsiw+qfmOlBx XLsafAHO1BtPrWaqXqbtF1C7/0tPaO5V4aoNZqTHa7mRjkGy1pXHT/KjWKc/MzohpRTD jT588jx1zgut83tK7LSDbFgMMG3kW1UhNTsn6AnME+b+Ue5EDtmtwXTXXcBT0hpzV23D LHRQ== X-Gm-Message-State: AFqh2kquO4vQEO70IPRWqPWkEmHh9xv47+qmJZmZQvI8QWCZwT9ZFAld UbVrkGi/IE88KTlv+so0CPI= X-Received: by 2002:a17:907:9814:b0:857:1e36:3b7b with SMTP id ji20-20020a170907981400b008571e363b7bmr16733593ejc.11.1673628301934; Fri, 13 Jan 2023 08:45:01 -0800 (PST) Received: from fedora.. (dh207-97-147.xnet.hr. [88.207.97.147]) by smtp.googlemail.com with ESMTPSA id sb25-20020a1709076d9900b007b2a58e31dasm8777831ejc.145.2023.01.13.08.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:45:01 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, bhelgaas@google.com, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, svarbanov@mm-sol.com, shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH v2 8/9] arm64: dts: qcom: ipq8074: fix Gen3 PCIe node Date: Fri, 13 Jan 2023 17:44:48 +0100 Message-Id: <20230113164449.906002-8-robimarko@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113164449.906002-1-robimarko@gmail.com> References: <20230113164449.906002-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754926813620049626?= X-GMAIL-MSGID: =?utf-8?q?1754926813620049626?= IPQ8074 comes in 2 silicon versions: * v1 with 2x Gen2 PCIe ports and QMP PHY-s * v2 with 1x Gen3 and 1x Gen2 PCIe ports and QMP PHY-s v2 is the final and production version that is actually supported by the kernel, however it looks like PCIe related nodes were added for the v1 SoC. Finish the PCIe fixup by using the correct compatible, adding missing ATU register space, declaring max-link-speed, use correct ranges, add missing clocks and resets. Fixes: 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes") Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 30 +++++++++++++++------------ 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 5ef4383ab18b..74eecca4f9e3 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -854,16 +854,18 @@ IRQ_TYPE_LEVEL_HIGH>, /* int_c */ }; pcie0: pci@20000000 { - compatible = "qcom,pcie-ipq8074"; + compatible = "qcom,pcie-ipq8074-gen3"; reg = <0x20000000 0xf1d>, <0x20000f20 0xa8>, - <0x00080000 0x2000>, + <0x20001000 0x1000>, + <0x00080000 0x4000>, <0x20100000 0x1000>; - reg-names = "dbi", "elbi", "parf", "config"; + reg-names = "dbi", "elbi", "atu", "parf", "config"; device_type = "pci"; linux,pci-domain = <0>; bus-range = <0x00 0xff>; num-lanes = <1>; + max-link-speed = <3>; #address-cells = <3>; #size-cells = <2>; @@ -871,9 +873,9 @@ pcie0: pci@20000000 { phy-names = "pciephy"; ranges = <0x81000000 0 0x20200000 0x20200000 - 0 0x100000 /* downstream I/O */ - 0x82000000 0 0x20300000 0x20300000 - 0 0xd00000>; /* non-prefetchable memory */ + 0 0x10000>, /* downstream I/O */ + <0x82000000 0 0x20220000 0x20220000 + 0 0xfde0000>; /* non-prefetchable memory */ interrupts = ; interrupt-names = "msi"; @@ -891,28 +893,30 @@ IRQ_TYPE_LEVEL_HIGH>, /* int_c */ clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>, <&gcc GCC_PCIE0_AXI_M_CLK>, <&gcc GCC_PCIE0_AXI_S_CLK>, - <&gcc GCC_PCIE0_AHB_CLK>, - <&gcc GCC_PCIE0_AUX_CLK>; - + <&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>, + <&gcc GCC_PCIE0_RCHNG_CLK>; clock-names = "iface", "axi_m", "axi_s", - "ahb", - "aux"; + "axi_bridge", + "rchng"; + resets = <&gcc GCC_PCIE0_PIPE_ARES>, <&gcc GCC_PCIE0_SLEEP_ARES>, <&gcc GCC_PCIE0_CORE_STICKY_ARES>, <&gcc GCC_PCIE0_AXI_MASTER_ARES>, <&gcc GCC_PCIE0_AXI_SLAVE_ARES>, <&gcc GCC_PCIE0_AHB_ARES>, - <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>; + <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>, + <&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>; reset-names = "pipe", "sleep", "sticky", "axi_m", "axi_s", "ahb", - "axi_m_sticky"; + "axi_m_sticky", + "axi_s_sticky"; status = "disabled"; }; }; From patchwork Fri Jan 13 16:44:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 43437 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp374151wrt; Fri, 13 Jan 2023 08:50:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXsT4kbEzQ81Ue+Mf6Cn8im0umLPzquIQddqMnnsLFjpSPU2Bd/pECYBXCk1DhsFRNkagz00 X-Received: by 2002:a17:907:c78f:b0:86b:119c:7ea8 with SMTP id tz15-20020a170907c78f00b0086b119c7ea8mr2317048ejc.49.1673628646292; Fri, 13 Jan 2023 08:50:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673628646; cv=none; d=google.com; s=arc-20160816; b=Iu6rUio11VM2SEkVuYzr0N2lw6Tgi8lDrwmkVxIR2i33l3oawbsdg2sRcu2/C0hvsT oMmS7TxenQbbXyZXzXUwoEdOzSiILyuU/jbd3WwP600MDljyum5zSnwVSbRQTEifv6q8 oEMjeh4GDZUQN9NFe1l5iMvIIZiGexpQkOhD23fAYnmaWPA4SKDGqs6Or/kFYEoAf8Zk hydM+2/6jokNV8I5IdHyweEu3qbSRTr5MqI+n8dbSS7Wj+rlYh8E9aQYPhRUSwW3gyqB 6XdfdLFRTPw0LrwRZ65XVTRPP3QAvKuY/vDrby9vMw3a23lUiXY+2p9yWuxmos+UrdcZ UBfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZSzg8ro4VicBsd4Z6YxYop5coys1WHe/3Ul2C/JMj58=; b=rF153nqURA3sFDq7YHT3lp6GhlIV1oqkom5nGdKr+nWt5i5KQ4oelAa5GKiXbkIP6m YslCYg7BpkW0QJJjib2vBR7D6aCKgtI8+aqp09rQigIMksMGgrHzlxKeo5+3vgVetrRT XDpS0/jbTLlWbUQ9umpnXJEnw4IK714FCVRE8z7LjHqzsbg1C9eAcHz2zCD1E2y5erDd r02yetubDudQfS6qGMb8xdffneBn9S8dzQU6UyWtcI936g0kOduhmWNvZzT3HjOES7sa X9ElSt93R6V8BZ/ZoueoWtArus/rblnc/sNDdWHXc1koXQTpBh5mQxhK+jOrBfYKBBXr ORVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iL3CqfCm; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb31-20020a1709071c9f00b0084d47629d8dsi17922247ejc.371.2023.01.13.08.50.20; Fri, 13 Jan 2023 08:50:46 -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=@gmail.com header.s=20210112 header.b=iL3CqfCm; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230420AbjAMQsR (ORCPT + 99 others); Fri, 13 Jan 2023 11:48:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbjAMQrT (ORCPT ); Fri, 13 Jan 2023 11:47:19 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B715C7BCC6; Fri, 13 Jan 2023 08:45:03 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id hw16so41768452ejc.10; Fri, 13 Jan 2023 08:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZSzg8ro4VicBsd4Z6YxYop5coys1WHe/3Ul2C/JMj58=; b=iL3CqfCmDWIfqj8iaZc9rPyCV2YPsBuDEozU94ki+7XD4R0RT+Kh5o8qmygei5yHdF eLJA4LegAfQsvVHVrTFTSI8DfNaFwJT3nTx6RyBpAl4DuGeFJQN9KEC1s5fYvFu7ubRu QwLwMLNZpNJLghiKsV6J30uZD2lg0pW8rf0MXarJoMm6/gGkzwg0kZDU66cKzMVA1t87 15hsoepyRlZSRAKxNezL4LOx4CTzU3BafwZ6ZxtMva8cNjoV3FKrWMNeaaqMuF6HvfCq +iT0ToavwrrgLj8tVZs+MUuPj1GUIY3bLmB+Wm67+coFFGWubGl29mKPG4WM312D8uds Gm6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZSzg8ro4VicBsd4Z6YxYop5coys1WHe/3Ul2C/JMj58=; b=pL9sgTbblHvYxfgAdh27xinVODkhnKS2EqnmUgc651e/PwaOHR8g/B7kxYmGDwW/ba KZTwn5soin/zieMuJFCzKbWAW5kgGGgYkw3eveCi/KMxqup3H+HNBazMLwggw1vRX5HE 7BsThZ1hVFX5iFkeeoHyDCx4s4T/KhjJrT/oYpfH2nq6ns0Mco5QjalgxMgHe+mDud4q hwMdk7S1Z8Kqo2ghC2ISxrv845USKK3Jn9Emv2mHjxD6Yy3O6gZ+MqVQBiOBEMiNGX3r 7LGLpK7TdLIigI8UGiW6mbd9l77GjLiZ3h9lycZm8ij7pTqea+GJyA4noBT0p272aodl O7Cw== X-Gm-Message-State: AFqh2kpCfTyUHtaarvvCqfgyWtKb9NmrIzyuED0OXeN4gm7ZB3KI05Wo z74g94qlCjSr7jfMLz8vThmifWeKeCqlCw== X-Received: by 2002:a17:906:5dad:b0:7c0:dfba:54d3 with SMTP id n13-20020a1709065dad00b007c0dfba54d3mr11846198ejv.20.1673628303265; Fri, 13 Jan 2023 08:45:03 -0800 (PST) Received: from fedora.. (dh207-97-147.xnet.hr. [88.207.97.147]) by smtp.googlemail.com with ESMTPSA id sb25-20020a1709076d9900b007b2a58e31dasm8777831ejc.145.2023.01.13.08.45.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:45:02 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, bhelgaas@google.com, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, svarbanov@mm-sol.com, shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH v2 9/9] arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names Date: Fri, 13 Jan 2023 17:44:49 +0100 Message-Id: <20230113164449.906002-9-robimarko@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113164449.906002-1-robimarko@gmail.com> References: <20230113164449.906002-1-robimarko@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754926831441970908?= X-GMAIL-MSGID: =?utf-8?q?1754926831441970908?= Current PCIe QMP PHY output name were changed in ("arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes") however it did not account for the fact that GCC driver is relying on the old names to match them as they are being used as the parent for the gcc_pcie0_pipe_clk and gcc_pcie1_pipe_clk. This broke parenting as GCC could not find the parent clock, so fix it by changing to the names that driver is expecting. Fixes: 942bcd33ed45 ("arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes") Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 74eecca4f9e3..c6cbeb66c0e7 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -257,7 +257,7 @@ pcie_phy0: phy@84200 { #clock-cells = <0>; clocks = <&gcc GCC_PCIE0_PIPE_CLK>; clock-names = "pipe0"; - clock-output-names = "pcie_0_pipe_clk"; + clock-output-names = "pcie20_phy0_pipe_clk"; }; }; @@ -285,7 +285,7 @@ pcie_phy1: phy@8e200 { #clock-cells = <0>; clocks = <&gcc GCC_PCIE1_PIPE_CLK>; clock-names = "pipe0"; - clock-output-names = "pcie_1_pipe_clk"; + clock-output-names = "pcie20_phy1_pipe_clk"; }; };