From patchwork Fri May 12 21:17:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 681333 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 CC37BC7EE31 for ; Fri, 12 May 2023 21:18:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240097AbjELVSF (ORCPT ); Fri, 12 May 2023 17:18:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240341AbjELVSE (ORCPT ); Fri, 12 May 2023 17:18:04 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B0CA61AE for ; Fri, 12 May 2023 14:17:32 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4f25d79f6bfso5681684e87.2 for ; Fri, 12 May 2023 14:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683926250; x=1686518250; 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=RzC/S26FfX2KBobwpdwOfCvN/amobbf96cFrDJ/wC6A=; b=Nso9rJDJ6ec93LDQc07gjyLuWRCgV+NYsjBRmmozpwS5/Uwa4bPRu/NUffOUcOWM1E lggONYhXu1HbznRV4FZeh6UtFuZ/i/z+YNfFbURG332QQ9dLr/f/jH7Ya/OOvZsTjvJR 5xduyE1vRkKQUXfnyjjnu3IVLOmPJHKly/6ip6z01OdSs6P0SCid4/gFX1ZwHgM84/jx iP3TRYSiU3jm+7Za3gWponlvjqal3U957jANf6Ld73JHKXWpxaNHYhmlLUN8P4k/D3Mr NFCe+jj8q/T0amV4xp8kerOU6WwgCgXSoMQvu/r4DuJ7bFJNoFCkos6wYHM+MOFiX0wc r8QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683926250; x=1686518250; 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=RzC/S26FfX2KBobwpdwOfCvN/amobbf96cFrDJ/wC6A=; b=FJsZXsXHCWex2GugGK2LDxC9JXya1nVdnYxD3CDB+XwIBhDE0yf+z+7OsqJ8h/3Igl bZQ7Jt4dSrswrbH6k33WszBdiBVQ0IvpLb9KGA6zPpZWmcuuK8zZO7qYSfdL14ovwR+Z /wiG4SoItgi+xKE9KLWVy+MzJzZGoMS74cDq8ulGjvb0xJRBK8ywdBhYJrwa7qU4vUYl Bt1ZTve0CCSQfSkB599qTIu5Ec8bYkdvDNEMRGwas4IvvJ+fHGBZLLYD4uKs20lfA9wU x+ng8UwkHWUYX45RfleWHksNzIONd2p3mhd1q6rLLN0Yn2BS5Ccbek97/6Bgfz4AyQnu RgmA== X-Gm-Message-State: AC+VfDxN0aAYJM9M3gbPTmb5cP7lsbMqhZ1QvloOfyEuQjrr/3JXkleW 884Ygt2W7D1q5iLC4DfxikwfWg== X-Google-Smtp-Source: ACHHUZ4N9TANITxQE6BSQ6d1lPsMv+zeDT9j59wfWA2uFPb0lLHvTdh5DmhMxDQAoNiPrY7RwVdHgA== X-Received: by 2002:ac2:488c:0:b0:4f0:2ce:34ea with SMTP id x12-20020ac2488c000000b004f002ce34eamr3938380lfc.44.1683926249684; Fri, 12 May 2023 14:17:29 -0700 (PDT) Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id w4-20020ac254a4000000b004edafe3f8dbsm1590363lfk.11.2023.05.12.14.17.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 14:17:29 -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 01/10] dt-bindings: clock: qcom,lcc.yaml: describe clocks for lcc,qcom-mdm9615 Date: Sat, 13 May 2023 00:17:18 +0300 Message-Id: <20230512211727.3445575-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230512211727.3445575-1-dmitry.baryshkov@linaro.org> References: <20230512211727.3445575-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Describe parent clocks used by the LCC on the MDM9615 platform. It is the list as the one for msm8960/apq8064, with only difference being pxo/cxo replacement. Acked-by: Krzysztof Kozlowski Signed-off-by: Dmitry Baryshkov --- .../devicetree/bindings/clock/qcom,lcc.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,lcc.yaml b/Documentation/devicetree/bindings/clock/qcom,lcc.yaml index 8c783823e93c..55985e562a34 100644 --- a/Documentation/devicetree/bindings/clock/qcom,lcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,lcc.yaml @@ -76,6 +76,40 @@ allOf: - clocks - clock-names + - if: + properties: + compatible: + contains: + enum: + - qcom,lcc-mdm9615 + then: + properties: + clocks: + items: + - description: Board CXO source + - description: PLL 4 Vote clock + - description: MI2S codec clock + - description: Mic I2S codec clock + - description: Mic I2S spare clock + - description: Speaker I2S codec clock + - description: Speaker I2S spare clock + - description: PCM codec clock + + clock-names: + items: + - const: cxo + - const: pll4_vote + - const: mi2s_codec_clk + - const: codec_i2s_mic_codec_clk + - const: spare_i2s_mic_codec_clk + - const: codec_i2s_spkr_codec_clk + - const: spare_i2s_spkr_codec_clk + - const: pcm_codec_clk + + required: + - clocks + - clock-names + examples: - | clock-controller@28000000 {