From patchwork Fri Dec 28 03:26:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bough Chen X-Patchwork-Id: 10744121 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ED71B13AD for ; Fri, 28 Dec 2018 03:26:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD07528D48 for ; Fri, 28 Dec 2018 03:26:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CFDDB28E03; Fri, 28 Dec 2018 03:26:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6CA0628D48 for ; Fri, 28 Dec 2018 03:26:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=nRJ9RAjMs69vD1fMhbKkvnwyk1Ri/YO0LPShq/T+jw8=; b=UW8aonX7t63j3Y iJDBN8pUbex+bK6GLsOQvEvScca/Yq8jWIqE+5/sBez9AkeGxX2y5XBLcn+W5kJ59vEqWWs9FcGu5 r755cuZUqCfgX9XOsLrVIUD38/E3J9HbQN5CCS8Sx86i/h5qiF846ZtRRtHYzNm2OFJm04NRRh1ae xRewMQxSQbA8pDqK+ziwe7btxQYCILqT6iA3bRvGpvFG99YroZ6eEJPREYSon2V/rq+qbiAePXJuf 7x/CRx7vWJgS6oKQx9UEp5qrkpB5Nv0OeRii7kqud43lna0p5shm0+OAk3IsD52YiyViIRd/LtazJ Zh4ZZk//7w4oT6EWEWrg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcin2-00072j-RG; Fri, 28 Dec 2018 03:26:24 +0000 Received: from mail-eopbgr60079.outbound.protection.outlook.com ([40.107.6.79] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcimz-00071s-Hy for linux-arm-kernel@lists.infradead.org; Fri, 28 Dec 2018 03:26:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z0iSe9y5AS0B1OtkN47pomV626BFa1lDY1arvnlcNuw=; b=F9FZYO2/64ETECylncajzOD6Pp+Ui0Fn3VrhMFvh1ClXK9Uz4Qn/zBYED8dJy6NzHeSFVjuH9kcP0CWFCEfaawxR6iNlTexKpmloBp5BOTucJySF6k5hniTM53Sb1Mn1v9FyTCxu+qF7R981hzAT10u8S6VS+XPLXGANCmTFj00= Received: from VI1PR04MB5040.eurprd04.prod.outlook.com (20.177.50.97) by VI1PR04MB6047.eurprd04.prod.outlook.com (20.179.24.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.23; Fri, 28 Dec 2018 03:26:04 +0000 Received: from VI1PR04MB5040.eurprd04.prod.outlook.com ([fe80::cd3d:ce97:132b:7148]) by VI1PR04MB5040.eurprd04.prod.outlook.com ([fe80::cd3d:ce97:132b:7148%3]) with mapi id 15.20.1471.019; Fri, 28 Dec 2018 03:26:04 +0000 From: BOUGH CHEN To: "ulf.hansson@linaro.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "adrian.hunter@intel.com" , "rmk+kernel@armlinux.org.uk" Subject: [PATCH v2 1/3] dt-bindings: mmc: fsl-imx-esdhc: add imx6ull compatible string Thread-Topic: [PATCH v2 1/3] dt-bindings: mmc: fsl-imx-esdhc: add imx6ull compatible string Thread-Index: AQHUnl0QX2S2IOSkb0K6pA5VMcybrw== Date: Fri, 28 Dec 2018 03:26:04 +0000 Message-ID: <20181228033323.32308-1-haibo.chen@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-clientproxiedby: HK2PR02CA0141.apcprd02.prod.outlook.com (2603:1096:202:16::25) To VI1PR04MB5040.eurprd04.prod.outlook.com (2603:10a6:803:59::33) authentication-results: spf=none (sender IP is ) smtp.mailfrom=haibo.chen@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.121.68.129] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB6047; 6:wjsVxaak5YwioKYAhPcpLtjtQf77STnAl3K8FEFPLtaNSjy2lMapyZhjAfPCK5UrYpeasm2kyxZVsOb8GjeTRp7oL+6hPkFR/pqj2wENVGpLPkaUQtRy+9pXnAdKx/ehtXLPZARJSVkj4i/tcmGYjLh0yg2N9DP4gunoTUVUepmc5RwrTCvpxPpo14MoGKXBvvMTMJ6wCpYknmtybVkzda2IXHwiOBqXNuu94fvFJfRvxZEs1yJMM33Z6mLeeOhNhpW+15+Lc4J/bNEQWTfBKT0Zw6PD0RYucj1JYjUM70e8JeZc/fW+iX+Mditq7jM46GSUDCTA6FrF3CnyM0KPdrh004+Y7N94qgdyPie8aUnAdY3sKNJBEtnZeCtx8+KL/m50T41dX3cnR4D6v4tAVwRo5scOUgK4V4vLAReeS8a9Cp4iz3xquskfHZmwyURVNjNYu2LcYZ4HPaOOZ7KZ/w==; 5:oaU5fhzs1TWMZRz5IWPrCmnQ2ugK0R2rV7avf1ETs/7NmVqn9utzOvytJKpBZzjxKhMKIYnnxdJDKGD65GeYogyowr8R3NK2IBChbiqO9T/iKZxn5FtcSgc50r7nHFUOeFZw2In4AJGk+Z2QdKbpjCtBf4d0sg4VrwcXw1ztOtI=; 7:DDv1juMPG8XWBnGriKtOCHaTlyDG9g7/cWQoKa7PNVg58/uvgIKIJowfai/zwCblBTb73nil8w5I3Bos+TZt+M0Q9BMx0UPhEFR/FueySXr3qRy9WDMxQF9igpMsntN7O8sOE3a3obAiynwlSQIsNg== x-ms-office365-filtering-correlation-id: 49ff9528-2ae6-4313-c253-08d66c7432aa x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600109)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB6047; x-ms-traffictypediagnostic: VI1PR04MB6047: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220051)(2401047)(8121501046)(10201501046)(3231475)(944501520)(52105112)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB6047; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB6047; x-forefront-prvs: 09007040D4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(366004)(39860400002)(346002)(136003)(199004)(189003)(2906002)(68736007)(7736002)(5660300001)(86362001)(36756003)(6116002)(3846002)(102836004)(8936002)(26005)(52116002)(81166006)(81156014)(386003)(6506007)(8676002)(186003)(106356001)(105586002)(305945005)(50226002)(71190400001)(71200400001)(478600001)(66066001)(53346004)(7416002)(25786009)(316002)(97736004)(14454004)(1076003)(6436002)(256004)(476003)(6486002)(54906003)(99286004)(110136005)(486006)(2201001)(6512007)(4326008)(2616005)(2501003)(53936002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB6047; H:VI1PR04MB5040.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: lhe6RReqAyUmOD7HZKnadT6t8qRn7hkpyks05UAM3kmVTYliDOAOocOgVC5+4ZbFA4FUeaOXsWMU/m/1APXDwLRDYvk6AEEhHDHdCxAOu8RAiGNuF8E4UHg+WUtE7v069xAp3BQS6544IfOJNZB6rHMrvRvzuJI0U0/Q9mG9T5G2wZYBNjNwu+vkbuQ8r4PBGG/tRcGDdWIyDI00exoV0KGwFAUNZexT3GkQ2JvVAGOdWvOO34F4WoBGk2iKZ18/tdWny4qg+kBQ/ZCsseg8FNKerf5suDQX2pgpOa61DxPqqrvde3LG39GCCKLAF6DI spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 49ff9528-2ae6-4313-c253-08d66c7432aa X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Dec 2018 03:26:04.8246 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6047 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181227_192621_600228_6A72054F X-CRM114-Status: GOOD ( 10.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , "devicetree@vger.kernel.org" , "linux-mmc@vger.kernel.org" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add imx6ull compatible string Signed-off-by: Haibo Chen Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt index 9201a7d8d7b0..540c65ed9cba 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt @@ -15,6 +15,7 @@ Required properties: "fsl,imx6q-usdhc" "fsl,imx6sl-usdhc" "fsl,imx6sx-usdhc" + "fsl,imx6ull-usdhc" "fsl,imx7d-usdhc" "fsl,imx8qxp-usdhc" From patchwork Fri Dec 28 03:26:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bough Chen X-Patchwork-Id: 10744123 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4263914E2 for ; Fri, 28 Dec 2018 03:26:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3255728D48 for ; Fri, 28 Dec 2018 03:26:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2316728E03; Fri, 28 Dec 2018 03:26:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A9CD428D48 for ; Fri, 28 Dec 2018 03:26:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JHECfXwom+2yDLDJouh3EQ/OMyjl1RvwkBn4Mdhcat0=; b=TWe7T1yaDaN22J nzaqZ2+vS/6d/+O9OXNwPCl5vHRDe9jMecNB+Cu5sXiIifNZt+qexsUAwkI3QbPIL6Nn+rUrOJlIa tnd0AEhsdFxSMm5KnWJ03hxCFRak+ho8x50nmKQxWG2ffxFxkO+CdjpwycDzzsUnrfgqzbDJLq94J Mfc4fQ++I1kMcsE4HZwgQe4auJQ9NK8n3M4HiqVeyeVgLBpgqFuQLaYNjocZAKJSYkUW7zggr1yv1 n2wjBmA1J6j0jCl256DFGdCO7tV5ySdDz+C41lGyY0HbHgCD+tscASwUXpo5GEUXCUh4/bcq+1mLr r76DpG4jkWgPB6J/n3mA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcinH-0007GI-FW; Fri, 28 Dec 2018 03:26:39 +0000 Received: from mail-eopbgr60079.outbound.protection.outlook.com ([40.107.6.79] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcin1-00071s-Fy for linux-arm-kernel@lists.infradead.org; Fri, 28 Dec 2018 03:26:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=plG2ljvco3nfMRnvaeCKdR7A1pffA/YItylBmxxDd0Q=; b=SpVGQoN8vcVcCrVhq+cGthBNYyE3Zu9qjI6T2HFVZ8S0IPHkTmN4FRYTBPo9k8Gl2BFXc0IiMjxBa6Urx5/1wQYSC+DJ4rlWtm92YslrxdSFznMUrZe9HhREWqV7gKfUYV0AWjQwNPuyDTZvWG4i9HoIc10sGzl3QPFw/K0GL0E= Received: from VI1PR04MB5040.eurprd04.prod.outlook.com (20.177.50.97) by VI1PR04MB6047.eurprd04.prod.outlook.com (20.179.24.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.23; Fri, 28 Dec 2018 03:26:10 +0000 Received: from VI1PR04MB5040.eurprd04.prod.outlook.com ([fe80::cd3d:ce97:132b:7148]) by VI1PR04MB5040.eurprd04.prod.outlook.com ([fe80::cd3d:ce97:132b:7148%3]) with mapi id 15.20.1471.019; Fri, 28 Dec 2018 03:26:10 +0000 From: BOUGH CHEN To: "ulf.hansson@linaro.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "adrian.hunter@intel.com" , "rmk+kernel@armlinux.org.uk" Subject: [PATCH v2 2/3] mmc: sdhci-esdhc-imx: add SD clock limitation for imx6ull Thread-Topic: [PATCH v2 2/3] mmc: sdhci-esdhc-imx: add SD clock limitation for imx6ull Thread-Index: AQHUnl0Tx2I9di4OK0SPJzvWAKhVnA== Date: Fri, 28 Dec 2018 03:26:10 +0000 Message-ID: <20181228033323.32308-2-haibo.chen@nxp.com> References: <20181228033323.32308-1-haibo.chen@nxp.com> In-Reply-To: <20181228033323.32308-1-haibo.chen@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-clientproxiedby: HK2PR02CA0141.apcprd02.prod.outlook.com (2603:1096:202:16::25) To VI1PR04MB5040.eurprd04.prod.outlook.com (2603:10a6:803:59::33) authentication-results: spf=none (sender IP is ) smtp.mailfrom=haibo.chen@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.121.68.129] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB6047; 6:twCR9u+bBrhgOFkwtD0RmO1SY5W809HHH8wgrFhzHyBtiBsitUN9126hE4O0ZSzOlmRfsQN2me+El2HnJRpZyZpHi2osm9fmzNJu0kHJ6Fym9AuBVpTNBovLAp96FK2/adqShYB0fPkCGmLMpHmmGInG+lITiAAjQDQ7AXqtjRYahcBBJUmXOrg6T4MxstEGPfbRtsNVC89XQn3RuQVi47IanIss+0FbZPGUfXjO0USAi1MpOZHB+ix0Jyte2lciLaZMQfnl//mYh6r8DpdmC/MpMvIA8D2EAai3vLAIysLIuBEbwVcdPCJ2LXsrA8lD3NP6xnWLOwPKxAzHwgdpp+uvaD3r+KQ2/b/NmjWQqbwOfPE+UqoAFE/3WGZIynFbEdXWJl4pb7njV2SUUmmwc1P19tz0lLQ1GgSioYYk3BaxdnWGX5xKnETM2z/uHMrs3jXFCoInqRhIuivBF841AA==; 5:d/Q7gc1bmz1QGQ6wkdSKCDlWOCkQ4jQV1zMjJEBDhdeteVnr8xIoxH8P576CNwamGzY+wbzws574kc6HdzD8zASSwhN5j9l+2i8AxkjbLGgZabyD1IgkXoGp0NToAlV1fS+6PFJphR4N01vg9S5w0XhmTmCAnrA8PakArwTi3s8=; 7:ChjhmGFqS4hqALCX3Ybevx/u0gWwuugVjwfVmiFxfp2Qg/O+R2FNcyQwjP4NoN5b2wTYa9+bG2196FCA0aDGLsdQSGafCZYQ8aqzUhhIw+efWAjoES/ky+vhUP885JqItnUILbNwPZ+IIUYsQfHzwQ== x-ms-office365-filtering-correlation-id: ad826683-c679-4060-7e8d-08d66c743631 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600109)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB6047; x-ms-traffictypediagnostic: VI1PR04MB6047: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220051)(2401047)(8121501046)(10201501046)(3231475)(944501520)(52105112)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB6047; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB6047; x-forefront-prvs: 09007040D4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(366004)(39860400002)(346002)(136003)(199004)(189003)(2906002)(68736007)(7736002)(5660300001)(86362001)(36756003)(6116002)(3846002)(102836004)(8936002)(26005)(52116002)(81166006)(81156014)(386003)(6506007)(76176011)(8676002)(186003)(106356001)(105586002)(305945005)(446003)(50226002)(71190400001)(71200400001)(478600001)(66066001)(53346004)(7416002)(25786009)(316002)(11346002)(97736004)(14454004)(1076003)(6436002)(256004)(476003)(14444005)(6486002)(54906003)(99286004)(110136005)(486006)(2201001)(6512007)(4326008)(2616005)(2501003)(53936002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB6047; H:VI1PR04MB5040.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: k2FRwqp1Mo7rF/xzxjpS24Q3x0DJIbjpWquUcx+3ovZT4aWkjj8Teyf57Jdt9+ZQ2Oa12zgyH3an+RamJZSUwDMo0N4Dhki20txHf6GcHcH8kLOJrm07lFtJOHhV4bQ5m8rEzWnmtZlhq2pfTsceyVErRL7lqr2/ujy6wOq7ECr8wnESsgBDGqFKtCttlh2KP5nmyE+nsn3SP7qQl6RziYLVdjPXlibBUnJ4/Qkvsa7nwYPTxFMkzzpqAV5nGc3h1iqf8ut8AW44xpraWZh++quV88ifdwoC1K5JPSP7gFwFArhXZRWm6eg3UWixF40x spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ad826683-c679-4060-7e8d-08d66c743631 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Dec 2018 03:26:10.3925 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6047 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181227_192623_528656_DA67435E X-CRM114-Status: GOOD ( 14.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , "devicetree@vger.kernel.org" , "linux-mmc@vger.kernel.org" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP i.MX6ULL has errata ERR010450, point out that due to SOC I/O timing limitation, for eMMC HS200 and SD/SDIO 3.0 SDR104, the clock rate can't exceed 150MHz. And for eMMC DDR52 and SD/SDIO DDR50 mode, the clock rate can't exceed 45MHz. This patch add this limit for imx6ull. Signed-off-by: Haibo Chen Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci-esdhc-imx.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 7cfcc8618e45..e1d9b2985979 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -138,7 +138,11 @@ #define ESDHC_FLAG_HS200 BIT(8) /* The IP supports HS400 mode */ #define ESDHC_FLAG_HS400 BIT(9) - +/* The IP has errata ERR010450 + * uSDHC: Due to the I/O timing limit, for SDR mode, SD card clock can't + * exceed 150MHz, for DDR mode, SD card clock can't exceed 45MHz. + */ +#define ESDHC_FLAG_ERR010450 BIT(10) /* A clock frequency higher than this rate requires strobe dll control */ #define ESDHC_STROBE_DLL_CLK_FREQ 100000000 @@ -177,6 +181,12 @@ static struct esdhc_soc_data usdhc_imx6sx_data = { | ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200, }; +static struct esdhc_soc_data usdhc_imx6ull_data = { + .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING + | ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200 + | ESDHC_FLAG_ERR010450, +}; + static struct esdhc_soc_data usdhc_imx7d_data = { .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING | ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200 @@ -227,6 +237,7 @@ static const struct of_device_id imx_esdhc_dt_ids[] = { { .compatible = "fsl,imx6sx-usdhc", .data = &usdhc_imx6sx_data, }, { .compatible = "fsl,imx6sl-usdhc", .data = &usdhc_imx6sl_data, }, { .compatible = "fsl,imx6q-usdhc", .data = &usdhc_imx6q_data, }, + { .compatible = "fsl,imx6ull-usdhc", .data = &usdhc_imx6ull_data, }, { .compatible = "fsl,imx7d-usdhc", .data = &usdhc_imx7d_data, }, { /* sentinel */ } }; @@ -733,6 +744,14 @@ static inline void esdhc_pltfm_set_clock(struct sdhci_host *host, | ESDHC_CLOCK_MASK); sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); + if (imx_data->socdata->flags & ESDHC_FLAG_ERR010450) { + unsigned int max_clock; + + max_clock = imx_data->is_ddr ? 45000000 : 150000000; + + clock = min(clock, max_clock); + } + while (host_clock / (16 * pre_div * ddr_pre_div) > clock && pre_div < 256) pre_div *= 2; From patchwork Fri Dec 28 03:26:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bough Chen X-Patchwork-Id: 10744125 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8B10B924 for ; Fri, 28 Dec 2018 03:26:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7BE9528D48 for ; Fri, 28 Dec 2018 03:26:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F4F728E03; Fri, 28 Dec 2018 03:26:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0F6A328D48 for ; Fri, 28 Dec 2018 03:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gaSo0A/rlhU2Os5eBBazXgWm56JBlTqF/AdJduUW2LI=; b=oeQPU6cC6Fvs81 rfNoAXRXSbGSlUyH3JxFf6gsIGnZUIDJwuNTXzitLNpkLKSq05g4wIXu+MnuyDFZFdDeIMt9vN3iy jykfmkwJyRQJm+kJBzSpp7UKADmHzl++YEpfgCnhxuGRMUAaXGVB6yDJaBMhZ758Q1qzPHO5JwtOo t2hO+6LJOrFvqZrtawsOcT1vAIcETZgMqdvCD0i19xFFFSJ4e/cSa7Y8IBh5ota7JhY+FZ464mh0m b1VsNiM4PIU8VEtJCz3e58mWkDBq0OErg2eVLkQNHwLla6a5t0isl0HXpXzPdZCPg3HOj7zKiz39U BMfQPrVVH4xka4gkd5OA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcinR-0007Rl-Rs; Fri, 28 Dec 2018 03:26:49 +0000 Received: from mail-eopbgr60079.outbound.protection.outlook.com ([40.107.6.79] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcin3-00071s-91 for linux-arm-kernel@lists.infradead.org; Fri, 28 Dec 2018 03:26:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0WKMJDJ4zFL73UxJ9B4P6uMjXe9wcqTVkB4b8CIT4H8=; b=MaY+tEB4DnEOTz02QM3B1255AslYnXM5pbIFOkxKN1OH6YVoqi6bUmr6WK4jpBgu7ho+B+WEHcduyknfTO7uEE4zZaResTAGY8y34+glhY3nr65Fxv7umAgXz+Nds/RGuR8hHQ3OVLJmHEjS4m+GSWnjiJTe39I4i8evtA4Z2MI= Received: from VI1PR04MB5040.eurprd04.prod.outlook.com (20.177.50.97) by VI1PR04MB6047.eurprd04.prod.outlook.com (20.179.24.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.23; Fri, 28 Dec 2018 03:26:16 +0000 Received: from VI1PR04MB5040.eurprd04.prod.outlook.com ([fe80::cd3d:ce97:132b:7148]) by VI1PR04MB5040.eurprd04.prod.outlook.com ([fe80::cd3d:ce97:132b:7148%3]) with mapi id 15.20.1471.019; Fri, 28 Dec 2018 03:26:16 +0000 From: BOUGH CHEN To: "ulf.hansson@linaro.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "adrian.hunter@intel.com" , "rmk+kernel@armlinux.org.uk" Subject: [PATCH v2 3/3] ARM: dts: imx6ull: change to use new compatible "fsl,imx6ull-usdhc" for usdhc Thread-Topic: [PATCH v2 3/3] ARM: dts: imx6ull: change to use new compatible "fsl,imx6ull-usdhc" for usdhc Thread-Index: AQHUnl0XSZn1LiPUw0Ku0PNeBt+ZMQ== Date: Fri, 28 Dec 2018 03:26:16 +0000 Message-ID: <20181228033323.32308-3-haibo.chen@nxp.com> References: <20181228033323.32308-1-haibo.chen@nxp.com> In-Reply-To: <20181228033323.32308-1-haibo.chen@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-clientproxiedby: HK2PR02CA0141.apcprd02.prod.outlook.com (2603:1096:202:16::25) To VI1PR04MB5040.eurprd04.prod.outlook.com (2603:10a6:803:59::33) authentication-results: spf=none (sender IP is ) smtp.mailfrom=haibo.chen@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.121.68.129] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB6047; 6:q+fCLKB8WDczR9Ul1DNfgKC/nRN/p4SdzpqQLPYWKAwn1xLTESrmcFTDOCHSq5WKyn4THaNOfGq3KlX4Eci/w0PHjiF8cwW2hhZoZ/SgvYhRqd5U1k7pd9vuCbJ+BiROpAM9DcJN8U0iOYc2DsdcLCBuVWM9u6ELkWJBHnpz7KLWHftudFqo5hyXlGX89aFntRpBmDEmsU/xaODJjBqZTBdiOrrFNzo+w40QtM1axHpDG5Fl1l88IawXerfYc4WNitONEANvZ3vkC1+GasfHC2HIGaDwlW2Uz8z3byxsjABrzhXzbcUdRL22q60SwGavwOOc1VAPAz3LYAUumPDEUFwdP3hMVa4BgWtacQXNGMm13dze1IAIm9DuoFJ8wHaF6WpY8tXO8ZOqsivvC7YsZsescRchFpMK5NedTWJt5Y7LlLAJ9PWLfzlTQLlQyrfhqTcKxX+hafUEZSth2wQnMw==; 5:Q1zJ+g3jpVLeqkCw0pNQVQZN21qibU27u+1VcP/e61IVLE+DgFGrC7BeIAvvSPGgcW94e/PS9n+4QImrBVEQxMkdZcDk+lu8BegzpMtxP4LNc+M6GXH1x29OmafbhQxvOU4CSvQi9ola3UpGmWbkOdUmo5TO379hv+xNF1Pv8zg=; 7:T+Jm7dnDj/xZGs216ez8ASx1Esj2woCCGU9FG4MSc0BEEuPRuL1gojycuyugxtLG89LPuS26AFbDZ2EBROv2UDtoyxSjEVHTT+XaZ9/ogMSRpF98twwaUZcRdYI1tD9wEeh/E/m8Qc2W8EpUrXOXng== x-ms-office365-filtering-correlation-id: da8bcf94-5cc4-4d52-1b44-08d66c743981 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600109)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB6047; x-ms-traffictypediagnostic: VI1PR04MB6047: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220051)(2401047)(8121501046)(10201501046)(3231475)(944501520)(52105112)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB6047; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB6047; x-forefront-prvs: 09007040D4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(366004)(39860400002)(346002)(136003)(199004)(189003)(2906002)(68736007)(7736002)(5660300001)(86362001)(36756003)(6116002)(3846002)(102836004)(8936002)(26005)(52116002)(81166006)(81156014)(386003)(6506007)(76176011)(8676002)(186003)(106356001)(105586002)(305945005)(446003)(50226002)(71190400001)(71200400001)(478600001)(66066001)(53346004)(7416002)(25786009)(316002)(11346002)(97736004)(14454004)(1076003)(6436002)(256004)(476003)(14444005)(6486002)(54906003)(99286004)(110136005)(486006)(2201001)(6512007)(4326008)(2616005)(2501003)(53936002)(142933001)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB6047; H:VI1PR04MB5040.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: /muYwXH8qNV0L0+yhbtnHlL1poRTmfC2CBhLwsWq4px1N9kwpixatsM4DoqJFRJg/jXkv7oUlnJmRiDjJF255XIqgw6g4PU4vjJIt0jb2WI6ysa1xnAJ7xaandE3h9X6rKkbjxlhtElgoOW81+o/azyUbKSmgLlmJkG2jthhs379wVf8vgNIHWkthcGUWnrklDFva1qZlW1nY+aFj5bannFw45n0ypTrOKa8el3LTAuS44Pqw5eC1ufRWBzHkAGA8O30C22Kpwn2kD0STG1r5V0PEk0qnShxeUFIl/XLMbNtQrY49YDWogKWDgIDeIIj spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: da8bcf94-5cc4-4d52-1b44-08d66c743981 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Dec 2018 03:26:16.0905 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6047 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181227_192625_533010_9A3D4508 X-CRM114-Status: GOOD ( 12.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , "devicetree@vger.kernel.org" , "linux-mmc@vger.kernel.org" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP i.MX6ULL has errata ERR010450, there is I/O timing limitation, for SDR mode, SD card clock can't exceed 150MHz, for DDR mode, SD card clock can't exceed 45MHz. This patch change to use the new compatible "fsl,imx6ull-usdhc" to follow this limitation. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx6ull.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull.dtsi b/arch/arm/boot/dts/imx6ull.dtsi index f3668fe69eac..4ad58283a9f4 100644 --- a/arch/arm/boot/dts/imx6ull.dtsi +++ b/arch/arm/boot/dts/imx6ull.dtsi @@ -30,6 +30,14 @@ >; }; +&usdhc1 { + compatible = "fsl,imx6ull-usdhc", "fsl,imx6sx-usdhc"; +}; + +&usdhc2 { + compatible = "fsl,imx6ull-usdhc", "fsl,imx6sx-usdhc"; +}; + / { soc { aips3: aips-bus@2200000 {