Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1160914rdf; Wed, 22 Nov 2023 07:10:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFU85dBYXrphrgmD7UgHakcsagn6CCSB8dvoU10G2UWRoHO9McgdIFOZi+73qdU3JUSoEHt X-Received: by 2002:a9d:6194:0:b0:6d6:3ebc:73d0 with SMTP id g20-20020a9d6194000000b006d63ebc73d0mr2896646otk.22.1700665833305; Wed, 22 Nov 2023 07:10:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700665833; cv=none; d=google.com; s=arc-20160816; b=qUt3Pvto2MrUTZazKfRqPEISN0Z+XHIintFzG9kBdu/JnM7y2QoTJZ3++AKhx8XL7A KMb+TvHoc2MoX7dM70Fha5s65oNRIfMkR5w4lYsQLEdT7W2b6cKbyurQ0a2TnuM5ycyU LOAOty0iiNxfPnG7W20hsJ5XiNl8OIGFeMkFPQ5aujz1xF59JA88J7UabQNqvqtH0Xf0 xsIQ7Yjq9F2IKFj+VY7N79/5II29v0XB8HjSamLT44FT7AOUZWyXEICfAqyvdrwx/FUk H3A3d+FrSXmQ45OXQUvQ2sXKMR59SZKpGsSonrhErLDvMAENWhSpTiqplIEidZKfdle1 JfHQ== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=8tg8v0wjgB6LXPnF0igxmM4a2qP5aiK535KGZNUnjRw=; fh=02goHv1gf6IZnl+8PZbgYXgaPEv5CNyC0dSuav09zS8=; b=SlnMv9CBazK+B1L0xyNH8CebwLh2Mfa6joGDGc7W8Nx4ndM1wvzYhQY3AuG2lQHRex woiyoAPHQb++C85Esj3hsV+Cl4UtFZDdncWI0Fqieqbkpcji4B1Zw3QWm/aJ1kDlvmU3 uXk6XAWN7xUkudLjouCuRuNhO8zN5V4ogxEf7PGGxOG7WTy2epvS3qo7CIVlq49iR+RR I+bDxuMt6hLk54/u909Mx0T8xY91nfap478KjEDoaToXZaOhObCHMGPKhTL56lLUaIPU lPguE8fa7PiJUkqVxul+B+RaB65N42GLsT9io4YQX7ojNrc7JTf0FY3JDN0c4Q6Xbvto fDvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b5i0gmLu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id w18-20020a9d77d2000000b006ce32c32c8esi4728580otl.113.2023.11.22.07.10.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 07:10:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b5i0gmLu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 9590082516F8; Wed, 22 Nov 2023 07:10:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344338AbjKVPKN (ORCPT + 99 others); Wed, 22 Nov 2023 10:10:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344039AbjKVPKM (ORCPT ); Wed, 22 Nov 2023 10:10:12 -0500 Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BD5A11F for ; Wed, 22 Nov 2023 07:10:08 -0800 (PST) Received: by mail-qk1-x729.google.com with SMTP id af79cd13be357-778927f2dd3so347495985a.2 for ; Wed, 22 Nov 2023 07:10:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700665807; x=1701270607; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8tg8v0wjgB6LXPnF0igxmM4a2qP5aiK535KGZNUnjRw=; b=b5i0gmLuO7KgYH1gQQSLuz0OjuW+d0MWOiV2nOf7BKd9G7OqGTWAYFsz6f/as/jxxm EokEqU9aZuuzENZsrFtuJH4NWXCu573KICZN85C40MwC75LZi/baZI1j9DXSDw4hPZIh CG+egyK1V13w3QhWsMCBozBS7ijS2eXbTK3MSMri2/Sjq3uAvhyop3RzJ9xyzOs7on/U /TnYBKzJwjhlOVYfkcscTXuaKwLqZlLajtmDu3xcTYWcBbVymr1YkK5H+kalKzrfWKNd V2QmhN/N8itZ8dlCGrRcNtM68hBkZLNyZa4qoyi9s887KVxlO9nTWKUfkXCJlYj9yF+k I3ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700665807; x=1701270607; h=content-transfer-encoding:in-reply-to:autocrypt: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=8tg8v0wjgB6LXPnF0igxmM4a2qP5aiK535KGZNUnjRw=; b=LmOdf8jtZufB0DUEsw8DEZxwt1grRfYN4waFSNosHLnTnVQzizq6MqE6aUmEbFgAjs 8/yz5tNAPR0ox962zlsU1Emo3fAF5FlCuFGzmN4nRin2sfx4qvQT+0gGK9MUOnDgJAPL TSHQp10J7fjAVyuTU5DxL9oHOBkgKuFzDg0i90xcTOPbm/U7rSMOfhNmkagV0K+8InBf SXJZoZLKUAaT5dSX0IJfYvXXqWPBY4do2rzKhcd1asq8o4jNL6ba9X9FVxpTFtmIT7ee 6q4MDdXeoHgfwQ7I9vuxE/VMpL/lw1OKDBQv8787rzNsRy6L5pyhDnyJTTBAmEORFxs8 B3Ng== X-Gm-Message-State: AOJu0YxPoTTiO+ddCaJz9n4PsAugjsYLOcvrQ6HOO/7RjthTybp8IAUq LekNpPZL1Gg9wT6a3sTvhQYtsA== X-Received: by 2002:a05:620a:4482:b0:775:985e:f5c2 with SMTP id x2-20020a05620a448200b00775985ef5c2mr2681917qkp.17.1700665807502; Wed, 22 Nov 2023 07:10:07 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.100]) by smtp.gmail.com with ESMTPSA id b3-20020ac86783000000b004196a813639sm4480285qtp.17.2023.11.22.07.10.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Nov 2023 07:10:07 -0800 (PST) Message-ID: <8a3a44b4-adef-4872-b08e-fbde3f563858@linaro.org> Date: Wed, 22 Nov 2023 16:10:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 5/6] arm: dts: amlogic: migrate pwms to new meson8 v2 binding Content-Language: en-US To: Jerome Brunet Cc: Thierry Reding , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-pwm@vger.kernel.org, JunYi Zhao References: <20231117125919.1696980-1-jbrunet@baylibre.com> <20231117125919.1696980-6-jbrunet@baylibre.com> <1jsf4xeskb.fsf@starbuckisacylon.baylibre.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.k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fWEcVUqa+XdUEciwG/SgNyxBZepj41oVq FPSVE+Ni2tNrW/e16b8mgXNngHSnbsr6pAIXZH3qFW+4TKPMGZ2rZ6zITrMip+12jgw4mGjy 5y06JZvA02rZT2k9aa7i9dUUFggaanI09jNGbRA/ABEBAAHCwXwEGAEKACYCGwwWIQSb0H4O DFH41ZZ3t1Qbk0N9O0FimwUCYDzvagUJFF+UtgAKCRAbk0N9O0Fim9JzD/0auoGtUu4mgnna oEEpQEOjgT7l9TVuO3Qa/SeH+E0m55y5Fjpp6ZToc481za3xAcxK/BtIX5Wn1mQ6+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <1jsf4xeskb.fsf@starbuckisacylon.baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Wed, 22 Nov 2023 07:10:29 -0800 (PST) On 22/11/2023 15:52, Jerome Brunet wrote: > > On Wed 22 Nov 2023 at 09:39, Krzysztof Kozlowski wrote: > >> On 17/11/2023 13:59, Jerome Brunet wrote: >>> Update Amlogic based SoC PWMs to meson8-pwm-v2 compatible >> >> Why? Your commit msg must explain this. You break users of this DTS on >> older kernels and also this makes it impossible to apply via different >> branches in the same cycle. All this needs explanation and proper >> justification. Your message tells here nothing, because "what" is quite >> obvious. >> > > I provided all the explanation possible through the different commits of > this series. I can re-state here if it helps DTS commits stand on their own and must not go via same branch as driver, so how does driver commit msg help Git history? > >>> >>> Signed-off-by: Jerome Brunet >>> --- >>> arch/arm/boot/dts/amlogic/meson.dtsi | 4 ++-- >>> arch/arm/boot/dts/amlogic/meson8.dtsi | 16 +++++++++++++--- >>> arch/arm/boot/dts/amlogic/meson8b-ec100.dts | 2 -- >>> arch/arm/boot/dts/amlogic/meson8b-mxq.dts | 2 -- >>> arch/arm/boot/dts/amlogic/meson8b-odroidc1.dts | 2 -- >>> arch/arm/boot/dts/amlogic/meson8b.dtsi | 16 +++++++++++++--- >>> 6 files changed, 28 insertions(+), 14 deletions(-) >>> >>> diff --git a/arch/arm/boot/dts/amlogic/meson.dtsi b/arch/arm/boot/dts/amlogic/meson.dtsi >>> index 8e3860d5d916..80cc004ad5fe 100644 >>> --- a/arch/arm/boot/dts/amlogic/meson.dtsi >>> +++ b/arch/arm/boot/dts/amlogic/meson.dtsi >>> @@ -83,14 +83,14 @@ i2c_A: i2c@8500 { >>> }; >>> >>> pwm_ab: pwm@8550 { >>> - compatible = "amlogic,meson-pwm"; >>> + compatible = "amlogic,meson8-pwm-v2"; >> >> That's breaking users of this DTS (old kernel, out of tree, other >> projects) for no real reasons without explanation. > > "amlogic,meson-pwm" will continue to match, meaning of bindings is unchanged No, because new DTS does not have amlogic,meson-pwm, thus all existing users see breakage. > > How do you propose to fix badly designed bindings then ? Justify and introduce incompatible changes, breaking the ABI. Anyway this is a requirement, because, as I said in other reply, you cannot have compatible for software model! > > if we cant even introduce a new compatible to fix things up. It is supposed to > stay and broken till the end of time ? No, you cannot introduce new compatible for new OS. Fix the bindings instead with proper justification. We did it many times, what's the problem here? Best regards, Krzysztof