Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5890463rwp; Mon, 17 Jul 2023 11:03:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlH8xCzOwQXHJGJvK+DBsUEkVLDvcqw6uMtjp5Y7CoaT8IXScEGk/W71rDWW+qhA3NFDjOOA X-Received: by 2002:ac2:4f12:0:b0:4fd:c78d:5419 with SMTP id k18-20020ac24f12000000b004fdc78d5419mr1357349lfr.8.1689617004683; Mon, 17 Jul 2023 11:03:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689617004; cv=none; d=google.com; s=arc-20160816; b=xC7FyHBq1227uqfnf8nHFz8zWv02GBs2mTFKyC+4HMjduEM877/lb09qWdxbVqmFWV Mbx0LN9HXYIYmoxbsAmVRoythpLJXEYHhBuFlgcjN4l9gf7J4yaVzU9WW0cLugq5ZLk+ mblKZEUqr5pB4S+z2z0I51OAOb9AVVx/543ruHP2mzziiuajPmBcmudguOH//3CYW7CU u5OXHY2MBaX5HPd71zuRyBDQXign3VU6RU+bQuzo5EwWgkc11Iz6GEfmFrVRilqy0f/H qZ4zFiWgqgvQeee59IhApUBG8/kkMhh9V05QaPv8qsU4rH5J1Pzyug0iba2XB5vLqrBE UISw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=mHFihoO73QufeCeoAslHOIsOuFseT+nd0CAkUR/hZGs=; fh=iyOIdSe7sBwgFQwMTJLrd0K2JQ2eSAq4Us1SxFy3pGY=; b=uEIJdVM/8J0y3f0fqOlfQFVYkmHremrl7DVrGVXXLSLSwe+c7v6IkoY0CQIECZu4fy agIAKloy3mfqVjne8NGIC/CYLGteh7fumk2M3hiJ04axuQSzK4DBZxhqyH0WkrpD31qJ 3Bmn7qY+1NxWoRytPFVKb4GtiW9aP7nPYu1WHbhIUnxdQLjWHq22sh61RpPlk3fA0b2X cb2BmfTMCNjpNT3MU/qzMcXARooTcPEixqMDz0LS6sNPwb3p2n8tauDYg6pc2O8cnjmp XMYMtV+MJTNeyvM+GcaprFQY7quJ+FKbztc76gCvg7JrbsJqXKHCt3MI+03/Kxi9NF4X 8TFw== 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 b14-20020aa7df8e000000b005218c27b193si2298607edy.501.2023.07.17.11.03.00; Mon, 17 Jul 2023 11:03:24 -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 S229779AbjGQRjI (ORCPT + 99 others); Mon, 17 Jul 2023 13:39:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbjGQRjH (ORCPT ); Mon, 17 Jul 2023 13:39:07 -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 F017DFB for ; Mon, 17 Jul 2023 10:39:05 -0700 (PDT) Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qLSBT-00044D-9i; Mon, 17 Jul 2023 19:38:55 +0200 Message-ID: <8c91fd56-a815-d2ff-6f62-168eb76ae6c1@pengutronix.de> Date: Mon, 17 Jul 2023 19:38:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v2 2/4] dt-bindings: arm: fsl: fix DEBIX binding Content-Language: en-US To: Marco Felsch Cc: 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, laurent.pinchart@ideasonboard.com, dan.scally@ideasonboard.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230717165127.2882535-1-m.felsch@pengutronix.de> <20230717165127.2882535-2-m.felsch@pengutronix.de> <66b096e1-fcdc-8af7-63ea-9b74013eb667@pengutronix.de> <20230717172424.yru3qqfz4xd7qw3a@pengutronix.de> From: Ahmad Fatoum In-Reply-To: <20230717172424.yru3qqfz4xd7qw3a@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: a.fatoum@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.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 17.07.23 19:24, Marco Felsch wrote: > On 23-07-17, Ahmad Fatoum wrote: >> On 17.07.23 18:51, Marco Felsch wrote: >>> The current imx8mp-debix-model-a.dts uses all three compatibles. Fix the >>> corresponding bindings by adding an own entry for it. Mark >>> polyhex,imx8mp-debix as deprecated but keep it within the dts file since >>> we already have a user for it [1]. >>> >>> [1] https://elixir.bootlin.com/barebox/v2023.07.1/source/arch/arm/ \ >>> boards/polyhex-debix/board.c#L38 >>> >>> Signed-off-by: Marco Felsch >>> --- >>> Changelog: >>> >>> v2: >>> - deprecate polyhex,imx8mp-debix >>> >>> Documentation/devicetree/bindings/arm/fsl.yaml | 10 ++++++++-- >>> 1 file changed, 8 insertions(+), 2 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml >>> index 15d4110840654..b29974e3c30b3 100644 >>> --- a/Documentation/devicetree/bindings/arm/fsl.yaml >>> +++ b/Documentation/devicetree/bindings/arm/fsl.yaml >>> @@ -1019,8 +1019,6 @@ properties: >>> - dmo,imx8mp-data-modul-edm-sbc # i.MX8MP eDM SBC >>> - fsl,imx8mp-evk # i.MX8MP EVK Board >>> - gateworks,imx8mp-gw74xx # i.MX8MP Gateworks Board >>> - - polyhex,imx8mp-debix # Polyhex Debix boards >>> - - polyhex,imx8mp-debix-model-a # Polyhex Debix Model A Board >>> - toradex,verdin-imx8mp # Verdin iMX8M Plus Modules >>> - toradex,verdin-imx8mp-nonwifi # Verdin iMX8M Plus Modules without Wi-Fi / BT >>> - toradex,verdin-imx8mp-wifi # Verdin iMX8M Plus Wi-Fi / BT Modules >>> @@ -1054,6 +1052,14 @@ properties: >>> - const: phytec,imx8mp-phycore-som # phyCORE-i.MX8MP SoM >>> - const: fsl,imx8mp >>> >>> + - description: Polyhex DEBIX i.MX8MP based SBCs >>> + items: >>> + - enum: >>> + - polyhex,imx8mp-debix-model-a # Polyhex Debix Model A Board >>> + - const: polyhex,imx8mp-debix # Polyhex Debix boards >>> + deprecated: true >> >> I don't see why you need to deprecate this. Can't you just change the comment >> to read "Polyhex i.MX8MP SBCs" or similar? > > This was suggested by Krzysztof, since polyhex,imx8mp-debix was to > generic. I can keep it without the deprecation notice and just change > the comment since we need to keep dts compatible anyway. I agree that using it as compatible for both SBC and SoMs, when the boards aren't based on the SoM isn't useful. I still think it's useful to have a compatible for "Debix i.MX8MP SBCs" that spans current lineup of Model A, Model B, B SE and possible future compatibles. Cheers, Ahmad > > Regards, > Marco > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |