Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756599AbbDOSye (ORCPT ); Wed, 15 Apr 2015 14:54:34 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:39560 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754857AbbDOSy0 (ORCPT ); Wed, 15 Apr 2015 14:54:26 -0400 Message-ID: <552EB3C7.90603@ti.com> Date: Wed, 15 Apr 2015 13:53:59 -0500 From: Nishanth Menon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Lennart Sorensen CC: Tony Lindgren , Linus Walleij , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , Linux-OMAP , "linux-arm-kernel@lists.infradead.org" , Lokesh Vutla Subject: Re: [PATCH 1/2] pinctrl: bindings: pinctrl: Add support for TI's IODelay configuration References: <1425427237-11511-2-git-send-email-nm@ti.com> <20150310153321.GO5264@atomide.com> <54FF28F5.4040707@ti.com> <20150310173115.GS5264@atomide.com> <54FF38F3.2030703@ti.com> <20150318014151.GL31346@atomide.com> <20150415012910.GA29560@csclub.uwaterloo.ca> <552E9714.10001@ti.com> <20150415184454.GT29558@csclub.uwaterloo.ca> In-Reply-To: <20150415184454.GT29558@csclub.uwaterloo.ca> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2504 Lines: 54 On 04/15/2015 01:44 PM, Lennart Sorensen wrote: > On Wed, Apr 15, 2015 at 11:51:32AM -0500, Nishanth Menon wrote: >> I am yet to post a new revision to this series - few other stuff got >> in the way. IODelay driver in no way removes the constraint that the >> SoC architecture has - most of the pins still need to be muxed in >> bootloader - we cannot escape that. The reasoning for doing the mux in >> bootloader is independent of the need for iodelay. >> >> Reasoning for mux in bootloader is because the mux and pull fields are >> glitchy - much more than previous generations of TI SoCs and >> significantly long enough to cause issues depending on the pins being >> muxed. > > Well if we know glitching is NOT an issue on our boards, then we don't > have to do anything in the boot loader other than the basic setup for > the serial console and emmc and SD, which has always been necesary. > > I consider moving the mux setup to the bootloader a terrible design and > won't go along with it. We make sure all external devices have reset > lines being held while the pinmux is being setup, so glitching is a > non issue. I cannot discuss customer boards on this list - the right forum for TI support is e2e.ti.com or in cases where FAE (Field Applications Engineer) is involved, via appropriate support path. Now, that said, even with personal opinions in place, I have to stick with what the SoC constraints on hand and suggested architecture we have discussed to ensure safe platform operation at least for the platforms we are contributing to. again... muxing in the bootloader IS NOT what this patch is about. If we can stick to the topic in discussion, it is probably more effective. Any improvement suggestions to the code is more than appreciated. >> Reasoning for iodelay is different - it is a hardware block meant to >> control the timing of signals in a particular signal path to ensure >> that specification compliance is met. >> >> Lets try not to mix the two. > > Well I was told by multiple people from TI that the reason for moving > the pinmux setup to the bootloader was because of the iodelay issue, > so you will have to get the message made clear within TI then. > I have passed on this message. -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/