Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp363893imn; Thu, 28 Jul 2022 03:09:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vNO+SDeIe38WlGWPBRdv0Usjpx+2RBoSJhHVSQ6OkjhGER9Zg00gonxYlSV+tizsNXMeZ7 X-Received: by 2002:a17:902:c401:b0:16d:8109:4f18 with SMTP id k1-20020a170902c40100b0016d81094f18mr16196529plk.32.1659002973300; Thu, 28 Jul 2022 03:09:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659002973; cv=none; d=google.com; s=arc-20160816; b=KPnaVY8xagY/v71zKDVgsXqFjcdY1dfgsD0tbuQ7FoTb2fOxFIHXOSFibSBJZy7YeL 9L3IUn3DrQ9UmsA1NgsCePMb8cJ90BxQxp6Q31wvywvRgvlPWQ+jwSZJWdKzhk8WkXjE NsjaqsVUM/W9y00f0NnYtQoa8r+Nc0VDlIW0zMS5KJ9Ed6PV9c4tYmGmuhEz4jKWWBv6 MWVZgRAk+RybDl7JotLRL403N3HId1YQyZQk1GQZJVfZHQ3B2mEmOtYIYh7BfBSI7RgW 0S6U3wZuasSDgMLXUI+DYCsSurPWiVb47LYf76jq/r3YfEB08u2mrjmeaLEDUcF7PL9m 9+BQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id; bh=24hg7flYKUWLZPIlI1yjz5pUKfRmFs5XoHJQCFjOPfg=; b=SNItyvs9IweFZEqdcYwGS9lp6XwPc5qFvOscoMWiAX7FZKobeD6IsqPWYVJ2FFtP9A N+TnoeEwqMEjxi0N3M96LhQ37AWh9xUetKCvvWnHAwMLF/0Fs0UjNpclNAVofkpEns7U li46XRxPaYGQp6kUg3Rmr4NvXn/vrwItW022Iew3dpTNCDP8kyNDG7XR7VozI7yxlZif nqjvjI2Mc3LkdSzU8y/f6pyF4O9uKMkUh2cDg571R52XbmIf7OdPwoawKBEDJI4/bq8z tMRz+JAB4vATdf/dY+upu9rreNEje5oqNIqOEQghx/E/Ve+JB64fm7f7G+7ARhlvnCOT 0kSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a17-20020a170902ecd100b0016d313f3d0csi655488plh.468.2022.07.28.03.09.18; Thu, 28 Jul 2022 03:09:33 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235790AbiG1KGB (ORCPT + 99 others); Thu, 28 Jul 2022 06:06:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235807AbiG1KFs (ORCPT ); Thu, 28 Jul 2022 06:05:48 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC1D24F1BE; Thu, 28 Jul 2022 03:05:46 -0700 (PDT) Received: from [10.18.29.47] (10.18.29.47) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 28 Jul 2022 18:05:44 +0800 Message-ID: <74cd833a-4773-eeb0-80aa-75ea1cdc093e@amlogic.com> Date: Thu, 28 Jul 2022 18:05:44 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH V2 1/3] dt-bindings: clk: meson: add S4 SoC clock controller bindings Content-Language: en-US To: Krzysztof Kozlowski , , , , , , Rob Herring , Neil Armstrong , Jerome Brunet , Kevin Hilman , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Martin Blumenstingl References: <20220728054202.6981-1-yu.tu@amlogic.com> <20220728054202.6981-2-yu.tu@amlogic.com> <82e3fd36-df96-a555-4cea-47fabd26502b@linaro.org> From: Yu Tu In-Reply-To: <82e3fd36-df96-a555-4cea-47fabd26502b@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.18.29.47] X-ClientProxiedBy: mail-sh.amlogic.com (10.18.11.5) To mail-sh.amlogic.com (10.18.11.5) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, Thanks for your reply. On 2022/7/28 16:41, Krzysztof Kozlowski wrote: > [ EXTERNAL EMAIL ] > > On 28/07/2022 07:42, Yu Tu wrote: >> Add new clock controller compatible and dt-bindings header for the >> Everything-Else domain of the S4 SoC. >> >> Signed-off-by: Yu Tu > > > >> diff --git a/MAINTAINERS b/MAINTAINERS >> index c1abc53f9e91..f872d0c0c253 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -1775,6 +1775,7 @@ F: Documentation/devicetree/bindings/clock/amlogic* >> F: drivers/clk/meson/ >> F: include/dt-bindings/clock/gxbb* >> F: include/dt-bindings/clock/meson* >> +F: include/dt-bindings/clock/s4-clkc.h >> >> ARM/Amlogic Meson SoC Crypto Drivers >> M: Corentin Labbe >> diff --git a/include/dt-bindings/clock/s4-clkc.h b/include/dt-bindings/clock/s4-clkc.h >> new file mode 100644 >> index 000000000000..b686c8877419 >> --- /dev/null >> +++ b/include/dt-bindings/clock/s4-clkc.h > > Filename with vendor prefix, so: > amlogic,s4-clkc.h It's fine with me. It's mainly Jerome's opinion. > >> @@ -0,0 +1,146 @@ >> +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ >> +/* >> + * Copyright (c) 2021 Amlogic, Inc. All rights reserved. >> + * Author: Yu Tu >> + */ >> + >> +#ifndef _DT_BINDINGS_CLOCK_S4_CLKC_H >> +#define _DT_BINDINGS_CLOCK_S4_CLKC_H >> + >> +/* >> + * CLKID index values >> + */ >> + >> +#define CLKID_FIXED_PLL 1 >> +#define CLKID_FCLK_DIV2 3 >> +#define CLKID_FCLK_DIV3 5 >> +#define CLKID_FCLK_DIV4 7 >> +#define CLKID_FCLK_DIV5 9 >> +#define CLKID_FCLK_DIV7 11 > > Why these aren't continuous? IDs are expected to be incremented by 1. > >> + >> +#endif /* _DT_BINDINGS_CLOCK_S4_CLKC_H */ > > > Best regards, > Krzysztof > > .