From patchwork Mon Dec 26 04:21:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 637476 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 9C8CBC46467 for ; Mon, 26 Dec 2022 04:22:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231608AbiLZEWE (ORCPT ); Sun, 25 Dec 2022 23:22:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231580AbiLZEV7 (ORCPT ); Sun, 25 Dec 2022 23:21:59 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE5422670 for ; Sun, 25 Dec 2022 20:21:58 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id f34so14666551lfv.10 for ; Sun, 25 Dec 2022 20:21:58 -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=3GhZ0FxfbIH4v+WIvD3ap4QIpyJbfOnvuvRt1i73wJk=; b=q23UOK9rcJEw6EbkKbpPAexJCjdG39R4jB+sOnwU/ySIcq4XAjm60ou+pHCDL13duX 3JN6nhB+Ng6iZ5mGrg+dezc5bs9X6grVB7z5c0vYHCu4RFcUCZ56zKgO+lGSA0s3ucek VTWjdz3wDRFdJEnEPJBAkhqWAlBM5lzeUHvYREFmN+pQA1SV3G/x5CVjWRckhjOb7yvn 9RPHdhI2M3NwT8e3BhlcmUmDCIKfSZaXJUv3MXDArkcBxKA0f4svt9/ipAAMAY0Za5ev ba8AN96MBZmXgXe40BEbdn68bnrW9Jv5guSj6sD6B/VB5cDXKzbJC32l0Z8k7B2L+179 I6wA== 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=3GhZ0FxfbIH4v+WIvD3ap4QIpyJbfOnvuvRt1i73wJk=; b=XVDbfajWMDgXeiF+fw8zJa2o2kywpp2bHz9UJJYiCnh8R5AlurUmlOHjJEtNIcEK3r MOfKpsV8G8tAOI7O5BZme0/LcR75w+jRRxUYCwggg1pXTwOkGrcd98KEAKdPxwX2OVrS fSQm7vpUsb98ythvHFRHR719P1HgTPFfZNw1PEFqCVUz4C6q8VYWLShdc/tyAWrBlP6j s2luEIYKA7/0rVDxhPWM/IYGujTKPfD+/KP7WQmq4QJjY+ZuUa77CwqYJUXGUJnd+6G+ 6+13eMPNVD+beMQw8BFuVvtzI9tEMmWumnltO/6D1x8+hAP7iBpfFMBV5OUPKqRtxsRd Z2Ag== X-Gm-Message-State: AFqh2kogA5CcUMKmD+XRqlHnJnqFjm8aKzNiIjHrPc/+Gy5XLlKHD2pM uQvLboDP8vLvgHlqvX91B2qOWEp4xA39pZfjMupt7A== X-Google-Smtp-Source: AMrXdXvNTP18ugelgVDKpsYtWXxt3JIhpq5vlfHPFgxIKtehlis9TOU7PI3dXS5mUd32lLGXdbsrpg== X-Received: by 2002:a19:6508:0:b0:4bc:8c94:82f7 with SMTP id z8-20020a196508000000b004bc8c9482f7mr4149328lfb.13.1672028517105; Sun, 25 Dec 2022 20:21:57 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id o9-20020ac25e29000000b004b4b5da5f80sm1641129lfg.219.2022.12.25.20.21.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Dec 2022 20:21:56 -0800 (PST) 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 v2 02/16] dt-bindings: clock: qcom: gcc-qcs404: switch to gcc.yaml Date: Mon, 26 Dec 2022 06:21:40 +0200 Message-Id: <20221226042154.2666748-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221226042154.2666748-1-dmitry.baryshkov@linaro.org> References: <20221226042154.2666748-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Now as the gcc-qcs404 gained support for GDSC and requires using the #power-domain-cells property, switch the qcom,gcc-qcs404.yaml schema to use common gcc.yaml. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Dmitry Baryshkov --- .../bindings/clock/qcom,gcc-qcs404.yaml | 22 +++++-------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-qcs404.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-qcs404.yaml index dca5775f79a4..b70901e0d5cf 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gcc-qcs404.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gcc-qcs404.yaml @@ -20,26 +20,13 @@ properties: compatible: const: qcom,gcc-qcs404 - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - reg: - maxItems: 1 - - protected-clocks: - description: - Protected clock specifier list as per common clock binding. - required: - compatible - - reg - - '#clock-cells' - - '#reset-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | @@ -48,5 +35,6 @@ examples: reg = <0x01800000 0x80000>; #clock-cells = <1>; #reset-cells = <1>; + #power-domain-cells = <1>; }; ...