From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:51275 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbcFKMgA (ORCPT ); Sat, 11 Jun 2016 08:36:00 -0400 Subject: Re: Interface between IIO driver and an input driver To: Lars-Peter Clausen , Marc Titinger , Quentin Schulz , linux-iio@vger.kernel.org References: <57512F0D.3050009@free-electrons.com> <57513C09.2060802@baylibre.com> <1fb6beed-af47-8ffc-3422-d5ac53c8e832@kernel.org> <575921EE.9090808@metafoo.de> Cc: Maxime Ripard , Antoine Tenart From: Jonathan Cameron Message-ID: <07c10886-c564-d21f-e0ba-98d67523c8be@kernel.org> Date: Sat, 11 Jun 2016 13:35:54 +0100 MIME-Version: 1.0 In-Reply-To: <575921EE.9090808@metafoo.de> Content-Type: text/plain; charset=utf-8 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 09/06/16 08:59, Lars-Peter Clausen wrote: > On 06/03/2016 11:39 AM, Jonathan Cameron wrote: >> On 03/06/16 09:12, Marc Titinger wrote: >>> >>> Hi All, >>> >>> >>> (sorry Quentin, I here just share a related thought, not actually >>> helping you much). >>> >>> a nice feature would be to have some sort of "mixer" interface, >>> similar to the one common with audio APIs. >> Lars in particular has been looking at extending the media controller >> interface somewhat in this direction (and into audio ;) This is >> the big hammer solution. It'll be cool in the long run but I don't >> get the impression it'll come terribly quickly. > > > That's primarily for describing the flow between different hardware modules > in hardware. I think in this case we only have software flow and in my > opinion this hardware is a classical case of multi-function device and > should be implemented as such. The MFD would take care of things like > interrupt multiplexing and resource allocation while each function gets its > own driver making use of the facilities provided by the MFD. Fair enough, I think I agree that unfortunately there is too much touch screen specific hardware handling to make a generic solution work. I really ought to catch up with the media controller stuff ;) > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >