From patchwork Tue Nov 15 12:53:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 20359 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2706311wru; Tue, 15 Nov 2022 04:54:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf4g+GyKiSc7hPzBHZTsurMyKJ5YKZuVmeey6ZKB+9rJ+Kz+BzHEzkfxBF9sZ2y9+yR+vB9z X-Received: by 2002:a17:907:cc83:b0:7a9:8d8e:c3df with SMTP id up3-20020a170907cc8300b007a98d8ec3dfmr13691514ejc.519.1668516892423; Tue, 15 Nov 2022 04:54:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668516892; cv=none; d=google.com; s=arc-20160816; b=AzXw/fsFWPBD/Ti5nIrP4C3CZIWGYvLj8mWKEq3yJ3/986lJh/5/n6QAAUhBOMM2kn +BBShYEZgIFyDMMsW3qUAFL0DGOELO/5NYrmg90l5P9ghBC8G1R/HthtT3ZmtdK/GohZ k6T6OvrLuMJas6sVDR0J9CZPDsLo18wSFNYip3V6NUPWYZtAmdlaucdLFzm3PqeU59ba mefD4plTreqxRwuGaNy0QYcaQxOZITgiyHqDJKDxJnXbo+TgfrgqGe4zTv01gMvxaDB/ XIfO81OEp9sUfWpN23eT2KgRgxZNLqMDZ4kZeuGGQJAfo07rXYJcpK9jRmXmm50LC7+W MZ8Q== 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=A0aVE2Vm75FnX45DS6H+N0+bh1Fym8h1oNgifah97LI=; b=vTygAnp+OW7+6Z2GMlg1YTdnW8SDHZtQq+Jr12lbYyQbcYRhQOUqFX7ojvaVn4g8WO 0e2s4f1D1GYLshQKU/i8D7/82LQT20BtE69rhlnjVIvbstAqTaydla5R89YI7Pe9lLf8 V7CStkk18qlpYqzzdo8lijc1xlUopKnyXfezT2ev/xIGOS3LHvsc+/2nVfMUHGPgAhGO juSnrMzkiTc6gkxpI9LYWR9Ixv0Ya/M26VHeofNMr3oF6s5nW3mw9jzmmHobTHug+3cn ddeiDiyExMEBPLI29UgzNVQB4rbTFrraMThpQw6PnYAb8+ARbbwPajRs+inzBUrrmOZ8 dDpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TZYEMDIs; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g12-20020aa7c58c000000b0045fb7a04ce0si8783270edq.148.2022.11.15.04.54.26; Tue, 15 Nov 2022 04:54:52 -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=@linaro.org header.s=google header.b=TZYEMDIs; 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 S232464AbiKOMxS (ORCPT + 99 others); Tue, 15 Nov 2022 07:53:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbiKOMxQ (ORCPT ); Tue, 15 Nov 2022 07:53:16 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AE0E27DEB for ; Tue, 15 Nov 2022 04:53:15 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id k19so17384239lji.2 for ; Tue, 15 Nov 2022 04:53:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=A0aVE2Vm75FnX45DS6H+N0+bh1Fym8h1oNgifah97LI=; b=TZYEMDIsfylrpXElIbq2FfxDowrQafjfPMu+JkDdlXWDvpVKBuKztENdYIxcUO2blr NZt79bd1h5j/Be90jj4YHnkaq18CGKzCc9CFWZU4TdOAvfQCpuEa7eOb6j9yyyTISPK4 GWWcsmdWiZWMtzG6T+wh3tkxp2+Z43tRIq7JBVtjdThL8Etu1d5oLe9UtezRJM83efm6 9uRuCoj5/wS1vNSTVkM0XEtlqpmAV38xLp8Z5KgHWPGMfMkHHNH9jeBsb3C/8fURILRk bwsapGWHSRsXgkEvqqhSjduhO9ZMnMFgKz8ILgYlQIDTVQHrRaJUR7kMNc5T8tT5o+6h oP8w== 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=A0aVE2Vm75FnX45DS6H+N0+bh1Fym8h1oNgifah97LI=; b=RwCuXYNvS35N2iA6JCtzqIlJMzcu4MQUfMQny9MChXtrAMZkvhLZi7JQbZyixe/ODM lt3o86mDVW0Q/wdJI9JAEsnmg6qLmUB+rTpft6Ay4ioUXSZUyTlL74YnZpJhPYjmGaA+ ZIj52eVj/czXpIh+/+FH7MB6Iu7pbhrBdIO9asQ5B4r4A+Y0ocLFKkiJO6u2UBO+wXDF mR7+1OvLkktCUwcF+ZPlkCKkhDXCfk4mPta/km36vFE/+kpKtDp43k/V5yyw6mmqjgoI CGnoZGLMXuAuoJWYSQ9MH9eNgxPxnhRodq2HL7sIeKZXRD21H1GlspElMMGC5kmoTXul mRww== X-Gm-Message-State: ANoB5pkKPlkUENBr+MWU2JKcBBT1lsnx+ajvzIjCc3IogX6bOCZxUbnh c1Nm5GrWxkpPnpNJfawFJ0XUKw== X-Received: by 2002:a05:651c:10b8:b0:26e:8e6f:3c4 with SMTP id k24-20020a05651c10b800b0026e8e6f03c4mr5950160ljn.113.1668516793996; Tue, 15 Nov 2022 04:53:13 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id d8-20020a056512368800b0049110ba325asm2177224lfs.158.2022.11.15.04.53.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 04:53:13 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Stanimir Varbanov , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/4] dt-bindings: PCI: qcom: add MSM8998 specific compatible Date: Tue, 15 Nov 2022 13:53:07 +0100 Message-Id: <20221115125310.184012-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 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,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?1749566769008996563?= X-GMAIL-MSGID: =?utf-8?q?1749566769008996563?= Add new compatible for MSM8998 (compatible with MSM8996) to allow further customizing if needed and to accurately describe the hardware. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../devicetree/bindings/pci/qcom,pcie.yaml | 42 ++++++++++--------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 54f07852d279..0411e2e67661 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -16,25 +16,29 @@ 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-ipq8074 - - qcom,pcie-qcs404 - - qcom,pcie-sa8540p - - qcom,pcie-sc7280 - - qcom,pcie-sc8180x - - qcom,pcie-sc8280xp - - qcom,pcie-sdm845 - - qcom,pcie-sm8150 - - qcom,pcie-sm8250 - - qcom,pcie-sm8450-pcie0 - - qcom,pcie-sm8450-pcie1 - - qcom,pcie-ipq6018 + oneOf: + - enum: + - qcom,pcie-ipq8064 + - qcom,pcie-ipq8064-v2 + - qcom,pcie-apq8064 + - qcom,pcie-apq8084 + - qcom,pcie-msm8996 + - qcom,pcie-ipq4019 + - qcom,pcie-ipq8074 + - qcom,pcie-qcs404 + - qcom,pcie-sa8540p + - qcom,pcie-sc7280 + - qcom,pcie-sc8180x + - qcom,pcie-sc8280xp + - qcom,pcie-sdm845 + - qcom,pcie-sm8150 + - qcom,pcie-sm8250 + - qcom,pcie-sm8450-pcie0 + - qcom,pcie-sm8450-pcie1 + - qcom,pcie-ipq6018 + - items: + - const: qcom,pcie-msm8998 + - const: qcom,pcie-msm8996 reg: minItems: 4 From patchwork Tue Nov 15 12:53:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 20360 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2706332wru; Tue, 15 Nov 2022 04:54:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf5CbjkI44g8+PeUNwWQrs+RSJIB4LzI9ZocB1msi/d1k8Re+YphgovtOh7oSJxOTuZsTHGL X-Received: by 2002:a17:906:b753:b0:7ae:bc3b:d9c6 with SMTP id fx19-20020a170906b75300b007aebc3bd9c6mr12808086ejb.770.1668516894663; Tue, 15 Nov 2022 04:54:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668516894; cv=none; d=google.com; s=arc-20160816; b=eXyZC/W10pW59Q+s5pDTCWbCUL+qmVoRmdI5wxfli9au//3R0Vtu8cyIEeeA/wudjx kgaqfJU/kIz+0W8tZPvsQk8tFKxd1fyegSkDFlCPCJKSR48CWJFu0k7wD3nElsx92mT0 +IBFuY05v/WLl3EZW/TVS2dln2EEbzV9WOG8zLgy5kUpPgGMa+6WgotE97DbPOTTChTt rQrPT6I1r+BBUY8iNLSv8Ozs0JUKD9+6fb1XLxNe8qPwEMko/e1JAqIWYpN6PcKl8+r/ ia2+7sWVU53tLNRmNMtEAep5aAq6ClDJx7g6l0K6vN0ktwRiVc73A2fzueABywOM0tVY Iz7g== 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=P7Fq1FCtyMG04pZ3N5J1xdkdEifZzPEkicokXK7IZsM=; b=epYG5mOaYvML4HKkkK3l2rdCTmJ+MhMd45weAEaCUUgPWw/8ZDhs5fL15XcT2cNPKN cr2F1W5IjppE/2DpCKu+iB01dRMorivSKdC/n/2tAciU0vecMNAuoUls8XQxckXuUvPj cKTbRctmo70Tuf3LzEPTD2iU5qxqWr2v7z5DjQj2JvvHx8IDFwUgoyFZyfwZkWyNoyQU U1cs9awUKpFrucO388JX4eELGKp4XMyKfBMTmgDptU0/dpK0nmsgAbx0h1s3Zco3jyzT qlJSH33SjJi8Bo8PXwTWqKXMZT25l/9peHIvfdmhMRC2iJ70X4g3PyFn10jLK+MU5B5B tq7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HFeCv5xR; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n18-20020a17090695d200b007add6c865d8si8728325ejy.684.2022.11.15.04.54.31; Tue, 15 Nov 2022 04:54:54 -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=@linaro.org header.s=google header.b=HFeCv5xR; 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 S232569AbiKOMxV (ORCPT + 99 others); Tue, 15 Nov 2022 07:53:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232220AbiKOMxS (ORCPT ); Tue, 15 Nov 2022 07:53:18 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 520B727DEB for ; Tue, 15 Nov 2022 04:53:17 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id j4so24326608lfk.0 for ; Tue, 15 Nov 2022 04:53:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=P7Fq1FCtyMG04pZ3N5J1xdkdEifZzPEkicokXK7IZsM=; b=HFeCv5xRltnADl564uNdQ1Jnuv1UhuzSw7+EUjEGXddQV4BTeXCMhUXXlx8fF6B9+F PZrEMZpzY2mpm3tWzifZRO/svSFZt0s90+LqOG8TSFZ5vYdQqbU6gowl/k0K3Z2P35g9 7YvuEskqWcYuzL+l4UnCDoAspEcxihiHWcq63+ol55DNdFcLnepY0nJrBJpJ2MtUWLJd ArrqXW8rvhoo3EGAI+W9v582a2eXErEpvLAYQYbQ5qmoDwhnu8BFm9FfSWFy1ExxoACg r9TA0GBQ/RcJByZ/bWcBRdQ7r2xYmMmM6i497DkwQt6ZWrL79aEeMtFzescYkV+MaJd/ 0ecg== 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=P7Fq1FCtyMG04pZ3N5J1xdkdEifZzPEkicokXK7IZsM=; b=F//C4UZLiCzJnnEZn69qYE4/kmYLgeIi85oX2XYHRCwN9kntzgJU6HErM75NTZndls /dRMom33z6qqxzH8X/HkRbHegK6xeIpng6P0hJTqnDPGMgFWmNxJy5tYkwhXiEzPMIV5 7Gtp5aPaK8RLJNfEtH0EipyTHsCTsu/ng1RlxiOknjtZYIq45A8Iv/KvdTnliyeaLUhK BCAicplpfVKpnv2KiAGyTVqhpr4J2rzoDxFiYD2E7pXZCrOC9nWxlc4vwurbowcylcxV qLC+Zmnfs09Hu72+CE1UPz9v/gewSSra9dyFka2PyQntfga+XdpCSS4mdwN7f4t0Hg1g iMqA== X-Gm-Message-State: ANoB5pnMXR3mKLTOIgKf4XUbiH/nfAJBFctVPruQOWUTolWjn05GM6LC HSQQfuQ8bWOLJl54DeIjFTIhhVphTdiq3XSK X-Received: by 2002:ac2:5ccb:0:b0:4ae:aa99:849c with SMTP id f11-20020ac25ccb000000b004aeaa99849cmr6183458lfq.592.1668516795527; Tue, 15 Nov 2022 04:53:15 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id d8-20020a056512368800b0049110ba325asm2177224lfs.158.2022.11.15.04.53.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 04:53:14 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Stanimir Varbanov , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/4] dt-bindings: PCI: qcom: unify clock order between MSM8996 and MSM8998 Date: Tue, 15 Nov 2022 13:53:08 +0100 Message-Id: <20221115125310.184012-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221115125310.184012-1-krzysztof.kozlowski@linaro.org> References: <20221115125310.184012-1-krzysztof.kozlowski@linaro.org> 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,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?1749566771388643339?= X-GMAIL-MSGID: =?utf-8?q?1749566771388643339?= MSM8996 and MSM8998 use the same clocks, so use one order to make the binding simpler. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../devicetree/bindings/pci/qcom,pcie.yaml | 24 ++++++------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 0411e2e67661..ee719e879ce3 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -306,27 +306,17 @@ allOf: enum: - qcom,pcie-msm8996 then: - oneOf: - - properties: - clock-names: - items: - - const: pipe # Pipe Clock driving internal logic - - const: aux # Auxiliary (AUX) clock - - const: cfg # Configuration clock - - const: bus_master # Master AXI clock - - const: bus_slave # Slave AXI clock - - properties: - clock-names: - items: - - const: pipe # Pipe Clock driving internal logic - - const: bus_master # Master AXI clock - - const: bus_slave # Slave AXI clock - - const: cfg # Configuration clock - - const: aux # Auxiliary (AUX) clock properties: clocks: minItems: 5 maxItems: 5 + clock-names: + items: + - const: pipe # Pipe Clock driving internal logic + - const: aux # Auxiliary (AUX) clock + - const: cfg # Configuration clock + - const: bus_master # Master AXI clock + - const: bus_slave # Slave AXI clock resets: false reset-names: false From patchwork Tue Nov 15 12:53:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 20361 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2706479wru; Tue, 15 Nov 2022 04:55:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf4rOBQ4xow/4ObrrA8aPUunBAopqbbls7IGGQUeQ/xiRsQUr8AZEr9Aui3a+KYlctFRS19m X-Received: by 2002:aa7:c515:0:b0:462:a25f:f0f2 with SMTP id o21-20020aa7c515000000b00462a25ff0f2mr14814602edq.156.1668516921647; Tue, 15 Nov 2022 04:55:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668516921; cv=none; d=google.com; s=arc-20160816; b=hy5Wkd52FXeUniW9OOwU5M7wKyg2lPJlYljKSuUhJm5e6/pS+/p4qiLAqXDGOsPfq5 aZBXlf2MoZahf81AjI/6D6OTRjBnWXNHDq39105FWA+Po5HoWUZcJF0ROOtDI2F3Rv6q xK9POemoiSX0A54zom6vP8Sp2Xch8T3RBYvNLMzAEIaFy08eSU+nC77cIhYPHhqAez7J FdvfjW3EdoYDnsob3F8QIFWBape4Dcbeaf5KGNm4d0cbWf09yaVgnTFgkLUKBY9ptAyY OsB+KHOXDCLvRfErgOFN5Mv+5TCp/XZVIjSpyTuQWxjX7pxQMHH0NBBCwwbh0/BkaKiP 9JgA== 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=v8KHnTj/YFCzSOX9ZEAT6Fa91rq0mFq6fNTw+uKuopU=; b=P9WQX8jFTV1zJLPGpUdE5ODFDwDhtqV6hDaWXEKCjqxyZKlz3qeh0LtT79Jwz1sIuI PZsZIkL2bgtxfczlDpnvNkHcs2vYRxnjBQ5GOFAHOYHguoKm1hWOdA6LTGXQNL968UAF MXoJliEzh1tG+DZLuSA78fTgFOIF3psWZS6lLHQVNYc3G2SNxq5jg3vjHkOe7XPXkYph E26ZfLLMH3iDl0Um780hBLf7nJNr/5d++WZZXCq5Bajj+n1+05ShL/gAFk7kT2a9+g0b hTRKShENfOd9JUaPkb2AaKlnIZ+X8gyRo51l4nrWgJJnizlvDMwtutWTO+RWAvnBUKWT 9ZxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tLH14OAR; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020a1709060be200b0078d0f88a6e9si8568838ejg.284.2022.11.15.04.54.57; Tue, 15 Nov 2022 04:55: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=@linaro.org header.s=google header.b=tLH14OAR; 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 S237169AbiKOMxZ (ORCPT + 99 others); Tue, 15 Nov 2022 07:53:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232736AbiKOMxT (ORCPT ); Tue, 15 Nov 2022 07:53:19 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE28427DEB for ; Tue, 15 Nov 2022 04:53:18 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id j4so24326705lfk.0 for ; Tue, 15 Nov 2022 04:53:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=v8KHnTj/YFCzSOX9ZEAT6Fa91rq0mFq6fNTw+uKuopU=; b=tLH14OARfm6+zkP/36KVsrjMHQeJoOLbty1k0OlMQ9JQICJyaFquDimPjRUJNdJi1u SraSWjMiFm/ADeRMmb/YN168ZP0jU7QDLbKICFweeWnkVF5CmjtmL7iZsgSzamrzePR3 7X9hU1D7g7P5XAOVSrd4XiTbVn81ZpAl+B760XIImUB+/JWGHauWChUJ2Z99XhU5QfjF ihPusPhIrzPNX2Qq2q5gfSUAld+ONKScAj8jpiwGpGP+4LuotnactaTJHHA6AkOL95Vj mX05OCNn6Qj8mqjFwLB6XRAgM6Yj8uYoxfwMWCpDsUsrK1xIMyqGwF+bVv6mxYKlZmmS /+Tg== 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=v8KHnTj/YFCzSOX9ZEAT6Fa91rq0mFq6fNTw+uKuopU=; b=icXfPpxsUulSm+gthAALKl4QLcLDKBYZOeP7JLhu4YpgMGHzFic1YcaLrQBaQlQkuG +RLIi+qWD7VbdVDgKRp1HcamhGCWpwrsnNaeVgBXhBGnEud5iRC40gQk3YThsDhZ/Mix eC9V18OX0uBKIBtEkGAm+wuGqup/n6ZvLlwSiS2oP8weBl0CCylWqRP37QGbeWac76IJ TZjYDQ8odNdm8DmsxoJQCq1u6i2bX52LDQbCzJxsOO/hO5YWLwUMZ4QP5BJJQhX1RYXN WheNjdmRILA09kxn603cLql6amvdo8+SAWzEDKR6FSAL519KnmyR32vch1RijBBqpuP4 SQBg== X-Gm-Message-State: ANoB5pk2ae+W3WmBu/hH0crO44lRS4PGO4g1LrExUXvK6pExC8gyIC3l 7Wbe/io7ua3AKczvkeM9pFqs6A== X-Received: by 2002:a05:6512:3d8c:b0:4a7:5a63:71e1 with SMTP id k12-20020a0565123d8c00b004a75a6371e1mr5913770lfv.399.1668516797281; Tue, 15 Nov 2022 04:53:17 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id d8-20020a056512368800b0049110ba325asm2177224lfs.158.2022.11.15.04.53.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 04:53:16 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Stanimir Varbanov , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/4] arm64: dts: msm8998: add MSM8998 specific compatible Date: Tue, 15 Nov 2022 13:53:09 +0100 Message-Id: <20221115125310.184012-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221115125310.184012-1-krzysztof.kozlowski@linaro.org> References: <20221115125310.184012-1-krzysztof.kozlowski@linaro.org> 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,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?1749566799591579684?= X-GMAIL-MSGID: =?utf-8?q?1749566799591579684?= Add new compatible for MSM8998 (compatible with MSM8996) to allow further customizing if needed and to accurately describe the hardware. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index da2dd87e3f4f..320a28232a32 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -900,7 +900,7 @@ anoc2_smmu: iommu@16c0000 { }; pcie0: pci@1c00000 { - compatible = "qcom,pcie-msm8996"; + compatible = "qcom,pcie-msm8998", "qcom,pcie-msm8996"; reg = <0x01c00000 0x2000>, <0x1b000000 0xf1d>, <0x1b000f20 0xa8>, From patchwork Tue Nov 15 12:53:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 20362 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2707565wru; Tue, 15 Nov 2022 04:57:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ZxjwIH8C4vsOX4DvV5TiDfigjM9fQ3OmINQjeBS6ZX8awiPvl4Iwz4oABIs5hAtsWcI16 X-Received: by 2002:a17:90a:c590:b0:213:c06e:348f with SMTP id l16-20020a17090ac59000b00213c06e348fmr500816pjt.5.1668517067704; Tue, 15 Nov 2022 04:57:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668517067; cv=none; d=google.com; s=arc-20160816; b=RSQ9Q6/40KcrIedzvwDoYwV9cGxW46Tj8U/h41PAR/8udknF4a/M0hPa22jv0ukDde M8W+ryYJLHKg8exKEg0JpWeWDkI1NYluuonYqki2qU/8wcst33hRON57PoVOoID7epNb JH0LxOu+BjWuJykclykBmoxlUwqPqr8KIJTcf9DGKmKHevONIk+ICeT7RBnoqgVPLD7E 4sq0OHWMoqZWfugR1iWzoJfXAqXPdMJJC5MNg/5y13aIwXKD4O1X2UK0RpKopul3sdaY GCq6ysivFA3oB0X5kZVbq44PFdm9ARtWlCR19B3oklK7BtFlNCJGGTnH6hoG8qIbg3tL 5VMw== 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=V5UwppQzNSEVKKmCNAy4gJeoujszl/Jk2qfjcyRy+IM=; b=QHbdjEd4mN3IzTUSwBxRiP9yw58FqiDJnKj+9bOxCQAZYltZlkDJlb+l0VkRn6Jzza caES7YG8AwvEd2iqlwLP+qVlKoON8l0it+jo5wjwrsath7C+6LFyg5DSbEv+oESptkPr dRBUyJ+1lI/chGfWgJfeiDi0g66mXW+R4+C8cvHohT/D38cku00AzPvufx/9PMmz917T +6gyvFBfe49qKXp8JH+c1ENLbnZr8lM5+hA+bUqlzHt/RuYnAisNlLMzD8mL8mNUw6yx 0aZ4e16pMrhgb9GeOhFPvYitc6C9UILgg7mKCbySnSa9ZhWm7AEgtm0VdXVMgsyIaxUs l5vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MsB9AsCa; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k5-20020a170902d58500b00186a98b58d8si10928977plh.134.2022.11.15.04.57.34; Tue, 15 Nov 2022 04:57:47 -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=@linaro.org header.s=google header.b=MsB9AsCa; 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 S230388AbiKOMxa (ORCPT + 99 others); Tue, 15 Nov 2022 07:53:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237742AbiKOMxV (ORCPT ); Tue, 15 Nov 2022 07:53:21 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3752A27FFC for ; Tue, 15 Nov 2022 04:53:20 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id a29so24256477lfj.9 for ; Tue, 15 Nov 2022 04:53:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=V5UwppQzNSEVKKmCNAy4gJeoujszl/Jk2qfjcyRy+IM=; b=MsB9AsCa/sd8I7/62v6UCvzF1xIbj8MxtsKhezVxbCC/LnvvNgOt/pvU+mUvmz/7g8 TTh+fQiF8E4xsQ7vPy+lk1DaVME5kkfZLImPhwg9qPpkZqE0Ey04+QqMFVXvRCunROuI 3teTjnJOzeOQEP1M5RAMxsyZeeiLF5lZhnDsMeKfbl2xjgt7JqNvTcqHI9Cf1xEYlaHJ Nq+JQ+6cw/wBiPOZE+Qep1ZuXVoSgYlSStAG7HgLqp0XKdPRgQAlQjJNiO7dISC0d29T 5F62Zmy7tEijF1oUBZmnMkJFOXsEbHA8S8rJ0mw7cDP8OFgXg7ocM+DXfHqlD+rbtIHr uEAw== 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=V5UwppQzNSEVKKmCNAy4gJeoujszl/Jk2qfjcyRy+IM=; b=suBPVO2M4ZDivVPaVsIDUlw1DNB/XtEHK+2z5nEjm6BFQxQQwPgoBjCBDTOnj2Thzf tGW9+SwAZEgUa1xPpdXQmmVpWel/U9RdoPpy41djQO1ENMjxRaz/rbczLDl7CzID35T7 PyIYOjfgCqUU8PDcw5GEWjC9D3aothSJPchi6B35ytuEF8DQ/E6deCk6DvN0ThCUg/YQ tXzfYdm3+mIeomHUNuSwgQWVbDJ5QaCEMX/3qC5ml6SHdEy0fRPn13IbSWlCl1KG646c wmpUT8JM1U/vmpOJdwMkwT9PBnbKIRo+h12ZYe0SKISmCqVAfi8RcFdiNLBOVKvnxA1/ lrqA== X-Gm-Message-State: ANoB5plAneFqJe/l3tAzdGWzMJmsQbNz0k8PTm3w198V2vd/97Rk9ytz koSnW76b3FjiF45kgb1ETdWzjA== X-Received: by 2002:a19:4f43:0:b0:4a0:44bb:d1a8 with SMTP id a3-20020a194f43000000b004a044bbd1a8mr6530800lfk.556.1668516798602; Tue, 15 Nov 2022 04:53:18 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id d8-20020a056512368800b0049110ba325asm2177224lfs.158.2022.11.15.04.53.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 04:53:18 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Stanimir Varbanov , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/4] arm64: dts: msm8998: unify PCIe clock order withMSM8996 Date: Tue, 15 Nov 2022 13:53:10 +0100 Message-Id: <20221115125310.184012-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221115125310.184012-1-krzysztof.kozlowski@linaro.org> References: <20221115125310.184012-1-krzysztof.kozlowski@linaro.org> 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,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749566952504308712?= X-GMAIL-MSGID: =?utf-8?q?1749566952504308712?= PCIe on MSM8996 and MSM8998 use the same clocks, so use one order to make the binding simpler. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 320a28232a32..539382dab0ad 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -929,11 +929,11 @@ pcie0: pci@1c00000 { <0 0 0 4 &intc 0 0 139 IRQ_TYPE_LEVEL_HIGH>; clocks = <&gcc GCC_PCIE_0_PIPE_CLK>, - <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, - <&gcc GCC_PCIE_0_SLV_AXI_CLK>, + <&gcc GCC_PCIE_0_AUX_CLK>, <&gcc GCC_PCIE_0_CFG_AHB_CLK>, - <&gcc GCC_PCIE_0_AUX_CLK>; - clock-names = "pipe", "bus_master", "bus_slave", "cfg", "aux"; + <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, + <&gcc GCC_PCIE_0_SLV_AXI_CLK>; + clock-names = "pipe", "aux", "cfg", "bus_master", "bus_slave"; power-domains = <&gcc PCIE_0_GDSC>; iommu-map = <0x100 &anoc1_smmu 0x1480 1>;