Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1040147pxa; Fri, 28 Aug 2020 01:47:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEpaTihGx/LvtQXbtaCo1u/obTxkj+AroXA+DXLLoM3NBINvA0BZhO6KT9gyE7+A3uzIDN X-Received: by 2002:a17:907:444e:: with SMTP id on22mr660253ejb.473.1598604450332; Fri, 28 Aug 2020 01:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598604450; cv=none; d=google.com; s=arc-20160816; b=hM8lhgkBIXIQADODeEjtCVEVnchbPrG28L+B7vdIXvOWk2XGogDi7hkHsVTiCYKa83 DeqnEQkaMUpYN3F1HLnU2u0GITFBowmaywkzO2aFB/vwGr5ogF8bMI20nZmfsemFxXac vHnP5V1nQx8H5jssRCpllFp+7Dy4hTE3y1hISbajirQsJ+F6DrZUo7Ke/LueUJWLCQHA 3v8OgXh+amAIucb4/TupVLEAye80bV2u79FSGeJqAPFWGQsZ8NhDiDbpO9zWBoqjYpJx F1yLnz5ce6t/6iFcHlhd/D7F9UKexd9ZWawE0S2CdiAfadMm8/SHTiQOoz+EjCQg3AxE SBhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=189lzAWfQfsXqTmFG0edsCDCtQB53S1O0XCFYRVJy0M=; b=uQ9vBeLz+cYnHocVvjVeGXD8TsFtyG/mkbdouSl4NOsk/Jo/LAcVxFFDbP7JdMsfm8 he6f6xsCQ9Fk8AP2g+CsL0b7ugXSh+hJ4UAI2YixsInhBLF4Athjh3aLIg64uP3LkMEI lbaD0JOz/GH1nxE+Br1YeIy5dZJrhSJj+/GrL9/y3bHaNebqmGI4AUbyYLhX6FvjptGN mPVLt7r0CoCytwpYx/Jnp7wWgRXkOpFos67y2kxAxzSfFWteHhV8UH/uD3iqQMFprE9E FUIw6qGxhkbFWf9hqom6BD/MMxwrHAmi2y3OAxu2cp1rrcv0H/u7L+/AzBP4QczDH23r MQ4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aIm4qyEy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d20si167230edt.208.2020.08.28.01.47.07; Fri, 28 Aug 2020 01:47:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aIm4qyEy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728727AbgH1Iq0 (ORCPT + 99 others); Fri, 28 Aug 2020 04:46:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728554AbgH1IqS (ORCPT ); Fri, 28 Aug 2020 04:46:18 -0400 Received: from mail-vs1-xe43.google.com (mail-vs1-xe43.google.com [IPv6:2607:f8b0:4864:20::e43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB4EFC06121B for ; Fri, 28 Aug 2020 01:46:17 -0700 (PDT) Received: by mail-vs1-xe43.google.com with SMTP id o184so205761vsc.0 for ; Fri, 28 Aug 2020 01:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=189lzAWfQfsXqTmFG0edsCDCtQB53S1O0XCFYRVJy0M=; b=aIm4qyEymVO5ohXmss62q8J7ZsU21OeX87DHri44FY+MtB8kKPRTRN8fC2fuIy9zvX Z9GTB09WEFGr+7TVAWibwyGyVwol+ajGdpcyUuC4mEf8pIP20ndS3jHWcXKurf5SVAhY V+KCtnocv+7SjPRR+/YrhNgmkynyreSovR2OBYvRS0xkDojpgFoNajirehBgyh2Hrzif 0zPrbgW8qQ+iLRDMParVC4EFTYOfC0SYgcE9hKp/OLDf4Z3U/WxlgJJAx8ImgeFHI7Ms K2rPmiftA1He8wyBKNzMVDF2IAg9gwh+r+motN/9SM691+1Dlb6EM3f2CTGjxwoc2hSk YCSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=189lzAWfQfsXqTmFG0edsCDCtQB53S1O0XCFYRVJy0M=; b=ECsplRPQ2vQuP2YxKGV0x9rEIojcbCD0Qu97b4yyGEC5tor4MNcfwgo16jwC0mv+kG 96pCvSbe9SnWbGhloYlQEV6uZiI1nwBZB1eQwNBLwTgzX8vVrsIIA1RusLwIdqOm8Dxk S+uClHb+oaNoPwFSZnnV3PCLAxJmgDY3eDovRxqZiQfjpAAjpygPljGncOsNX6e7vpSm Flv0F1ljtOsmrdaO+7jGxCOdm/UWVl8er6CW78MCXSIr5WMo0Hvd2Sx4oBUotXsZxdQ8 KTUyfvO+nSG6XUXhbeBkt3Nvx1NbbW8PPxVKhe5IMuqDzVaDlGIqHLSMIvaa8qk0+L+h yyNg== X-Gm-Message-State: AOAM532+0Ad+7kHEnS55Q9gbUpIOBFUJHlu35dfY0RK6p/PmRAiOUe1l dmqHq1ecq1SMb3tIil7lLQU9QEJvt5Wnbd9WIp8Uww== X-Received: by 2002:a67:f8ce:: with SMTP id c14mr189781vsp.14.1598604376960; Fri, 28 Aug 2020 01:46:16 -0700 (PDT) MIME-Version: 1.0 References: <20200825193536.7332-1-krzk@kernel.org> <20200825193536.7332-13-krzk@kernel.org> In-Reply-To: <20200825193536.7332-13-krzk@kernel.org> From: Ulf Hansson Date: Fri, 28 Aug 2020 10:45:40 +0200 Message-ID: Subject: Re: [PATCH v3 12/19] dt-bindings: mmc: fsl-imx-esdhc: Fix i.MX 8 compatible matching To: Krzysztof Kozlowski , Rob Herring Cc: Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Miquel Raynal , Mark Rutland , Thierry Reding , Anson Huang , Li Yang , Han Xu , Frank Li , Fugang Duan , DTML , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , Linux ARM , "linux-mmc@vger.kernel.org" , linux-mtd@lists.infradead.org, linux-pwm@vger.kernel.org, linux-serial@vger.kernel.org, Linux PM , linux-watchdog@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Aug 2020 at 21:37, Krzysztof Kozlowski wrote: > > The i.MX 8 DTSes use two compatibles so update the binding to fix > dtbs_check warnings like: > > arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: mmc@30b40000: > compatible: ['fsl,imx8mn-usdhc', 'fsl,imx7d-usdhc'] is too long > From schema: Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml > > arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: mmc@30b40000: > compatible: Additional items are not allowed ('fsl,imx7d-usdhc' was unexpected) > > arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dt.yaml: mmc@30b40000: > compatible: ['fsl,imx8mn-usdhc', 'fsl,imx7d-usdhc'] is too long > > Signed-off-by: Krzysztof Kozlowski Rob, Krzysztof - do you want me to pick this one? Kind regards Uffe > > --- > > Changes since v2: > 1. Remove moved compatibles. > > Changes since v1: > 1. Handle also fsl,imx8mm-usdhc and fsl,imx8qxp-usdhc > --- > .../bindings/mmc/fsl-imx-esdhc.yaml | 37 ++++++++++--------- > 1 file changed, 20 insertions(+), 17 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml > index 10b45966f1b8..e71d13c2d109 100644 > --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml > +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml > @@ -21,23 +21,26 @@ description: | > > properties: > compatible: > - enum: > - - fsl,imx25-esdhc > - - fsl,imx35-esdhc > - - fsl,imx51-esdhc > - - fsl,imx53-esdhc > - - fsl,imx6q-usdhc > - - fsl,imx6sl-usdhc > - - fsl,imx6sx-usdhc > - - fsl,imx6ull-usdhc > - - fsl,imx7d-usdhc > - - fsl,imx7ulp-usdhc > - - fsl,imx8mq-usdhc > - - fsl,imx8mm-usdhc > - - fsl,imx8mn-usdhc > - - fsl,imx8mp-usdhc > - - fsl,imx8qm-usdhc > - - fsl,imx8qxp-usdhc > + oneOf: > + - enum: > + - fsl,imx25-esdhc > + - fsl,imx35-esdhc > + - fsl,imx51-esdhc > + - fsl,imx53-esdhc > + - fsl,imx6q-usdhc > + - fsl,imx6sl-usdhc > + - fsl,imx6sx-usdhc > + - fsl,imx6ull-usdhc > + - fsl,imx7d-usdhc > + - fsl,imx7ulp-usdhc > + - items: > + - enum: > + - fsl,imx8mm-usdhc > + - fsl,imx8mn-usdhc > + - fsl,imx8mp-usdhc > + - fsl,imx8mq-usdhc > + - fsl,imx8qxp-usdhc > + - const: fsl,imx7d-usdhc > > reg: > maxItems: 1 > -- > 2.17.1 >