Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3295260lfo; Mon, 23 May 2022 00:58:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7UQq1BQu6GLZ+81TVL3S/Vmg1/026CiJgED2B4D/PlgYIJW+R6/e9p7BeorwzclaF65Sm X-Received: by 2002:a65:404c:0:b0:3c6:4018:ffbf with SMTP id h12-20020a65404c000000b003c64018ffbfmr19515826pgp.408.1653292700748; Mon, 23 May 2022 00:58:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653292700; cv=none; d=google.com; s=arc-20160816; b=sUBg83E8rkEE1eFvNtVDIzjWU7opHoIWnPe2/bZE6rGNjyWwgIn/W6v3Md1uypKo/p GhFzHl0V9Z98gVgIG37lSvkS+wZFubwubqRNIgzRiS/mgiwtGSBOLhsIGykViPHfUcoC kAKyzEi2a5HDcMkOfbMhGg1j7FRUzE1fxUmAsnqSbBueSeTxZV0AH2WpKMphRO5YwPEW eVg34oMYMp0LFjEOPRNmqoqGrjzZsdQwI+RtcQNx5PdHckOj8wVm7lb7nbhzXdNUe1hY D+7oYb21OZmReaW57Vge90WtBH6LoNOG0tco96DwWIHSCqyPmvVoTxslVpYOgwWtihU/ Xsxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=sM+OQWMMenMdJO9VR7JqvfPNJ36dVqv2du9IbwKv91Y=; b=0bfYFgAr4kjvMfvRcmqyzEmMfXItM8VZJmWzF7mKNG7bZBuZnQh0b1EoDdUj3GLLnF DmMgFtSWLnK7XaWRiHK1/nMDLYk3Fv9OyM8M7mfSujauJuRRhTU1pjyJD854EFEeIJiT kHocmvQD3wfMXSsFmgPRTk7HYWQZqKs4/PtRzXNRiZQcxNdpb06h+Lip0rVsOkus1ulb uNhqXcjurnhEkXBOmzwZrWE3JGWyistZLDSWzg/wZQceo5wci5if1amHf5xKjfdSMjSh BKCC8t+pgHNqlqUIxs+60VJf+tE54htftM+C1KwAUHM/N3uIPyqNZgFyurKejdJKI74X LRRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GYqkhhX9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id hk16-20020a17090b225000b001cb7551c772si14059196pjb.163.2022.05.23.00.58.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 00:58:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GYqkhhX9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3FF3724989A; Sun, 22 May 2022 23:58:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349679AbiETNCy (ORCPT + 99 others); Fri, 20 May 2022 09:02:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230453AbiETNCw (ORCPT ); Fri, 20 May 2022 09:02:52 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3FD91053C9; Fri, 20 May 2022 06:02:49 -0700 (PDT) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 59257100012; Fri, 20 May 2022 13:02:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1653051768; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sM+OQWMMenMdJO9VR7JqvfPNJ36dVqv2du9IbwKv91Y=; b=GYqkhhX9Ravj9OLkpyMQwENtAgyIVKU1s2TSxcGELOwbbLIgP1KvDYQgmETc6+ntlED7F2 Gwk6Lmfpx7++EE+pMxjdgZY6PIOUe4cEgCiWEM18wnF8dJnZbzb+eGlwTmk/ofyZwHEgzD twsN10wNEhd9HJFh3UBM2m1JE89kf61LlRBYXGDvzqcKDczAlcpSBSH7rKok5MzRo3dgpD 7WedWx1CTlj+H3qkGhWC4sXiCcZdRxi0eukArpQDvrd04mT8e6pOI1RNKFVEacoUX/RisY oZvZ42roNURnuYz/BAJ4L2KS9NokcxmLAYRRpZWuYmNN2INs39YX6JUJXQYalQ== Date: Fri, 20 May 2022 15:02:43 +0200 From: Herve Codina To: Krzysztof Kozlowski Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Michael Turquette , Stephen Boyd , Horatiu Vultur , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Thomas Petazzoni Subject: Re: [PATCH 2/3] dt-bindings: usb: atmel: Add Microchip LAN966x compatible string Message-ID: <20220520150243.625723fa@bootlin.com> In-Reply-To: <01b31a02-523e-10bf-3b46-5b830e456522@linaro.org> References: <20220513105850.310375-1-herve.codina@bootlin.com> <20220513105850.310375-3-herve.codina@bootlin.com> <8f0d4127-7e66-cf50-21c9-99680f737e30@linaro.org> <20220520133426.3b4728ae@bootlin.com> <20220520142109.57b84da2@bootlin.com> <01b31a02-523e-10bf-3b46-5b830e456522@linaro.org> Organization: Bootlin X-Mailer: Claws Mail 4.1.0 (GTK 3.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, 20 May 2022 14:50:24 +0200 Krzysztof Kozlowski wrote: > On 20/05/2022 14:21, Herve Codina wrote: > >>> I think it makes sense to keep 'microchip,lan966x-udc' for the USB > >>> device controller (same controller on LAN9662 and LAN9668) and so > >>> keeping the same rules as for other common parts. =20 > >> > >> Having wildcard was rather a mistake and we already started correcting > >> it, so keeping the "mistake" neither gives you consistency, nor > >> correctness... > >> =20 > >=20 > > I think that the "family" compatible should be present. > > This one allows to define the common parts in the common > > .dtsi file (lan966x.dtsi in our case). > >=20 > > What do you think about: > > - microchip,lan9662-udc > > - microchip,lan9668-udc > > - microchip,lan966-udc <-- Family > >=20 > > lan966 is defined as the family compatible string since (1) in > > bindings/arm/atmel-at91.yaml and in Documentation/arm/microchip.rst > > =20 >=20 > You can add some family compatible, if it makes sense. I don't get why > do you mention it - we did not discuss family names, but using > wildcards... Just please do not add wildcards. Well, I mentioned it as I will only use the family compatible string and not the SOC (lan9662 or lan9668) compatible string in lan966x.dtsi. In this case, the family compatible string can be seen as a kind of "wildcard". Regards, Herv=C3=A9 --=20 Herv=C3=A9 Codina, Bootlin Embedded Linux and Kernel engineering https://bootlin.com