From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 30C79C433FE for ; Sun, 10 Apr 2022 19:37:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=dzZYJSHENzWWAksi2zxwsrV/gALV2Ean7X9s+w37rNI=; b=K32NaFWqd6CfIw QpohleTYXDEw0ClmALMhx6TrQ01BQyawvwNNpFAxKN7jN61DbKAIJ9ataC4IOQCSb94WwciBwzx1e +KqqlrCYDdE+VaFEVZBQCDKF+v0Wo97C1EPW5oezEo1GrUP+gBAkgVzK81JqN9s7EZvYHhU2jwFZ2 jd0cHl2zb/8HxV/vrs7vM0cSCrjE68dguM7eRJw7DVJovliqJ/dZX3NmgdnL8A0Ji8BdOVIt30PQr Kh/hS2/i+nEZ0K8O+IH15E9Lz8xlNTT2fNAWKiAPqr+Zm/uO7ymjU4Ij8vsudVBpBh3Zokk4irItL jmkxlN0O4PJw/U0tiSPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nddLs-005MWt-Uh; Sun, 10 Apr 2022 19:36:01 +0000 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nddLp-005MWG-SM for linux-arm-kernel@lists.infradead.org; Sun, 10 Apr 2022 19:35:59 +0000 Received: by mail-io1-xd2a.google.com with SMTP id z6so16530404iot.0 for ; Sun, 10 Apr 2022 12:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OoM9N7gAcL1d/1QfBxr0+hst6MaoVrluKO3H52z5ckY=; b=SxbSn+vQ0He6FR1PGQmKjJijrpOeLnxsh7NJhXocRKQ7uyLDjtjzslL+t/TpdFHrW6 duOfC+PHPVcurOnpGQ37UtqjNc8yEJePYta3p9W6BQdGqBjQHtP+l15xlJ2dYgJ/U1X/ 8jHdC+SHGG7yRXrHlA9UQNyQ2lkhvB5wBaM36EbHRsW9D3sZiuJ8FtPfs+zZHNrRu96S HcwsNFLDJOCdLWw2ADCEdoU36xu9Ha9fVu+dxpezLJIVuTWW2t5wMOdD4bikgoaAJ0hu zDjFaVAgWou4Vm9Cdipy5Nb8D8KX0s+O1vEGJj4bI2aUpLe0RjE5yA53Qu56wEoVu4J6 q6ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OoM9N7gAcL1d/1QfBxr0+hst6MaoVrluKO3H52z5ckY=; b=VNerx65Ww28MQe6ge6FNG7way/Z2niceRrKU6Jj2GkztlMxO/nU2p58aoAQ/Y6dujZ JECLW7wI3AxdYAVQurFrx109M0tQS0amx7jJj7i3o/wmlGKWZRmAs+iLOOW4erziohaA MXpCHQRtO2StVJiR/SKeQ3c34s9RCKGBAVOmFon5kyOxILCvPTNC2J1kPUGs3xspe9oZ NCyv/3wgjrZQ/7EIN0TWl8h0CZF7evAUo7waqtut5CWwWNXlB3WmGbI+BPU9pEXhRpOS 6S5df73zJ0tf8G7zixH55akGHmfAtVgUS+4S/FpHRgzvKZMdTzfgjWVzvPAb2z0f1PtE tdOQ== X-Gm-Message-State: AOAM530zAL/qDF4emmoEGFlwcZRgbpXQWA7wCzE4moP53zNhulTMzr3J +1W38g0Z32+1G4sksX8y0/M= X-Google-Smtp-Source: ABdhPJxBgn0fjnm8kPAHoN3v+ZE7RGxfdnz/32Jw7hl3KO7lGjTHAZrwur9qH+22pIu7Py0o1R6aSA== X-Received: by 2002:a6b:b786:0:b0:645:b8e7:2d1d with SMTP id h128-20020a6bb786000000b00645b8e72d1dmr12083391iof.52.1649619356614; Sun, 10 Apr 2022 12:35:56 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:1e67:6f3b:4d7f:4f90]) by smtp.gmail.com with ESMTPSA id m6-20020a923f06000000b002ca74f4fab2sm7218409ila.14.2022.04.10.12.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 12:35:55 -0700 (PDT) From: Adam Ford To: linux-mmc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , haibo.chen@nxp.com, Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH V4 1/3] dt-bindings: mmc: imx-esdhc: Update compatible fallbacks Date: Sun, 10 Apr 2022 14:35:41 -0500 Message-Id: <20220410193544.1745684-1-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220410_123557_958716_3B3CC6A7 X-CRM114-Status: GOOD ( 13.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The SDHC controller in the imx8mn and imx8mp have the same controller as the imx8mm which is slightly different than that of the imx7d. Using the fallback of the imx8mm enables the controllers to support HS400-ES which is not available on the imx7d. After discussion with NXP, it turns out that the imx8qm should fall back to the imx8qxp, because those have some additional flags not present in the imx8mm. Mark the current state of the fallbacks as deprecated, and add the proper fallbacks so in the future, the deprecated combination can be removed and prevent any future devices from using the wrong fallback. Suggested-by: haibo.chen@nxp.com Signed-off-by: Adam Ford --- V4: Mark deprecated items with "deprecated: true" instead of a comment V3: Add support for the interim fallback on imx8mn and imx8mp where they both fallback to imx8mm, but keep the imx7d to prevent any breakage. diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index 7dbbcae9485c..58447095f000 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -34,22 +34,46 @@ properties: - fsl,imx6ull-usdhc - fsl,imx7d-usdhc - fsl,imx7ulp-usdhc + - fsl,imx8mm-usdhc - fsl,imxrt1050-usdhc - nxp,s32g2-usdhc + - items: + - enum: + - fsl,imx8mq-usdhc + - const: fsl,imx7d-usdhc + - items: + - enum: + - fsl,imx8mn-usdhc + - fsl,imx8mp-usdhc + - fsl,imx93-usdhc + - fsl,imx8ulp-usdhc + - const: fsl,imx8mm-usdhc + - items: + - enum: + - fsl,imx8qm-usdhc + - const: fsl,imx8qxp-usdhc - items: - enum: - fsl,imx8mm-usdhc - fsl,imx8mn-usdhc - fsl,imx8mp-usdhc - - fsl,imx8mq-usdhc - fsl,imx8qm-usdhc - fsl,imx8qxp-usdhc - const: fsl,imx7d-usdhc + deprecated: true - items: - enum: - - fsl,imx93-usdhc - - fsl,imx8ulp-usdhc + - fsl,imx8mn-usdhc + - fsl,imx8mp-usdhc - const: fsl,imx8mm-usdhc + - const: fsl,imx7d-usdhc + deprecated: true + - items: + - enum: + - fsl,imx8qm-usdhc + - const: fsl,imx8qxp-usdhc + - const: fsl,imx7d-usdhc + deprecated: true reg: maxItems: 1 -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel