Message ID | 20221028140326.43470-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp849911wru; Fri, 28 Oct 2022 07:05:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5YdNY27NK0VbiB+5UVUZw4JFo5Ot2zhW3EIOpoH7CY7sC0qEist4QHSqutBH/gKYsnYOeX X-Received: by 2002:a17:906:5daa:b0:78e:2bc7:f1a3 with SMTP id n10-20020a1709065daa00b0078e2bc7f1a3mr45669055ejv.256.1666965925910; Fri, 28 Oct 2022 07:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666965925; cv=none; d=google.com; s=arc-20160816; b=u2zwxDvbiRymKZBxJKsWTcu4lG9i08l1bWKcoqb/bp50NUo0jxebp7m8osqWZmnI82 /kAipUIRW77mtNyZMdjyLPmkj/GnM2HPLoLU2ykRZ409mnCDG2RwcL6yjj0snlaHPwcM slrdkjFGn/eEkDWCY/TYY2sKWAH+z6konYMpK6s+MYSsomnMKhaKNE13wmVLTJpOALlh Wi6xEZDhDMnJFJ/9zDA+MtCfMW7RKWyCiQV+rvHEVS/EEW0CfES79PRf2rFyvgaJoH0j L4hkgbOxi1XFlN2vAU+/xgo7RhtqxNRCRtJV6C85VqVUdH1GTVIti/Z/I6Z30XtkAG5u UyMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=P8oKprLw8ZYm+8GU3x4F5q2ce8H0sbZgjnP+ajJvPJI=; b=ImqWzXkvy8TTvjkMe07vkSiNJw/Gap1B7Vp6Ksd/TSpCx+GATT60Gzb81ijhWTBU8h iKGM8t8p1L32mAEFKegu7C3eltdDxUrv3aik1em09+12lUdkC9q+ITEobL85B/oN0Obw OXnuDfi48xVIzsICB+hU6nORpZEsFzJAql0Tc1YUnN3r2lGMdrLJAEpb6N0MY9O7uRFQ TQdRBUEykvvJMqpdc1LXigEKOMVIVMJsorzGnNKIVvikiUGlX4S2OPrlh90M4ZtFL286 YBocCo5xeiTe8do5C+tnRcE2+cxviF8cUIpA3vVI1o9VHQJV1zTCMKMXs5YX3MOElvzk 1LYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EvuSFD8X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht21-20020a170907609500b00770872942d8si5308392ejc.958.2022.10.28.07.05.00; Fri, 28 Oct 2022 07:05:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EvuSFD8X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231315AbiJ1OEg (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 28 Oct 2022 10:04:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231250AbiJ1OEd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Oct 2022 10:04:33 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF9CBD91 for <linux-kernel@vger.kernel.org>; Fri, 28 Oct 2022 07:04:26 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id z6so3491832qtv.5 for <linux-kernel@vger.kernel.org>; Fri, 28 Oct 2022 07:04:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=P8oKprLw8ZYm+8GU3x4F5q2ce8H0sbZgjnP+ajJvPJI=; b=EvuSFD8XSe837jMobEgQmwLyHBXFuLECBBN7IL8NsbQOeJnK79KcFF6rtBZmKY6SZF K61FSKN8/GdEvlerc+ae7dDFs5SVDee9VVYNpkq/QaMgEbR6mUVeKmibKkBFJzwvXax2 thJ7arKGs7GoZDFjd5c6VHK1xDS1cXAv6sdXUuZXzLh8cxLrm9MtnjVzHQ6/jcNJkulX fq+q75OxoYl+/DjM9rWwSYsDxqwakrSUehzQlG5EOTzLg1Mbi28fPRDqEztm8sUsd0B1 GHuF9xDFErNgdurg6VYlsFqa+7buusI9oCzkgMEaMN4WrjXQaTIZiMPZuv8g83hCwEL7 KqKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P8oKprLw8ZYm+8GU3x4F5q2ce8H0sbZgjnP+ajJvPJI=; b=Uye8Vz4ODTrBKy6Uc1q7jgSJwy1jp84Ef4E3ZdeqgEZzSzUxQEvwsjKI6xvIR0l/Um wWQoBOwi/EWz3C+nXfMsBFBI3S9jC9cfBxdVR3Axjo2wTxuQzkgOKDJ033MMZnL/j8dP RD4AO6t4ivVLtji13DQszSkrSNRjy2lbh08FcipIjBROT/J+2UTT3D3fOBwC5ULuNiBe 1k1BkyYpsHCSj0nt3KjAThXwpVrLFFM4TO7BgTUY7uWtS+IMCrd3ZVbGfQPDLk0JfqiE JtBGMGzx2ln53fVl/dnrxeQ92ANcJpu7Yp80tT2D9QGbOlcQLDbjKV3zB4VvRQ476iR4 E1EQ== X-Gm-Message-State: ACrzQf1+kQ/7aYrzjnBmsOA697WmtS4Ek/C/CwhC3uXrva5PkVgvXDeD FBN0fWbSxRVzPBwblaRrWWxLgQ== X-Received: by 2002:ac8:5854:0:b0:39c:dba4:6fa0 with SMTP id h20-20020ac85854000000b0039cdba46fa0mr46658376qth.175.1666965865720; Fri, 28 Oct 2022 07:04:25 -0700 (PDT) Received: from krzk-bin.. ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id w8-20020a05620a424800b006ed30a8fb21sm3028252qko.76.2022.10.28.07.04.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 07:04:24 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Bjorn Andersson <andersson@kernel.org>, Andy Gross <agross@kernel.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Lars Povlsen <lars.povlsen@microchip.com>, Steen Hegelund <Steen.Hegelund@microchip.com>, Daniel Machon <daniel.machon@microchip.com>, UNGLinuxDriver@microchip.com, Sergey Shtylyov <s.shtylyov@omp.ru>, Manivannan Sadhasivam <mani@kernel.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Jonathan Marek <jonathan@marek.ca>, Martin Botka <martin.botka@somainline.org>, Taniya Das <tdas@codeaurora.org>, Christian Marangi <ansuelsmth@gmail.com>, Stephan Gerhold <stephan@gerhold.net>, Shawn Guo <shawn.guo@linaro.org>, Vinod Koul <vkoul@kernel.org>, krishna Lanka <quic_vamslank@quicinc.com>, Iskren Chernev <iskren.chernev@gmail.com>, Del Regno <angelogioacchino.delregno@somainline.org>, Robert Foss <robert.foss@linaro.org>, Jeffrey Hugo <quic_jhugo@quicinc.com>, Govind Singh <govinds@codeaurora.org>, Loic Poulain <loic.poulain@linaro.org>, Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Oleksij Rempel <linux@rempel-privat.de>, Horatiu Vultur <horatiu.vultur@microchip.com>, Vladimir Oltean <vladimir.oltean@nxp.com>, Claudiu Manoil <claudiu.manoil@nxp.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH 1/2] dt-bindings: clock: qcom,gcc-ipq8074: use common GCC schema Date: Fri, 28 Oct 2022 10:03:24 -0400 Message-Id: <20221028140326.43470-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747940462712028941?= X-GMAIL-MSGID: =?utf-8?q?1747940462712028941?= |
Series |
[1/2] dt-bindings: clock: qcom,gcc-ipq8074: use common GCC schema
|
|
Commit Message
Krzysztof Kozlowski
Oct. 28, 2022, 2:03 p.m. UTC
Reference common Qualcomm GCC schema to remove common pieces.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../bindings/clock/qcom,gcc-ipq8074.yaml | 25 +++----------------
1 file changed, 4 insertions(+), 21 deletions(-)
Comments
On Fri, 28 Oct 2022 10:03:24 -0400, Krzysztof Kozlowski wrote: > Reference common Qualcomm GCC schema to remove common pieces. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > .../bindings/clock/qcom,gcc-ipq8074.yaml | 25 +++---------------- > 1 file changed, 4 insertions(+), 21 deletions(-) > Acked-by: Rob Herring <robh@kernel.org>
On 01/11/2022 15:48, Stephen Boyd wrote: > Quoting Krzysztof Kozlowski (2022-10-28 07:03:24) >> Reference common Qualcomm GCC schema to remove common pieces. >> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> --- > > Should I pick this up into clk tree? Or are you going to apply it to > binding tree? I'll send v2 with subject fix pointed out by Rob and then please pick them up via clk. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-ipq8074.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-ipq8074.yaml index 21470f52ce36..ac6711ed01ba 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gcc-ipq8074.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gcc-ipq8074.yaml @@ -17,34 +17,17 @@ description: | See also: - dt-bindings/clock/qcom,gcc-ipq8074.h +allOf: + - $ref: qcom,gcc.yaml# + properties: compatible: const: qcom,gcc-ipq8074 - '#clock-cells': - const: 1 - - '#power-domain-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' - - '#power-domain-cells' - - '#reset-cells' -additionalProperties: false +unevaluatedProperties: false examples: - |