Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2930321rwl; Mon, 27 Mar 2023 07:11:33 -0700 (PDT) X-Google-Smtp-Source: AKy350awtRp5K0F/9iJEjN0aYtkFuocxgAcuBSBmzrMpQhxBNG6pAS/SbSn8GQM0GFlfLw1xGYkF X-Received: by 2002:a50:e70d:0:b0:4fb:f2db:a654 with SMTP id a13-20020a50e70d000000b004fbf2dba654mr12634830edn.12.1679926293546; Mon, 27 Mar 2023 07:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679926293; cv=none; d=google.com; s=arc-20160816; b=IZRUFP0M+qQuY11UIyyI7Fmgrbb/Y4+loiBnN3oF7PYXC3eMOYh4Ca3UaZ2zrQPFGU IQ5alIkOvyGi2uAOVLNzy2ZO53AzFpp31wyqDpjm8b8T5ZAVFccTbzghq58vLqWS88BE NviIkP9Dl69lQvlR0cT6enGBjmzCMwfY2bWaSMEoDGLW3EfACNLFAOua4oLbll2aJHte sRu4PnTM4eCqCZuN/kYzManFwmjDRkYmHOfRtUYUpOQGU1vJENFqIzNvNv98FUnHATvb JYjZ4nID2ZzSa8Z83N2p47o8nkqXBsnEqW9z9EwSEZ5V3gp4gAiINCgwDOzKfC0QrPuu jQVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:in-reply-to:date:subject :cc:to:from:user-agent:references:dkim-signature; bh=ZVlIe/RgdhwWumjRHCwBYuMjJV3egIYQrdrj1qprP/0=; b=CZssARZyOSfqqGP5dZbjEDuwy3bAH7KcV7TZ8lHXzDlzB+V6jHlrkGPrE+QrsCbpmq 2Zrq7Q3vovXhszfAqmnjp48lN7Xo2FNN4z2K+biCXl+JIbwn0VOS2kF7803VOLDV+iDX CevtJO0jfO7ETxpTpHmvWi2gL0azf2Gbe2g3eeLatAJ9r+VXu18ksRuw5x2BkKB3mNil z1/Oa3GkiYvlB8BlVNgQPLBaKx6fAoLo1xLjfp0zrCM306VS7VEjIi0z6zk5NNUFZLMc B0wKnR1w+0qlpZBUZWmZzmvX+fh5TjloPlOWkOffleuJQCT4YWNdmECSPUHSPn+mz3M5 jVkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=MfGvpI6C; 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 h4-20020aa7de04000000b00502038d273bsi10859328edv.575.2023.03.27.07.11.08; Mon, 27 Mar 2023 07:11: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; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=MfGvpI6C; 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 S232267AbjC0OK0 (ORCPT + 99 others); Mon, 27 Mar 2023 10:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232199AbjC0OKY (ORCPT ); Mon, 27 Mar 2023 10:10:24 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C21A30EE for ; Mon, 27 Mar 2023 07:10:15 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id l37so5137204wms.2 for ; Mon, 27 Mar 2023 07:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1679926214; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=ZVlIe/RgdhwWumjRHCwBYuMjJV3egIYQrdrj1qprP/0=; b=MfGvpI6CNgREzd3FpwD44ac3g0urXBQcIr/jfzJgvkLVOrj5OY8LvP2WYnjW2Xd6ql y4lR0WO8eFmfoumUCMf8+itWPii9nUo2Bd8f7k2lQph5CqvxmA6ndj2aw2W9+9P2BuRV jeA/LEz2R+4QURvHaajRhx/sb8LbscGdvo1AU6C2pHrDgay4GgCFw0yDPiTgTmAkzX9+ ZZIwaLbntgdqMJVHWuRwjSdBb4QdlQxGwK2fqwaVhvkZlbhMrvY24L2gvuhf52sU5aTM S/BTcl5tUvkNWfDqAH/LUBgNrKGKXJZS/Aqf3C9phy4mTj4qdppnXdjNMrTme2OuRvTO iYew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679926214; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZVlIe/RgdhwWumjRHCwBYuMjJV3egIYQrdrj1qprP/0=; b=ViI40vmiF525u0gGX2xFHi+Q5PFqXVDP1A3f0NfIXPOrfm57aAlwH99H4dS12Fjapt F68qomtci1dlr5G3pAlkeknWXKyPbAi2h8K1ibHTl2xFvqr6mCJqehNB/JwFVPSl+/wE BlR61g5A/TZmUCZkaKFsn53IGwrBTtP5lTei0eJ6sZJ1PBHcANdWlFm3QQhPrK05MkW5 nRZiTrUDsy59MpjZf4JVlgqaTpkTd5gNe/pz7CXYSX3w6AllneZ6EnTq/53SlJiFTRAF oboUgYxgwKJzz781xi5YzBi7woAQtKkxLyCckcGk+W13RoHZn2Bjgtn/J1DkqnHQwAjw Ccrw== X-Gm-Message-State: AO0yUKUvuVAgvUK0Ojdv+PGkwy12T31/zU0lmcS1EwsyMATy7Jjgm12u Ui2VCKpmDyyyvV7LuFKQPbB2/A== X-Received: by 2002:a05:600c:3642:b0:3e2:1d1e:78d6 with SMTP id y2-20020a05600c364200b003e21d1e78d6mr9400422wmq.7.1679926213866; Mon, 27 Mar 2023 07:10:13 -0700 (PDT) Received: from localhost (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id m5-20020a7bce05000000b003edff838723sm13886159wmc.3.2023.03.27.07.10.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 07:10:13 -0700 (PDT) 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> <1f68ff4f-46ab-7d9e-fa57-bb94beb4c691@linaro.org> User-agent: mu4e 1.8.13; emacs 28.2 From: Jerome Brunet To: Krzysztof Kozlowski , 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 Subject: Re: [PATCH v11 3/5] dt-bindings: clock: meson: add A1 PLL and Peripherals clkcs bindings Date: Mon, 27 Mar 2023 15:59:02 +0200 In-reply-to: <1f68ff4f-46ab-7d9e-fa57-bb94beb4c691@linaro.org> Message-ID: <1ja5zynv3v.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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 Mon 27 Mar 2023 at 15:41, Krzysztof Kozlowski wrote: > 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. Patches should do one thing, my comment is a simple application of that. There no reason to have a single patch provide the bindings for 2 independent pieces of HW, which those components are. If a dependency has been set, it is one that should not be there. They do provide inputs to one another, yes but remain independent pieces of HW. They have a different address space and as a consequences, different drivers If we were being strict, it should even be seperate series. > >> >>> 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 > > > _______________________________________________ > linux-amlogic mailing list > linux-amlogic@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-amlogic