From patchwork Thu Jan 19 13:22:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 644366 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 4354AC6379F for ; Thu, 19 Jan 2023 13:22:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229712AbjASNW0 (ORCPT ); Thu, 19 Jan 2023 08:22:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229788AbjASNWZ (ORCPT ); Thu, 19 Jan 2023 08:22:25 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF94C83 for ; Thu, 19 Jan 2023 05:22:23 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id v13so2795480eda.11 for ; Thu, 19 Jan 2023 05:22:23 -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=50rzk8fpGbRdVDZHXg9S8+HwYz3izR2NNax3H/NsJOM=; b=EQYH8nmRze7ju0NbzV5aVZ8wk9IbpDAYSndDpevL/LReS8lfr7YzunKXHo3QMiB0Lw VLP1NUEjdznTS9vHjNh0Jmb0dUVH0ozAZ24QnjD24rx+zBEOx9NVmoUCgoHLo7VO7UC9 bMrue2H7jqabZLVHKKrNCP5ElmwXfSi5mwy77IqBs/EougFYRAM8h5xFyHneLiYFJTCQ 4jINsqTV+QLeM/TgA8u0xTD57rUCk3bcBtQKWON7rtxUGeD1WHVd3F9SbqIaIxsHKZMI 7GY5i6huJhpc44Zo+NLgj8yTJblKA8m7t+PTWuLHp/dCIcW3KFAFCsELcOpsK36kmgcf jmKw== 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=50rzk8fpGbRdVDZHXg9S8+HwYz3izR2NNax3H/NsJOM=; b=IjkL8AK+qgd9raM/4Z9p73GPRY4xu43R0z/ExUUGjtCkBOyezpuhfnHPo3nvHhPgF6 6bH57AMkFvlD1zQRsYx1DIbGy8km3vZ7tykuXoGPd59GpiWBGAnggrGRlUP+vWp6h4B1 eUvPOF9GewvihPc3LEQSpFyQ6K8KFNeksf09wSkJjgGURQsR5+UUVOWlbopUi+hH/LcG GitUrKL7GHFyemNz+HDGzpPAjImzeLvJvlIESPJlOFKjr7IjCt03R2r8AB0fZpHjL8Uv 0KlVW7lkfitVwi4X65rZ+s5P3ikhvNCR2qyyZy8c7tYYl7SB0LEJIz8yjTL7NoPfJC98 U8gQ== X-Gm-Message-State: AFqh2kozAj1W+4aVsYGGOAw3kKiN4CQqwW532uR55sFEnI9wixiBdYeJ TEOnLrrqJjUlPzHsOsf7wui9Ow== X-Google-Smtp-Source: AMrXdXvB9GaISd9Yzhla7Zc6iihEqpzFMjIt4vGeZ4d3vmWFPeCiNEnbZLlRK5LgWUXPdOFpfesk9Q== X-Received: by 2002:a05:6402:3906:b0:49b:c516:72ee with SMTP id fe6-20020a056402390600b0049bc51672eemr12423199edb.41.1674134542257; Thu, 19 Jan 2023 05:22:22 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id bt16-20020a0564020a5000b00482e0c55e2bsm15532646edb.93.2023.01.19.05.22.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 05:22:21 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 1/6] dt-bindings: phy: qcom,hdmi-phy-other: use pxo clock Date: Thu, 19 Jan 2023 15:22:14 +0200 Message-Id: <20230119132219.2479775-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230119132219.2479775-1-dmitry.baryshkov@linaro.org> References: <20230119132219.2479775-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>; };