From patchwork Sun Oct 30 15:55:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 620296 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 2FBEFFA3748 for ; Sun, 30 Oct 2022 15:55:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbiJ3Pza (ORCPT ); Sun, 30 Oct 2022 11:55:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbiJ3Pz2 (ORCPT ); Sun, 30 Oct 2022 11:55:28 -0400 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 4AED3BE0 for ; Sun, 30 Oct 2022 08:55:27 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id g12so15853017lfh.3 for ; Sun, 30 Oct 2022 08:55:27 -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 :message-id:reply-to; bh=hW4yNt9fG4pRCpDzEdmb4e/N01zz4GZdn2Oz7sGKOzM=; b=i7zIY8rPFE/Aop+MW1pGSVj3BLsZjTJBWHrPOzbGbu//YQMg6OxhKJj5qTb90S70Hl 0LuR3XyQElzz7sHVmywC8Ld4WDSlVECOJZ5pXNJoYLBq5PlXJiE3pmsQM9JCTWm1MSqp 8SPsP9cpQdpCdtQz/Psjbz6gPqeVa24Guw+PXH/XuP9NMV8SAIo1jNbKeOvO+8jdWQnz LiKRHinhlP7Ut9qU0h556ZUTc93zL830iSCj23Q81lWTFsKqOtcZ/SPoAPDxztCwXalo XLEzMACDtqodb/BZPYQiDhW4Q0c9ygXPfBkP+tJG/Jg4tLf82ah4vSvWetBA9cj8m/QT azzQ== 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=hW4yNt9fG4pRCpDzEdmb4e/N01zz4GZdn2Oz7sGKOzM=; b=kOsseshS36FNS5kCyjBNH/uE6Zr2fLWsGVJTBRynqtnddNr5EYZWB9wulDT45qfWSs 0f14uVFzGdyoSd46zSfHDwiAXvCq9d5iuIElEQF9oincEexFzD6wQDT+mk0Ata2MhVob ec+wS2HTD3b8C/Dw1n8HN4GI5ifoxSQ4JDVFn/hwrlZJRuuhiz1kQ0gidJCZWdUDJKLS GTYRj/Y3Lg6blBK8rx9AF3Hs+t1nYMzy21Hlgn1pnOLk5H3xylTkgGjn/nMQ7hPGfqXO B1JZ9C+a7BP36/+IYiLUQ6CnaEPSm7poZpzVjlPKKpBI8MFmtY7veVGQ5wSPfiZKG3EA BRLw== X-Gm-Message-State: ACrzQf2P3LZiSlLZuL+OWtX5C67c7ioG5wk22GSTWp95WmMJqhpC3yot Zi3I2loYeqhpJ/z1uhW3FLS+0g== X-Google-Smtp-Source: AMsMyM4fcbuq8F/kSq7u96JBeocme7IOUX14B/0/Gmzy0w1ny8hHpP64zOxO7ffpfPkGaULSWkq2pQ== X-Received: by 2002:a05:6512:3501:b0:4a1:fa45:5008 with SMTP id h1-20020a056512350100b004a1fa455008mr3503362lfs.42.1667145325556; Sun, 30 Oct 2022 08:55:25 -0700 (PDT) Received: from localhost.localdomain ([195.165.23.90]) by smtp.gmail.com with ESMTPSA id f4-20020ac24e44000000b00497a1f92a72sm842982lfr.221.2022.10.30.08.55.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Oct 2022 08:55:25 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Stephen Boyd , Michael Turquette , Rob Herring , Krzysztof Kozlowski , Taniya Das Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v3 02/11] dt-bindings: clocks: qcom,mmcc: define clocks/clock-names for MSM8974 Date: Sun, 30 Oct 2022 18:55:11 +0300 Message-Id: <20221030155520.91629-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221030155520.91629-1-dmitry.baryshkov@linaro.org> References: <20221030155520.91629-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Define clock/clock-names properties of the MMCC device node to be used on MSM8974 platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Dmitry Baryshkov --- .../devicetree/bindings/clock/qcom,mmcc.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml b/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml index 03faab5b6a41..78473475c68d 100644 --- a/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,mmcc.yaml @@ -99,6 +99,44 @@ allOf: - const: dsi2pllbyte - const: hdmipll + - if: + properties: + compatible: + contains: + enum: + - qcom,mmcc-msm8974 + then: + properties: + clocks: + items: + - description: Board XO source + - description: MMSS GPLL0 voted clock + - description: GPLL0 voted clock + - description: GPLL1 voted clock + - description: GFX3D clock source + - description: DSI phy instance 0 dsi clock + - description: DSI phy instance 0 byte clock + - description: DSI phy instance 1 dsi clock + - description: DSI phy instance 1 byte clock + - description: HDMI phy PLL clock + - description: eDP phy PLL link clock + - description: eDP phy PLL vco clock + + clock-names: + items: + - const: xo + - const: mmss_gpll0_vote + - const: gpll0_vote + - const: gpll1_vote + - const: gfx3d_clk_src + - const: dsi0pll + - const: dsi0pllbyte + - const: dsi1pll + - const: dsi1pllbyte + - const: hdmipll + - const: edp_link_clk + - const: edp_vco_div + - if: properties: compatible: