Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp372359rwd; Tue, 16 May 2023 02:10:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7mFUPq7teb7NH4S/lYxt6seuvEDOelCX4ILRZyfbBoP5knuBOYbdJP8WChGPjY1mj1J0I6 X-Received: by 2002:a17:903:1249:b0:1ab:220a:9068 with SMTP id u9-20020a170903124900b001ab220a9068mr48546728plh.42.1684228234895; Tue, 16 May 2023 02:10:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684228234; cv=none; d=google.com; s=arc-20160816; b=dEx+wji6ye41OGGg9RLekWCKDusCOoAdUApGfXWgwi7/Q5GlFU86d5y5+3QIOZb8G1 trMg3gkVXyik7JCK/cd7tErKn+1xJGj+CW/QGql+Q32JrTTDxqMD4oQxNyon62WDpYVA BLm4Ja4PCnDYJZqENhG8P9k5hN4vOjfD5xeZgCpbxQRLd/QlgIcneYtpR0hHbvf0KouJ om6cKzNT1r5KXiNEmVQ8SFJhL0/D9lR9zqJci5GJAxpBbTsvUq3DiaGHlorgnkMEhsuH 3tpsZROnQwY/eiG+U+wtH6fon+2Zl2LGW3U9e9aofA6+yPR5FI3lo9cbywjbg/oDRdgA 8B8Q== 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 :organization:references:cc:to:content-language:subject:reply-to :from:user-agent:mime-version:date:message-id:dkim-signature; bh=wrFkte/bezt1PlNhFCGqqPcTWG4E53z6ADYV3K7fF3g=; b=SBsJMmA9Zk++KfIHrlvuCZtoGDLPmrvoQ4goJLkkYSQBLC+jjgZ3f2vi7p4i8tFm01 yPSuSMv6k+9FVeawDawMT3Onj+0OBZdlX7OBKhLveBd1pWz7uxcqXlPcrSOUPChUJi9z 3HOmZ27/FyI9rOv4MMQse9t5RsawZu+E9Nb6TkJj/EghyPZjg5pHJfEYyvFm1vfs96xE RLE0UP8eAU9xYEFSpnbh+QCOgJEGuP/0Gqxegi8+bBzUPqblFAqihDto/JNfeFYUS0ow ZlSVYZcYJoYdaenSOcjt/xJHmnIvsTJtwmfI4wSuzweGpiV3cfGA2XHqoBYiNJUBfQGB 72UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sjp+lL/o"; 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 n10-20020a170902d2ca00b001ac68821a75si19132898plc.633.2023.05.16.02.10.20; Tue, 16 May 2023 02:10:34 -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="sjp+lL/o"; 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 S230385AbjEPJAQ (ORCPT + 99 others); Tue, 16 May 2023 05:00:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjEPJAP (ORCPT ); Tue, 16 May 2023 05:00:15 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77FA8270C for ; Tue, 16 May 2023 02:00:13 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-305f0491e62so13426140f8f.3 for ; Tue, 16 May 2023 02:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684227612; x=1686819612; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=wrFkte/bezt1PlNhFCGqqPcTWG4E53z6ADYV3K7fF3g=; b=sjp+lL/oyBSGysWhOvH+HyKbaqlOkgM4gPDAx6wEodMzeHJ7CIwWV/D6Czgf7g5b4y 3pq0iP4PbZbdtl8nXHy5xEuKwlzOhXlby6wZroKbsZnYXMmr6DQMnSKyM9IHVwYeLosI jzIxHuQExAJ6cdYicbzRPbpf7WMkkR2x9chwjgwmPU2lkF8Fu83tw5V6qQrDhhyB8kHF IoWtbsPD1K3bFtjyChL9/r2atKzi9e9kn9FPjoT1lWrWrBBDbxYKieGQWaiyYI2fqkVv om0/lULQwVmA5ddQZOJTYP0du+5eivl6xsSLSUcY8vxUUwHlPYdzqj3Py8lnvOcrE9jL v2MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684227612; x=1686819612; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wrFkte/bezt1PlNhFCGqqPcTWG4E53z6ADYV3K7fF3g=; b=I//Ab6sUhMs9Kqr+/rwZQGf2DxY5qfFCqhkT2VpL+qeKZA8H+NOek8TLfoWPq1NGcW SAWQZbN7Reb7bQUHHWz2toXKCBm7karhSbOG4h1YEEX22triclCe74G7aK9NvlSIkrB2 CgEFBbzIM+51NqCvwCcAsXrUxFTQWdgo7u+BzSIf3PywehQKTLX0Y1CLhfZcYRsoMF1B jg+mrr9zDF1Ld8A52nm6/JsLTpdf1TOoDPO2eZg6wixEIcvX+SCcnoQSTfQ2goBD2zFv 1CPYcpiy3tLaTfPw6NCaxOHQdh0Pr3y7273x2v/y23BgCXbZQIbqrXWl7j6jSWF92xyI 4nyw== X-Gm-Message-State: AC+VfDxEhrXsFPijd6dlTKS8/4wpMx5/STbsdIMc/c9t6X7kFO1rcwN7 +7aMsQQg+PxD8jm6f1wlfvWkvg== X-Received: by 2002:a5d:42ca:0:b0:306:3b78:fe31 with SMTP id t10-20020a5d42ca000000b003063b78fe31mr23654611wrr.69.1684227611789; Tue, 16 May 2023 02:00:11 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:86be:97a:a043:77a8? ([2a01:e0a:982:cbb0:86be:97a:a043:77a8]) by smtp.gmail.com with ESMTPSA id s14-20020a1cf20e000000b003f4285629casm1532562wmc.42.2023.05.16.02.00.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 May 2023 02:00:11 -0700 (PDT) Message-ID: Date: Tue, 16 May 2023 11:00:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v4 01/13] dt-bindings: clk: g12a-clkc: export VCLK2_SEL and add CTS_ENCL clock ids Content-Language: en-US To: Arnd Bergmann , Krzysztof Kozlowski , Jerome Brunet , Michael Turquette , Stephen Boyd , Kevin Hilman , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dave Airlie , Daniel Vetter , Philipp Zabel , Vinod Koul , Kishon Vijay Abraham I , Sam Ravnborg Cc: Nicolas Belin , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-phy@lists.infradead.org References: <20230512-amlogic-v6-4-upstream-dsi-ccf-vim3-v4-0-2592c29ea263@linaro.org> <20230512-amlogic-v6-4-upstream-dsi-ccf-vim3-v4-1-2592c29ea263@linaro.org> <5cb38be4-a27f-dc1a-cbb9-c195505a9e7c@linaro.org> <9fa0662e-8854-05f9-da7f-ec8e08d2badf@linaro.org> <6228670c-3e06-3061-f304-a2c641962ffa@linaro.org> <9cba6384-123b-1cd1-ed02-08365a0ed529@linaro.org> <2fabe721-7434-43e7-bae5-088a42ba128d@app.fastmail.com> Organization: Linaro Developer Services In-Reply-To: <2fabe721-7434-43e7-bae5-088a42ba128d@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 16/05/2023 10:44, Arnd Bergmann wrote: > On Mon, May 15, 2023, at 18:22, neil.armstrong@linaro.org wrote: >> On 15/05/2023 18:15, Krzysztof Kozlowski wrote: >>> On 15/05/2023 18:13, Krzysztof Kozlowski wrote: >>> >>> Also one more argument maybe not relevant here but for other cases - >>> this makes literally impossible to include the clock ID in DTS in the >>> same kernel revision, because you must not merge driver branch to DTS >>> branch. SoC folks were complaining about this many times. >> >> Actually we handle this very simply by having such patches merged in a immutable >> branch merged in the clock and DT pull-requests, it worked perfectly so far >> and neither Stephen or Arnd complained about that. > > It's usually benign if you just add a new clk at the end of the binding > header, as that doesn't touch the internal header file in the same > commit. I'm certainly happier about drivers that just use numbers from > a datasheet instead of having to come up with numbers to stick in a binding > because the hardware is entirely irregular, but there is usually no point > trying to complain about bad hardware to the driver authors -- I unsterstand > you are just trying to make things work. > > I agree with Krzysztof that using the same identifiers in the local > header and in the binding is just making your life harder for no > reason, and if you are the only ones doing it this way, it would > help to change it. Maybe just add a namespace prefix to all the internal > macros so the next time you move one into the documented bindings you > can do it with the same immutable branch hack but not include the > driver changes in the dt branch. Ack, I'll try to find a simple intermediate solution to avoid this situation. Thanks, Neil > > Arnd