Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2896366rwl; Mon, 27 Mar 2023 06:48:52 -0700 (PDT) X-Google-Smtp-Source: AK7set+zGLwiYQrg8iJJVA8Ze2gW15sGoWoUlesEPsffJWeCoKtvssFGciGF5IImZeXL7vPybgZn X-Received: by 2002:a05:6402:944:b0:4ad:f811:e267 with SMTP id h4-20020a056402094400b004adf811e267mr18376863edz.12.1679924932697; Mon, 27 Mar 2023 06:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679924932; cv=none; d=google.com; s=arc-20160816; b=yohNLWTNItBO0ozp0uEjzsWjbMDKHbzw/ZFrFEEFFlTOMt3/w1mp3wuECTlzMFmqOZ 2KgyJYKbJ+mey/TffgRqTVYDjotLDgjI7aVT7kiN0XtA6JkbAGBbFa9x2SbqULw9l70B xY2iIOzIx1Q5hwlN1pEyu+kt4k0MCuRnpGrhM17RK5ykCd2bdhbL4TzpaelHnDRCQaUZ 1iHEYlSgUffooW5g5/QpEyQ6g2Gfm0eKGMGfnlzCxwnYj7/y2woTMTAI99YwHx/0nbWo +p0tS//4o2NY79wexpSoC44vzLH1Sm9azNTRrP6NP4eveT1Xzyn/eZvZgMQxLvJStkSV JBHw== 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=BguImQejWs9Xrm9LIQbrEJlaJByblYgam+0cE2D3Eks=; b=Gfge9uWthfNr3hgE+Ec8OxQswE8MlpzvY3CNvF3aUC/3HT2ANotnuAyc/N+Nm2kr47 cH358uJk5mo4Ko+H8Db7S9x6XXa0RHv3u66S/6IKMsDhZYahocQLCefgoHsmE9wKJzR8 Xnk6KX+dtErDoGoZqlEEajobqOudZHp88LQUihpKQ6BPO47ADBUuRzg5JljPyxUjppSx xH6dvh1v2jmpktQxBysto9QLR5Anmdw1kN+rDRhgZQVxi+Bttv2l1cs9tBkt3zqVi0CM CIIBvjoq5SyAknZhhkPm5DUoSa4jXwJb0AaXFktRnmwIfwwRAx/ye2ZgtYi9FurVmt4C H1Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n+uLWyhA; 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 q24-20020aa7d458000000b00501e1a07b87si15454656edr.538.2023.03.27.06.48.27; Mon, 27 Mar 2023 06:48:52 -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; dkim=pass header.i=@linaro.org header.s=google header.b=n+uLWyhA; 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 S230227AbjC0Nld (ORCPT + 99 others); Mon, 27 Mar 2023 09:41:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbjC0Nlc (ORCPT ); Mon, 27 Mar 2023 09:41:32 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D4A9359C for ; Mon, 27 Mar 2023 06:41:30 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id er18so25159871edb.9 for ; Mon, 27 Mar 2023 06:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679924489; 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=BguImQejWs9Xrm9LIQbrEJlaJByblYgam+0cE2D3Eks=; b=n+uLWyhAi1YMP5Yovq683+Dtb3SBcW1cDafB20zJ/qEOpvULXcBONEhcTTawGHOrjl 7zZbEug+ksGt8m/qaOuYEZFTpu2AeeJuKHHaMrtqSheT624NwwAEqTqF0PT82Gg7/crz ZSHUzdQjTmGEhE7MP1rKLMQBQpepX+i0MrMgcNVPWxy1AZ1lidk7kCo+AAeXP1IvIEP0 3+U53diXpK2gH/bqMgjY/1xGJ6C8tjwpFRFwIlS6fTdm/sA00JaS3hqHpq6yWmyfRaZD GB6JFjP+bAiiaF4hq6Pdl8Jo2K+LRga/dj0Eq0imrNVTlj/GtmWwN6Ze9FmL6vQ+ogVZ g0Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679924489; 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=BguImQejWs9Xrm9LIQbrEJlaJByblYgam+0cE2D3Eks=; b=klo22H7807PZmPYw/3qvww/Iiub7VkSAnUX7ggUUcfgQRV/0DhIP6XMecDejxn6jq5 9X4TOgm8vqkkySh0lHHKTg1gvI96ExTfP+LGiYvRFOW/1Lu+/R9x1PrxGZm3Cp+y80jA 7vnMx39ldoTCutwAlhRP5VuFGLKy8tyNOOCSlQBK3pDjzssZPOfi7wPzVOqF/lhk+kPa l8gTAVf1xoPGDrD2MIRgjoZ42bja1EcSAvhMWipu1pzo3icqgd/A3WAtRH5aNf3Bb/cn iQE7sooeIDdNGznDeuhpRW2Rb3KkrosUe8Hi1lUTlSxMz/BRkCt417VkzCifzCpmJs2M 9vDQ== X-Gm-Message-State: AO0yUKX7pyuw4IdiOEdNemHolJnNbrcPkJsLh9WIULXkZmi0tIPiX2qO xa/PlhaTd02GUoJJoY512ikGBg== X-Received: by 2002:a17:907:6d91:b0:8af:2f5e:93e3 with SMTP id sb17-20020a1709076d9100b008af2f5e93e3mr22108507ejc.29.1679924488950; Mon, 27 Mar 2023 06:41:28 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:581e:789c:7616:5ee? ([2a02:810d:15c0:828:581e:789c:7616:5ee]) by smtp.gmail.com with ESMTPSA id l11-20020a1709066b8b00b00939faf4be97sm9088451ejr.215.2023.03.27.06.41.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Mar 2023 06:41:28 -0700 (PDT) Message-ID: <1f68ff4f-46ab-7d9e-fa57-bb94beb4c691@linaro.org> Date: Mon, 27 Mar 2023 15:41:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v11 3/5] dt-bindings: clock: meson: add A1 PLL and Peripherals clkcs bindings Content-Language: en-US To: Jerome Brunet , Dmitry Rokosov Cc: neil.armstrong@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, khilman@baylibre.com, martin.blumenstingl@googlemail.com, jian.hu@amlogic.com, kernel@sberdevices.ru, rockosov@gmail.com, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230321193014.26349-1-ddrokosov@sberdevices.ru> <20230321193014.26349-4-ddrokosov@sberdevices.ru> <1jmt3yo5r0.fsf@starbuckisacylon.baylibre.com> <20230327105115.ury3w4xpzhcpnqjg@CAB-WSD-L081021> <1jilemo1r9.fsf@starbuckisacylon.baylibre.com> From: Krzysztof Kozlowski In-Reply-To: <1jilemo1r9.fsf@starbuckisacylon.baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=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 27/03/2023 13:39, Jerome Brunet wrote: > > On Mon 27 Mar 2023 at 13:51, Dmitry Rokosov wrote: > >> On Mon, Mar 27, 2023 at 11:51:21AM +0200, Jerome Brunet wrote: >>> >>> On Tue 21 Mar 2023 at 22:30, Dmitry Rokosov wrote: >>> >>>> Add the documentation for Amlogic A1 PLL and Amlogic A1 Peripherals >>>> clock drivers. >>>> Introduce Amlogic A1 PLL and Amlogic A1 Peripherals device tree >>>> bindings and include them to MAINTAINERS. >>>> >>>> Signed-off-by: Jian Hu >>>> Signed-off-by: Dmitry Rokosov >>>> --- >>>> .../bindings/clock/amlogic,a1-clkc.yaml | 73 +++++++++++ >>>> .../bindings/clock/amlogic,a1-pll-clkc.yaml | 59 +++++++++ >>>> MAINTAINERS | 1 + >>>> include/dt-bindings/clock/amlogic,a1-clkc.h | 113 ++++++++++++++++++ >>>> .../dt-bindings/clock/amlogic,a1-pll-clkc.h | 21 ++++ >>>> 5 files changed, 267 insertions(+) >>>> create mode 100644 Documentation/devicetree/bindings/clock/amlogic,a1-clkc.yaml >>>> create mode 100644 Documentation/devicetree/bindings/clock/amlogic,a1-pll-clkc.yaml >>> >>> There is two drivers (and 2 independent patches). There should be 2 >>> bindings patches as well. >>> >> >> Before, in previous versions I had two versions, but it wasn't bisectable >> approach. > > You are confusing bisectable and Rob's robot. Splitting patches is more > that likely to help bisect (and patches backport) - not the other way around. No, he did not confuse. Splitting patches makes the series non-bisectable which was visible in the past. What's more, there is no reason to have bindings patches split just because you split drivers. Bindings are independent of drivers - we write them for hardware description. > >> a1-clkc schema depends on a1-pll-clkc headers and vice versa. >> It means dt schemas checkers will show us failure if we split them into two >> patchsets. > > Only because you are patches are not upstream yet ... > >> I know, that we can use raw digits instead of CLKID names, but IMO it doesn't >> look like production schema and it requires one more patchset above the >> series with proper CLKID definitons usage and proper header including. >> >> BTW, there is an example of Rob's test bot failure found in the previous >> v10 patch series due to chicken or the egg problem. >> https://lore.kernel.org/all/167769997208.7087.5344356236212731922.robh@kernel.org/ >> >> Please advise what's the best practice to resolve that.. > > Don't use the header in your example would solve the problem and > still be correct DT wise. > > The examples are just examples, they are not required to actually > matches a real HW, as far as I know. Yes, that would work... or just keep them here. Best regards, Krzysztof