From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tabi Timur-B04825 Subject: Re: issues calling of_platform_bus_probe() twice Date: Sat, 17 Mar 2012 13:35:02 +0000 Message-ID: <4F649304.9010001@freescale.com> References: <31B4E554-FA95-431D-B353-92680CD14A0A@kernel.crashing.org> <1331933034.3105.171.camel@pasglop> <20120317072717.738953E08CE@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120317072717.738953E08CE@localhost> Content-Language: en-US Content-ID: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Grant Likely Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Discuss" , "linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org list" List-Id: devicetree@vger.kernel.org Grant Likely wrote: >>> > > Are you aware of any reason that we can't call of_platform_bus_probe() >>> > > or multiple times. Timur's run into an issue in which all devices >>> > > don't get registered properly if we call of_platform_bus_probe() times >>> > > with different of_device_id struct's. >> > >> > Nothing comes to mind... Grant ? > Neither for me. Should work. I posted a work-around patch here: http://patchwork.ozlabs.org/patch/128533/ Without this patch, drivers cannot probe on DMA *channels*, or any other grandchildren of the root node. -- Timur Tabi Linux kernel developer at Freescale