Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp152220rdb; Thu, 30 Nov 2023 00:36:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxyQb6eZO+4kScb99fSmdJyluyNB3ajehXNeyKWEtuBFZTJL8405XsKPGi4yp1VN11QgCy X-Received: by 2002:a05:6358:7f1d:b0:16e:2898:5e01 with SMTP id p29-20020a0563587f1d00b0016e28985e01mr21204391rwn.3.1701333383768; Thu, 30 Nov 2023 00:36:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701333383; cv=none; d=google.com; s=arc-20160816; b=FUkfrGhh3P5f4keQAfmjJXaASt5t8VHsaPazROjRrCwY++Duay+LF/QOsfhilaCYcj OwvYm/sePDCIO/+pYAH84+4wuiQcN3Wt19VUR4pWkRe7rCE3ZyPjGpTUKyeZf34ebaRD ZBZiEcmNHuix4Mc3GVya7ZPK4RfoPbpXf2LZIepJ5PIyuGhFwbwcPjsgY6G+zCORX386 2j4Z2wk/E0Yep4M5041QNyBp7ZWcZGL4V/Swj3L316rR/ds5FxqXlzLkhEfRkVDrb0FV OskujoSjhsVCBbdzJlNbA5CQRCZDwiCR5rCargXCLHagCwNoEfVjIBVeFfpEKW4icPl0 vVKQ== 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=ObsOROnpkbSezGJjA9kHVUriLkfnwLirBce/YF+bAkk=; fh=4YfdA/Cl8AhlFBWWxpCa2DYT2tmp3ISy7ME2f5wg0PA=; b=vViyHp8C/l/OETep0whptbdgVIq+Nsz10cUv0bDU4gocypWpPr7LvNH/6NptnlkZ3I GMsV13VpjRCprva4VuWdPtX2YJJ0E2pngV+YqJDSe7x9pOMSMir/J1F5ZNedJdrvdOX1 c3RiBvGQRlHAdtOgO2a182UAUBN9e+n+UsyPlbLver7EzPc2wgpJOCoY1V5PZjNfNqLe M9zsH9NBRfQC/0Ju6j2VDHY9NGi0uaxp6BpALh6xBbZitOTQy59nl9pwS0h5YNTXLcsJ hyiKiWfSLNoXUAJK0gsC8Ii6/F37Ko+pgMSn7jtf64zlvtO3soo2bnvcJS4RcozajAGG 5pRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FntZOjFL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id a9-20020a656049000000b005c624eec079si846626pgp.724.2023.11.30.00.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 00:36:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FntZOjFL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id F11708369F77; Thu, 30 Nov 2023 00:36:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344965AbjK3IgJ (ORCPT + 99 others); Thu, 30 Nov 2023 03:36:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344955AbjK3IgG (ORCPT ); Thu, 30 Nov 2023 03:36:06 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 768B610F0 for ; Thu, 30 Nov 2023 00:36:12 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-54bb5ebbb35so580297a12.1 for ; Thu, 30 Nov 2023 00:36:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701333371; x=1701938171; 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=ObsOROnpkbSezGJjA9kHVUriLkfnwLirBce/YF+bAkk=; b=FntZOjFL90ECUoyqY0YSJInC497hIF7Sc/JHJR3KywsUGmYVQheEXjYlB+1ZckmgbO qyD6kKrOdiBFXB8WLoOor6jUbRwOcDpzOvLREHplt5G0LbEepdzqUv8ylq03Upr5/5sq DHkrFg2cisk3VR9wUwXkjbClonbIsm/vMmNFYzlqivEa++NYyD26LQ2bL7Sk2chkf7bO K0U+7rScy6MaCpSt47l+aaYYl+cQqghfNXXj4kSIMLQYOrAYoNOmYiuING5VxyHBiIYV iIx0kSUYkZLOwhoKslOcsMz/5Ezn6rfs2UiAJGjDwWRxxQ/Apav7+bNeCGp2a8vrwzdh QZJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701333371; x=1701938171; 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=ObsOROnpkbSezGJjA9kHVUriLkfnwLirBce/YF+bAkk=; b=ErJr+bVGy8ki8jzjQOMihmGgbwCx8IKyWKeoqpxjudrd+/0N/C2Lp5B1cPEg+k3MzE 4LXAQeNRf6zl9Bnc+gELKbhb/PSHaTYc2q+6l37xN+YGFEHxc2S0mJx0sq7CzSO7MROn VTgf534nVtipfOoTWCGdvJZCtahUAJEX+ESmI2CFTVxQ/97qL4hXyX8G7U4sneb+Y9pE yP3OWro0kB8LVpOtx6bJ8FWWrSfsWi4nT+IE11BdudEzmfcuH1hUSTZDe+Wg+/w77opw SdeDLmDEX8GXPSME+s0IJXh4T/VN1KLkFnmpQ4DdHb4h+3fnH1u1NcO4uJJIxLGfKEYn SqAg== X-Gm-Message-State: AOJu0YxM3sfEzvmXUyMRwtSKm7kltYi0q/5MMgfSoQ4wiTrc0D+UDu3/ /5tGDF+3KScx1qnhmuczL3yoBA== X-Received: by 2002:a05:6402:520c:b0:54b:4067:6274 with SMTP id s12-20020a056402520c00b0054b40676274mr12578151edd.5.1701333370929; Thu, 30 Nov 2023 00:36:10 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.109]) by smtp.gmail.com with ESMTPSA id y24-20020a056402135800b00548d649f638sm313478edw.96.2023.11.30.00.36.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Nov 2023 00:36:10 -0800 (PST) Message-ID: Date: Thu, 30 Nov 2023 09:36:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/4] dt-bindings: pwm: amlogic: add new compatible for meson8 pwm type Content-Language: en-US To: neil.armstrong@linaro.org, Jerome Brunet Cc: Thierry Reding , 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 , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= References: <20231129134004.3642121-1-jbrunet@baylibre.com> <20231129134004.3642121-3-jbrunet@baylibre.com> <8e78be99-3d4d-4f79-9791-404e60bcb67c@linaro.org> <1jfs0ojz1a.fsf@starbuckisacylon.baylibre.com> <11f8d986-3e97-4191-b46c-ad3166ee6dc7@linaro.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5n3OuDSzG1oZyM4kyvO XeodvvYv49/ng473E8ZFhX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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 howler.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 (howler.vger.email [0.0.0.0]); Thu, 30 Nov 2023 00:36:21 -0800 (PST) On 29/11/2023 17:41, neil.armstrong@linaro.org wrote: >>>> .../devicetree/bindings/pwm/pwm-amlogic.yaml | 52 ++++++++++++++++--- >>>> 1 file changed, 46 insertions(+), 6 deletions(-) >>>> diff --git a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml >>>> b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml >>>> index 387976ed36d5..eece390114a3 100644 >>>> --- a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml >>>> +++ b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml >>>> @@ -21,23 +21,35 @@ properties: >>>> - amlogic,meson-g12a-ee-pwm >>>> - amlogic,meson-g12a-ao-pwm-ab >>>> - amlogic,meson-g12a-ao-pwm-cd >>>> - - amlogic,meson-s4-pwm >>>> + deprecated: true >>>> - items: >>>> - const: amlogic,meson-gx-pwm >>>> - const: amlogic,meson-gxbb-pwm >>>> + deprecated: true >>>> - items: >>>> - const: amlogic,meson-gx-ao-pwm >>>> - const: amlogic,meson-gxbb-ao-pwm >>>> + deprecated: true >>>> - items: >>>> - const: amlogic,meson8-pwm >>>> - const: amlogic,meson8b-pwm >>>> + deprecated: true >>> >>> I think deprecated should be moved in a third patch >> >> The complain on v2 was that it was not clear the new binding was making >> the old one obsolete. It looked to me that the deprecation old bindings >> needed to go together with the introduction of the new. >> >> I don't mind one way or the other >> >> Is there a rule somewhere about this ? > > Not sure about that, I don't think it's a problem to have both valid > at the same time, setting them deprecated afterwards looks cleaner > to avoid mixing too much changes at the same time. For me current order is correct and intuitive: you add new binding, because old binding was wrong, so the old binding should be deprecated. Otherwise you have a state with both new and old binding and one could question - why did we need new binding? For dtschema it does not matter, but it matters how we read the code. Best regards, Krzysztof