From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric D." Subject: Re: [PATCH 2/3] spidev: Add DT binding example. Date: Thu, 30 Apr 2015 07:03:57 -0700 (PDT) Message-ID: References: <20150427173036.GA10950@lukather> <20150427180728.GW22845@sirena.org.uk> <20150428141630.GR22845@sirena.org.uk> <20150428171738.GY22845@sirena.org.uk> <20150429174059.GQ22845@sirena.org.uk> <20150429180659.GT22845@sirena.org.uk> Reply-To: eric.dillmann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_8522_466906661.1430402637268" Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org, eric.dillmann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org, maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, corbet-T1hC0tSOHrs@public.gmane.org, hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Return-path: In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , List-Id: linux-spi.vger.kernel.org ------=_Part_8522_466906661.1430402637268 Content-Type: multipart/alternative; boundary="----=_Part_8523_395005289.1430402637269" ------=_Part_8523_395005289.1430402637269 Content-Type: text/plain; charset=UTF-8 Hi, I give Maxime's patch a try, but get divide by zero in kernel traces due to spi max speed not being setted. I then tried declaring spidev in the DT, and my application just work's. Adding spi0 alias in DT give's me a beautyful /dev/spidev0.0, where Maxime's was creating /dev/spidev0.[0-3] nodes. Thanks Eric ------=_Part_8523_395005289.1430402637269-- ------=_Part_8522_466906661.1430402637268--