From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerhard Sittig Subject: Re: [PATCH 0/4] spi: dw: fixes, and manages resources migration Date: Thu, 26 Dec 2013 16:42:50 +0100 Message-ID: <20131226154250.GO8064@book.gsilab.sittig.org> References: <20131226115507.GI8064@book.gsilab.sittig.org> <20131226121224.GA11794@sapphire.tkos.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mark Brown , linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Feng Tang , Jean-Hugues Deschenes To: Baruch Siach Return-path: Content-Disposition: inline In-Reply-To: <20131226121224.GA11794-MwjkAAnuF3khR1HGirfZ1z4kX+cae0hd@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Thu, Dec 26, 2013 at 14:12 +0200, Baruch Siach wrote: > > [ ... GPIO controlled CS lines for SPI ... ] > > Thanks for the head up. I was considering adding a spi-dw specific "dummy-cs" > property, to be used for cs-gpio numbers that are higher than num-cs. Look at it the other way for a moment. These GPIO backed CS lines aren't "dummies", having control over them and having more than four of them is not at all exceptional or strange, it's the actual motivation for cs-gpios in the first place. And all of these GPIO lines are "real" and useful. Try to see the internal CS lines in the hardware of the SPI controller as the exception instead. :) These are the ones that are rather limited, both in their number and in their behaviour, and are of questionable use. These internal lines of uncontrollable behaviour only get used in the absence of a GPIO spec for the CS line. virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office-ynQEQJNshbs@public.gmane.org -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html