Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1726757ybm; Thu, 23 May 2019 05:58:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzD0gW1/xYC5Ejb2AXye6lPC30AoK6Oops/1nK4UUCAv6kiNa/P7u0s8Sp+CAJiQfSproXw X-Received: by 2002:a65:550b:: with SMTP id f11mr96624020pgr.311.1558616320616; Thu, 23 May 2019 05:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558616320; cv=none; d=google.com; s=arc-20160816; b=Vb4S6xANfkDNARIqsxh+SefBqOrBoj6Hp3A4G6wKquWDY93Lez/8YN7PqG4NZsJJ8n w7Us5u1fHFCee6sL0RkIM6sxTt8NYsKWBKp3t095cvpYeSuSyCf6Ywn0xWNZPuD7m741 ySR1ySAzog3x2xG4j2U4W/1tEO2z7bQRAayDO1EHXNKLBU9yQVM262N3naV2A2Ak5gC8 LRYbEs2K6jSdHgL2Q8USWrszAo75GiGm8nU3wy31K76VB63iUYbad6yUG27+CbMRzJrG C5dErnWVVB1ouIP2UEBfEpO8zSbaH2RbdhPDew4aJKccqRXACQ/3ClwQETenmU52I5c/ 6qvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=d/zINf63e405PLPZh+c+9JYYQk1ltxCO0XerpdZ+l3w=; b=eGmkQWUfa2Y2AAmP5WdceDSwMuh+A3Am/a4wqihm6iUTj6NdXyTHly7GvK6eRavOEa t4bYfK5JabjFDSYrSFVcmiOZShT6y+KJEvK3X2/DBwQwHnG9IghNQF3nvHzNTcuNSE5A JHTFloWRiAtXHumYHXi8OTUUfZvnmHWabDkM7q3JIhpNS/Xnh+FMKxo50GjXgXWX9mq+ SZha+ZzPds2X0HbLRpTGPEEeK/JthkgYWk0yZPwv9xQwYXmLoomPvoMkbU3Q9NW5j/ur ysDuxJ40+JKN8i95r+2fn6EYdNeAsbzu9sxnW9OA3U05CSVFXizT32twALFNNin3hDPj 2xsw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15si29650954pll.40.2019.05.23.05.58.25; Thu, 23 May 2019 05:58:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730560AbfEWM5V (ORCPT + 99 others); Thu, 23 May 2019 08:57:21 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:45715 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbfEWM5U (ORCPT ); Thu, 23 May 2019 08:57:20 -0400 X-Originating-IP: 90.88.22.185 Received: from localhost (aaubervilliers-681-1-80-185.w90-88.abo.wanadoo.fr [90.88.22.185]) (Authenticated sender: maxime.ripard@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id CD843C0010; Thu, 23 May 2019 12:57:16 +0000 (UTC) Date: Thu, 23 May 2019 14:57:16 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Chen-Yu Tsai , linux-watchdog@vger.kernel.org, devicetree , linux-arm-kernel , linux-kernel Subject: Re: [PATCH v4 3/5] dt-bindings: watchdog: add Allwinner H6 r_watchdog Message-ID: <20190523125716.g4euwplfsvw4vqzl@flea> References: <20190521160330.28402-1-peron.clem@gmail.com> <20190521160330.28402-4-peron.clem@gmail.com> <20190522103243.mmrfato5p2mhtf4j@flea> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wdtcxmlg6dhvhpqj" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --wdtcxmlg6dhvhpqj Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 22, 2019 at 06:15:26PM +0200, Cl=E9ment P=E9ron wrote: > Hi Maxime, > > On Wed, 22 May 2019 at 12:32, Maxime Ripard w= rote: > > > > On Tue, May 21, 2019 at 06:03:28PM +0200, Cl=E9ment P=E9ron wrote: > > > Allwinner H6 has a second watchdog on the r-blocks which is > > > compatible with the A31. > > > > > > This commit add the H6 compatible for the r_watchdog. > > > > > > Signed-off-by: Cl=E9ment P=E9ron > > > > Unless you have some evidence that the two blocks are different, then > > you should just reuse the same one. > > I have no evidence it's different nor identical, it's not documented > in the user manual. > I thought it would better to have separate bindings in case there is a > difference. > Than don't have and find later that we have to introduce one. It's a tradeoff. Pushing your logic to the limit, we would have a compatible for each controller embedded in an SoC. This would be unmaintainable, and slightly useless since that case is very unlikely. However, having differences between SoCs is quite common, hence why we have different compatibles for each SoC. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --wdtcxmlg6dhvhpqj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXOaYrAAKCRDj7w1vZxhR xUPnAPsGJnjqxtkcj8BFHo1UbY6rBrhE114RafzPUtXuJD8o4QEAmWfFGwayxZZ0 63T2ZEyt/CbXZE9fTnSFpRsi3BkzQA4= =Frvc -----END PGP SIGNATURE----- --wdtcxmlg6dhvhpqj--