Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7495127rwl; Tue, 10 Jan 2023 01:18:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXubpnHobTLY1l7N+gAgRCntERnfi22l5qce66xcy7InwnmzMoOIJmw/XsiW/zJPRRYyGxyI X-Received: by 2002:a17:906:158c:b0:7c4:f752:e959 with SMTP id k12-20020a170906158c00b007c4f752e959mr54560079ejd.33.1673342338323; Tue, 10 Jan 2023 01:18:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673342338; cv=none; d=google.com; s=arc-20160816; b=q7WgI+QAYNqgNHvy0oeygzl6HvrNgaOnroiEyEz3a1IPxEk9IOqEvsYM7HnrhPAdbo 7qJwu3leYb3fb86KCsTpF3Dz7n2P0S1Kf9JNnnf3DgzKWd5xx4CoxXdyg7XOTDzqQPBk z4FguoAxIoTsU2KI8p4I6KevL9NfGP0DLPHIui9XInbejOri1wq3zzGcSHJZHu+DAH9J zL+soA5qncc/LbNB5w7tkm+/JFp447PGNqFA685n7GvxEsds7D9EQWxC+I9QfpEPk37l qdJlNqtjA7KDz0YlGen0tkBQzVIPLT+RBjwA5bYusF4d32HXKJ1t6639hzHLoJRJLKJ2 1H0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=dmP5l4cApANJtfpxdC9HPRl/8romuUG6F1co7Oq044Y=; b=pwc9ocQmGkx9Tq5T+ZKST1AYy2WWjUWdueE0lHHuAnjRVbBPQyOAWR1/g7g0i5fPuq hPuZa/XJwg8zQ9WfROIrmrZ0v8mK3wnUol/RtZpgFytL3H+TkMGG4I42HhIUObXpMjNh a7kNq2PBLMirHOv+/oOlwiSRNc13bUsvkIJChi/3Du8ZvtQdQPoYYN7jWPtHvLQ/UxPD Qs+yICTmRHWijFEtXpIaLoKFq9kWgnVpfP/WxQwGuG3eDj+/q8ZJ6l/GWdWDyZ5zSGsl uvnmHlXTNu53rNscwSsx4+yZqo22MNRz9gZhpNjxZ10xibTfGlkLvEu2GrE0u/9ZntiP KqsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gwqtez4r; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp16-20020a1709073e1000b0084d2239b497si11851738ejc.192.2023.01.10.01.18.45; Tue, 10 Jan 2023 01:18:58 -0800 (PST) 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=gwqtez4r; 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 S229457AbjAJJF6 (ORCPT + 53 others); Tue, 10 Jan 2023 04:05:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231230AbjAJJFZ (ORCPT ); Tue, 10 Jan 2023 04:05:25 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C33FC18E27 for ; Tue, 10 Jan 2023 01:05:09 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id m26-20020a05600c3b1a00b003d9811fcaafso9264437wms.5 for ; Tue, 10 Jan 2023 01:05:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dmP5l4cApANJtfpxdC9HPRl/8romuUG6F1co7Oq044Y=; b=gwqtez4rxprKjG5xIakhDg1DGgN1Jb2dTjGR4WpqTM3Dch/Vq4jXFj/zL5fBY76Ov9 BowpXv6/mevfH+hg/CahL59FgAD1YaBXrx/AcfzkA+HnMIxxicjvo1wpLh08M4bMw9uJ noPCH/X4AqP4RPAgMRhVh8fQCZPVGqRfRAPOQ9Ah2no/HuV1n0+i+0FwJZAXh/unIvWH il0jXX/UxLlx5k4JdWkWpl2gL9jWZaT5r2nIPfyB4zFLRj8HX8zxDbAV+T/qG8m/aagH QhYD8JXTHKbmmAmlsCfqg+vdTD2giDQIMZcLh+i1h7cpWXTq9p5Ue7AJN7bNKOf6UcLh gsGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dmP5l4cApANJtfpxdC9HPRl/8romuUG6F1co7Oq044Y=; b=7EvIJSzP8ZLkAEgk6C58vBKTHyZgZBh8k4KAJ+/s25vQ7KZy30lyBD9TTChz9MGns9 mjVScvJoy2z6MR639HftQQudw2RAeHKD2hYm69WUdt+kGBM08Sgx10fpPZUSJdt9wwiB w1z9lGAlBJGAOsfhQLe8m1ibheAOReUbwIYA/OVvjYskZ5X/8IiLB89pOgwuQDFpD6WG 29hZzCgcoI46SKsVKrKhk3g5zlleiYR9DKHiiFkxmIXocdeFHZuaXpQoyahmmz7WaoEt rg7lGsFIg7rucKznA4sNuuSOOq17Sg6pRDAJkJVapc31YYl4+NcdO2ql2hdue+FFP9nV KtSg== X-Gm-Message-State: AFqh2kqrSvPTNT23FdR52JyapoEazUT6hHNqcpY2UTYQENu9DTQ592rM a9okLr3gXWsBE/xIzBEpyEnsOw== X-Received: by 2002:a05:600c:687:b0:3cf:e7c8:494 with SMTP id a7-20020a05600c068700b003cfe7c80494mr48563729wmn.29.1673341508279; Tue, 10 Jan 2023 01:05:08 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id m18-20020a05600c4f5200b003c6b70a4d69sm15941646wmq.42.2023.01.10.01.05.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Jan 2023 01:05:07 -0800 (PST) Message-ID: <65925394-13e1-e218-2f47-8c1c1d3b90d7@linaro.org> Date: Tue, 10 Jan 2023 10:05:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 1/2] dt-bindings: clock: Add SM7150 GCC clock binding Content-Language: en-US To: Danila Tikhonov , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, David Wronek References: <20230109193030.42764-1-danila@jiaxyga.com> <20230109193030.42764-2-danila@jiaxyga.com> From: Krzysztof Kozlowski In-Reply-To: <20230109193030.42764-2-danila@jiaxyga.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org On 09/01/2023 20:30, Danila Tikhonov wrote: > Add device tree bindings for global clock subsystem clock > controller for Qualcomm Technology Inc's SM7150 SoCs. Subject: drop second/last, redundant "binding". The "dt-bindings" prefix is already stating that these are bindings. > > Co-developed-by: David Wronek > Signed-off-by: David Wronek > Signed-off-by: Danila Tikhonov > --- > .../bindings/clock/qcom,sm7150-gcc.yaml | 50 +++++ > include/dt-bindings/clock/qcom,sm7150-gcc.h | 193 ++++++++++++++++++ > 2 files changed, 243 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/qcom,sm7150-gcc.yaml > create mode 100644 include/dt-bindings/clock/qcom,sm7150-gcc.h > > diff --git a/Documentation/devicetree/bindings/clock/qcom,sm7150-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm7150-gcc.yaml > new file mode 100644 > index 000000000000..6ce7a1877b00 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/qcom,sm7150-gcc.yaml > @@ -0,0 +1,50 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/qcom,sm7150-gcc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm Global Clock & Reset Controller on SM7150 > + > +maintainers: > + - Bjorn Andersson If you have the device and are willing to do testing/checking/reviewing, you can add also yourself. > + > +description: | > + Qualcomm global clock control module provides the clocks, resets and power > + domains on SM7150 > + > + See also:: include/dt-bindings/clock/qcom,sm7150-gcc.h > + > +properties: > + compatible: > + const: qcom,sm7150-gcc > + > + clocks: > + items: > + - description: Board XO source > + - description: Board XO Active-Only source > + - description: Sleep clock source > + > +required: > + - compatible > + - clocks > + > +allOf: > + - $ref: qcom,gcc.yaml# > + > +additionalProperties: false I think you wanted unevaluatedProperties: false > + > +examples: > + - | > + #include > + clock-controller@100000 { > + compatible = "qcom,sm7150-gcc"; > + reg = <0x00100000 0x001f0000>; > + clocks = <&rpmhcc RPMH_CXO_CLK>, > + <&rpmhcc RPMH_CXO_CLK_A>, > + <&sleep_clk>; > + #clock-cells = <1>; > + #reset-cells = <1>; > + #power-domain-cells = <1>; > + }; > +... > \ No newline at end of file Patch error here. Best regards, Krzysztof