Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2502630rwb; Wed, 30 Nov 2022 07:24:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf6w8kEPKBq3BiNxVf7UspJ/xZLqlpuYbw0v3ZmQe707AKa/mjfLSnVZcGAXBKWCaJC9yeEi X-Received: by 2002:a17:902:9897:b0:186:a98c:4ab8 with SMTP id s23-20020a170902989700b00186a98c4ab8mr42676605plp.118.1669821840954; Wed, 30 Nov 2022 07:24:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669821840; cv=none; d=google.com; s=arc-20160816; b=M4AhzOCBF+8Y/GYKidSIYFAglxxxk0dWSRxbF7+OOVEBn5gY9ZmWR8Ma2de8vKeyI5 PIL+zNwm+TiEE6B+IiZp6WUzc60fm1ipSXjNnK0p0Rl87dB5tVF8HwExim8nhyOOQ6FB pKbNXUkhHhhHLZ+sEtHuWdI353lKtHLCkS/wcmocWRa9V7lt1S0VHMIxEnE7OMViHAI3 Rxl6avl3RUN8QSUTjNjLWyEsPCNjWzosis5hCZ0SFFKWN3qw8+6xg3vDbpeSCLrKa8dH vpcZ0kPoPbAfP2TNoVTlGW9NnoCUvq8R0tn5L2h6aExm4PkgT6W4atFu9vDqv+Xm4/vs j9WA== 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=NAnnNP3FJD8yHHEakUZDxebfp+jA14IglPNt9dTJ29Q=; b=wpQkMRHMWBNo5CnDQuO8DSQ2puBO6/1mfFqd31D4SjUd/tJAmgoHQCUDw6TrcNiWGH fmc7rnM/clkTTsoGbVkya6yJ/Y5g/h7GUeYtnObin04N/4VcQjjqeEk8uM2vQoviANaK dkf1cUHjTooqbhGtWcXFk5CJ7qokJscD5DurCM+r8Wvp/Vb+mGMb5xqKnYOFLMS1qdL6 f7XtXZvGmw5/7hZm4sJqF9lZT63S8uatLZjHI5ccA8M4sso18/v7C0oZrr0z3F9L+z6U feqym6emWtrMOtZd255prPlW25ofapVPZlME34+R6P79fFqCx+r/ZVOpVr8074F40RBu K9bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EMlF8HMg; 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 k15-20020a170902c40f00b0018958a914acsi1610455plk.459.2022.11.30.07.23.49; Wed, 30 Nov 2022 07:24:00 -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=EMlF8HMg; 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 S229799AbiK3PTN (ORCPT + 84 others); Wed, 30 Nov 2022 10:19:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbiK3PTL (ORCPT ); Wed, 30 Nov 2022 10:19:11 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA3527CA86 for ; Wed, 30 Nov 2022 07:19:09 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id f13so27442275lfa.6 for ; Wed, 30 Nov 2022 07:19: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=NAnnNP3FJD8yHHEakUZDxebfp+jA14IglPNt9dTJ29Q=; b=EMlF8HMgqsdjrvzll7BrBDBmJmGihxjYLZCUiG/vbjBXUv6VDRSeCtSKRUpghAKck9 e1qMnktaJ3RXB6PR/wskp8mO+CYurPrQ9AGb0sKTvmUj7bMvrSGVp24qhjYONMPnEmW6 tb6m5LSsZBQzNQhVjpkI7rZDqyWTKO67l+o4ivPDI5iA1RNxvl2LI9kTZdi8TD+lf4Xb wMHG4MRFhQUP03Ws1uTQ12n5i6VXJuO/h9as3BKWVhC2IHpXvvfXhp7BnHuAqiSBR4hq R0FNpsKKgDpQ4YWMw9wI9qKrMj5KJhgBzO3pJ298tWVpbNKQAixfEnjkKrMSKuTmVoQX RqTA== 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=NAnnNP3FJD8yHHEakUZDxebfp+jA14IglPNt9dTJ29Q=; b=uxlf0abK4btS4jlukb2kDSRYL8A+DoYwLqfg8wWqEn6UAFGMJCqjS8P7JoH0c1N3KN AAsI/yr7rwvERCjUra+ZwLYTh7mAEsK8YXvReUnrGlGjOezgN5pmwgQ/SPKAtd+OCOIE kPrfhJVoxxHu8lWvqTR053CPBq/qdiXI5dNAZGBDG/GXNh3ZHbhuHNiMEngDfyPT2PgM DSsqxiHDIVKbYFG92EpVpQTvMVumm7aomJGfhbmJXqYX8jgIYPWG1Lj5TAhxunaltbfo +2zT6/T084wLxmaJk5boKPX8IO9aT+hTYj5zk2E97waZ5eVmam47MCYIVziCMyjZdGXe 4vEQ== X-Gm-Message-State: ANoB5pkf1C3Lb84yJuo0fP53HKVxmKdxAM34mFfCkvjxYjJFeii49yRA bmfwAKz7HMYMJVzVGCcFHAOfkg== X-Received: by 2002:a05:6512:3b06:b0:4aa:8cd:5495 with SMTP id f6-20020a0565123b0600b004aa08cd5495mr14587966lfv.254.1669821548231; Wed, 30 Nov 2022 07:19:08 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id s21-20020a056512203500b004ab98cd5644sm289679lfs.182.2022.11.30.07.19.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Nov 2022 07:19:07 -0800 (PST) Message-ID: <9183bac6-121e-0027-a88b-d77d5c9a077e@linaro.org> Date: Wed, 30 Nov 2022 16:19:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2 09/14] dt-bindings: clock: Add StarFive JH7110 system clock and reset generator Content-Language: en-US To: Hal Feng Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Conor Dooley , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , Michael Turquette , Philipp Zabel , Emil Renner Berthing , linux-kernel@vger.kernel.org References: <20221118010627.70576-1-hal.feng@starfivetech.com> <20221118010627.70576-10-hal.feng@starfivetech.com> <1d62f95f-0edc-afd4-abb4-37fadc0b6a47@linaro.org> <72b3d10e-5a8e-ed42-6808-f53773913422@starfivetech.com> <768c2add-4c1f-0b36-5709-dbcdd560f504@starfivetech.com> <1fb1474b-ec13-e83a-973e-bd9e9a86cb44@linaro.org> <98d1bac7-8af5-f481-59b2-d58ca4c228ee@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <98d1bac7-8af5-f481-59b2-d58ca4c228ee@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 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 30/11/2022 16:12, Hal Feng wrote: > On Wed, 30 Nov 2022 12:48:30 +0100, Krzysztof Kozlowski wrote: >> On 30/11/2022 10:47, Hal Feng wrote: >>> On Fri, 25 Nov 2022 14:41:12 +0800, Hal Feng wrote: >>>> On Mon, 21 Nov 2022 09:47:08 +0100, Krzysztof Kozlowski wrote: >>>>> On 18/11/2022 02:06, Hal Feng wrote: >>>>>> From: Emil Renner Berthing >>>>>> >>>>>> Add bindings for the system clock and reset generator (SYSCRG) on the >>>>>> JH7110 RISC-V SoC by StarFive Ltd. >>>>>> >>>>>> Signed-off-by: Emil Renner Berthing >>>>>> Signed-off-by: Hal Feng >>>>> >>>>> Binding headers are coming with the file bringing bindings for the >>>>> device, so you need to squash patches. >>>> >>>> As we discussed in patch 7, could I merge patch 7, 8, 9, 10 and add the >>>> following files in one commit? >>>> >>>> include/dt-bindings/clock/starfive,jh7110-crg.h >>>> include/dt-bindings/reset/starfive,jh7110-crg.h >>>> Documentation/devicetree/bindings/clock/starfive,jh7110-syscrg.yaml >>>> Documentation/devicetree/bindings/clock/starfive,jh7110-aoncrg.yaml >>> >>> Hi, Krzysztof, >>> >>> Could you please give me some suggestions? >> >> You can keep aon and sys split. First add one of them with their own >> headers. Then add second with their own defines. > > You mean split patch 7 and patch 8 into sys part and aon part > respectively? There are totally five regions (sys/aon/stg/isp/vout) > for clocks and resets in JH7110. If we do that, there will be 5 > headers for JH7110 in either clock or reset directory finally. Is > that OK if there are too many headers for just one SoC? Sorry, I lost the track of what patches you have. The comment was - bindings include both the doc and headers. You want to split some, some merge, sorry, no clue. I did not propose splitting headers... Best regards, Krzysztof