From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1947213AbcHRK6g (ORCPT ); Thu, 18 Aug 2016 06:58:36 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60282 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1947194AbcHRK6c (ORCPT ); Thu, 18 Aug 2016 06:58:32 -0400 Date: Thu, 18 Aug 2016 12:57:59 +0200 From: Greg Kroah-Hartman To: "H. Nikolaus Schaller" Cc: Pavel Machek , Rob Herring , Marcel Holtmann , Jiri Slaby , Sebastian Reichel , Peter Hurley , NeilBrown , Arnd Bergmann , Linus Walleij , linux-bluetooth@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/3] UART slave device bus Message-ID: <20160818105759.GA642@kroah.com> References: <20160818011445.22726-1-robh@kernel.org> <118926C8-F4D0-41F5-B6A8-690E0312F3FB@goldelico.com> <20160818104749.GB7427@amd> <1ED14975-FC0C-44AB-8F05-782DBC9E98F8@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ED14975-FC0C-44AB-8F05-782DBC9E98F8@goldelico.com> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 18, 2016 at 12:54:15PM +0200, H. Nikolaus Schaller wrote: > Hi Pavel, > > > Am 18.08.2016 um 12:47 schrieb Pavel Machek : > > > > > >> > >> Thereof 4 files, ~260 changes w/o gps demo and documentation/bindings. > > > > So what do you use for the serial devices? platform_device was vetoed > > for that purpose by Greg. > > device tree? No. This patchset from Rob is the way I have been saying it should be done for years now. Yes, a "bus" takes up more boilerplate code (blame me for that), but overall, it makes the drivers simpler, and fits into the rest of the kernel driver/device model much better. greg k-h