* Re: [PATCH v3] iio: light: new driver for the ROHM BH1780 [not found] ` <20160404074239.GT7800-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org> @ 2016-04-04 22:35 ` Tony Lindgren [not found] ` <20160404223546.GC8755-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Tony Lindgren @ 2016-04-04 22:35 UTC (permalink / raw) To: Peter De Schrijver Cc: Linus Walleij, Jonathan Cameron, Paul Walmsley, linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Arnd Bergmann, Daniel Mack, Peter Meerwald-Stadler, linux-omap-u79uwXL29TY76Z2rM5mHXA * Peter De Schrijver <pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> [160404 00:43]: > On Sun, Apr 03, 2016 at 06:30:49PM +0200, Linus Walleij wrote: > > On Sun, Apr 3, 2016 at 11:51 AM, Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote: > > > On 30/03/16 09:34, Linus Walleij wrote: > > > > >> I want to phase out the old misc driver, but don't know how that > > >> should properly be handled. The driver has an old (totally > > >> undocumented) sysfs ABI for raw measurements, should I add > > >> this as backward-compatibility and symlink the device to the old > > >> location? > > > > > > Good question. I guess we unfortunately do need to jump through the hoops as > > > who knows what userspace code there is out there using that interface. > > > At least it is small! > > > > The maintainer Hemanth seems to have disappeared. > > > > Let's ask some of the OMAP and ex-OMAP people, I think they know > > or know who knows... > > > > Tony, Peter, Paul: drivers/misc/bh1780gli.c has a funky sysfs ABI. > > It is only used in arch/arm/boot/dts/omap4-sdp.dts as far as I can > > tell. What device is this, and more importantly, who is running it > > and with what userspace? I'm happy to go and patch that userspace > > if I can just get a pointer to whoever is developing it. Sailfish? > > Sailfish has never used OMAP4 afaik. OMAP4 sdp is a TI dev board, so maybe > someone from TI knows what this is for? Adding linux-omap to Cc. I suggest do a minimal patch to remove the sysfs interface, then revert the patch if needed. I don't think people are using it. Regards, Tony ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20160404223546.GC8755-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>]
* Re: [PATCH v3] iio: light: new driver for the ROHM BH1780 [not found] ` <20160404223546.GC8755-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> @ 2016-04-05 7:50 ` Linus Walleij [not found] ` <CACRpkdbi=big65-yMXXipE1i_YSDo=7BMWDohXcVCpwSi5HMPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Linus Walleij @ 2016-04-05 7:50 UTC (permalink / raw) To: Tony Lindgren Cc: Peter De Schrijver, Jonathan Cameron, Paul Walmsley, linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Arnd Bergmann, Daniel Mack, Peter Meerwald-Stadler, Linux-OMAP On Tue, Apr 5, 2016 at 12:35 AM, Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> wrote: > Adding linux-omap to Cc. I suggest do a minimal patch to remove the > sysfs interface, then revert the patch if needed. I don't think > people are using it. The old driver in misc is just using sysfs for everything, so removing the sysfs is like deleting the driver. Once the IIO driver is merged I guess I'll boldly post a patch to delete it and then a patch to activate the new driver in the OMAP defconfig. Yours, Linus Walleij ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <CACRpkdbi=big65-yMXXipE1i_YSDo=7BMWDohXcVCpwSi5HMPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH v3] iio: light: new driver for the ROHM BH1780 [not found] ` <CACRpkdbi=big65-yMXXipE1i_YSDo=7BMWDohXcVCpwSi5HMPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2016-04-07 17:05 ` Tony Lindgren 0 siblings, 0 replies; 3+ messages in thread From: Tony Lindgren @ 2016-04-07 17:05 UTC (permalink / raw) To: Linus Walleij Cc: Peter De Schrijver, Jonathan Cameron, Paul Walmsley, linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Arnd Bergmann, Daniel Mack, Peter Meerwald-Stadler, Linux-OMAP * Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> [160405 00:51]: > On Tue, Apr 5, 2016 at 12:35 AM, Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> wrote: > > > Adding linux-omap to Cc. I suggest do a minimal patch to remove the > > sysfs interface, then revert the patch if needed. I don't think > > people are using it. > > The old driver in misc is just using sysfs for everything, so removing the > sysfs is like deleting the driver. Once the IIO driver is merged I guess > I'll boldly post a patch to delete it and then a patch to activate the new > driver in the OMAP defconfig. OK Tony ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-07 17:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1459326847-9444-1-git-send-email-linus.walleij@linaro.org>
[not found] ` <5700E7AF.6040903@kernel.org>
[not found] ` <CACRpkdYkqzvu_fMcDPy8i0OCpGdGQ39S534HbCQL8T93gadKmQ@mail.gmail.com>
[not found] ` <20160404074239.GT7800@tbergstrom-lnx.Nvidia.com>
[not found] ` <20160404074239.GT7800-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2016-04-04 22:35 ` [PATCH v3] iio: light: new driver for the ROHM BH1780 Tony Lindgren
[not found] ` <20160404223546.GC8755-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2016-04-05 7:50 ` Linus Walleij
[not found] ` <CACRpkdbi=big65-yMXXipE1i_YSDo=7BMWDohXcVCpwSi5HMPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-07 17:05 ` Tony Lindgren
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).