From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD66FC433F5 for ; Fri, 11 Feb 2022 14:23:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FfcRofJ0h5SP2cRxKNGG270vKQNnWlz8xLg1OepgRnw=; b=Lo1ZFCUUB9pGPd qnB7jJV2g27F6ZngiprrUeQCBRakTsU8J5uU+zsucqX1mM8mwwbapfRaNXnQ6IFsQTI4j3R/zgQwD bIJ61Zn5omzoQPtX7Bw0Huj4yfPIT8EnhEZ8Pv+mll0B3PWFOuAGBW7DBOCtCD4pGJaku2nDj9JMk KjJ+nMx1Dyj+/mgeaPiGR0eQeJs4GQzstYGSiadq81VOfYPOzgO7mC22NzPZxmnTG1uq2vd0Q3fqe 9F3KGCdk4kOcCkTHUIRgQaVgqAEMq+c9/4QHWXFwNHEnpOkN24P6AYJTORECEJokFJgkBgqXrniLq KyXqnKGSyOUywDXhQfnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIWoA-007XBt-Te; Fri, 11 Feb 2022 14:21:59 +0000 Received: from mail-qt1-f180.google.com ([209.85.160.180]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIWo7-007X9H-3z for linux-arm-kernel@lists.infradead.org; Fri, 11 Feb 2022 14:21:56 +0000 Received: by mail-qt1-f180.google.com with SMTP id l14so9118101qtp.7 for ; Fri, 11 Feb 2022 06:21:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=hs6Ap8pvv6rLiNRkR68HWZ4eW38QIARNwTh1k3Vr+zU=; b=g7f43IGNFdjrRFcl1IVcp3zVSuUqkOP88Sx4uHDL8Ne07+EfQVMnLIv0E/uX7qGHuB yo6vRRryFbKy8NkwSFYI2kQoiHPHsDkdKH6OlObL1S4RV1tBUixeFDV3eS7zcKD7lAy5 2xEgWcCwIBXNWov/YXc8mTmHhNfy6x3GCdV7TVnhkhPd17ZSidk3t1gU61jT1seBPPh1 mjqzcgP7rtbiXZ2WiL6ZfwH6aeuJYcsE02q6le7a6k7RDt+xBIS5uwnDU8xB+bIQlbap DbDN3tmUsc8xNsJe+p3wbE5KXDAAkEinSgrVcK5mPF30DXQrHtn+znw5OXUnyp1x8lbE pTLQ== X-Gm-Message-State: AOAM530C/ULb4o1IcDbNOsHPUHCr6FNKYOFRBJJSNPrOiZ69N15gensT sQp1HYnf0nzBKyBBppLFOab32Cx/uw== X-Google-Smtp-Source: ABdhPJx8w0KDh1IldBQXPmdd2nBRtR+3S0tWLeJdA7L6Xc1qSyZsVZjBlhAUfAptuOPx1AI6ExN57A== X-Received: by 2002:ac8:5b94:: with SMTP id a20mr1230049qta.270.1644589312029; Fri, 11 Feb 2022 06:21:52 -0800 (PST) Received: from robh.at.kernel.org ([2607:fb90:20d7:a802:e6b0:6d9c:32f7:4bd9]) by smtp.gmail.com with ESMTPSA id t11sm6372671qkp.82.2022.02.11.06.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Feb 2022 06:21:51 -0800 (PST) Received: (nullmailer pid 304856 invoked by uid 1000); Fri, 11 Feb 2022 14:21:48 -0000 Date: Fri, 11 Feb 2022 08:21:48 -0600 From: Rob Herring To: Alexandre Belloni 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220211_062155_171208_C227E00A X-CRM114-Status: GOOD ( 27.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Eugen.Hristev@microchip.com, clement.leger@bootlin.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Feb 04, 2022 at 11:36:02AM +0100, Alexandre Belloni wrote: > On 04/02/2022 10:28:43+0000, Eugen.Hristev@microchip.com wrote: > > On 2/4/22 11:46 AM, Alexandre Belloni wrote: > > > 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. > > > > I agree. The interrupt is present on the IP, thus the property exists > > and it's described. > > However, the interrupt is not mandatory for IP operations. Thus it > > should not be in the list of mandatory properties. > > > > If the interrupt is always present, it is mandatory, it doesn't matter > whether is is used or necessary to get the IP to work. Agreed. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel