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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DEB6C433FE for ; Sat, 11 Dec 2021 12:49:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230085AbhLKMtS (ORCPT ); Sat, 11 Dec 2021 07:49:18 -0500 Received: from sibelius.xs4all.nl ([83.163.83.176]:54264 "EHLO sibelius.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229668AbhLKMtR (ORCPT ); Sat, 11 Dec 2021 07:49:17 -0500 Received: from localhost (bloch.sibelius.xs4all.nl [local]) by bloch.sibelius.xs4all.nl (OpenSMTPD) with ESMTPA id ce912b4f; Sat, 11 Dec 2021 13:49:14 +0100 (CET) Date: Sat, 11 Dec 2021 13:49:14 +0100 (CET) From: Mark Kettenis To: Hector Martin Cc: robh@kernel.org, tglx@linutronix.de, maz@kernel.org, sven@svenpeter.dev, alyssa@rosenzweig.io, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org In-Reply-To: <8c099fc2-a319-7c80-3053-ed2b39b86835@marcan.st> (message from Hector Martin on Sat, 11 Dec 2021 21:28:10 +0900) Subject: Re: [PATCH 1/6] dt-bindings: interrupt-controller: apple,aic: Add apple,aic2 support References: <20211209043249.65474-1-marcan@marcan.st> <20211209043249.65474-2-marcan@marcan.st> <8c099fc2-a319-7c80-3053-ed2b39b86835@marcan.st> Message-ID: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Hector Martin > Date: Sat, 11 Dec 2021 21:28:10 +0900 > > On 10/12/2021 02.28, Rob Herring wrote: > > On Thu, Dec 09, 2021 at 01:32:44PM +0900, Hector Martin wrote: > > >> + - if: > >> + properties: > >> + compatible: > >> + contains: > >> + enum: > >> + - apple,aic2 > >> + then: > >> + required: > >> + - apple,event-reg > > > > Is this property valid for aic1? If not, you need: > > > > else: > > not: > > required: > > - apple,event-reg > > > > Thanks, I wasn't sure how to do this. Took me a second to realize how > the logic works here, heh. > > > > > I tend to think you should just make this a separate document. There's > > not a whole lot of sharing (compared to any other interrupt controller). > > Good point. I just kind of defaulted to this way because the driver is > the same (and does share a bunch), but indeed the binding doesn't really > reflect any of that. I'll split it off into another document for v2. > Might as well make the 4-argument interrupt form mandatory then (we use > it for all DTs, even the current 1-die machines, on AICv2 SoCs; the > driver can handle both but we might as well be stricter with the binding). Simpler that way, so I'd support that. 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 E8295C433EF for ; Sat, 11 Dec 2021 12:50:51 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-ID:References:Subject :In-Reply-To:Cc: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=k1scqyMEvFzv/rIIYVdIZyMr5W/UxGTAPnbUrxbpt5Y=; b=AscjsnmVUg91vw mggmQeP61HrcJZtPgH9foFt060DBs1Tt0tL6qd31vq8cmrij+8S3hEvtEBRxaI4dEMabxe/1V0r97 WY+Fw+PFhHFoksLHdIGg1HRqeDHHKJ20sE1f2wShznBnB1wT8/y619AXX9bQFnPfxfvub+IGJrtSz AvILqDMKOpyEYftMFWPqgXbNSb5UtyE/hjd3oSQa6kk9oYVHHCLby29wLy0IZYL30S04Lo3sd7H0M G306zLrliEoEM7qfApkhxE5DtHXYFiI4u7tpBRm5yXawjWPLEo4Fh0EEAJNwntHUbiy6Z0vfh7zJK y9JCO5fokMDmorZIwMjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mw1oe-0051jI-Iy; Sat, 11 Dec 2021 12:49:28 +0000 Received: from sibelius.xs4all.nl ([83.163.83.176]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mw1oZ-0051hJ-C9 for linux-arm-kernel@lists.infradead.org; Sat, 11 Dec 2021 12:49:26 +0000 Received: from localhost (bloch.sibelius.xs4all.nl [local]) by bloch.sibelius.xs4all.nl (OpenSMTPD) with ESMTPA id ce912b4f; Sat, 11 Dec 2021 13:49:14 +0100 (CET) Date: Sat, 11 Dec 2021 13:49:14 +0100 (CET) From: Mark Kettenis To: Hector Martin Cc: robh@kernel.org, tglx@linutronix.de, maz@kernel.org, sven@svenpeter.dev, alyssa@rosenzweig.io, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org In-Reply-To: <8c099fc2-a319-7c80-3053-ed2b39b86835@marcan.st> (message from Hector Martin on Sat, 11 Dec 2021 21:28:10 +0900) Subject: Re: [PATCH 1/6] dt-bindings: interrupt-controller: apple,aic: Add apple,aic2 support References: <20211209043249.65474-1-marcan@marcan.st> <20211209043249.65474-2-marcan@marcan.st> <8c099fc2-a319-7c80-3053-ed2b39b86835@marcan.st> Message-ID: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211211_044923_758281_2F9BC792 X-CRM114-Status: GOOD ( 14.31 ) 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: , MIME-Version: 1.0 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 > From: Hector Martin > Date: Sat, 11 Dec 2021 21:28:10 +0900 > > On 10/12/2021 02.28, Rob Herring wrote: > > On Thu, Dec 09, 2021 at 01:32:44PM +0900, Hector Martin wrote: > > >> + - if: > >> + properties: > >> + compatible: > >> + contains: > >> + enum: > >> + - apple,aic2 > >> + then: > >> + required: > >> + - apple,event-reg > > > > Is this property valid for aic1? If not, you need: > > > > else: > > not: > > required: > > - apple,event-reg > > > > Thanks, I wasn't sure how to do this. Took me a second to realize how > the logic works here, heh. > > > > > I tend to think you should just make this a separate document. There's > > not a whole lot of sharing (compared to any other interrupt controller). > > Good point. I just kind of defaulted to this way because the driver is > the same (and does share a bunch), but indeed the binding doesn't really > reflect any of that. I'll split it off into another document for v2. > Might as well make the 4-argument interrupt form mandatory then (we use > it for all DTs, even the current 1-die machines, on AICv2 SoCs; the > driver can handle both but we might as well be stricter with the binding). Simpler that way, so I'd support that. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel