From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 1/2] spi: spi-gpio: Add checks for the dt properties Date: Tue, 22 Jan 2013 16:50:30 +0100 Message-ID: <50FEB546.3090504@free-electrons.com> References: <1356645288-10110-1-git-send-email-maxime.ripard@free-electrons.com> <1356645288-10110-2-git-send-email-maxime.ripard@free-electrons.com> <50ED2C2D.7030608@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Brian Lilly To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Shawn Guo , Grant Likely Return-path: In-Reply-To: <50ED2C2D.7030608-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On 09/01/2013 09:37, Maxime Ripard wrote: > On 27/12/2012 22:54, Maxime Ripard wrote: >> The bindings assumed that the gpios properties were always there, which >> made the NO_TX and NO_RX mode not usable from device tree. Add extra >> checks to make sure that the driver can work if either MOSI or MISO is >> not used. > > Can you give me your Acked-by on this, or do you have any comments on this? Ping? -- Maxime Ripard, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Tue, 22 Jan 2013 16:50:30 +0100 Subject: [PATCH 1/2] spi: spi-gpio: Add checks for the dt properties In-Reply-To: <50ED2C2D.7030608@free-electrons.com> References: <1356645288-10110-1-git-send-email-maxime.ripard@free-electrons.com> <1356645288-10110-2-git-send-email-maxime.ripard@free-electrons.com> <50ED2C2D.7030608@free-electrons.com> Message-ID: <50FEB546.3090504@free-electrons.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 09/01/2013 09:37, Maxime Ripard wrote: > On 27/12/2012 22:54, Maxime Ripard wrote: >> The bindings assumed that the gpios properties were always there, which >> made the NO_TX and NO_RX mode not usable from device tree. Add extra >> checks to make sure that the driver can work if either MOSI or MISO is >> not used. > > Can you give me your Acked-by on this, or do you have any comments on this? Ping? -- Maxime Ripard, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com