From patchwork Fri Sep 9 13:20:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 604362 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFF97C6FA8A for ; Fri, 9 Sep 2022 13:20:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbiIINUQ (ORCPT ); Fri, 9 Sep 2022 09:20:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230238AbiIINUP (ORCPT ); Fri, 9 Sep 2022 09:20:15 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED2CA57554 for ; Fri, 9 Sep 2022 06:20:13 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id x10so1801024ljq.4 for ; Fri, 09 Sep 2022 06:20:13 -0700 (PDT) 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; bh=URKPpDds5enTnYg0WS+nZGk6NjU5/c00VgWLv5nmEVA=; b=HKkJ9rW5PnwQiM3dw7mtrpORHJYImFXaBICEiLN1LfiYVGpvQHelBgCNHQQurngZsu WnciOru/rhuM56JpATb0poxpENrdTEbEQA+SSpaqhXPKcfEtYzNXq9EHREOwznOySbNe 2Apjht30smLogewy+m8BaoRirYJEdGRom/lhBuXtYcmVWGormIAYp1dcHdcCxEnBhVxS QeHiJM2yQr6sDVyNVKkMqsXpgfUHJ88MEOSxhxRScbWwMeyYTBoKks1J0MJ3dC0YcAy7 TtmeDcmSWOOIJQDYV/QtFN1E7Labm6gb0jTNpUTQ8+4Af9IhAlufO7v+F8qrJZGyv2RX C2sw== 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; bh=URKPpDds5enTnYg0WS+nZGk6NjU5/c00VgWLv5nmEVA=; b=HlhjYmKIvFshV3kO1IOJF2r+B1IwfBdLGE+aOYa/quEpRgS3nYW3LPh9YmcKSDwYEV kStcD3IzV5sPO/f8YwG/1KFkBO8LyUEi9N1iXktvp12JdO8q6GHVVCu2eWHlKVmJtpLq gLFo/In+QyTScLcLVuYCs788FHA1ztj60XPl43moitm9CJhC3hYDgOXAcZ+avY1p6W4v JrXMe32LEOhL0E0FsKoo3sEvd+MJd98uZNuKLyIbPorTi/7HszG2Nd0xqldtzFC2ubYU 76luo1ZRLu9ITtUg2YftyIqRr9clnotqPVpvBJBXn6i9+cPoqFwcIFpvCf2JtGXRMkzI eWbQ== X-Gm-Message-State: ACgBeo2RbbXeAHl5KxbBygxLuxsrTUDcyecDIk3Qi3XQbJbLf4yUNA86 DERpBDFu+6z+09Rga5Z9y9V5SA== X-Google-Smtp-Source: AA6agR5tgqajbgGaVDceogKS9M6kNnje2qJMidQw7ZzXcD03CMIRiFC2fcF9PpWncaMH5QNL/BLwWQ== X-Received: by 2002:a2e:b8d5:0:b0:25f:e94d:10a2 with SMTP id s21-20020a2eb8d5000000b0025fe94d10a2mr4231981ljp.274.1662729612376; Fri, 09 Sep 2022 06:20:12 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id v10-20020a056512348a00b00498ff4ae746sm71729lfr.294.2022.09.09.06.20.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 06:20:11 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Vinod Koul , linux-phy@lists.infradead.org, Kishon Vijay Abraham I Subject: [PATCH 1/6] dt-bindings: phy: qcom,hdmi-phy-other: use pxo clock Date: Fri, 9 Sep 2022 16:20:05 +0300 Message-Id: <20220909132010.3814817-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220909132010.3814817-1-dmitry.baryshkov@linaro.org> References: <20220909132010.3814817-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add pxo clock to the 8960 bindings (used by the HDMI PLL) Signed-off-by: Dmitry Baryshkov --- .../bindings/phy/qcom,hdmi-phy-other.yaml | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-other.yaml b/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-other.yaml index fdb277edebeb..2c21e120ff8d 100644 --- a/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-other.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-other.yaml @@ -53,7 +53,6 @@ allOf: contains: enum: - qcom,hdmi-phy-8660 - - qcom,hdmi-phy-8960 then: properties: clocks: @@ -63,6 +62,24 @@ allOf: - const: slave_iface vddio-supply: false + - if: + properties: + compatible: + contains: + enum: + - qcom,hdmi-phy-8960 + then: + properties: + clocks: + minItems: 1 + maxItems: 2 + clock-names: + minItems: 1 + items: + - const: slave_iface + - const: pxo + vddio-supply: false + - if: properties: compatible: @@ -98,7 +115,7 @@ examples: <0x4a00500 0x100>; #phy-cells = <0>; power-domains = <&mmcc 1>; - clock-names = "slave_iface"; - clocks = <&clk 21>; + clock-names = "slave_iface", "pxo"; + clocks = <&clk 21>, <&pxo_board>; core-vdda-supply = <&pm8921_hdmi_mvs>; };