Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2955563imb; Mon, 4 Mar 2019 19:35:59 -0800 (PST) X-Google-Smtp-Source: APXvYqzOs+U1R4Y3BWqOFxpGXTWL5L3twpipfexAlyw+5W9hCxU0n5kOuKn11QwTYjoj5UAk26bx X-Received: by 2002:a63:4a4d:: with SMTP id j13mr21281913pgl.16.1551756959721; Mon, 04 Mar 2019 19:35:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551756959; cv=none; d=google.com; s=arc-20160816; b=Rfkd9RiPpYXSUrotwDRu/DsJfw0kFB/Ws+Mm2BaLlax3Rp2+x3SUY1RvLZEPfqeIi3 nh7OA7hRb7FOWw5dvBCvpmeox9TAWPIN63sZt5JYuWyp0mMSAQLrxofctTTuMQQebymQ HwzFtAEgPUb7MJ+Sv+R5I2YlXTE/bcXM7ox/aQK3D1WQbHr7XHqzjyS0JT4N4yb/az97 2BK8Zf8XBcbPwzYRs4luxcie+l7d0R9LLAdZwEi7f9e99ejzg/PFernOEgoC0GzuQ7hu 58ol3G05+inTZcmaU2QvKzL4naTAY8jjrPm5AaWOSA2MIzMgmPsgkgt4Mz5EvYtk7C+r 94BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=Rwjd2Y4sgG5xKUmCR/4S6kXmWse2fKLcxoApngIwFJQ=; b=w9aSIYVprY1AneaCQnpgoLEsNr8/zFHHOwO6pSdZdN5SQOsw/X/REsStrCaC1Np0AR pFXnlHGcwXAuHm1MynJAOjIqOSgAKjM2G7KqpCRi14VGUb1XWeq2S7bqa56GsxTfgoYD JwYL/k5+te3zwHVCwrSZ5COjEIHy1J697qj1uipaoO8VzqYZcBcw3fPHRUeUe+AJmMqC xYC4orfwS+uUrgMWzKCbnm+wFbOUlmMwp9r5PNF6Vj8ThKYjoaHJ/JFuGiGqoUY8pElh O8JaKFp1K2KQWxtQlqUUS/vp2+UdtFLYeGQMEvB6yG5HZpM4ouRtOqsi4vnYGJ2mGfrM U3lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="P/Nj3nxr"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si933135plb.272.2019.03.04.19.35.44; Mon, 04 Mar 2019 19:35:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="P/Nj3nxr"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726994AbfCEDfE (ORCPT + 99 others); Mon, 4 Mar 2019 22:35:04 -0500 Received: from mail-eopbgr40084.outbound.protection.outlook.com ([40.107.4.84]:8593 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726522AbfCEDfE (ORCPT ); Mon, 4 Mar 2019 22:35:04 -0500 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=Rwjd2Y4sgG5xKUmCR/4S6kXmWse2fKLcxoApngIwFJQ=; b=P/Nj3nxrQlAKDrBMX6i72VbjXd+vzMer8akAUlY2pFtsuBxzWa3XCPfDc8cKFQsEFBtkD26/PNaSULP/4E57aSjh6AMkgdkxWzbC8ylcej7dDqLL/gNI7Rpd4scUFicrZ9+Xt8d+FbDVpqteINDnEGFpyW3SdBoFIW3/CkgMW18= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.92.158) by AM0PR04MB4338.eurprd04.prod.outlook.com (52.134.91.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.18; Tue, 5 Mar 2019 03:34:57 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::50ed:d1b5:c043:3b79]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::50ed:d1b5:c043:3b79%2]) with mapi id 15.20.1665.020; Tue, 5 Mar 2019 03:34:57 +0000 From: Aisheng Dong To: Stefan Agner , BOUGH CHEN CC: Christina Quast , "festevam@gmail.com" , "shawnguo@kernel.org" , "kernel@pengutronix.de" , "linus.walleij@linaro.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-gpio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , BOUGH CHEN Subject: RE: [PATCH] Document: dt: binding: imx: Fix PAD_CTL_DSE_X* Thread-Topic: [PATCH] Document: dt: binding: imx: Fix PAD_CTL_DSE_X* Thread-Index: AQHUytCIfTFXSadJckWCjEy0gWR0oKXyA8SQgAATHICAClra8A== Date: Tue, 5 Mar 2019 03:34:57 +0000 Message-ID: References: <20190222170038.9669-1-cquast@hanoverdisplays.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 607fde5f-90ce-4c13-5e33-08d6a11b8a89 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB4338; x-ms-traffictypediagnostic: AM0PR04MB4338: x-microsoft-exchange-diagnostics: =?us-ascii?Q?1;AM0PR04MB4338;23:ZkoTGvoUvm6FBjaC/sLEyzn8aRmv+mkG5X+93WtQO?= =?us-ascii?Q?HMAtkmQQ+XN5b3JNKt2oQZ7bm1KZAkyy/0ACK4ekr8wlI1QhHz11NOHzYcUI?= =?us-ascii?Q?iNCCzkyBQSHwPby0sySI+3CsxciGg72yAP7sloQKFFGvXzLkhXvOi7Czhe14?= =?us-ascii?Q?73zPg4ObUnTim0EZRgpvSnV4bBqZM8cSePqyaa86c5xCGMtLTgbyBcxuqK+a?= =?us-ascii?Q?W47tj87xVPqP8weWmcmefZAtZ7WFH4posVgxp/cbF3lhKR3vwJ4hZp0mi5EU?= =?us-ascii?Q?7uG/+N0BKNDS6t5zfgQVpDQ8fDaRfJ23i6vt6ekeoRvObvoTvAeE+2KdlXKZ?= =?us-ascii?Q?MtpMfCYD7wKVsZUwhsvo3qohivucezlVvKBybnfD3Aznl/LiKGRehs8EBoN3?= =?us-ascii?Q?gZ/fhXJUvcwwzXBut/tvPvFDpBt6WGOD5luW2hjNlpXH4S5w3m92i+7Kl235?= =?us-ascii?Q?2DBNrxtvO0eH5yUJ5Q3DIHoaF4KuUAvgHBgfS50xLSvGanVt+YtuPgQxfnLc?= =?us-ascii?Q?XRWDF9TwzRzr8PcqUM1gsejJWFKpxLjUYe76YlYYyuYLrDhW2JZVAeWy7mX/?= =?us-ascii?Q?/xT7GnL/QZmVY9gfhdrXI0KzC0UrL3au7tTWztcOMuLq72tDaUvTunzxaK5w?= =?us-ascii?Q?nXrHES8LHKWwfLjP/JiCRJTym2WANw+EDyfSnjMB/BkejXB/USp8oBTyveJx?= =?us-ascii?Q?4YhFr3swt+gQGfIEbTOADo66dTJgYHebG3D2ZnjN96HKaWNFrbz870Qbd/7E?= =?us-ascii?Q?f17vLU3ACIKxdckR9YoBKO3LjQuNKTjLWCpcKOsbn+cb99mck6vTUAo4BFXW?= =?us-ascii?Q?kG2M8pl7xB+lsuV7cLGTH4c+5cVVSvWwt1093sotFcw2KRQcyJbORROVfzPO?= =?us-ascii?Q?/o3vJy8UZv/caQu75ErYz/ksGFtE3xNgQ3pjk+51lWJTRXArU5976Y+2U721?= =?us-ascii?Q?vScPluvTo3RVvGI+cM/K6fsEotFrVrkUuUzmiKWZtX/cM9c+SAMRJA/OPrY+?= =?us-ascii?Q?gTP08qnymd/FaVUS+y8i/bQ3TruYiGcwiQ4iImCZIZ3T6YujcyTnqohsZKD1?= =?us-ascii?Q?OSrxIrAOhA9PPVIg0LChJ5oDVt73wK6YosmcRJvFzbHpPKGuTdb7OCRBX0yv?= =?us-ascii?Q?FAnbnsSY4jxAeymPxQ2zL+TbVch+Dbyk5E60XdsMZhB2Iv6Isah+1UiQLN0d?= =?us-ascii?Q?5693WlR//hndTg+PwzuQ+IbxS4cAbqds8EG1ts+KkqhJdSy6Uk4gPrEW6m0/?= =?us-ascii?Q?b8xlA3TbNv07ZkeHXfJahrHH4vrfcCEPMl799JaxDvmXQsMxshvbiDQMVAP0?= =?us-ascii?Q?VVM1eF0wqq4ghq8W1wdIul7noxOt0I9j8X10zXpA0Xh?= x-microsoft-antispam-prvs: x-forefront-prvs: 0967749BC1 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(346002)(376002)(396003)(136003)(189003)(199004)(14444005)(52536013)(305945005)(81166006)(71190400001)(81156014)(71200400001)(5024004)(256004)(229853002)(11346002)(446003)(7416002)(6636002)(476003)(486006)(5660300002)(44832011)(74316002)(2906002)(7736002)(6436002)(53936002)(9686003)(55016002)(8936002)(8676002)(97736004)(14454004)(106356001)(478600001)(105586002)(68736007)(6506007)(26005)(99286004)(102836004)(53546011)(316002)(186003)(3846002)(6116002)(86362001)(110136005)(76176011)(54906003)(66066001)(7696005)(4326008)(33656002)(6246003)(25786009);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4338;H:AM0PR04MB4211.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: ttvDNZm6kT8NW2dSblvixqIUN2ZqxBCOFl98XarYkWBBBCNRZlBEma435FAMM5iHghV/YcxEJXQ++Kui5W7ewSS13i+Os0mwLTc57VwOhxdrZmiv1NcwRfF4k24DbfgIaalQX358FaTw5DK2GCOKN01i/+oef1z08NEkHN3mVEkPE1x5KETav7QrUgJIr9sxk1I7+2bLKzMisvc7Ts0PbGrVEeDoNHn7qqdLtdD/8ZWbG8AIE5FwhmYnsBnYVKVrmublcG5GCTInfW834cwg760Plhz9hkcQKtleZWfSLt4NUrxom6kMWANJr8fhTweh+D8iqJcRe50ki2oWSAbiwvWPXeJ7N44j/RgT07IygsWycsv+/ScrfWKGxlDN7xhT/iym/QMr2iIrAGAVp1wYV7JEW3BdTPOE9OyfmFlKT6U= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 607fde5f-90ce-4c13-5e33-08d6a11b8a89 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2019 03:34:57.9390 (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-Transport-CrossTenantHeadersStamped: AM0PR04MB4338 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Haibo > From: Stefan Agner [mailto:stefan@agner.ch] > Sent: Tuesday, February 26, 2019 9:22 PM >=20 > On 26.02.2019 13:21, Aisheng Dong wrote: > >> From: Christina Quast [mailto:cquast@hanoverdisplays.com] > >> Sent: Saturday, February 23, 2019 1:01 AM > >> > >> In the iMX7d datasheet, the PAD_CTL_DSE_X* values are different from > >> the documentation. > >> > > > > It's a doc problem. > > Latest RM seems got updated. > > > > As here it's a reference definition in binding doc and device tree > > actually does not use it (IMX Pinctrl use raw data to set pad > > configuration). So it won't cause any compatibility issue to me. > > > > Please update the patch title to: > > dt-bindings: pinctrl: imx7d: xxxxx > > > > Otherwise: > > Ack-by: Dong Aisheng >=20 > Btw, I saw that imx7d-sdb.dts (and probably other i.MX 7 boards too) use = three > different settings for usdhc pinctrl: 0x59, 0x5a and 0x5b (for default, 1= 00MHz > and 200MHz respectively). One would expect that higher frequency use high= er > driver strength (and this is the case for i.MX 6). > But with this new/corrected pad values this means we use x4, x2 and x6 fo= r > default, 100MHz and 200MHz respectively. This hardly seems right..? > Probably needs fixing too? >=20 Yes, that's true. Especially 100Mhz setting should be updated. Haibo, Can you please help double check if X2 for 50Mhz and X4 for 100Mhz can work= stably on MX7D SDB? If yes, we'd like to update the pad setting according to new RM version. Regards Dong Aisheng > -- > Stefan >=20 >=20 > > > > Regards > > Dong Aisheng > > > >> Signed-off-by: Christina Quast > >> --- > >> .../devicetree/bindings/pinctrl/fsl,imx7d-pinctrl.txt | 6 +++--= - > >> 1 file changed, 3 insertions(+), 3 deletions(-) > >> > >> diff --git > >> a/Documentation/devicetree/bindings/pinctrl/fsl,imx7d-pinctrl.txt > >> b/Documentation/devicetree/bindings/pinctrl/fsl,imx7d-pinctrl.txt > >> index 6666277c3acb..8ac1d0851a0f 100644 > >> --- a/Documentation/devicetree/bindings/pinctrl/fsl,imx7d-pinctrl.txt > >> +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx7d-pinctrl.txt > >> @@ -48,9 +48,9 @@ PAD_CTL_HYS (1 << 3) > >> PAD_CTL_SRE_SLOW (1 << 2) > >> PAD_CTL_SRE_FAST (0 << 2) > >> PAD_CTL_DSE_X1 (0 << 0) > >> -PAD_CTL_DSE_X2 (1 << 0) > >> -PAD_CTL_DSE_X3 (2 << 0) > >> -PAD_CTL_DSE_X4 (3 << 0) > >> +PAD_CTL_DSE_X4 (1 << 0) > >> +PAD_CTL_DSE_X2 (2 << 0) > >> +PAD_CTL_DSE_X6 (3 << 0) > >> > > > > > >> Examples: > >> While iomuxc-lpsr is intended to be used by dedicated peripherals to > >> take > >> -- > >> 2.20.1 > >> > >> > >> > >> > >> > >> Please consider the environment before printing this email > >> > >> > >> > >> > >> > >> The information transmitted is intended only for the person or entity > >> to which it is addressed and may contain confidential and/or > >> privileged material. Any review, retransmission, dissemination or > >> other use of, or taking of any action in reliance upon, this > >> information by persons or entities other than the intended recipient i= s > prohibited. > >> If you received this in error, please contact the sender or > >> postmaster > >> (postmaster@hanoverdisplays.com) and delete the material from any > >> computer. > >> Although we routinely screen for viruses, addressees should check > >> this e-mail and any attachment for viruses. We make no warranty as to > >> absence of viruses in this e-mail or any attachments. > >> Our Company's email policy is to permit incidental personal use. If > >> this email is of a personal nature, it must not be relied upon as > >> expressing the views or opinions of the company.