Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4667635rdb; Fri, 15 Sep 2023 08:49:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IElCuawFbOIYZCbmcaweaHc+PlUBR3+Gzxs3YTyCyceVfbOg8R713KI5e6xX00XrUblMX/c X-Received: by 2002:a17:90a:e506:b0:274:78:4f0e with SMTP id t6-20020a17090ae50600b0027400784f0emr1821929pjy.20.1694792957779; Fri, 15 Sep 2023 08:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694792957; cv=none; d=google.com; s=arc-20160816; b=FAl3Z0aiKQ33P2vwZ0bvHIMqNcmTgU1kFJdDn2IYlHlWkICHjKrBWi1mJHrqq3KFqe 38PwjQCFhxkU9DdJXGkFSNIVC/ubwJsSyPQJSF40xzugoGknDLvt+1mseJhJtQ5q+xWf L/EsOVjEVJA2NQxxK/ktLkSoJoBAf4vDNqbeRqQLaDN+hi6kUz3nqBEfy9eLqbAb+/Y0 M5q2ihXOyr1iRX5I93/ObyO6gCzBUFM0alPs9jtiHwr4lZo+vyEk6f6FlODkr/bSd5JQ pWmjFGjsGoUkIveajMJpgbnsMIobq+eNIzU531xGhRpNd7bSHWAD9uBH5+DHt492oqEm Ggkw== 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=YOGuQvyKIEvGatIdgqwwx1vnmFxyP0QzDb7QKoox0rU=; fh=V7/5Abmfzj0vZ+byMLwhU16mzqMvmltKrBTyVODJOio=; b=u4LNIPPHlotC007MItY7m8DOVpQFx5qccBaVPgWW9JhTn6HqdUdNnl3+37Sly3i0Mv 6KhaeUv4qPOsyViuQOZyq+1u/YnRn8wuAs/Bu0NwcNt9HE3DD+ffDSWZOjF+XjHspBlN SEk1JLKKBOiU+ceG6GvdR+3pw7gm9ax3Cn1Zuzom/h6ByB8dVccA5iKi1Vq9Wd2AsXE0 q9mgWsPJm7FOlzEoOIWlEy/NJV5Fv5a+t7l/oiOk04ygXZrmw4GIbUk8zARXvOMBApja HihXI0mnHugEVnZFqhx8XXVWHWJASzVmv5UMi0oShBOelzDsiQ5/TMVB3F2rxD2FzeFP XzcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KNW3zmZj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id h8-20020a17090a2ec800b002740f8fa612si3436957pjs.21.2023.09.15.08.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 08:49:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KNW3zmZj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C57858038B33; Fri, 15 Sep 2023 03:36:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233010AbjIOKgR (ORCPT + 99 others); Fri, 15 Sep 2023 06:36:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232921AbjIOKgN (ORCPT ); Fri, 15 Sep 2023 06:36:13 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4822A1 for ; Fri, 15 Sep 2023 03:36:07 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-9ada2e6e75fso264006366b.2 for ; Fri, 15 Sep 2023 03:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694774166; x=1695378966; darn=vger.kernel.org; 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=YOGuQvyKIEvGatIdgqwwx1vnmFxyP0QzDb7QKoox0rU=; b=KNW3zmZj4hD//4GOVtgSBq9/ON/12lATBn4v7X+qDLZNpbBS9ILJA7AKfYlYGQrZUT Zn2MUSJxIMkUyxp7tMs0MjMICJ15iGhgJAvKSJgKC7HhrN6kxLT0qTrnTrr+qkheYbZw XT8uKLgqZ2yiy96Isoki+I/H0IoFG1CoWDypvZwTEVNQLw2A2i9VXM21C1nVOU5XAs6l DnkOc+PdvTkULUg5oOEdyjxAob2lJjvCUgW//83MN4NsQSNm9xqcQdY3EsbK+MBx8iKU //vONQUxhODriVqVjeY7XZcl25tMAkFFIKmT9H63gOFxBz9WY/ntha+aMFeWyp4UH/Bi YeJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694774166; x=1695378966; 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=YOGuQvyKIEvGatIdgqwwx1vnmFxyP0QzDb7QKoox0rU=; b=hQwShuK/KfazFs4kYhqHq16GBrMsU2ktkcjJ07b0a2uP/+YzGm4Rubjw9ANcDq0mdD WHK9Rab6gySwwR//Cq8hCdQasORo6DfNiSzHJwnt2PC3NDrTVPk9eg+tuwe44jo+Zy2P JqF3nzI8fSjNAbHqUUjIHR9/alHv9TQN3Mbfrn+fvd1KZoz1XhixQ4NVYcxI7YGneCr9 n9KMUvwGmxS55sPisGFYlAu0MqvFcomwDy8CJCwAiikgseodnZ5GTeoD2bqPw9gEz5vD VLA/DJu3AcqDD2rhK6fucremW1t1dalvdhAv8OJcgK8gpW+FCeSNyyWzH4CqVhInMqCo tRoA== X-Gm-Message-State: AOJu0Yz0yZgDrKvi5aVEpjAKLlUD3+x4xbM20OhIZ4z1iMyj3UTx7UnF bg2jXWDHvuZ0UE+Dbqzw1Zd/kw== X-Received: by 2002:a17:906:3019:b0:9a9:f14f:7e3b with SMTP id 25-20020a170906301900b009a9f14f7e3bmr1169368ejz.16.1694774166327; Fri, 15 Sep 2023 03:36:06 -0700 (PDT) Received: from [192.168.1.20] ([178.197.214.188]) by smtp.gmail.com with ESMTPSA id z15-20020a17090655cf00b00997d7aa59fasm2274540ejp.14.2023.09.15.03.36.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Sep 2023 03:36:05 -0700 (PDT) Message-ID: Date: Fri, 15 Sep 2023 12:36:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH v4 03/42] dt-bindings: clock: Add Cirrus EP93xx Content-Language: en-US To: nikita.shubin@maquefel.me, Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexander Sverdlin Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> <20230915-ep93xx-v4-3-a1d779dcec10@maquefel.me> From: Krzysztof Kozlowski In-Reply-To: <20230915-ep93xx-v4-3-a1d779dcec10@maquefel.me> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 15 Sep 2023 03:36:30 -0700 (PDT) On 15/09/2023 10:10, Nikita Shubin via B4 Relay wrote: > From: Nikita Shubin > Thank you for your patch. There is something to discuss/improve. > diff --git a/include/dt-bindings/clock/cirrus,ep9301-clk.h b/include/dt-bindings/clock/cirrus,ep9301-clk.h > new file mode 100644 > index 000000000000..3cd053c0fdea > --- /dev/null > +++ b/include/dt-bindings/clock/cirrus,ep9301-clk.h > @@ -0,0 +1,41 @@ > +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ > +#ifndef DT_BINDINGS_CIRRUS_EP93XX_CLOCK_H > +#define DT_BINDINGS_CIRRUS_EP93XX_CLOCK_H > + > +#define EP93XX_CLK_UART1 0 > +#define EP93XX_CLK_UART2 1 > +#define EP93XX_CLK_UART3 2 > + > +#define EP93XX_CLK_ADC 3 > +#define EP93XX_CLK_ADC_EN 4 > + > +#define EP93XX_CLK_KEYPAD 5 Wrong indentation - use tab instead of spaces, just like in other places. > + > +#define EP93XX_CLK_VIDEO 6 > + > +#define EP93XX_CLK_I2S_MCLK 7 > +#define EP93XX_CLK_I2S_SCLK 8 > +#define EP93XX_CLK_I2S_LRCLK 9 > + > +#define EP93XX_CLK_UART 10 > +#define EP93XX_CLK_SPI 11 > +#define EP93XX_CLK_PWM 12 > +#define EP93XX_CLK_USB 13 > + > +#define EP93XX_CLK_M2M0 14 > +#define EP93XX_CLK_M2M1 15 > + > +#define EP93XX_CLK_M2P0 16 > +#define EP93XX_CLK_M2P1 17 > +#define EP93XX_CLK_M2P2 18 > +#define EP93XX_CLK_M2P3 19 > +#define EP93XX_CLK_M2P4 20 > +#define EP93XX_CLK_M2P5 21 > +#define EP93XX_CLK_M2P6 22 > +#define EP93XX_CLK_M2P7 23 > +#define EP93XX_CLK_M2P8 24 > +#define EP93XX_CLK_M2P9 25 > + > +#define EP93XX_CLK_END 26 Here as well... except I propose to drop it. Number of clocks should not be part of bindings, because then you cannot grow it. With indentation fixed and CLK_END dropped: Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof