Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4725741yba; Mon, 20 May 2019 02:39:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4gxd3MJlEuBCvHRtdWErsTddXYIuAsRj07LC4C5FKwwQj7IldUbCSHcN1NwN64f9atnWa X-Received: by 2002:aa7:8acb:: with SMTP id b11mr78946067pfd.115.1558345187460; Mon, 20 May 2019 02:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558345187; cv=none; d=google.com; s=arc-20160816; b=enox/MRMxQmH/9mYvUXndpn0jPhteJKhIvLh+hnot/4xAsuGZyutVcCnrRWpJI5XuE PTr58ts/JjwHkuwerSUGyPEaKGMbBpw56h7EuQDklmL1VGMA/1TmIzUGPakUZd9lFoyT IlT0eRo11dlGcMeyWhzyhtLnXj6PsUHcYEyU9qaQSN5OXiDvwCmqQPm3uSopv263iUJL T3z9X83VeKACqYVgHBCf+OEVtymt125H57lzIbszrnKYXLuicNB3VGec4jFKxJ0EFXMt g6H+e/Qsrk6OIuh3eMZ0xX0GkPW6f/5Wg8gnAHGuPz19qRJ9froO5zDKWSxi4tYEnohg vvAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=b1Nie3BHb8c5BThPo1teBTJYFUp/LwJ6jQaWfDHPCns=; b=DhV5g6r4jzvQNk+kL04TXpiItIsWEEKLAPsV3gJVPSM94UXi/iP0qbqLT2uvqME1Sl TeABUH3F038bkm1tQAvvlLvYEUcv7A1+Iu1nYQkxYuJmVDuVkqh3USXyiJy/sYiHSqEd snjDeyM/nJTgyQ48iiPKxSog986kxIvs/ZVdQZoqvYWtnyDOo+BCC2zz/Hoh+18HsYoO S0IFPE9bbU/1a3jCfnDFe454yUrOj/gJ1eHTQX1uicDLWaJC8xoQRHQGi1iJvhYwsT+c uqnJxEVSNRAEdiEkzUIwLvXMapNG7Nr1Fm3t1cypLcnV+5iNO91AS55ZfV26pwEeFk3I WdOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=orGKLIRO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l70si16880932pgd.174.2019.05.20.02.39.30; Mon, 20 May 2019 02:39:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=orGKLIRO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730785AbfETIOX (ORCPT + 99 others); Mon, 20 May 2019 04:14:23 -0400 Received: from mail-yb1-f195.google.com ([209.85.219.195]:37881 "EHLO mail-yb1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727108AbfETIOW (ORCPT ); Mon, 20 May 2019 04:14:22 -0400 Received: by mail-yb1-f195.google.com with SMTP id p134so5359387ybc.4; Mon, 20 May 2019 01:14:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=b1Nie3BHb8c5BThPo1teBTJYFUp/LwJ6jQaWfDHPCns=; b=orGKLIROZ7tGEQuodcexsNLM/J7Eloft4Fij9jIp16hMPAhZ/+C44L3zyBKn3OBND7 rFWx1HZgVkLm1nv2wVExi1d65uJd1Dj/1xW8fhhncmsLJNb/32cM/afhGqy80DCctZdi vHoM569tfWfq+9yliuVCVdrgF8b7MtVPfFEv1HRZ4WQZBL2Mq4Rv+t6KTswgzh7zNT4B z4IUQ7aFfppvp3suIYgI8jxrllUNpDaVEBp/wYa/HZqQBVeRcMSXPS4E9kE9sp23ICM1 BJz5oSRwzpmxzvC8HsX0sRq8jTJhK/UBkZS9E3bkgRDcJ/PNrN8coDtyP/RnAWL027p5 oHBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=b1Nie3BHb8c5BThPo1teBTJYFUp/LwJ6jQaWfDHPCns=; b=HhktVUhTE+BkcGYE1hNl5kkQNvk6HbxCogHbBZfo3hZM2CtEwmYUSRh4qkgF/PsYV3 XWAwAMitEMXLtsHAAOyPaPqzlf/BkalpeHf+yoTQeuFbxQfNqnKMX/TFJwYj/kFVoCn7 tGCuRhqxmayIv0gq4da0bGpyPwuyL6Hn51tV5LrsewJcOCNhuKsx87U9OvxssAyad7ED Xx0Z6mc0/C40UXOzhFouy9uLolUjYrq9uR/YO8gcwjUUjGUroe8R9mLkmfmfa7wnXLvS l4XWlSB4tcy8qxhej+tLWwtHjQ8/tg5j78a2q8K1I/q5M6r3RvW1PqRinfuofUd0O+PQ qn9A== X-Gm-Message-State: APjAAAUykV6kWojHH/KWL7M+KTdcLj+P2M98KyAt4ee2NXvVdq/ARoVV ohgTya18AIZ3vnr4lyIhOkJTr1LAL9ocAR5kENk= X-Received: by 2002:a25:10c2:: with SMTP id 185mr32216064ybq.379.1558340061612; Mon, 20 May 2019 01:14:21 -0700 (PDT) MIME-Version: 1.0 References: <20190518152355.11134-1-peron.clem@gmail.com> <20190518152355.11134-2-peron.clem@gmail.com> <20190520073529.nxptfbibexrqyzfi@flea> In-Reply-To: <20190520073529.nxptfbibexrqyzfi@flea> From: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= Date: Mon, 20 May 2019 10:14:10 +0200 Message-ID: Subject: Re: [PATCH v3 1/4] dt-bindings: watchdog: add Allwinner H6 watchdog To: Maxime Ripard Cc: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Chen-Yu Tsai , linux-watchdog@vger.kernel.org, devicetree , linux-arm-kernel , linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maxime, On Mon, 20 May 2019 at 09:35, Maxime Ripard wro= te: > > On Sat, May 18, 2019 at 05:23:52PM +0200, Cl=C3=A9ment P=C3=A9ron wrote: > > Allwinner H6 has a similar watchdog as the A64 which is already > > a compatible of the A31. > > > > This commit sort the lines and add the H6 compatible. > > > > Signed-off-by: Cl=C3=A9ment P=C3=A9ron > > --- > > .../devicetree/bindings/watchdog/sunxi-wdt.txt | 10 ++++++---- > > 1 file changed, 6 insertions(+), 4 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt b= /Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt > > index 46055254e8dd..f4810f8ad1c5 100644 > > --- a/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt > > +++ b/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt > > @@ -3,10 +3,12 @@ Allwinner SoCs Watchdog timer > > Required properties: > > > > - compatible : should be one of > > - "allwinner,sun4i-a10-wdt" > > - "allwinner,sun6i-a31-wdt" > > - "allwinner,sun50i-a64-wdt","allwinner,sun6i-a31-wdt" > > - "allwinner,suniv-f1c100s-wdt", "allwinner,sun4i-a10-wdt" > > That sorting was kind of intentional Arg indeed, I will remove it. > > > + - "allwinner,sun4i-a10-wdt" > > + - "allwinner,sun50i-a64-wdt","allwinner,sun6i-a31-wdt" > > + - "allwinner,sun50i-h6-wdt","allwinner,sun50i-a64-wdt", > > + "allwinner,sun6i-a31-wdt" > > Is there a reason to keep the A64 compatible? Yes, A64 and H6 has the exact same memory mapping looking at the datasheet. So if there is an errata or a new feature for the A64, it should be also compatible with the H6. Which is not the case with A31 (WDT_KEY_FIELD is not preset) Thanks, Clement > > Thanks, > Maxime > > -- > Maxime Ripard, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com