From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Subject: Re: OF_DYNAMIC usage Date: Fri, 06 Jul 2012 07:41:04 +0200 Message-ID: <4FF67A70.6010709@monstr.eu> References: <4FF586D1.2050407@monstr.eu> <4FF594AD.6000401@gmail.com> Reply-To: monstr-pSz03upnqPeHXe+LvDLADg@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FF594AD.6000401-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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" To: Rob Herring Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: devicetree@vger.kernel.org On 07/05/2012 03:20 PM, Rob Herring wrote: > On 07/05/2012 07:21 AM, Michal Simek wrote: >> Hi, >> >> can someone tell me usage of OF_DYNAMIC? >> How this can be used by user? >> >> Is it possible to exchange device node? >> Add new one, delete one, etc? >> >> Any user guide/log will be helpful to see what I can do with it. > > 2nd question on OF_DYNAMIC in a week... I haven't really looked at it. I > would suggest looking at the existing users (only powerpc iseries and > pseries). My concern using would be that the reference counting is not > correct for many drivers as of_node_get/put is a nop without OF_DYNAMIC. Agree, I know that reference counting is not correct for many drivers. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian