From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mugunthan V N Date: Sat, 31 Oct 2015 16:58:59 +0530 Subject: [U-Boot] [PATCH 04/13] drivers: spi: spi-uclass: fix spi slave device register In-Reply-To: References: <1445944388-14207-1-git-send-email-mugunthanvnm@ti.com> <1445944388-14207-5-git-send-email-mugunthanvnm@ti.com> Message-ID: <5634A5FB.8050307@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 29 October 2015 10:47 PM, Simon Glass wrote: > Please see the comment above: > > /* > * If there is no such device, create one automatically. This means > * that we don't need a device tree node or platform data for the > * SPI flash chip - we will bind to the correct driver. > */ > > This code is used when there is no device attached. It should not > happen that you have a device tree node which is ignored when the SPI > bus is bound. spi_post_bind() should pick up these node and create > drivers for them. Hmmmm, will drop this patch. Regards Mugunthan V N