Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp240906pxb; Tue, 28 Sep 2021 20:45:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3+DLy35Mv+fJma3oTOskyfCTaImojSXRWZ1kMteJW9nLtTdp5ZJr8bzDo1mirq2iGmukA X-Received: by 2002:a50:da85:: with SMTP id q5mr12119581edj.300.1632887137173; Tue, 28 Sep 2021 20:45:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632887137; cv=none; d=google.com; s=arc-20160816; b=KQD9e0tSn3gtM8P84LmPbYraHke+z2NaB/4fk6emBLvHG+BvdubEi0KdXa8VgRmx2L KoaNFJx6l/mXWk8z3ZUn2SOoVCm1r12mPMUmalrErAG9uS9uiXnMzt+UyhC0/kw5HUCr KDzJi1OzszAIzMoZ86HH8z5Byvd81WtdptMuP3nBAe0rMKMwhFAki83wInDfMELkU8ai h15gesGLckpxVQIys/ijW49DOF4Qvd06VhCWNUCUIJJstqvbwEC04sG/ctCBh2TGl4N4 e397Jwl1SolB6+fBer5oB7rg6I002A491Q2ze4GWSTQdzLzwGwuOlMODh0u2SP8t9+sq aH0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=abFTFmuowhNWr1sh/rZmGCZE7/q4bRx8HdmPJpdl9es=; b=bi/weeOgNhIXjotOS687MaCFI9qJRp2V6sSYDZUY+7gpBcQn2dWqlmApCiIlbABaE5 HwF8Sn6uI1YBxD3WKwkGlhK5euY4LqDyml+CEgLZ7Uj4YMb2bM4mGZhv/47EHYZnx9kh 2DOHVRNB9O/MdySJfQu6V1E+Q7DEeCwTBJx8nWkEYJuYC3wK1VpHTxnLXN8e9weUGqgr 5+U+Lxo4MrBL3Oxo5sMIGL0CVh74B89KpMbAkbnJjN7QzGVJrZacKxXpmnjKyvcEAn9X nUcTf1SwVS6QmZfWkdUadq70d+AKX/1Ev4rjhjh1EWgYiWgZMVYAuvQ10BoRShJRPCHT tIhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tJvxk1Dq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si1471737edh.137.2021.09.28.20.45.13; Tue, 28 Sep 2021 20:45:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tJvxk1Dq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S244077AbhI2Doy (ORCPT + 99 others); Tue, 28 Sep 2021 23:44:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244051AbhI2Dou (ORCPT ); Tue, 28 Sep 2021 23:44:50 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA2DAC06161C for ; Tue, 28 Sep 2021 20:43:09 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id x4so582800pln.5 for ; Tue, 28 Sep 2021 20:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=abFTFmuowhNWr1sh/rZmGCZE7/q4bRx8HdmPJpdl9es=; b=tJvxk1DqNMcFK2RE/5ScJjAzsZvbhqkii1vOHmPUesraorVNGMf0TXD+QphpZCaiot +myZ8gCorzzu7r0elg42e5Zg27/7o7pjsE6OXtWVgupuJKClsGIqZfNueM6XQ9R1mCSM lgjy9BBFYww9zS+VPrB6SJC7DRkmMIEkwTu+Ra8OqNdykupByZG796qkdIP67AhqPTGI QEUJypHgGEvjWm0PIOBxlgAfyf/nt+ZU2sQPoW38+qtB6olJGcmaAEP1TqtM8EMUNBwR /EmFVFznqQ/F2FpjX6PYSaSx5N6a2iQS/QS0FQLdFWmtrLWU6oSQarESViCi8adLOMCH UMRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=abFTFmuowhNWr1sh/rZmGCZE7/q4bRx8HdmPJpdl9es=; b=O5mySiES3ZFBIUHiMJxcmo3yW2KYF+WMZQOHOnJtN3swaqr5Ok0Mnr0ZgQqEcqkDJ+ ApXdVq+ezN8960Q0LDukY/L/WLrXQKT+GT06Nr+I1YW6oajDsjULRJXZG1vxAFPSabda 1mPKA2pPv4BPNTXU3hh+G0EocWaMHMztnJToemyNfbEEMRaTylGWALoGn7uk6fTxIt3z h+QFgSmbBV5WF3fG9VnpqWtZWGvORE7Jzl/QEwy8ALUWi9bO1NERInyGjXLWakoczRb2 c8aU4ntn7j8ZEntXtkU3xkJBBD33npTHAU2EPgV2iFE2RwDjNWO3UrUqa6CW7px0dWaN AvAA== X-Gm-Message-State: AOAM530kpud/pN12vnnU0xKx4MSPPxSKBdx2dAu4D0+VRXnjMjQvkLBD MqNGcEheAVqKedAyvzMT8FmYZA== X-Received: by 2002:a17:902:8c98:b0:13e:51d1:6fbd with SMTP id t24-20020a1709028c9800b0013e51d16fbdmr4595687plo.45.1632886989518; Tue, 28 Sep 2021 20:43:09 -0700 (PDT) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id b7sm533032pfb.20.2021.09.28.20.43.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 20:43:09 -0700 (PDT) From: Shawn Guo To: Vinod Koul , Rob Herring Cc: Bjorn Andersson , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH 02/10] dt-bindings: phy: qcom,qmp: IPQ6018 and IPQ8074 PCIe PHY require no supply Date: Wed, 29 Sep 2021 11:42:45 +0800 Message-Id: <20210929034253.24570-3-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210929034253.24570-1-shawn.guo@linaro.org> References: <20210929034253.24570-1-shawn.guo@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The qmp-phy driver suggests that 'vdda-phy-supply' and 'vdda-pll-supply' are not required for IPQ6018 and IPQ8074 QMP PCIe PHY. Update the bindings to reflect it. While at it, also correct the clock properies for IPQ8074 QMP PCIe PHY. And as the result, 'qcom,ipq8074-qmp-pcie-phy' and 'qcom,ipq6018-qmp-pcie-phy' share the same clock, reset and supply bindings. Signed-off-by: Shawn Guo --- .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 52 ++++++++++--------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index 604435e46623..ed62dde5f97d 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -112,8 +112,6 @@ required: - clock-names - resets - reset-names - - vdda-phy-supply - - vdda-pll-supply additionalProperties: false @@ -146,6 +144,9 @@ allOf: items: - const: phy - const: common + required: + - vdda-phy-supply + - vdda-pll-supply - if: properties: compatible: @@ -172,6 +173,9 @@ allOf: items: - const: phy - const: common + required: + - vdda-phy-supply + - vdda-pll-supply - if: properties: compatible: @@ -200,6 +204,9 @@ allOf: - const: phy - const: common - const: cfg + required: + - vdda-phy-supply + - vdda-pll-supply - if: properties: compatible: @@ -229,6 +236,9 @@ allOf: items: - const: phy - const: common + required: + - vdda-phy-supply + - vdda-pll-supply - if: properties: compatible: @@ -249,6 +259,9 @@ allOf: reset-names: items: - const: ufsphy + required: + - vdda-phy-supply + - vdda-pll-supply - if: properties: compatible: @@ -274,34 +287,16 @@ allOf: reset-names: items: - const: ufsphy - - if: - properties: - compatible: - contains: - enum: - - qcom,ipq8074-qmp-pcie-phy - then: - properties: - clocks: - items: - - description: pipe clk. - clock-names: - items: - - const: pipe_clk - resets: - items: - - description: reset of phy block. - - description: phy common block reset. - reset-names: - items: - - const: phy - - const: common + required: + - vdda-phy-supply + - vdda-pll-supply - if: properties: compatible: contains: enum: - qcom,ipq6018-qmp-pcie-phy + - qcom,ipq8074-qmp-pcie-phy then: properties: clocks: @@ -352,6 +347,9 @@ allOf: reset-names: items: - const: phy + required: + - vdda-phy-supply + - vdda-pll-supply - if: properties: compatible: @@ -383,6 +381,9 @@ allOf: items: - const: phy - const: common + required: + - vdda-phy-supply + - vdda-pll-supply - if: properties: compatible: @@ -410,6 +411,9 @@ allOf: items: - const: phy - const: common + required: + - vdda-phy-supply + - vdda-pll-supply examples: - | -- 2.17.1