From mboxrd@z Thu Jan 1 00:00:00 1970 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 2650FC4332F for ; Tue, 18 Oct 2022 13:47:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229774AbiJRNrB (ORCPT ); Tue, 18 Oct 2022 09:47:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbiJRNrA (ORCPT ); Tue, 18 Oct 2022 09:47:00 -0400 Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4DC36C775 for ; Tue, 18 Oct 2022 06:46:58 -0700 (PDT) Received: by mail-qt1-x833.google.com with SMTP id g11so9639486qts.1 for ; Tue, 18 Oct 2022 06:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Bk1cdWlqVhbhLyQ5Z0Zwm2RMGNfzdRPJPquTEkxwGHE=; b=eTE2CBBoY8P+wFvZ5WJ8YTjFt3XYrDBbVejGXLnQROjLeveblnjTK7tp6+x3PNeyLV nl+kC/51un8xz66tWMZFsOfn7l6JOXEdSX4noD/wVmTq59861M7563YIEj36/A4iytgT ypqFJKyPaNnb2jA4K2WKMjyYtXYpyyt1xiamShV7Q5mkqy1S1BW9QPCwNSudex4VdPoZ CL52impiIZL8J1vI2exlcidmRxw7MzWnn5lqSjfPCQE4wVjsYBd480CRrOukxCQyXq4v E0vdLe/zF54VtEl3O+iY22rgkC8XMpaOgZEC904aXAvLSRiPQqIc+h/Xlx2488hMYKmA AMlw== 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: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=Bk1cdWlqVhbhLyQ5Z0Zwm2RMGNfzdRPJPquTEkxwGHE=; b=6RJbHoKBMytr++9767wcIsuIQS1nq1cK5Kg2UmzUJPRA7Pk8t2s+pFTlayIZXGnnz/ HF8skxv4ED4g4M6lBpjeKL62o0t/MLTJHmSYbdzGo9yrzqzaZr/82JVI3Cfu7MJTcwZJ R93flWi9RRgBSluyKGDKk4YqX5jFgKTQFE2W+FYq6fV+b69/JF+oNgIX+hiaS93bUtML 7T0wPbZ389RsghvgwSSNv3jkyeupImJhhvk8bq/m50uRdWm6EKjT8C2if8pSEY0a43T6 JySN3rtj9WHF5u8sJHC+LonGFOdDnxXTnWEHcgIQOhofrZb4QfDNg6ARVo7mpTPiOwVR Cb5A== X-Gm-Message-State: ACrzQf0eyCZC2M2IwlJy2WRz/He8J9qEAVeB/3pZK06YBbd/su2o8Qsf XFq2PpEuyblR8Vki9beiMwA7+w== X-Google-Smtp-Source: AMsMyM6WvkWA2L2ll4WKjb1TisgOdDzT0tIlfPlXDDEbaY+sefp3eDrCawcJJSviK5xy4qL9wXJecQ== X-Received: by 2002:a05:622a:164b:b0:39c:ec98:a13 with SMTP id y11-20020a05622a164b00b0039cec980a13mr2131165qtj.339.1666100817866; Tue, 18 Oct 2022 06:46:57 -0700 (PDT) Received: from [192.168.10.124] (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id s23-20020a05622a1a9700b003988b3d5280sm2027602qtc.70.2022.10.18.06.46.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Oct 2022 06:46:57 -0700 (PDT) Message-ID: Date: Tue, 18 Oct 2022 09:46:55 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v1 1/3] clk: loongson2: add clock dt-bindings include file Content-Language: en-US To: Yinbo Zhu , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Huacai Chen , WANG Xuerui , Jiaxun Yang , Jianmin Lv , Yang Li , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev References: <20221018130531.301-1-zhuyinbo@loongson.cn> From: Krzysztof Kozlowski In-Reply-To: <20221018130531.301-1-zhuyinbo@loongson.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 18/10/2022 09:05, Yinbo Zhu wrote: > This file defines all loongson2 soc clock indexes, it should be > included in the device tree in which there's device using the > clocks. > > Signed-off-by: Yinbo Zhu > --- > MAINTAINERS | 6 +++++ > include/dt-bindings/clock/loongson2-clock.h | 29 +++++++++++++++++++++ Use subject prefixes matching the subsystem (git log --oneline -- ...). These are bindings. > 2 files changed, 35 insertions(+) > create mode 100644 include/dt-bindings/clock/loongson2-clock.h > > diff --git a/MAINTAINERS b/MAINTAINERS > index a162b6fba6fe..3db469f51d74 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -11914,6 +11914,12 @@ S: Maintained > F: Documentation/devicetree/bindings/timer/loongson,ls2k-hpet.yaml > F: drivers/clocksource/loongson2_hpet.c > > +LOONGSON2 SOC SERIES CLOCK DRIVER > +M: Yinbo Zhu > +L: linux-clk@vger.kernel.org > +S: Maintained > +F: include/dt-bindings/clock/loongson2-clock.h > + > LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI) > M: Sathya Prakash > M: Sreekanth Reddy > diff --git a/include/dt-bindings/clock/loongson2-clock.h b/include/dt-bindings/clock/loongson2-clock.h > new file mode 100644 > index 000000000000..23806408fe49 > --- /dev/null > +++ b/include/dt-bindings/clock/loongson2-clock.h Filename matching the compatible, so: loongson,ls2k-clk.h > @@ -0,0 +1,29 @@ > +/* SPDX-License-Identifier: GPL-2.0+ */ Dual license, like bindings, unless you are not allowed. > +/* > + * Author: Yinbo Zhu > + * Copyright (C) 2022-2023 Loongson Technology Corporation Limited > + */ > + > +#ifndef __DT_BINDINGS_CLOCK_LOONGSON2_H > +#define __DT_BINDINGS_CLOCK_LOONGSON2_H > + > +#define LOONGSON2_REFCLK_100M 0 Drop weird indentation after define. Best regards, Krzysztof