[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120229203743.GA21671@elliptictech.com>
Date: Wed, 29 Feb 2012 15:37:43 -0500
From: Nick Bowler <nbowler@...iptictech.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Eric Andersson <eric.andersson@...xphere.com>,
linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
christoph.mair@...il.com, stefan.nilsson@...xphere.com,
zhengguang.guo@...ch-sensortec.com, peter.moeller@...bosch.com,
Jonathan Cameron <jic23@....ac.uk>
Subject: Re: [PATCH 0/3] Replace bmp085 with bmp18x
On 2012-02-29 20:18 +0000, Arnd Bergmann wrote:
> On Wednesday 29 February 2012, Eric Andersson wrote:
> > This patch-set replaces the BMP085 driver with a driver for Bosch Sensortec's new
> > generation of pressure sensors called BMP18x. These pressure sensors can be
> > connected on I2C but also on SPI as a variant, so the driver implements both.
> > Register-wise they are fully compatible with the older BMP085, so the driver will
> > support those chips as well.
> >
> > The driver is based on bmp085.c by Christoph Mair.
>
> Hmm, the implementation looks fine, but I don't think we should add support
> for new devices with a one-off interface that we know is getting replaced by
> something generic.
Notwithstanding the value of using newer generic interfaces, from what I
can tell, there are no new sysfs attributes added by this driver over
the one it replaces. If this driver is going to supersede the old one,
it has to retain the existing interface. Otherwise, we must keep both
drivers in the tree to avoid regressions.
> Why is this not using IIO for its user interface?
Because IIO is currently in staging, and this driver is not?
Cheers,
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists