Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp301991rdb; Wed, 17 Jan 2024 02:21:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFuVKI0DwtRnElLLzov2+aIdZDNbbP+R5uK6gsHhRkLy1/SUpZuHgNwnh03/qrRaji8J7Fd X-Received: by 2002:a17:906:17d6:b0:a2a:ae58:b582 with SMTP id u22-20020a17090617d600b00a2aae58b582mr3800265eje.49.1705486884037; Wed, 17 Jan 2024 02:21:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705486884; cv=pass; d=google.com; s=arc-20160816; b=qQFFCXXDSxVZKM7WsWuNly6fQ17xXa/I3aqh4nYW3PLbSputjFzBlKBhpP9AShbWMa tgfiEz/dQahGuM5elwBoFvj3rO4aKcPvq5cflzuWJso0KilsKnbh8mXD+qJd8K1FrwLh rtd1SBqkmwZSiuOLu8wQLrl0wsIvHbiOoq94+092TCb1EJ+DyhDhCh5h8wB3aWE6nH4d RR8H4/dkRfQCxvtruiL4vO2d4eAdUuqyQRJquEzTZ9K/A7CxuWQ979itZclY32uiG1AI lCmazQVURSDLNnMA1CUCRuMgJauem0I3vqJXMZ933YWP59NOdirVsr77WweqCfuDXZzS hz9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:dkim-signature; bh=5mSVG7D4F/4/rMlg7YZmDmtDRH4U8gyyZuRonzPy+H4=; fh=H3U0xlt7goOSAhUb4NN7kdWef7Oh5ZGxLLtPcSBLg6k=; b=lDBD0rGQgAdhz3hLkBgOlHiWyC/9FlCOh7j9ZLniUIqWHLELLMzPje+XKtYgpj44As lal24/0v5Hp/exM9a2FmviltONOCRBsMdh31IHsz6az5d4xicW2VNxYJgP7rA9NF814i eo4F/U/1O94Cbnje9Jim+PfLMFQrRggOGbjgDMMNm4p6Z/iT1yWFxxvkmNgKM2lyf9At tUWC151TDD99eBj9mWNq4zez2did9qcVRK9p/Z+PxUsik+PMWvrlX0H1Iw5LZvEi9k3a 3HgQSc+SEiSCqEQ1+ltdA1AJiMx++ZDbDOH0gGTUMGSVnmngKhwFjPQqITojL+j4fQM0 +OUw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=owr485wz; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-28823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28823-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cd14-20020a170906b34e00b00a29c9b82918si5551768ejb.700.2024.01.17.02.21.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 02:21:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=owr485wz; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-28823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28823-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0AFF01F25693 for ; Wed, 17 Jan 2024 10:21:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6374B14A8E; Wed, 17 Jan 2024 10:21:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="owr485wz" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 344F81429B for ; Wed, 17 Jan 2024 10:21:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705486871; cv=none; b=Hbu57SFBV95pmHi86rH8dWv8zRMWHy16uBj2oZl3bZveDVc05qFLSGrhSWliJ6wfm0uR0enbp4JJbY9BnGvF0NCaG+ErFsV5FX8OPsuQZB3pMDf+FHDh7kTKr2uojydt1Ljv+KVbzafW23PcCouyZ/4/RJCNCuCjQbjty8RWCdM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705486871; c=relaxed/simple; bh=fA8fOIDmpDf6O1sgGqy94Z1yqgjC5fUGvhAPgezy1N0=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:Received: References:User-agent:From:To:Cc:Subject:Date:In-reply-to: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jtWsY8u+OmOtckkaSvF0m8z67wXVNVWT2WA8wCYXuYsKUUnVoe3QPdfDEgmxLpG9Jl38AWxctd9rxAUdC0VSuwmS3XnSgcpl/QqPNRWDoLxknD8tvyi/Hxd3bJS2zgdhai12c4IMw8ez9hkpxtRM0gpAb69ESgSrf9ecI+NhXho= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=owr485wz; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-40e7065b692so35883075e9.3 for ; Wed, 17 Jan 2024 02:21:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1705486867; x=1706091667; darn=vger.kernel.org; h=content-transfer-encoding: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=5mSVG7D4F/4/rMlg7YZmDmtDRH4U8gyyZuRonzPy+H4=; b=owr485wzoOgCgR7SlEzjfEy+Cl+cdj/22FfX4CcxSFSHtx6Dt5iAJWgkJ0q5VZ9vgr fs7rgRtaCBVN6c42pRwbYb8evWjvVvU3jLcYijFTgLSqyD7vsjSQv1US48gLqli2zy7o sl2nLgXJh+kTaivTGzjvSvkHGKPOSd2xcUPuLxd75bGf2zurL7wwL9l11ceCVYHhu68w 705aJgy0G0wQ/dztCtwdFlPA35w1xzpdIey9R5kLsb3qL5K6VgQdN+dVs0IPnEuIsD/p 4yALn3JWFMKsLSs6wqC8SE0pSMLj/O3eTYZy9Pb4C7KFFkzApvdDILDlbuOPWRNQDlGI oW1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705486867; x=1706091667; h=content-transfer-encoding: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=5mSVG7D4F/4/rMlg7YZmDmtDRH4U8gyyZuRonzPy+H4=; b=r/MpAnVOiVgvyBISvrE9Yz9DT7obIB1wekNrw/6B8xcXyifEcoGfDO/1MOBzxIHLOY Vzk5wTu+SPabRQwphg3Xl9Lr2w+fx/E/Hnr+StU/s1aFYA835L389HOcqEDh4qIeZPr6 Ha799V3GMqqLN0EzHhFnM1UPPSuYIw/F/TqZLAsNOhOxUUwC7sGESyvxHI5feT06b02w tPB7bglqgRJW0YWQK2r5vVGUaOlZcIfQOJEtbuUyDMq1iLjaEutyF0ohRM/fKOADNXay AzHGinAW/Or7Nl0RxzW84oIRAb/g40yFrwlLNISP92M6FGTzSVn+xIAxciHI26OJR5sQ 0NbQ== X-Gm-Message-State: AOJu0Yzcx0mrL5M07skw4APXZjJo18/RGPkXQqnRU0+8+p/xzG7p7lkn MMZwtlhGxRgn5lDkvaDsvfDqFlg5rNPxgQ== X-Received: by 2002:a05:600c:22cc:b0:40e:3dcd:2e24 with SMTP id 12-20020a05600c22cc00b0040e3dcd2e24mr4695637wmg.180.1705486867325; Wed, 17 Jan 2024 02:21:07 -0800 (PST) Received: from localhost ([2a01:e0a:3c5:5fb1:c1f6:14ce:b96f:2df5]) by smtp.gmail.com with ESMTPSA id v13-20020a05600c444d00b0040e526bd5fdsm1894578wmn.1.2024.01.17.02.21.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 02:21:06 -0800 (PST) References: <20231222111658.832167-1-jbrunet@baylibre.com> <20231222111658.832167-3-jbrunet@baylibre.com> <4rdb2be2bfzak3s4uaizthcdcdwdrxnx4kr2sgn527hvsie3pb@gfqciim7yryz> User-agent: mu4e 1.10.8; emacs 29.1 From: Jerome Brunet To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Cc: Jerome Brunet , 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 Subject: Re: [PATCH v4 2/6] dt-bindings: pwm: amlogic: add new compatible for meson8 pwm type Date: Wed, 17 Jan 2024 11:16:31 +0100 In-reply-to: <4rdb2be2bfzak3s4uaizthcdcdwdrxnx4kr2sgn527hvsie3pb@gfqciim7yryz> Message-ID: <1jfrywxnu5.fsf@starbuckisacylon.baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed 17 Jan 2024 at 10:58, Uwe Kleine-K=C3=B6nig wrote: > [[PGP Signed Part:Undecided]] > Hello, > > On Fri, Dec 22, 2023 at 12:16:50PM +0100, Jerome Brunet wrote: >> diff --git a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml b/Do= cumentation/devicetree/bindings/pwm/pwm-amlogic.yaml >> index a1d382aacb82..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 deprecating the old binding and adding a new compatible should > be done in two commits. Hi Uwe, There was the same comment on v3 and Krzysztof said it should be done like this: https://lore.kernel.org/linux-pwm/e127dcef-3149-443a-9a8c-d24ef4054f09@lina= ro.org I tend to agree with Krzysztof on this but, as I previously said, I don't really mind one way or the other. Just have to pick one. > >> + - const: amlogic,meson8-pwm-v2 >> + - items: >> + - enum: >> + - amlogic,meson8b-pwm-v2 >> + - amlogic,meson-gxbb-pwm-v2 >> + - amlogic,meson-axg-pwm-v2 >> + - amlogic,meson-g12-pwm-v2 >> + - const: amlogic,meson8-pwm-v2 >> + - const: amlogic,meson-s4-pwm > > Best regards > Uwe --=20 Jerome