Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp585978img; Tue, 26 Feb 2019 05:23:01 -0800 (PST) X-Google-Smtp-Source: AHgI3IaSEL/4P/teKdPny9QQ0sQ/P8Mo+8BAuDj9AV0ayXbKjrl1KphKpFDc9yLibPFdWvn7Vzye X-Received: by 2002:a17:902:8b8b:: with SMTP id ay11mr26238496plb.162.1551187381317; Tue, 26 Feb 2019 05:23:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551187381; cv=none; d=google.com; s=arc-20160816; b=SMousx1x7D5G1aQ0SAurgek1anqasyoecIJfeUmpohTeFUS+5MLRKpd1uGTjd5+yhj 2Ra/7mnDHxqMFjPDS72jXR8yKdr0eSVrhMI5KDDcdlnJxJ3/QEEzgY1B8Mm3Frk+3iq8 j71cvntklMx4ggKTMVPzBfZZooNqPUwrAxPm4/CSCMiXcUGL6R86IUjJmtdwjP3MqHfg LvOGlnELvQBqqPMaKzvJzim9SE877ikzaZYLCdasqCkOkU5dhBTVSFSTmaOTuEThwQB4 OBZ3azsyl9uE0KCiocIC5I2Ppvu2ihjHtxN4Opl2YTK/wvP5EHsYDrXHbMPMbXzFjoHg Ratg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=HztEAO0vdlh5DseEaLSTt2qTwkhIuPcV6IJBGYcI/AU=; b=S7Yuy8umDwSX3fuR27fZMVqPAibKYOnEhgLGFudGKwFJMhCZ4hFp1I6Qc6fdH5ujst BWphTW4ddK7NQjt3G+03vaDDMocEadvbJ7AziOWYS5Rsi+YFN0twfAXC5ms7ureWxOWE 55W9/n6gwujHE/fJbL9oCcE5K/7Wfz/6+01PxNMfmTMGtduTeWaQyv9GlNPunBFJOw63 DQC8aMdHxGy4pvuCDyif3ObEbQXK31kvQTiwcae9wo5zuCXg1lj5hlvtxfV2G9tjNzll hJk/g6m/F22Pfk5qF4D3IZJhFVfNjsQY8WESkGDqAeCXtmTOv9f8IcrPm7n8zCd6xxWg RF+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=aNZ6ekCH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si12098872pgb.443.2019.02.26.05.22.45; Tue, 26 Feb 2019 05:23:01 -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=@agner.ch header.s=dkim header.b=aNZ6ekCH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726624AbfBZNWY (ORCPT + 99 others); Tue, 26 Feb 2019 08:22:24 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:58710 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725954AbfBZNWY (ORCPT ); Tue, 26 Feb 2019 08:22:24 -0500 Received: from webmail.kmu-office.ch (unknown [IPv6:2a02:418:6a02::a3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id F065C5C0096; Tue, 26 Feb 2019 14:21:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1551187319; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HztEAO0vdlh5DseEaLSTt2qTwkhIuPcV6IJBGYcI/AU=; b=aNZ6ekCHJhjTVBMNUGwHb0tRPrN4cUFIuQGTobqhjIRV4nkCl5P3rMxuBjSMkL3HYq+l7q 6iprmgYpFMe4gjnus/ZRvRWS8Dw7r081ZhNeB/ChOm269KLwmjnvf+4HdBv7t3dDPvhj2I fHN2jfwd9RN34Rg1q6y4/8NVKkf6YZg= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Tue, 26 Feb 2019 14:21:59 +0100 From: Stefan Agner To: Aisheng Dong 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 Subject: Re: [PATCH] Document: dt: binding: imx: Fix PAD_CTL_DSE_X* In-Reply-To: References: <20190222170038.9669-1-cquast@hanoverdisplays.com> Message-ID: X-Sender: stefan@agner.ch User-Agent: Roundcube Webmail/1.3.7 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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, 100MHz and 200MHz respectively). One would expect that higher frequency use higher 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 for default, 100MHz and 200MHz respectively. This hardly seems right..? Probably needs fixing too? -- Stefan > > 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 is 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.