Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2609758rwp; Fri, 14 Jul 2023 08:35:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlE6pcBcPATfEtyiso+7DBxDKHDp93SP02lESO0cKl9mFa9qGAMPATb8TYP0RlKiyGl0rY8D X-Received: by 2002:a05:6a20:9184:b0:12f:c61e:7cb7 with SMTP id v4-20020a056a20918400b0012fc61e7cb7mr4495547pzd.51.1689348959269; Fri, 14 Jul 2023 08:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689348959; cv=none; d=google.com; s=arc-20160816; b=BIb3+DeqQQRT8n4MCGgHVxzchKHHxR5RiL2jMpy8ElkaggoOx4DpVYeSIyl/nZ6Mja +IHtqg34XJc4CbgI44BU/SrfgUbfO8VAez7vBlKC7rPUbW/V1VR7TY1Lm33uYG3nbpkV j3sZTqDQH/2mp/OT5M8zlt3HNloUH30C79tZy1ubG0IEAIeiHVHttW95XK7w2Md+c66E mF8c0uvrDLc4jgcz5sUPsGSarRVO0ExmJNJcnGNEaNqIyX1v9S9N1Kyi1JLm3A5E4EgN YybHCyXv3moq6hlMSdMrl/cby7THBxsMsG5DFRrRbX7Zs3en/wVS8VWR12E557Pib+gM IoVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=vE13Y24Uz7RNPLfYV445XBm3XaS4ClkRMeSAYkdZNgE=; fh=mOVoQ+tKRiBcoBmxEQMlvBRPWTLWZuJel/ymJ4HwCPU=; b=lPmUTHZNSHHo7NGdVHX6s9mQs5CQ3stIdCm1RWetKSGjmOLccoqcPWG1Y+1mX+peNn fRegMzaLCML9wysABP42Bz6vf1y5h+zfDQAk8W+NKezwmUQcpHpBQh6CVEdGMc5dz40S mz4QFYmZIf7q+VOdmFka6tegxzG2+yiRVc2/njWsv/LLyC26z+Jw86OONIgbBAruPx1T fRV68z5rxGAdwXSNwJFfgD4r1FjQtbWtfdhYsdWlDtuyy2FcNuNsE3C282+yRt3xwnkl Do5hZnNsay9gNR0NfcA8BYSc8HAoq1S19azH6iTU1v0TzKu9PKkX1SkaYNE6FCjoFUqb l9jw== ARC-Authentication-Results: i=1; mx.google.com; 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 t3-20020a634603000000b0053fee209655si3134097pga.664.2023.07.14.08.35.47; Fri, 14 Jul 2023 08:35:59 -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; 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 S234757AbjGNPRI (ORCPT + 99 others); Fri, 14 Jul 2023 11:17:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235942AbjGNPRG (ORCPT ); Fri, 14 Jul 2023 11:17:06 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1033B2117 for ; Fri, 14 Jul 2023 08:17:06 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qKKXO-0002E1-CI; Fri, 14 Jul 2023 17:16:54 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1qKKXN-0007t7-F1; Fri, 14 Jul 2023 17:16:53 +0200 Date: Fri, 14 Jul 2023 17:16:53 +0200 From: Marco Felsch To: Krzysztof Kozlowski Cc: Ahmad Fatoum , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, marex@denx.de, frieder.schrempf@kontron.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/3] dt-bindings: arm: fsl: fix DEBIX binding Message-ID: <20230714151653.7xqrerpmxzv7crel@pengutronix.de> References: <20230704184109.991104-1-m.felsch@pengutronix.de> <6f7586ee-257b-35b5-f986-0d2b370e4035@linaro.org> <61e9e380-dcb0-4dd4-562d-bffea2da5097@pengutronix.de> <2d9b2341-84ca-d152-8a42-90b815c66125@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2d9b2341-84ca-d152-8a42-90b815c66125@linaro.org> User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 23-07-05, Krzysztof Kozlowski wrote: > On 05/07/2023 11:28, Ahmad Fatoum wrote: > >>> + items: > >>> + - enum: > >>> + - polyhex,imx8mp-debix-model-a # Polyhex Debix Model A Board > >>> + - const: polyhex,imx8mp-debix # Polyhex Debix boards > >> > >> Same comments as for patch #2. I think this should be rather deprecated > >> - not a good pattern. > > > > The middle compatible was my suggestion, because there's also the Debix Model > > B Standard and Model B SE, which is the same board, but different SoC variant: > > > > Model A: Commercial Temperature Grade > > Model B Standard: Industrial Temperature Grade > > Model B SE: Industrial Temperature Grate, but i.MX8MP Lite > > (No Neural/Video/Image accelerators). > > > > As everything outside the SoC is the same, I wanted a generic board > > compatible that bootloaders can match against. The SoMs should probably > > not reuse it, but I think it should be kept (perhaps renamed?) for the > > SBCs that don't utilize the Debix SoM. The SoM may come also in a 'Standard' and 'SE' edition. > The order of compatibles in patch two does not really look correct, > although it is accepted in some cases (e.g. Renesas). But anyway "Debix" > sounds like a vendor - they even have website - so compatible for all > boards seems too generic. This should be compatible for one specific > board. I understand that one board can have different SoMs (it is > common, just look at Toradex or Variscite), but it does not mean that > board should be unspecific. I reused the "polyhex,imx8mp-debix" compatible since we already have a user [1] and there are no differences. I can drop it for the SoM case but for the SBC case I can't since this would break current users [1]. Regards, Marco [1] https://elixir.bootlin.com/barebox/v2023.07.1/source/arch/arm/boards/polyhex-debix/board.c#L38