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