Received: by 2002:a17:90a:2044:0:0:0:0 with SMTP id n62csp526906pjc; Mon, 20 May 2019 11:16:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzN5YBcIC6kKm1Ha6KtqpXR4Y98wDBVU/I1Ie0kXqErlfHwCihj+5pU85WIbwAkepdBlE7E X-Received: by 2002:a63:441c:: with SMTP id r28mr77100347pga.255.1558376176708; Mon, 20 May 2019 11:16:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558376176; cv=none; d=google.com; s=arc-20160816; b=QfBgJSfhiwB68zbF+B9PFs+rWHGJqtjBOIJHuPt1I4Alp5oIrOT2W2/e8ZEs5yNoa9 Xe/t6Aj9PNWnORgdakeJvfMN4bRC2aUdK6c1SOd2sUQZHB/kGOePk2hCCSXmBXmwrwhb Fpok3AmAGSLnbUPfUpCNRp5+6ihkq4xsEzFpSSABi8mkVLyihqOXBwYYTpJPL0zKazTU pFsK5VFb0nLonnfMBTbHcA6FamnGANyHQ6ramzeswyexYBXPbbWYiadMeulNsYn1AYDP CrZY+8zucIgFW3apnOdHIBZUrcJIzYyMOuGw80tPsjXU/8AxwTeVB+4FKfH28Fu4lS/4 Tijg== 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=39pc0LYY2SOLC+Eab1jH/LHKWZC4F4vmwoS5+aTUN+8=; b=qpT1btbniTQaxnwBRPgREIvDVAdr4VTSIsU3ov6D7wnUxcs8d1XBeFm36tjjNPCSJ4 WWx5AuEclySIjGNGYahS/8Oi1/TnYhDX1ktVImVuZToQHR4GfItKNRpjfmfuez9bmsYZ UEinDw80YPYfVBLiBXEQnhkdzSoUT0LSyLYmo+3cU/U9C1StpA6FjX5gH/fR4UmKTZ4I HvYsg/9pN/1wd2fPpJ0TLruLxvaIYuRIfdBmv3xQemdAmhstU3X4RO0UDEixOhBQjjEw Uv5RxUTQUScrEBqpaldtx36SCJIaCAF/DEMcWYi6vAE7JhQuA/5tqMHFke2IvMVhdMqs tSSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FRzFebtG; 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 l186si808414pge.538.2019.05.20.11.16.01; Mon, 20 May 2019 11:16:16 -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=FRzFebtG; 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 S2387778AbfETPQi (ORCPT + 99 others); Mon, 20 May 2019 11:16:38 -0400 Received: from mail-yb1-f194.google.com ([209.85.219.194]:34656 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730475AbfETPQi (ORCPT ); Mon, 20 May 2019 11:16:38 -0400 Received: by mail-yb1-f194.google.com with SMTP id v78so5838975ybv.1; Mon, 20 May 2019 08:16:37 -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=39pc0LYY2SOLC+Eab1jH/LHKWZC4F4vmwoS5+aTUN+8=; b=FRzFebtGvRzGumqr5/EOZMft8/BWyHD6J6b4Z9ZwYcf9Sle5L3/dS0JH8ZFX9ODkm/ cZF4ZKffFotK/pNY52v4dL69ZDldsGJ1oZVQtNMPkHuPjkovD6x3wvOWtx/toYy7SsJ7 DOpNjJA6rgc3vK52YLl+aQqPuOs5L2Mcu0rpk70QWwQs5WTExgBaG+TnapM/U9FHgNGM u5wb2zy0aHDXNwvCMkvTzy6K6M8KqpRlrIstB8TMcDkkV83MBWFQVTnWKxH6bpZdlAZb hkGTvHaKocyyQsV9f1UN915n+tYk9S15RMUFJx0ryNZ1zCDAL8a2g3w+Lgahs7JV4dv9 pWVA== 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=39pc0LYY2SOLC+Eab1jH/LHKWZC4F4vmwoS5+aTUN+8=; b=GX9UCLo9JhL81le64zPePhagGQCAmzmsb1H2W7A4vQ906OIgRm/kgnSQNwlWDAtkD3 K0NhiY3DuSBL2nHijItvtpGpNAbkaIMBreG1jhjIjMQeuNFVOYHch4dZ43qdMUHQ1UgD sld/+ty7egkSXHsMKuKjbRldIkv2gL3RrxugfjNDAhNAzv2/bI/vJyUkagaanrePHce3 49xtyd0ZSpmtvcG/Qq74tzLb2d/1qj9O8PIFcVcyWuH3uZPgyLfJBQItiJzZBh7f0Ngx A4v1eZLE+zFItuzAbCoBC80PcjjsPyYP/7jpZLhZqfDS9XMJY4dmmHcl8YHkVnFHojwa ef8w== X-Gm-Message-State: APjAAAUTvOC8Vg4UIWTwMGf1jnkWyiHjVQKfA7g8cVayCKphuH7dKujJ 7uCacUBLg+6ZpV7QJR/AaNAbbU50b1ESjhAejdOs84TVVIc= X-Received: by 2002:a25:10c2:: with SMTP id 185mr33170384ybq.379.1558365396955; Mon, 20 May 2019 08:16:36 -0700 (PDT) MIME-Version: 1.0 References: <20190518152355.11134-1-peron.clem@gmail.com> <20190518152355.11134-2-peron.clem@gmail.com> <20190520073529.nxptfbibexrqyzfi@flea> <20190520144258.eauhvvwfxuhiczie@flea> In-Reply-To: <20190520144258.eauhvvwfxuhiczie@flea> From: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= Date: Mon, 20 May 2019 17:16:25 +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 On Mon, 20 May 2019 at 16:43, Maxime Ripard wro= te: > > On Mon, May 20, 2019 at 10:14:10AM +0200, Cl=C3=A9ment P=C3=A9ron wrote: > > > > > > > + - "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 datash= eet. > > 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) > > The thing is, if you use those three compatibles, then you're saying > that it's ok for the OS to use first the H6 driver, then the A64 > driver, and then the A31 driver. > > If the A31 isn't compatible, then it shouldn't be listed there. And if > it is, then you can skip the A64 compatible. Hi Maxime, I'm just supposing that A31 is the version 1.0 of the IP, A64 is the version 1.1 and H6 is 1.2. And if an issue is found for A64 there is more chance that we will have to fix it also for H6. But bindings the driver with : "allwinner,sun50i-h6-wdt","allwinner,sun50i-a31-wdt" is also fine for me. Regards, Clement > > Maxime > > -- > Maxime Ripard, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com