Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4356430rwd; Sun, 4 Jun 2023 03:43:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6AbbvUuC+RU3Q750TPvTJHiUB0HT5iwrYf91a++TTM6mKE4fj0wKLIoA4o7N9d5H9FJayQ X-Received: by 2002:a17:90a:3e47:b0:255:3f6f:2c6 with SMTP id t7-20020a17090a3e4700b002553f6f02c6mr4061241pjm.22.1685875403534; Sun, 04 Jun 2023 03:43:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685875403; cv=none; d=google.com; s=arc-20160816; b=gnnYzA5ZyMDPx/c/KibpVGfoGJ6UtVES57E7qpvvc6qJXO/8EK9miDcWTWkpjWEaxd /WLYapzQ0UxNUeqUgadRFCSuRNv4D5VOaS7IJjQkBL7oGwBNZzh/TcIke3mXicLh8YI9 +nK2RoWRklFk8VOUs7f9K9uuy1lTDJNSTwmvas7a5cypCNNUc0hsxci20lr/U2z34SgV kK4dWQ5pefgDcLeWmVdMLzvLUwOIHM1HDhsEiRXfQOoBrlYHCzUzE6t8NE7NzfGx/kgJ P6PPfE68DHAQX5G2exDfT1CbcyJlb7VKJJsO7R4mXC6PnJNeCLjwMKXKlDVbAwmefjIj zF0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=jBpSfKUu6g0tTh7kun5Pd9yKmiW3zyzac/8DZ01kT8g=; b=CXpWBRSnKiksvrImCXmM5lVsz2g56IssXxPu+CPTd2jTqHjRyxTc6qJ1DzBspPGMgs 83nUr1peGat/CnIK5puBl5F/QQnsw7Xctix4qu3nO/S2JHyoiQoTlGcJ1GelHXMR6BBq QLMs5/rF6TPah9wdCne8thzHbdbCNSacDp8AgfgU1X8Q7sUyDLeTa8UWvyV3abXk5VUT TwOwHH3pvDUW03QJ+IpB7w4a5Y4J8Ax74fMvO6ZZHgTGg4LgqxBaeMVuQilSPyCV5Xq7 n1i7AruLUgSSHvnR1CnxQXnmPHeIRhkw2VyV999Rc3Tg+pP3WVTEyPG76vdvBwDtECip 5yGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=oJbdWX55; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ZJ7ZqSZv; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o19-20020a17090ad25300b002532f02f026si5608145pjw.57.2023.06.04.03.43.05; Sun, 04 Jun 2023 03:43:23 -0700 (PDT) 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=@arndb.de header.s=fm1 header.b=oJbdWX55; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ZJ7ZqSZv; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230346AbjFDJuM (ORCPT + 99 others); Sun, 4 Jun 2023 05:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229635AbjFDJuK (ORCPT ); Sun, 4 Jun 2023 05:50:10 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D60A7D3; Sun, 4 Jun 2023 02:50:09 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 40D975C00D1; Sun, 4 Jun 2023 05:50:09 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Sun, 04 Jun 2023 05:50:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1685872209; x=1685958609; bh=jB pSfKUu6g0tTh7kun5Pd9yKmiW3zyzac/8DZ01kT8g=; b=oJbdWX55eMSWq+02KI fRuMpx1qCk5Z6EmEHNTxJ/9fY1O9EwSkMTJ0U621i8SO5m8hNbXBly2ZdmkI9oBw MrW+rXFBtPKWQsh+eubuTktF8EiAmSymTwSedENUv5rb59onYz30bOXY9y8bbNcx CNCFb5C7bONp4HBlsCF15ahCMTtBrvzger2KL7zbzi0/P4dVidtvdZNnXDMeve38 iha011cuAYIbyFmEzRV0l5GU562mvKRa4u8+ANyRiruCM4SZmDaYfgeNcsKUoZBw wPjSvwinNQm0nLFygzOIAykjVgQ3QwDEV9LLMhqb6lmTyP8AGVr26cF0h3MaGEUE pQ+A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1685872209; x=1685958609; bh=jBpSfKUu6g0tT h7kun5Pd9yKmiW3zyzac/8DZ01kT8g=; b=ZJ7ZqSZvdfTNq4EwCH4RGXcIV6jHU YaAlsG9hRyLfDhtcj1IJZ7irMJmASH/Gp6NrcZWAGwaRDgeZOWWJXEmzurL6YNC6 rSvoHQTxBv+UoQeWX00gR8CoGjM8F/MYP2FS+6m3DkzfTl+3ngVQKecAnedQgxJG qWUQFvcjO/0pwY773+89etlzQweH0IHZ+oIh14pBeg/keoKvGCp4Kx7tpW1HguHK aFHkoGuIka5CUnmTjLJH/nxm2wPH6DUb3sxydGo0TDobkxNZQAMpyQ2P/JMp/KDn ofGvXOUeeV5detfqylU6uuIMpiYWEYi+iwqA4IB0uuMP/s6pBChaMMcww== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeljedgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id AC67BB60086; Sun, 4 Jun 2023 05:50:08 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-447-ge2460e13b3-fm-20230525.001-ge2460e13 Mime-Version: 1.0 Message-Id: <4d3694b3-8728-42c1-8497-ae38134db37c@app.fastmail.com> In-Reply-To: <20230603-sanded-blunderer-73cdd7c290c1@spud> References: <20230603200243.243878-1-varshini.rajendran@microchip.com> <20230603200243.243878-16-varshini.rajendran@microchip.com> <20230603-fervor-kilowatt-662c84b94853@spud> <20230603-sanded-blunderer-73cdd7c290c1@spud> Date: Sun, 04 Jun 2023 11:49:48 +0200 From: "Arnd Bergmann" To: "Conor Dooley" , "Varshini Rajendran" Cc: "Thomas Gleixner" , "Marc Zyngier" , "Rob Herring" , krzysztof.kozlowski+dt@linaro.org, "Conor Dooley" , "Nicolas Ferre" , "Alexandre Belloni" , "Claudiu Beznea" , "David S . Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Greg Kroah-Hartman" , "Russell King" , "Michael Turquette" , "Stephen Boyd" , "Sebastian Reichel" , "Mark Brown" , "Gregory Clement" , "Sudeep Holla" , "Balamanikandan Gunasundar" , mihai.sain@microchip.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Netdev , linux-usb@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, Hari.PrasathGE@microchip.com, cristian.birsan@microchip.com, durai.manickamkr@microchip.com, manikandan.m@microchip.com, dharma.b@microchip.com, nayabbasha.sayed@microchip.com, balakrishnan.s@microchip.com Subject: Re: [PATCH 15/21] dt-bindings: irqchip/atmel-aic5: Add support for sam9x7 aic Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 3, 2023, at 23:23, Conor Dooley wrote: > On Sat, Jun 03, 2023 at 10:19:50PM +0100, Conor Dooley wrote: >> Hey Varshini, >> >> On Sun, Jun 04, 2023 at 01:32:37AM +0530, Varshini Rajendran wrote: >> > Document the support added for the Advanced interrupt controller(AIC) >> > chip in the sam9x7 soc family >> >> Please do not add new family based compatibles, but rather use per-soc >> compatibles instead. > > These things leave me penally confused. Afaiu, sam9x60 is a particular > SoC. sam9x7 is actually a family, containing sam9x70, sam9x72 and > sam9x75. It would appear to me that each should have its own compatible, > no? I think the usual way this works is that the sam9x7 refers to the SoC design as in what is actually part of the chip, whereas the 70, 72 and 75 models are variants that have a certain subset of the features enabled. If that is the case here, then referring to the on-chip parts by the sam9x7 name makes sense, and this is similar to what we do on TI AM-series chips. There is a remaining risk that a there would be a future sam9x71/73/74/76/... product based on a new chip that uses incompatible devices, but at that point we can still use the more specific model number to identify those without being ambiguous. The same thing can of course happen when a SoC vendor reuses a specific name of a prior product with an update chip that has software visible changes. I'd just leave this up to Varshini and the other at91 maintainers here, provided they understand the exact risks. It's different for the parts that are listed as just sam9x60 compatible in the DT, I think those clearly need to have sam9x7 in the compatible list, but could have the sam9x60 identifier as a fallback if the hardware is compatible. Arnd