From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH] uio: uio_pdrv_genirq: Make UIO name controllable via DT node property Date: Thu, 15 Aug 2019 22:56:18 +0200 Message-ID: <20190815205618.GA11877@kroah.com> References: <20190811110213.5537-1-daniel@zonque.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190811110213.5537-1-daniel@zonque.org> Sender: linux-kernel-owner@vger.kernel.org To: Daniel Mack Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org On Sun, Aug 11, 2019 at 01:02:13PM +0200, Daniel Mack wrote: > When probed via DT, the uio_pdrv_genirq driver currently uses the name > of the node and exposes that as name of the UIO device to userspace. > > This doesn't work for systems where multiple nodes with the same name > (but different unit addresses) are present, or for systems where the > node names are auto-generated by a third-party tool. > > This patch adds the possibility to read the UIO name from the optional > "linux,uio-name" property. Does that need to be documented anywhere? thanks, greg k-h