Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5598595rwd; Mon, 5 Jun 2023 06:07:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5rr6uTRKW0DBzZg59GH2uc7ipcHg4608ek/96cu+58I4ij4GwGFwUMw/Mt02KlsES7i/Hi X-Received: by 2002:a17:902:bd4c:b0:1ac:63ac:10a7 with SMTP id b12-20020a170902bd4c00b001ac63ac10a7mr2303660plx.68.1685970473935; Mon, 05 Jun 2023 06:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685970473; cv=none; d=google.com; s=arc-20160816; b=QGWT9B0lhBR4/0Uc6pYSI7JlVwfgcNh7fQCoGmOGYG7cp2QZGL/siZXcghyFbuxrRm oBbthRPee5HyKyL0ACj8PnSGLuTW7sGziC5irvRWsEPHpdjy7vb5uKW3GGk8EKGTDKo0 TpRz+tLcgbOewAz7iz0C/QyZKUiqK8ajXG6Dfzdvb5jHNhGrBGGZg6Q6/CQLi5M2/JGG HoeKP+bXGcsIH7e3VvJDPCNyxSegW2X8PBLtZ+LKY7Qv2SBvL6DieMDUKx17jPgVW1Po fTN80zWkKkyTGFybi4pk6hteG790D0OHvXr9kN82zVyRfFNe2z5CKpL1f+qdUJdRrxjY EYDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=XaYg5AOhYoVa0L0g2dh42zp9RTvvHnBH99GNbp/QbKY=; b=F+5hQ4YMtyUj9ganJS6/nwcwZ4MD9QrfqmvI6zA8b6vhOUf76tuVCLttkOeuf1FHQa 8O8n+jDiOMmVD5YXLBUEdh+/lS0Eu8sT0vc9BXirElYi753hYkRnTDCDkE9mvcX/nsh2 9GJUuZp8RBTl6k5ln9N8Wx+zZfrOWBwoB6Pz3TIDJu7uzACPjTpZ4cfvgN5iZI21CqBq BPbAQr5fYWylHr/WPgMkH37V0AksRweCuGtZePUMmpX+OipxG0jTeTjAZU/iZHMzAHZD kQ83As/DAwjh2Qy78C3UsfLoVkGsYdMyuPKYBaBrV8gURYkUdsTStYCDNNcL0/QJFRXH 2FHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=zmW1Kfnz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a170902e84400b001ae5fe35b78si5669625plg.497.2023.06.05.06.07.39; Mon, 05 Jun 2023 06:07:53 -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=@microchip.com header.s=mchp header.b=zmW1Kfnz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232634AbjFEMiN (ORCPT + 99 others); Mon, 5 Jun 2023 08:38:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233352AbjFEMiB (ORCPT ); Mon, 5 Jun 2023 08:38:01 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FD0BE8; Mon, 5 Jun 2023 05:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1685968659; x=1717504659; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=3qZ9HUtKkrRCZ6pttiD0fABhp7XxMD/NZypAKra7/nI=; b=zmW1Kfnz/9WtSOdbRyawwHs2gtEfcqGeiDRpMbQBIJ2tXpjm5EVKXcak Y18LYJvj6suBFaecX5AM5hePEvHNJdha+12pOP9NIqqYeHGoOuJiuNIs2 Mep7Dl3Y6irMvPZvYyDQXbzBy8CB3Qk5SF+cwSkm/YAzEonZiI+9JiR4t EzT7E5e53ItTOnfLZz10DaBATcqmPDjvHqOeBsp+S0KHeAutJqjXcXAI5 sTwWxt6TRtDKrQ76exmV8u7lueTj1eCed5fB2HGtpPQ5m9MllG85pmJ2+ baYFWNB93/LCMk+OSAs1myPFyCqGoYz8ZtvdnYGlwKJG7NGS4Ot837LVR Q==; X-IronPort-AV: E=Sophos;i="6.00,217,1681196400"; d="scan'208";a="216851473" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 05 Jun 2023 05:37:35 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 5 Jun 2023 05:37:29 -0700 Received: from [10.159.245.112] (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Mon, 5 Jun 2023 05:37:23 -0700 Message-ID: Date: Mon, 5 Jun 2023 14:37:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 15/21] dt-bindings: irqchip/atmel-aic5: Add support for sam9x7 aic Content-Language: en-US To: Conor Dooley , Arnd Bergmann CC: Varshini Rajendran , Thomas Gleixner , Marc Zyngier , Rob Herring , , Conor Dooley , 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 , , , , , Netdev , , , , , , , , , , 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> <4d3694b3-8728-42c1-8497-ae38134db37c@app.fastmail.com> <20230604-cohesive-unmoving-032da3272620@spud> From: Nicolas Ferre Organization: microchip In-Reply-To: <20230604-cohesive-unmoving-032da3272620@spud> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,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 Arnd, Conor, On 04/06/2023 at 23:08, Conor Dooley wrote: > On Sun, Jun 04, 2023 at 11:49:48AM +0200, Arnd Bergmann wrote: >> 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 > s/penally/perennially/ > >>> 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. Yes, That's the case. >> 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. This is what we did for most of our SoCs families, indeed. > If it is the case that what differentiates them is having bits chopped > off, and there's no implementation differences that seems fair. Ok, thanks. >> 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. This is exactly what we did for sama5d29 which is not the same silicon vs. the other members of the sama5d2 family. We used the more specify sama5d29 sub-string for describing the changing parts (CAN-FD and Ethernet). >> 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. Yep, I understand the risk and will try to review the compatibility strings that would need more precise description (maybe PMC or AIC). > Ye, seems fair to me. Nicolas/Claudiu etc, is there a convention to use > the "0" model as the compatible (like the 9x60 did) or have "random" > things been done so far? sam9x60 was a single SoC, not a member of a "family", so there was no meaning of the "0" here. Moreover, the "0" ones are usually not the subset, if it even exists. So far, we used the silicon string to define the compatibility string, adding a more precise string for hardware of family members that needed it (as mentioned above for sama5d29). >> 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. > Aye. Yep, agreed. Thanks for your help. Best regards, Nicolas -- Nicolas Ferre