Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754402AbaJBNtu (ORCPT ); Thu, 2 Oct 2014 09:49:50 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:52547 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753928AbaJBNts (ORCPT ); Thu, 2 Oct 2014 09:49:48 -0400 Message-ID: <1412257785.1027.40.camel@iivanov-dev> Subject: Re: [PATCH] iio: inkern: Add of_xlate function to struct iio_dev From: "Ivan T. Ivanov" To: Lars-Peter Clausen Cc: Jonathan Cameron , Sachin Kamat , Srinivas Pandruvada , John Stultz , linux-iio@vger.kernel.org, svarbanov@mm-sol.com, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Date: Thu, 02 Oct 2014 16:49:45 +0300 In-Reply-To: <542D5377.90201@metafoo.de> References: <1412253128-32165-1-git-send-email-iivanov@mm-sol.com> <542D5377.90201@metafoo.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2014-10-02 at 15:30 +0200, Lars-Peter Clausen wrote: > On 10/02/2014 02:32 PM, Ivan T. Ivanov wrote: > > When #iio-cells is greater than '0', the driver could provide > > a custom of_xlate function that reads the *args* and returns > > the appropriate index in registered IIO channels array. > > Do you have an example of a device that doesn't want to use the default > mapping? If yes please include it in the commit message, otherwise it is > fairly hard to say whether this makes sense or not. Still not mainlined. You can find more detailed description of the issue here[1] and driver here[2]. Regards, Ivan [1] https://lkml.org/lkml/2014/10/2/123 [2] http://www.spinics.net/lists/devicetree/msg50717.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/