From patchwork Fri May 5 08:49:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bough Chen X-Patchwork-Id: 679489 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EB20C77B7D for ; Fri, 5 May 2023 08:47:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231326AbjEEIr3 (ORCPT ); Fri, 5 May 2023 04:47:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231312AbjEEIrY (ORCPT ); Fri, 5 May 2023 04:47:24 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2085.outbound.protection.outlook.com [40.107.22.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 893D718FC0; Fri, 5 May 2023 01:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K5XroPNg4wDi8UJDrRTGLxGKUbIp84smUScS25dtQAf2gg0z+QmRhTIkXAc/ceslLa2O1V95r0Jn5Q9BINcgFZhgWIss41Dr3/K41kjMeRUhj8eD3GwYMvVxeQt9hZr6TTi9g84yuwOlptaQsap5JYvO7F2CoRGgtLOe4Ha5GmWF7UJWwHRAnkQE2E5VF0qn5HwHSIcR4sM/dNWopBJA1M10Q5YepzR+5vRTQoJ3qsylZba8VgNcJHRy6EOnZ6X3CVN/XIfq37xDzVYOMH3OkHFVTUvR8x13IQqLXEJs90DUHMG/PDMIlCWiPY3VGWCh1kRatoHEe9jEDtKc/Q2IoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zmRqw0xnNjHn24bXPAqPFwrvaUgl+uJL6cuf8sR2fJw=; b=XzXDRkCZnTN2OArqjnqFQttmYnCWKN4o/Sonzeu4tZ+zHVH1LtAtRFMmaTp+0qPV8JHhLbVMrCLROpQXPI6i7jfO4B/0dfw8i9E72YlqWpYlkUoeydLt/l5p7URPxFbPWn/XtPv0BnYTCZ5/RtUGDmY5SCdBj9triEZMi2SukAzw+w27e2+0tJvJ5ijtZHOr0xSJytWrBHs0bEhd4ismGUCbNuBXyLJ52n6N3scD7Eql8djAPeiiLV5U06ciOj4V4VrBqQxgZv3EDuPQbWmRASwoo1ju3ghtuu2PEqRmO0A3ZiJz0hQ2ifaC/aR2go3GyfNHqCOnNVE3k1Fc3/o8QA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zmRqw0xnNjHn24bXPAqPFwrvaUgl+uJL6cuf8sR2fJw=; b=KyAg61NVOilG7lKpN0fmU7v0TEzQiWZppEb/60WyiSiuqjMPhELW41aeNWLD46hhA9e24XjPcdyKMTkb+ddj/N8PVgY9TCCtUR/5pw+G3JS+csLJ/v6V5XnepM2YKvQvCH2JGnR6qwIUpa9Q19JuT4Ed7mkbmTuOeoXuM6f04p4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB4010.eurprd04.prod.outlook.com (2603:10a6:5:21::30) by DUZPR04MB9898.eurprd04.prod.outlook.com (2603:10a6:10:4d2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 08:47:20 +0000 Received: from DB7PR04MB4010.eurprd04.prod.outlook.com ([fe80::9d1e:facb:ae5a:25b6]) by DB7PR04MB4010.eurprd04.prod.outlook.com ([fe80::9d1e:facb:ae5a:25b6%3]) with mapi id 15.20.6363.022; Fri, 5 May 2023 08:47:20 +0000 From: haibo.chen@nxp.com To: adrian.hunter@intel.com, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: linux-imx@nxp.com, haibo.chen@nxp.com, kernel@pengutronix.de, festevam@gmail.com, cniedermaier@dh-electronics.com, devicetree@vger.kernel.org, kernel@dh-electronics.com Subject: [PATCH 1/4] mmc: sdhci-esdhc-imx: remove unused enum cd_types Date: Fri, 5 May 2023 16:49:52 +0800 Message-Id: <20230505084955.238940-1-haibo.chen@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2PR01CA0121.apcprd01.prod.exchangelabs.com (2603:1096:4:40::25) To DB7PR04MB4010.eurprd04.prod.outlook.com (2603:10a6:5:21::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB4010:EE_|DUZPR04MB9898:EE_ X-MS-Office365-Filtering-Correlation-Id: 5cf1fd67-a61d-40d9-ec69-08db4d455625 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o4g7fIRiDskn41tYWQvRKS8vPQg/v4YRoD5yoWGGe5gEmhEQYOCy4SblE6zz4D1TQ2mOsB5GzmKWZ4EIbZSuwNGCS4uW8mf5hk2HjTNuT6UMCdE77Kg4F/L1LeosHhqSY4oZNOauUnNLTwV4D6z1R7+vOHHodDLqDDmVYel9PG6eFJebq7a7mk4Kqv1mtrN2ayYqJD3f/GmnxgtmZMrmXkDYCjLisXSHooxUXgay/IKocOMj2QJemx+Z8Pn3H23S71/0Glrc8o937x3cwYYVWDeuZFMWzF0HdAsWqdH0GivP5g8yDwqol1U/kZ0IOC7l++4aSFrdfCLD8Mo39UrevhIL4k1M5x0fGauGlrB1x2cH5nsRbbP7ppDNQFzpG4MowSqJxnz1NO0TvOD/zdL4tVTIwATKGkBQabBSKmObIOwr2GXt01kVmECfzdFGFsYdfOmE3Sojr4f7it/WhAHmK59oRrSrQ1/3K6au+MhWveaFP11A+kvimMwalArRK9mok1/cMZIR7KYrNcKf/DpeufZQ2Yjh7hFVC2LW8QhSUHhqOZ/90oJcNq/Fhk0TgfrJ9nU56SXYsTfLATah1SInbmnT28DGW/Q2LuDxADVY9Ab9hL4rtRFB27PqtZXnQ2Oo X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR04MB4010.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(396003)(346002)(366004)(376002)(136003)(451199021)(36756003)(86362001)(6486002)(6666004)(52116002)(316002)(4326008)(66476007)(66556008)(478600001)(66946007)(8936002)(5660300002)(8676002)(41300700001)(2906002)(7416002)(2616005)(38100700002)(38350700002)(186003)(6506007)(9686003)(1076003)(6512007)(26005)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: p+155xPBvVjdq3VneKPUjM/X7Jldrv4U1XxNbRhzhHGubAa757+m6CJR9CRGpJiyGjUYvfx1w7FxXKVJpy53FDCuiVSTt1CpkSLbNFt1tz0D6D92hfSvmr5oocSTmAwS2n4h7Rp3aro3k32WrTFtxk9BXJz+qakAJCRNnQ29ofQ/2kjs+wSc1aEp6RovPVJqH74YphlcgeMv9K/Jx/1IrjDV5tJCX6SWZQS8dKpmHl4V2s33HXK9iP1831zhO1gpLzRRHQuJVdMihKvIzR3h0Vo0FsdaY0cjXoqsXyrBSzCfr7aKA2ipdSOjVrbakwnvE3IzjQvFNz0SqWHyF4fe/kHWFj4ciTMmJbqi2bCy5qCliKA5tUli7oiVlC69Ef0r3P1tdliR3EMtVUEXLG8pT8A+Y9qIS89aeXqqGbm7K+idXyGnAIRBQlwCHdKYuqWJQn1/uIBeoBinNDfd/B/G/4XRBsqFCZtjQwrNNQeNcY58JtD8A+m1I0ouPeEU9t4pm1h7+4AHJZdLXT3sZS68VREXsdfRbufy/ooB23TgfSmVrgeEmhLYH67LTnercbdMspb9Wz1ptKpg+rcn35d7b0hW+PzpeqkS7XhIg0c452SiS7mPEIK6H42THQkcDVSmbz8N3XkkOwtgHIsLACQzZ8xfw6hjPBONToqTnP+f7TWm7Qnh3Q4/OAjoQaQmHeYCg8ilIvLwXeNNbfwTnZrGrIRTEqkmz24FrZ3EAK+ww97x+zg+W7VupawRFilpUfCwCWVVX4pGCs9mlqOV4kUjUGsZZwBRhGhJR35XfmUtdwxDDJ+6Z5KrgO5IftZMqJ/60SSkJntpBkLdWZmmqZ9d4rGgjk/d1pxNHsOIXDFodAaM7VUPJ5Q6kU15VCn0RnJ5BfU8KBWN1wgl0WlbvRwRA9l3g9KNBYhSo/+0bexaeY1XZ2LPexMXj2Zx705H+zICKu51nP2vZrry0mm70X2eniEzeDydNwyhAMbdNxRZui46i1QcHhHyRUDxO5vKjqvImVNpVm+JJg8xDgSE7C5v0ftXIj7jlWDYj2QBrN5tm0LEQYKw1Q/Ria2NHlY2f0Nhu6fQamOxYuOraetRgNBDzTNu/MeoEcz1W/CMBlg06DGkyNZtTZLyjpbtmO0oGnj9EHoMMKcRjtxusu4XGpkQr170p1IpIDRiXcuRaA5f3+18K36E3ZnbbfgGTdxSSRLW4mRzhhlhoaeykswKW4e+pZvi4vFrDgGqq1KOoFbNSVG+mLa0ii0023LE9NRMUKSsnIhHoL1HhSXI6nfgdLi5vUBv/2HQanzd+Q94S//IOvas2WQPzRCWW7iLraEOeIy50/WBuaP0Ke2AYncuGeIx1sw9Wlg/syGNvjt0b64dlikhXmhQIe9D3mlAbd7erdmls1vBlo7VIHjEBerplCUcxGGaRFaI1CozV/RACd3D6emjK3gt3ulGx6pEbvMJk4zySgjJrugYa+TW/hIQOzVQIijSkj62dBOxXxpu6jR3Bsh/3vDrWqgvOJOfC0FPR0tQGVqjaqaChJn+cLcnjuldEGFlrVkBwonXtiI3yH7jGaSO5ZM6n17UzQCsep+inNdY X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5cf1fd67-a61d-40d9-ec69-08db4d455625 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB4010.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 08:47:20.0039 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MnZ2Y8UBJ4Inuc9C1dy3L9FxWWG94MBZnPXHQsRb1MnxKpBPeMqmz62l3PORmbJSoSuOpiFsVf+2K7pMOIteRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR04MB9898 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Haibo Chen enum cd_types is no more used, so remove it here. Signed-off-by: Haibo Chen --- drivers/mmc/host/sdhci-esdhc-imx.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index eebf94604a7f..c7db742f729c 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -207,25 +207,16 @@ enum wp_types { ESDHC_WP_GPIO, /* external gpio pin for WP */ }; -enum cd_types { - ESDHC_CD_NONE, /* no CD, neither controller nor gpio */ - ESDHC_CD_CONTROLLER, /* mmc controller internal CD */ - ESDHC_CD_GPIO, /* external gpio pin for CD */ - ESDHC_CD_PERMANENT, /* no CD, card permanently wired to host */ -}; - /* * struct esdhc_platform_data - platform data for esdhc on i.MX * * ESDHC_WP(CD)_CONTROLLER type is not available on i.MX25/35. * * @wp_type: type of write_protect method (see wp_types enum above) - * @cd_type: type of card_detect method (see cd_types enum above) */ struct esdhc_platform_data { enum wp_types wp_type; - enum cd_types cd_type; int max_bus_width; unsigned int delay_line; unsigned int tuning_step; /* The delay cell steps in tuning procedure */ From patchwork Fri May 5 08:49:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bough Chen X-Patchwork-Id: 680127 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F373C77B7D for ; Fri, 5 May 2023 08:47:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231261AbjEEIrd (ORCPT ); Fri, 5 May 2023 04:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231312AbjEEIra (ORCPT ); Fri, 5 May 2023 04:47:30 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061.outbound.protection.outlook.com [40.107.21.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0358F18DD1; Fri, 5 May 2023 01:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xe79NWp0imx7AnwUfPgwuSopYxMyuc/wyJDJo2cPD9DP3EuB4K+XZqf1Zq7ItwGoU4QQfu1mLyb45pn3/K3TOHtgq/7BwczcHo7/dZc1sNvfV90l7CfakbYYmcyx3bpfizuSyE7TgZhDgOwgRmbfwntCEd90iUbWcrSboFNZQX2ZXyTpT5reuAL5Dvbajo8kVcFNpBV2gF/lyalOI/5JSxg9UEQ65Gx2qVRiFggaywp+qeHH26+JYyY5/wBcwL+siNhZiap+LJSZRz6b+tG5AoAG/t8iMRiXZed3IQmAAuQn4vI74lrPRWaAZkU31EUg5tvRCYl9mRonCdeqbycp1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+k1mx8fDIGWP0iLTt0GLKxlUYwIIkQ4nAg6dUaaZEX4=; b=GMqEOJ7GITmdQYjRtg0RTPodbuEPQpAKNTbQtUO18X6tuQVGAYkhhDc4yj0p/w24PzWUuZKouZJARLS3/qHwX7CrRAeUVZxwAW9MThNaSHagoUCY7GB4AIFBmCPDMongAp2FHCBodFvp154Y/fux+oTdK/L4Y/8TvQFJk05dBZ9ee4An/KR3G6aMtpKD+mP1yZR4rtp9wJtuIaAE87y2poDQ6/Hnmjp0qgoJIOlpjNM99y+JdbYFJpwpea30A6hBMF9zj7NU37QUgSOwRo8msheEVN7DwP8tDgXc8IPxJYlBTMJTDC6hFq2m0Rfc7xsl/upD6qvDqvx80dHspBknuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+k1mx8fDIGWP0iLTt0GLKxlUYwIIkQ4nAg6dUaaZEX4=; b=onCmhHsGeDkWr7Yi156rJj3Pw2fPQCoItqcShQxGYB1Lp/CPGjUZ4cYWvlArQ5SFUgy1a8HueT68rPU25v+THnEQJH23IHC3TbZ7uXNZP/6yY/0uPrPVAjVCm+2DHr7OfGuGChkcf632BCnDQOYeZp9BRa4hecnc4qHW7h9Frfg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB4010.eurprd04.prod.outlook.com (2603:10a6:5:21::30) by VI1PR04MB7024.eurprd04.prod.outlook.com (2603:10a6:800:124::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 08:47:24 +0000 Received: from DB7PR04MB4010.eurprd04.prod.outlook.com ([fe80::9d1e:facb:ae5a:25b6]) by DB7PR04MB4010.eurprd04.prod.outlook.com ([fe80::9d1e:facb:ae5a:25b6%3]) with mapi id 15.20.6363.022; Fri, 5 May 2023 08:47:24 +0000 From: haibo.chen@nxp.com To: adrian.hunter@intel.com, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: linux-imx@nxp.com, haibo.chen@nxp.com, kernel@pengutronix.de, festevam@gmail.com, cniedermaier@dh-electronics.com, devicetree@vger.kernel.org, kernel@dh-electronics.com Subject: [PATCH 2/4] mmc: sdhci-esdhc-imx: remove redundant write protect code Date: Fri, 5 May 2023 16:49:53 +0800 Message-Id: <20230505084955.238940-2-haibo.chen@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230505084955.238940-1-haibo.chen@nxp.com> References: <20230505084955.238940-1-haibo.chen@nxp.com> X-ClientProxiedBy: SG2PR01CA0121.apcprd01.prod.exchangelabs.com (2603:1096:4:40::25) To DB7PR04MB4010.eurprd04.prod.outlook.com (2603:10a6:5:21::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB4010:EE_|VI1PR04MB7024:EE_ X-MS-Office365-Filtering-Correlation-Id: a95e98d1-43cf-4706-489f-08db4d4558d9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zNhPkBdvoN2oqmgTPmbHeQeEIJd2Tgsq04akCSkAd+RFTgMGjnNJBTM2D+QhRa2QI+gl6F3nswrUcCaAT04ycOUwQnuQPAbBJDE3mbtYPeTwsXyTD7XwGaqihcjCpnxVFdXC5I3lCqGMij8UAluERo1g5OsauslHr+UzP6UCql9SnsUPrudUY+OUyuD6bCPzzFto09dryYMxmSXdUHOht/LdxZ/BPKmnztCsI0IDp/qgEwxitCCgAoLoJoc9IKT521kNuFEho/+4Hqg46FUfMF0LZmE/Oc2XBJz7sE4+WVfWFER5NQPKLQs53oJmUBUFFwaDPAvojuryLVgJk9MpNHWV5Q/wTkZtcG0U+OdO/+q6eqIRkZrYReukM6Hhw3mpvOqlpMxMo04tVIsWekZm4BeUhDrryR8CZyosiS/D+i7U9NDXIfmfyN4EVNtmxGC4qD0k9KqtEY9W9BJ+OIGnmTujD0aOsGZETLLziRTukkCos3o8O/IMsvrY5iui1EUG6FHR2G9BqH8ukbrpEB7jUsiR7hH5UgoP/HnT4pF8hrYe+5GkuVFhQ6Fx+XSamLDFuTAazk0tYDSFqVpjOBzvX47o+sqSHqUrz5/LUe9LAbB2bhFll2KIdqdBtuwORDVs X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR04MB4010.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(39860400002)(346002)(136003)(366004)(451199021)(86362001)(36756003)(6666004)(52116002)(316002)(4326008)(66946007)(66556008)(66476007)(478600001)(6486002)(41300700001)(7416002)(5660300002)(8676002)(8936002)(2906002)(38350700002)(38100700002)(186003)(2616005)(6506007)(9686003)(1076003)(6512007)(26005)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Nz5vVxYj1MBBi6hLMloebqfgg9xWofzSzNT73UjeWmkkiWdos7yDT7wwX6606gOqCjFub9sdYhHh+eEkIB7yLIxFxVta+xz2UiydCzwPJmp9ogIs2FZDByIZVERl1IjSyQDhL3NQ5wBdo8QPbimxRSBZdj4wLaEuf0Dh95Az8h4cPwJA+fPsxW730Av4XKuekmlSOekQYXVufZIiUoqocE5hn3JAUipXkkQHFVUjl/RnQrSm4tHKO7y4aczoEIJaRSgoanpOLNHql8hIai4kEscFZnKo8pwheCB2rsuQCDCczlWo7MLGyv9TmPJmys51a9bgzpTqWomaTOaP28PGGiPfRJS7bRuFjAFlnoGS+sDhd/Qer6PxEMjXRr6CAMDyU9ICWXyeeP/Rw+91eRq9BWnu9Yk1bNQA8aG9lT7BhHEYkZBQiK04ycFhuF8Dz+YXWv3QRZ5goNM/og/AbK6/tKH4Fxw5qgg6N4GOuY+WYp1JAMU/YQXCr7aSAhw1KlHLs59ChVlWDTQUyoP0wFmgHjW+5N9nUuSgwf+Hj8vFHwTHYXXbegbu9HNIJUhC74yTygIkNOVuVutB4RMjfeumdxJDumzh+g7XLo+qqz4u5/LdYQGgPgDS2RAYgJhuvk+ygl8dfT34NYWvgM3xS9JU4vlC31WzPM8VOnAXDqfI0KnlkdDTjaQktwX5+olUVeMo8drAuTJjR2nUlGYNWrHODxBQ31ODymjHinpHfwOfFjO7kHy6Nn/s5d8BowUZzcWAvk7jZ9ai5TvGKuk/9m+iK/uo9DT2fI6+zBvIMl2QBBS3//YKN0LNUKTUefixnWrNsROB6mPvAWhcU3vK9yBJQDhuOPQm+xy30FhGBx33bDM0HIyjQ/jK4VXBep4jgos5YkUdOBaY2eX3dBXZcjd6jFzyX4E5RfwIHmnUPoM8spdTdcpsh4z+aYC4WyNKKDsw2Jb05FEMpmMYKvbcSpZubuUHSoinr3oBjhcxc6cppYbTpCj+5lmvsHmss0WIMzAOuR/jLIvm2JqUhTL5oJptW4ct86DvcgusUUWaEzmkmRLXIS5kSKqrSPRjKiyV0zvyY7gbKr8250jO8T1oL3fA7AXDni0wRjWQnW5LbQLtdbKqUxzVmQuseMnOy2S52KyeyahlYC4aEyo7uwt+/FV12F/+el9oEml0urYLkd4gNG85A03EPOh5gPoA8FBOt1RR8Q30MMuRPS9Z/GP3EuZBtqKqjjKMogBnqMrF0c15eVXO74A04nP7svdGJX/ndnHsjXytQTOtyuWFo/HF7E1QPAFtz/Btrc6z951wkk8x3JD/hGpWBMEQ/UnPN5v8+nc7cE6nFW0kWXUqSsgZBpqIz/eOWeCCSeyKXPbLNdrp7/BvTg9HBcn7pGxhYRS1UZ6jYCHQV84Dw2hhJ/bI77Y2p+4tdcoeooT6TYhcEUa3nU4zPVh4dZeu2VG+A0qeiVdXzadug+A7GDYmJnPNzhoCef1vtr17UmDcdfS6tfjp4eeDAdLYDxYTg4Ic9WDTG/tQiOdkhrKgVdDnTWZxupBjnPM5VSAR0ppf+iHQUDLife0TM85AXN8qXAVCnNx8hQSP X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a95e98d1-43cf-4706-489f-08db4d4558d9 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB4010.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 08:47:24.3626 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zls6IkFVDqO+De1FhEKsBsN64A2X6pWk5n93lNnIaTQGu97weo4JA0yOtgb+v+Jq6t2sbAf2EqvOhP0gTRHBYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7024 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Haibo Chen The logic of the esdhc_pltfm_get_ro() is just the same with common code sdhci_check_ro(). So remove this redundant code, depends on mmc_of_parse() and sdhci_check_ro() to cover the write protect logic. Signed-off-by: Haibo Chen --- drivers/mmc/host/sdhci-esdhc-imx.c | 47 +----------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index c7db742f729c..54531aab70f0 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -201,22 +201,8 @@ /* ERR004536 is not applicable for the IP */ #define ESDHC_FLAG_SKIP_ERR004536 BIT(17) -enum wp_types { - ESDHC_WP_NONE, /* no WP, neither controller nor gpio */ - ESDHC_WP_CONTROLLER, /* mmc controller internal WP */ - ESDHC_WP_GPIO, /* external gpio pin for WP */ -}; - -/* - * struct esdhc_platform_data - platform data for esdhc on i.MX - * - * ESDHC_WP(CD)_CONTROLLER type is not available on i.MX25/35. - * - * @wp_type: type of write_protect method (see wp_types enum above) - */ - +/* struct esdhc_platform_data - platform data for esdhc on i.MX */ struct esdhc_platform_data { - enum wp_types wp_type; int max_bus_width; unsigned int delay_line; unsigned int tuning_step; /* The delay cell steps in tuning procedure */ @@ -994,25 +980,6 @@ static inline void esdhc_pltfm_set_clock(struct sdhci_host *host, } -static unsigned int esdhc_pltfm_get_ro(struct sdhci_host *host) -{ - struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); - struct pltfm_imx_data *imx_data = sdhci_pltfm_priv(pltfm_host); - struct esdhc_platform_data *boarddata = &imx_data->boarddata; - - switch (boarddata->wp_type) { - case ESDHC_WP_GPIO: - return mmc_gpio_get_ro(host->mmc); - case ESDHC_WP_CONTROLLER: - return !(readl(host->ioaddr + SDHCI_PRESENT_STATE) & - SDHCI_WRITE_PROTECT); - case ESDHC_WP_NONE: - break; - } - - return -ENOSYS; -} - static void esdhc_pltfm_set_bus_width(struct sdhci_host *host, int width) { u32 ctrl; @@ -1380,7 +1347,6 @@ static struct sdhci_ops sdhci_esdhc_ops = { .get_max_clock = esdhc_pltfm_get_max_clock, .get_min_clock = esdhc_pltfm_get_min_clock, .get_max_timeout_count = esdhc_get_max_timeout_count, - .get_ro = esdhc_pltfm_get_ro, .set_timeout = esdhc_set_timeout, .set_bus_width = esdhc_pltfm_set_bus_width, .set_uhs_signaling = esdhc_set_uhs_signaling, @@ -1588,17 +1554,6 @@ sdhci_esdhc_imx_probe_dt(struct platform_device *pdev, struct esdhc_platform_data *boarddata = &imx_data->boarddata; int ret; - if (of_property_read_bool(np, "fsl,wp-controller")) - boarddata->wp_type = ESDHC_WP_CONTROLLER; - - /* - * If we have this property, then activate WP check. - * Retrieveing and requesting the actual WP GPIO will happen - * in the call to mmc_of_parse(). - */ - if (of_property_read_bool(np, "wp-gpios")) - boarddata->wp_type = ESDHC_WP_GPIO; - of_property_read_u32(np, "fsl,tuning-step", &boarddata->tuning_step); of_property_read_u32(np, "fsl,tuning-start-tap", &boarddata->tuning_start_tap); From patchwork Fri May 5 08:49:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bough Chen X-Patchwork-Id: 679488 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74DA4C77B7D for ; Fri, 5 May 2023 08:47:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231178AbjEEIrl (ORCPT ); Fri, 5 May 2023 04:47:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231312AbjEEIrj (ORCPT ); Fri, 5 May 2023 04:47:39 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061.outbound.protection.outlook.com [40.107.21.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC54618DF7; Fri, 5 May 2023 01:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SGkO+p/7QUHkRTXgiqoRubK/JuY0iYw3QbV1ddQVqEI2zTwnob3j98FwZJv1+/0j7N5IN9v0bZK0jU8zu2qiOW9H3AHkNGThPV1wqkK1WW4wPS2eZYK1svejm5pNL3nHXayhHJC0zN59GuUaq9s3tj2A5GBCtiBOcjrspRWgjs5ZZB7TkipLDEOi9539IRjUlOPzEn9lkOs6nloQRZVlNFhVkklfRZgsd7iyRa+XmfU/s5PLT181l//6UedUJ3fMU8bPRb7WN/QsRRDACSjKAU9L0ANdzdjFLG71i7zExY0Mn43365MBnSNz5efT1MmbgaJ1GJlaL67iyoROjuzz5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HhnxT6IK2GemQsKV3B2D6vviukv8DCJhDFY+sf5pThk=; b=AG/jtUuFbhu0wzYNGu3U0kNnsdGueKvqWCYpLSF6x3wIbABhlzu41zeoq877SZtBiJV7eVkeHM2A0zQ33lYI1ubrOULYG39DTWKiquqFuYD3IkxEqttyzdsIYaFoe4F3yUuCDs/YARP3T9wLJfeoVIKqBF/PjFsJAw2EWQAOH7mQKwV4H3V2xcOEPrMIcPG/Wubs2l9CiA0r+z6D7nvYcFtI6nIan/QvxeV6BFWHuY0oXw21Fii3lwTgfhAffsCRlzok4E+7VGqRQMEYu6dMtIUftj70PJO9v8wh7KGzQ7IqNCb1eek2t8fDH+LPMA3Mbm/65VRKnMS1umIez23UFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HhnxT6IK2GemQsKV3B2D6vviukv8DCJhDFY+sf5pThk=; b=a7JKMXCwBXdVb+WYQEh1BpdqTs5HWPF9u7ygXJ/9yPMGP9kGS5AZ63IxrBOQ1ctKi9vNLOFVjGWvZTDwjAonA6LrT+E6iGJHDmHRItwkLUhvJKtAgTzlpGhch16e23ru3MdqMYUbZK6XodS2/CYqlAAOQMCUcjF9FoDQ0hbNqBQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB4010.eurprd04.prod.outlook.com (2603:10a6:5:21::30) by VI1PR04MB7024.eurprd04.prod.outlook.com (2603:10a6:800:124::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 08:47:28 +0000 Received: from DB7PR04MB4010.eurprd04.prod.outlook.com ([fe80::9d1e:facb:ae5a:25b6]) by DB7PR04MB4010.eurprd04.prod.outlook.com ([fe80::9d1e:facb:ae5a:25b6%3]) with mapi id 15.20.6363.022; Fri, 5 May 2023 08:47:28 +0000 From: haibo.chen@nxp.com To: adrian.hunter@intel.com, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: linux-imx@nxp.com, haibo.chen@nxp.com, kernel@pengutronix.de, festevam@gmail.com, cniedermaier@dh-electronics.com, devicetree@vger.kernel.org, kernel@dh-electronics.com Subject: [PATCH 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller" Date: Fri, 5 May 2023 16:49:54 +0800 Message-Id: <20230505084955.238940-3-haibo.chen@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230505084955.238940-1-haibo.chen@nxp.com> References: <20230505084955.238940-1-haibo.chen@nxp.com> X-ClientProxiedBy: SG2PR01CA0121.apcprd01.prod.exchangelabs.com (2603:1096:4:40::25) To DB7PR04MB4010.eurprd04.prod.outlook.com (2603:10a6:5:21::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB4010:EE_|VI1PR04MB7024:EE_ X-MS-Office365-Filtering-Correlation-Id: 8aa46607-6741-4a89-1db9-08db4d455b64 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kI8O0t1oPcnEJRchJKTCf5kw/e6jYDmo0s/UOKTDZYPamVgG8lS2r9xVqYtKeXOFYL6KsrDQAcp5+yVUlLp7v6MvYiJGu2ORZgxNl7wRZxV4ahOl/Zr9whEn+emXFgEjP4WxvWLH5BYBC7eJ5WqsOCJhCqxgq+dYfprnYQKaCIt1rVHyebvJfn2fiYushaHbZbkIsHYftj0Nd7m1wt7HvZUmlEyntAOTuLblAqNihRTKudLGHYiBKnCcSrg6JQRlnIiJH7VPYR7eZcLtgpAULi5PAHuZiOd6urdQn0b4spGApG585XKTqHBDBs2ECdFcQUjVE18v5PNtTeBc6/6yIPn7fXBe8S62+hwXv9Ip6nXRkJHJ4WdO4EabLaaUa45FZY6+ansFu2AI1vbkuGoks6r1s/OAcB/7ZoCzNlR8dKu/9MHeisvurDBT3TNqOgEF64b+2ZQtGRpAn7nhwIl9nr8TQXbUGFHPIuXJUIQ6lSK6fexZcDHhpivn8FfinEf5kI8ll+z3I7JMEXWpOklNi9bfe7DH+u5S0zpb5gPsDIFhnprXLSsOe8Yg34orB9Lk9qwEpdp6FDOqTHPUMmTq9gqHRwgAsee3o6HPqxAORefahYAyG+Ivgv0SDiI4+P5A X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR04MB4010.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(39860400002)(346002)(136003)(366004)(451199021)(86362001)(36756003)(6666004)(52116002)(316002)(4326008)(66946007)(66556008)(66476007)(478600001)(6486002)(41300700001)(7416002)(5660300002)(8676002)(8936002)(4744005)(2906002)(38350700002)(38100700002)(186003)(2616005)(6506007)(9686003)(1076003)(6512007)(26005)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cbsnhp3v4NL4g1jr0LYadinaIILJ7prf22TddkzVhlzGW2c03TKh13lg3UQf20AK/8p5+dHiPkpeOTOIVXH9gsxcDS3NvPpZcCgb6uA3y1m1PcRNYi+IW7tQjHiBJBjF6EAP7X6ybdgwrMpz7cGOGmH2iDON2SMR1ZravGxR9z/Kh0Isb6hFq61QAGNHypOMh0SOQ1Vfs4Z/wQ+4dIV1lgUBH5ed3aFG1V7ZcDyLN1vNVDnnpfWYy2dB+nDT3AWE7v2qD711SH20JRGFE9v8thcubPOmzN2DggqS3XtWpn9Uc9ZwUZ0Nz7Of95x7PE9WBHfcTKpUwDRW8KQjWiTFX8lBI5qrG/MNTIC4Io31aGOzw5Y6Pv3rGaYhUsUg0wI6U2qjnvwrcl5L9SqxsXZjzkBW/2fgs70o0jyrbEpQHvjjx2C5VcTVa49r9UU0lTZRrRWpXFMyWEPBqXJVxH9uznhJBb3SbpoKTTA3w812QmhFJAAjNF6ivvXVAUcX/fS+5UIqM+IY95cYpeWt26ltpLE1FptHiRrJIV15A6Cr0NVBb7lYinnINikdZR0P1p2kKLJI0idN9DbM2efaaK8+UseuQvvc8H2Z0SHblBAUvSA9jkLP6EkTJaPaSt5NuhwfW3IcpiHLnvYRwP3g5LZRiGzIsOGql+fF0ZB5iNORvU+NSirfQi2pl48qJxGW24FC2HAcXbMMY36uF1TCfjW0K6N5yT0d5LbYEN0sY86yn7Hz5EnyL/PpT5o7Vy7RFd2NVIbd8xjndbSOYdmXQ/am2e3fNQ7KWXvuPyCOPSonyccqYYPSVXTaQnKhj2ak2gCAEXEBfE5dVb+uAmgmCycOr/sWKfvIPNNw41d+xZlSXVWS66eSjs6g0dYMZVhCN4YMmIDrcKaiKashLRcBMSaZvoiYzA+si3d5q86+HrorI5bKXkWV+uTvZPBBZvj9+WsuFhTRugVeG/H747Hw1XV8lnyMTQkuceuDyvKMNipvbw6C+SJw8F8BnwWFn0wlA+b2WB8OAscWGOKgypP0OV/2w3eFKaVgwMnmjprZrctnuX9X/aQyBrbh0T7OcN3inzfabxM5Zg/A8zpIDTPrB1ObhyaMVb/rFlF8SzQkoHKpM04IEyKdPGVYbT/XZw0/5EjM+x/kkzjiYCurIRM7x4SN1aX36AGKqRg51gn+HQwMPE6LPpWGLtz7cuhKTDHMAqAHwmR9mXBBHrjAmlv0DxgvAWXvjJ1KhkohH6kHn6AJ78TRMuj8Mf+cSSsuTs63Vekufxrb/Nyg1ypXp+wTTy+WqkyxB1uOVZhJww6gtVDNHPehLZLv0Q7klxis19XMQkUmRwYw4l3sebdUgVbHFsOdrIKAC97YMpbcy8sKHAt5ESx7N2mpYOJqZvFOj1HHzIuxL9HoTlKCBSUrEfA9PPg8ilV8MVIVlszwf18NF75Z6FYXnVfOzwCLSwZIAWKC64QGSZaKBE0gNvwaTbLETApGM3l14JfEpVYEZ/z588V41pz5ixxsFa0DZFzhloKm20m3uDL4Ff/EymrNEnDbaGwN7EyUQl7eozdsVXEtBPTk9NrkWDimU8qp0qGZ+iCGoz1u X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8aa46607-6741-4a89-1db9-08db4d455b64 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB4010.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 08:47:28.7532 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: o9WxF5AG9Js/wDrmOyaqurR3gLVRb8XU/emTF4L+z+xIDwp92NodBmXn/pLYyiw7r8CuF+Mtpzq7oO1Hszozbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7024 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Haibo Chen Driver do not use this property, so remove it here. Signed-off-by: Haibo Chen --- Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index fbfd822b9270..831eadecc7e4 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -96,11 +96,6 @@ properties: interrupts: maxItems: 1 - fsl,wp-controller: - description: | - boolean, if present, indicate to use controller internal write protection. - type: boolean - fsl,delay-line: $ref: /schemas/types.yaml#/definitions/uint32 description: | From patchwork Fri May 5 08:49:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bough Chen X-Patchwork-Id: 680126 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC47EC77B7C for ; Fri, 5 May 2023 08:47:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231357AbjEEIrx (ORCPT ); Fri, 5 May 2023 04:47:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjEEIrw (ORCPT ); Fri, 5 May 2023 04:47:52 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061.outbound.protection.outlook.com [40.107.21.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B2B11892E; Fri, 5 May 2023 01:47:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TUqeFeY9RIIxTdERvzLCJU0bae71jbg1QRtsYHn4icTUCBp2LN9baS5HAQCsgxYN3b017ANOPRa1R9mq+nOhZqzUc6X891Sh0q/TRLgmAKHlSt1VPfbiCbYjXS8qjR1owATgH1CrtUvtyLfsG5ocRe9/WFBHQZ+5mhn3NMs18U/MDGTFNpxZihILJYCXzqtsKYkWSbMfeg21j05qKizwVrkgAwQaGRP7kJaLugSUQwhqHqhVObd8lRIk7EBp0vcQsh6/VLSUj7wLUtWm9gu1RkT94YDtnOlc8EPBci32hmZ5Ry7AAH5uDzuERik4vHkmGNdAzw7lk9gE3iWHrgNSBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=e/SOJD09I6MyT3dBVZkKU7DLkeL0WF+RZkNcyD+yXTk=; b=R2y7lg8cKI2xCWec9bPsvE3dq8/pISqnr6wC/1u/cy7g4MRF5LT3gbdMEfcmxIF2KePR3fAk5NCmruNb30N55hkGYkczZisUCNO9Iq4xREQ1oXVcESpO1NSHVg2GaqlCDDIdIWwpNEi4J2d8ZnPmYVpAaEJPF13LJhhcHQfsnNU5jzteTGNn9eU0lodBRiqeNLX3yJ8NrKejqju9V2EwlubRMFZszXLyT/C2XFfLu/AelXstxiPSO64NMkeDJa+09VQM0n2gxibNSVZboqCpZ82fAjlYKsUP01VkJhOFto3+UsQEL5dUua9OwxYlcmMIRHeugU6DePvvfj8oY73gyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e/SOJD09I6MyT3dBVZkKU7DLkeL0WF+RZkNcyD+yXTk=; b=DsBJigQLwFuAOoxbwM+W3wta0yex+jYoEGoczfzEZnrzbKX0wd9viu7LVhQk2NsnxN61F+yyOnCkiZMYqNzrr4M3pzbUlJ+W5Di1WSrq8SI5PyM9EErOfwbUANtk8BAmzixnh2iuGj34SsFAfLiNU2iLOkcgdutDg99F+nFMDho= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB4010.eurprd04.prod.outlook.com (2603:10a6:5:21::30) by VI1PR04MB7024.eurprd04.prod.outlook.com (2603:10a6:800:124::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 08:47:33 +0000 Received: from DB7PR04MB4010.eurprd04.prod.outlook.com ([fe80::9d1e:facb:ae5a:25b6]) by DB7PR04MB4010.eurprd04.prod.outlook.com ([fe80::9d1e:facb:ae5a:25b6%3]) with mapi id 15.20.6363.022; Fri, 5 May 2023 08:47:33 +0000 From: haibo.chen@nxp.com To: adrian.hunter@intel.com, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: linux-imx@nxp.com, haibo.chen@nxp.com, kernel@pengutronix.de, festevam@gmail.com, cniedermaier@dh-electronics.com, devicetree@vger.kernel.org, kernel@dh-electronics.com Subject: [PATCH 4/4] arm: dts: imx: remove "fsl,wp-controller" since it is dropped Date: Fri, 5 May 2023 16:49:55 +0800 Message-Id: <20230505084955.238940-4-haibo.chen@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230505084955.238940-1-haibo.chen@nxp.com> References: <20230505084955.238940-1-haibo.chen@nxp.com> X-ClientProxiedBy: SG2PR01CA0121.apcprd01.prod.exchangelabs.com (2603:1096:4:40::25) To DB7PR04MB4010.eurprd04.prod.outlook.com (2603:10a6:5:21::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB4010:EE_|VI1PR04MB7024:EE_ X-MS-Office365-Filtering-Correlation-Id: c08ad199-aaa7-4f4d-677e-08db4d455e04 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: k5lUPdRNJ4ucHtfxULLvVolO15S4swxVUHl8BiYc1Qr12qCDNnIDvEplEM3nXofgHFDcweQ/hhdW37bHGVaIEv/JvYAEbmmlidxK2BS+ksne9pNnW3+rToHsSWE9cq63tQr7T+eB8tnn5+Xn3WhsyoLnYGKbSnX7C3PrX/gwdlAxYL8n1K0I4OICQVhw46enxZ/Ynnvj3NFyw9Xhd1rj2wT0C3sXO3X9BnsoyJwIR2MtlOUfZQGFOckXA+ciC+9t8/SMYG0/I3WESaKIJbHYyB/03Ls7CGLn4qDMzZaEEunMpklmhu9fNWCSWDQ7jWuYynjtbuYLS+lUxXHnxUL+LLARpNbsgyODEUh9mMhi/dheV2wT+KdJMZWT4UQznry62BOmB/4ma38JOzDJVutzajAaX1giydOCev763wm3LOxs0GnIaxqSlQ/tuZrRPnqYZwr12ZjKbqnUogIC/G0fWP5/tYpSMkpUCKvZqxptEprxLhs0D9/xKnflP8bRQ+EC96xDlgZu01lIXZVSyLRWB2EsQo84PxtO0Z3xf1AFST1Y3FqwPNn+yErHOvtbQvdtVKkBubZ3cUKoMgnNFdlocZVv53ipXVGytI5UGo1MLLvnGdZmjE9lTn25adEsg7oH X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR04MB4010.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(39860400002)(346002)(136003)(366004)(451199021)(86362001)(36756003)(6666004)(52116002)(316002)(4326008)(66946007)(66556008)(66476007)(478600001)(6486002)(41300700001)(7416002)(5660300002)(8676002)(8936002)(2906002)(38350700002)(38100700002)(186003)(2616005)(6506007)(9686003)(1076003)(6512007)(26005)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Q/Aozrzm8WQ966E3TLXev3gh/R5r0JGXoixQdJL9Z7yH48VNsUr8lyl3/JtMNcdBlHMZupzjxO2L/jy7ub2bu6BEZpq1/0c9jh1CirJewX0RmkdDqhX5gKcQNPzYo389oRyDMwYE4TTnPSpwrP8cG5ObiVqm/et1NcypueRNJPLCTsBT0zpL0+PEG/scfVNWwQo4aulYOCkxEjnP6S3k3k8ur7/dSqkk4YEGV6ecwrk9rWT4qXHXRu7Yfn5eO+QBshEUB/FJWX7HIRvBgPKetkCn30OZxlgCRRdjdW0aonXS7G1ZTdTsgGeNfBwdDm2hMwTNbZ1rsOCYjBpBM834YIV21hvldlk8ATI5aBTkJmuh7/CvUTU/9kNzyAG7tyAMa5NSp+q9i7b9zBy9pgN9CkXzRXH8N9++cT/ewI43e47ZzQ4I5tD1VDXhoeurhf0pWZW/42YLd5bjH/LXRLfVWYNdgKV9xFEVWEo4wZg0R7GBae4ut4dxYSWLgrQGb++ClipxH114UftkZ1aiU9rSczbtaUM01YOkFnix6AY+nZPXV7DguHBFhHvSdRJJezFAD7FTM/59IKmF70sxJYnch9CCwQcbc1qRlzt7VbsEsnMMYK+tIRISKqdjPryyIPlC8vRmJeMmbroairvzvutYGyjmpCNsDGf7oONGVziKioF4iFl2XfXMGN/N1cj4bRJA59O/bgTXuRUfgGG7R8dXy6r28ALEASU3hqs0mmujV9s+Bd7Ttg67DS3/5KMbUIvIXkCEgt/P58wa74JHhCrQe5jAu4ZvdSbo+H4D8u2Z998bpJBeAVB8q3Xa1Ki6vANKpH0Gzju2POvG//kMSOxkSwjeU7b6nrm7WqE2JtjGy6hhM5/pJ5PbMGir2SZiVCjriIiXVR/G55Evn3dl+VgjYvXPuzVq+nvhozZvnRXefZi5P85Fzhrc+3PVPbX/TiD2nVwDGtIc2Q2MaZigeuQraAhv7sGVSU+/6Iht1FwghEhCSRPDqWiQxJRxYOep2L7x0IyaNFXWbWcTrpf+dxRcq+nomJH/fdza7p5L4Px5FyhhhQFjA5GzTdxcCwOny9Vi+F4SFK0YwruN+m1f0y+pVkptZfrG65c6Apy7LqmOfjiF0m1JrrX0TsmmD9WC7sB3TeZNQBoHagSBXK4GVJE4LTX7mcPvCLnpl7BNq/IkuOVAm4+3HKpnEun/XD2l4f/o2UwanaiJ8962MdTpkz7w9k190Dmya42nMfTRAxarz5b8irjomIqm+D7xK9z2OgYQCFGNB9gKqK4UITXMlNFKb7PPHvsqm9vCobZa0jcTfibo5yQZOh+kjzZdk9nB/C1RT6LAL6aAMAiBAabtvJijDKjKusp8WGjmY00O2BFGPMIhVj1DZp92pL/igtmtENsvfWFOVG/c++7bAPpINO0HAkQF8NZiXNIWsbVMxnF9nXCrAH6yTcfbDf9+TFheSKtoCZVXaNHps791rWK2aNI2KlxyGYQbpzkmAy6yN0wFfrVme9uF3b6mOSnUyGlW81ue3XnvF6bO7BSTn9nOYadxv2/q5/3yr44IbnP0dGjyyTcHxaeR3krr5Qo9LK0th68R X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c08ad199-aaa7-4f4d-677e-08db4d455e04 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB4010.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 08:47:33.1390 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lr8BFT2od5mE8LGBNNckCeGkeLVtFjk5JWbbCqe0HhBxfdbmczoWmHe12f/NCzUitnjwzXiCgcJaJP2A9aMy6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7024 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Haibo Chen The driver sdhci-esdhc-imx.c drop the "fsl,wp-controller", so do a clean up in the dts file. Now the logic of write protect is: if want to use gpio method to implement the write protect, need to add "wp-gpios" in dts file, otherwise will use the controller internal logic to implement the write protect. This controller method need to config one pin as a specific write protect function used for the controller. If not do this config or the board do not has this pin connect to card socket, then the write is enabled. So now remove "fsl,wp-controller" will not involve any logic change. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx53-sk-imx53.dts | 1 - arch/arm/boot/dts/imx53-tx53.dtsi | 2 -- arch/arm/boot/dts/imx6dl-tx6s-8035.dts | 1 - arch/arm/boot/dts/imx6dl-tx6u-8033.dts | 1 - arch/arm/boot/dts/imx6q-bosch-acc.dts | 2 -- arch/arm/boot/dts/imx6q-tx6q-1020-comtft.dts | 1 - arch/arm/boot/dts/imx6q-tx6q-1020.dts | 1 - arch/arm/boot/dts/imx6q-tx6q-1036.dts | 1 - arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi | 1 - arch/arm/boot/dts/imx6qdl-emcon.dtsi | 2 -- arch/arm/boot/dts/imx6qdl-ts4900.dtsi | 1 - arch/arm/boot/dts/imx6qdl-ts7970.dtsi | 1 - arch/arm/boot/dts/imx6qdl-tx6.dtsi | 2 -- arch/arm/boot/dts/imx6qp-tx6qp-8037.dts | 1 - arch/arm/boot/dts/imx6qp-tx6qp-8137.dts | 1 - arch/arm/boot/dts/imx6ul-tx6ul-0011.dts | 1 - arch/arm/boot/dts/imx6ul-tx6ul.dtsi | 1 - arch/arm/boot/dts/imxrt1050.dtsi | 1 - 18 files changed, 22 deletions(-) diff --git a/arch/arm/boot/dts/imx53-sk-imx53.dts b/arch/arm/boot/dts/imx53-sk-imx53.dts index 103e73176e47..071e8b4b0a7e 100644 --- a/arch/arm/boot/dts/imx53-sk-imx53.dts +++ b/arch/arm/boot/dts/imx53-sk-imx53.dts @@ -76,7 +76,6 @@ &ecspi2 { &esdhc1 { cd-gpios = <&gpio3 14 GPIO_ACTIVE_LOW>; - fsl,wp-controller; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_esdhc1>; status = "okay"; diff --git a/arch/arm/boot/dts/imx53-tx53.dtsi b/arch/arm/boot/dts/imx53-tx53.dtsi index a439a47fb65a..4bef504008cc 100644 --- a/arch/arm/boot/dts/imx53-tx53.dtsi +++ b/arch/arm/boot/dts/imx53-tx53.dtsi @@ -196,7 +196,6 @@ &gpio3 19 GPIO_ACTIVE_HIGH &esdhc1 { cd-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>; - fsl,wp-controller; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_esdhc1>; status = "okay"; @@ -204,7 +203,6 @@ &esdhc1 { &esdhc2 { cd-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>; - fsl,wp-controller; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_esdhc2>; status = "okay"; diff --git a/arch/arm/boot/dts/imx6dl-tx6s-8035.dts b/arch/arm/boot/dts/imx6dl-tx6s-8035.dts index a5532ecc18c5..63f043372931 100644 --- a/arch/arm/boot/dts/imx6dl-tx6s-8035.dts +++ b/arch/arm/boot/dts/imx6dl-tx6s-8035.dts @@ -67,7 +67,6 @@ &usdhc4 { bus-width = <4>; non-removable; no-1-8-v; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6dl-tx6u-8033.dts b/arch/arm/boot/dts/imx6dl-tx6u-8033.dts index 7030b2654bbd..2d24dae7dbfc 100644 --- a/arch/arm/boot/dts/imx6dl-tx6u-8033.dts +++ b/arch/arm/boot/dts/imx6dl-tx6u-8033.dts @@ -63,7 +63,6 @@ &usdhc4 { bus-width = <4>; non-removable; no-1-8-v; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6q-bosch-acc.dts b/arch/arm/boot/dts/imx6q-bosch-acc.dts index 8263bfef9bf8..26794f425a59 100644 --- a/arch/arm/boot/dts/imx6q-bosch-acc.dts +++ b/arch/arm/boot/dts/imx6q-bosch-acc.dts @@ -573,7 +573,6 @@ &usdhc2 { wakeup-source; voltage-ranges = <3300 3300>; vmmc-supply = <®_sw4>; - fsl,wp-controller; status = "okay"; }; @@ -586,7 +585,6 @@ &usdhc4 { keep-power-in-suspend; voltage-ranges = <3300 3300>; vmmc-supply = <®_sw4>; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6q-tx6q-1020-comtft.dts b/arch/arm/boot/dts/imx6q-tx6q-1020-comtft.dts index a773f252816c..15956a92fe8b 100644 --- a/arch/arm/boot/dts/imx6q-tx6q-1020-comtft.dts +++ b/arch/arm/boot/dts/imx6q-tx6q-1020-comtft.dts @@ -91,7 +91,6 @@ &usdhc4 { pinctrl-0 = <&pinctrl_usdhc4>; bus-width = <4>; no-1-8-v; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6q-tx6q-1020.dts b/arch/arm/boot/dts/imx6q-tx6q-1020.dts index 0a4daec8d3ad..9dc92773c2f1 100644 --- a/arch/arm/boot/dts/imx6q-tx6q-1020.dts +++ b/arch/arm/boot/dts/imx6q-tx6q-1020.dts @@ -67,7 +67,6 @@ &usdhc4 { bus-width = <4>; non-removable; no-1-8-v; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6q-tx6q-1036.dts b/arch/arm/boot/dts/imx6q-tx6q-1036.dts index cb2fcb4896c6..24eba1d2afd9 100644 --- a/arch/arm/boot/dts/imx6q-tx6q-1036.dts +++ b/arch/arm/boot/dts/imx6q-tx6q-1036.dts @@ -67,7 +67,6 @@ &usdhc4 { bus-width = <4>; non-removable; no-1-8-v; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi b/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi index eaa87b333164..f8b985029f51 100644 --- a/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi +++ b/arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi @@ -412,7 +412,6 @@ &usdhc2 { /* External SD card via DHCOM */ &usdhc3 { /* Micro SD card on module */ cd-gpios = <&gpio7 8 GPIO_ACTIVE_LOW>; - fsl,wp-controller; keep-power-in-suspend; pinctrl-0 = <&pinctrl_usdhc3>; pinctrl-names = "default"; diff --git a/arch/arm/boot/dts/imx6qdl-emcon.dtsi b/arch/arm/boot/dts/imx6qdl-emcon.dtsi index ee2dd75cead6..61306e6da6bd 100644 --- a/arch/arm/boot/dts/imx6qdl-emcon.dtsi +++ b/arch/arm/boot/dts/imx6qdl-emcon.dtsi @@ -792,13 +792,11 @@ &usbotg { &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>; - fsl,wp-controller; }; &usdhc2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc2>; - fsl,wp-controller; }; &usdhc3 { diff --git a/arch/arm/boot/dts/imx6qdl-ts4900.dtsi b/arch/arm/boot/dts/imx6qdl-ts4900.dtsi index f88da757edda..6d2f04434d6c 100644 --- a/arch/arm/boot/dts/imx6qdl-ts4900.dtsi +++ b/arch/arm/boot/dts/imx6qdl-ts4900.dtsi @@ -464,7 +464,6 @@ &usdhc2 { pinctrl-0 = <&pinctrl_usdhc2>; vmmc-supply = <®_3p3v>; bus-width = <4>; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6qdl-ts7970.dtsi b/arch/arm/boot/dts/imx6qdl-ts7970.dtsi index 1e0a041e9f60..d4c967971f6a 100644 --- a/arch/arm/boot/dts/imx6qdl-ts7970.dtsi +++ b/arch/arm/boot/dts/imx6qdl-ts7970.dtsi @@ -579,7 +579,6 @@ &usdhc2 { pinctrl-0 = <&pinctrl_usdhc2>; vmmc-supply = <®_3p3v>; bus-width = <4>; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6qdl-tx6.dtsi b/arch/arm/boot/dts/imx6qdl-tx6.dtsi index a197bac95cba..e74fb3171656 100644 --- a/arch/arm/boot/dts/imx6qdl-tx6.dtsi +++ b/arch/arm/boot/dts/imx6qdl-tx6.dtsi @@ -777,7 +777,6 @@ &usdhc1 { bus-width = <4>; no-1-8-v; cd-gpios = <&gpio7 2 GPIO_ACTIVE_LOW>; - fsl,wp-controller; status = "okay"; }; @@ -787,6 +786,5 @@ &usdhc2 { bus-width = <4>; no-1-8-v; cd-gpios = <&gpio7 3 GPIO_ACTIVE_LOW>; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6qp-tx6qp-8037.dts b/arch/arm/boot/dts/imx6qp-tx6qp-8037.dts index ffc0f2ee11d2..18cda0d42826 100644 --- a/arch/arm/boot/dts/imx6qp-tx6qp-8037.dts +++ b/arch/arm/boot/dts/imx6qp-tx6qp-8037.dts @@ -67,7 +67,6 @@ &usdhc4 { bus-width = <4>; non-removable; no-1-8-v; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6qp-tx6qp-8137.dts b/arch/arm/boot/dts/imx6qp-tx6qp-8137.dts index dd494d587014..7478ae7535f4 100644 --- a/arch/arm/boot/dts/imx6qp-tx6qp-8137.dts +++ b/arch/arm/boot/dts/imx6qp-tx6qp-8137.dts @@ -71,7 +71,6 @@ &usdhc4 { bus-width = <4>; non-removable; no-1-8-v; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6ul-tx6ul-0011.dts b/arch/arm/boot/dts/imx6ul-tx6ul-0011.dts index d82698e7d50f..5a2e8edf149e 100644 --- a/arch/arm/boot/dts/imx6ul-tx6ul-0011.dts +++ b/arch/arm/boot/dts/imx6ul-tx6ul-0011.dts @@ -63,6 +63,5 @@ &usdhc2 { bus-width = <4>; no-1-8-v; non-removable; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6ul-tx6ul.dtsi b/arch/arm/boot/dts/imx6ul-tx6ul.dtsi index 70cef5e817bd..62c96884bfda 100644 --- a/arch/arm/boot/dts/imx6ul-tx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul-tx6ul.dtsi @@ -575,7 +575,6 @@ &usdhc1 { bus-width = <4>; no-1-8-v; cd-gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; - fsl,wp-controller; status = "okay"; }; diff --git a/arch/arm/boot/dts/imxrt1050.dtsi b/arch/arm/boot/dts/imxrt1050.dtsi index 852861558b47..7e983c52ebcd 100644 --- a/arch/arm/boot/dts/imxrt1050.dtsi +++ b/arch/arm/boot/dts/imxrt1050.dtsi @@ -91,7 +91,6 @@ usdhc1: mmc@402c0000 { <&clks IMXRT1050_CLK_USDHC1>; clock-names = "ipg", "ahb", "per"; bus-width = <4>; - fsl,wp-controller; no-1-8-v; max-frequency = <200000000>; fsl,tuning-start-tap = <20>;