Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3634936pxb; Fri, 4 Feb 2022 12:56:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwiVxpr5vApDVIr6pOx/c6MmSENywwwUS9gIfBd0y9hoPjdOyld2xBeSdjNPvMCUqtlUwSw X-Received: by 2002:a05:6402:12cf:: with SMTP id k15mr972056edx.299.1644008182232; Fri, 04 Feb 2022 12:56:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644008182; cv=none; d=google.com; s=arc-20160816; b=e8cWGVdz/z28lMqfu41hQbGBVn+BUBxFVKjYTtwRZ+f+H7EbOv61tYJIcTyBZaRWS1 bVagoZjUPokNpBad/bCQ6TyNx+wDwhIXOwKiCr8MTh5N/S9knbnfVokttrhH5oK6lxK4 0MrLMWX+8OMEWnBP0EPYsNDuy8OXDJ2xArDDNrtgUFVI88WUOV9FJSDM5Ze2tKUOwcqg f34W2fHET7QsttX1/wdZhjm9twTk3ftOUgu/HJKnHOUpy0o1R01savox9zSffMMd0crf oyl4Q2uUmV1NzeCg10UZCNMVYkRQgEPZA2nh19IPkygNpSOcKn0qJZEZBTjx/7brlH8R phSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GeZ3RTrEGPyDxaCxWgqBxzeCFQNbWVTVIwN4+w/oDeM=; b=JwST/0saviRYIzOKjfDpQ3kJH3IiiGGM+QoR2Qx+/1hfjmB6axqN475Ldmjnimdm5A NsIcdI8ODdTWOsimHz7bbqfOpGGlB9un3Wu5EAwm7kfC1k2GgC3T2o08ymSgU5jvtDZA 4evLD84kHn6uvZnb+fxugj6BVwNB8j25jrSIniUKIO7uV5wqjsZZsNRtI9LuzkHU5o/N jcv4SI/e0NcR1ZThpsPicgEW55snJSGksYtIp2zC3v6wRHuBTTxJSD5nLtIe+1SKIx15 yqRpAeyTMKCmWhYFbN2DVq9LItNtP2+X5S8twBDUfp35D+7ogMe7JO4GVYyButVmCgve JnAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=CuXaJ2xo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb35si1948140ejc.871.2022.02.04.12.55.54; Fri, 04 Feb 2022 12:56:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=CuXaJ2xo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357795AbiBDJqQ (ORCPT + 99 others); Fri, 4 Feb 2022 04:46:16 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:56577 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242703AbiBDJqP (ORCPT ); Fri, 4 Feb 2022 04:46:15 -0500 Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 3A04324000D; Fri, 4 Feb 2022 09:46:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1643967974; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GeZ3RTrEGPyDxaCxWgqBxzeCFQNbWVTVIwN4+w/oDeM=; b=CuXaJ2xofz/y/RuNSua2NOHdaZ5uD8u78AmLi3uWgejx5P1SFkDnTyRjvK+4E1g24BXS8O InIVqhWzGfZHtJIdUbssUyEtbNJ+OPc7TM7xx5mGjE/d/TKaK11ecaMAAop7AMT5NpkKBK hNoss69P2NEhe2dJ5jA5ZKZumDCLFX/jCbkYDQGAt6++ICajuVh43Z7n1N/By8RxSlsaGb z7wtwhZQjnhFQiI5GH7wkwzqdHT5TtrKzZ+1kNg8msxsVJaEmiP50NCQLhWezjaOpGkcSm vD4BURSzPIfamySBh0Hz4Iy873bo57P/nDiyCJie5DcFXoHngSwOHRkyau+bsA== Date: Fri, 4 Feb 2022 10:46:14 +0100 From: Alexandre Belloni To: Eugen Hristev Cc: robh+dt@kernel.org, nicolas.ferre@microchip.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, clement.leger@bootlin.com Subject: Re: [PATCH] dt-bindings: microchip: atmel,at91rm9200-tcb: remove mandatory interrupts property Message-ID: References: <20220204081446.474991-1-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220204081446.474991-1-eugen.hristev@microchip.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/02/2022 10:14:46+0200, Eugen Hristev wrote: > The timer block can be used only to be read and to measure time in a polling > fashion. This can be used by Linux like this for example, or it can be used > by different projects which do not have interrupt controllers, or do not > wish to enable them (e.g. U-boot). > As DT is ABI, the binding should relate to all possible use cases and describe > the hardware and the requirements. > The interrupt is not a hard requirement for the timer to function in a > specific way. > Thus, choose to remove the interrupts property from the mandatory list of > properties. > The correct hardware description is that the interrupt is present on the IP. Having software behave differently depending on the presence of that property is configuration, not hardware description. > Signed-off-by: Eugen Hristev > --- > .../devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml > index 597d67fba92f..27f78459b892 100644 > --- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml > +++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml > @@ -134,7 +134,6 @@ allOf: > required: > - compatible > - reg > - - interrupts > - clocks > - clock-names > - '#address-cells' > -- > 2.25.1 > -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com