Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1947431AbdDYMUh (ORCPT ); Tue, 25 Apr 2017 08:20:37 -0400 Received: from mga01.intel.com ([192.55.52.88]:45536 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1429764AbdDYMU1 (ORCPT ); Tue, 25 Apr 2017 08:20:27 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,249,1488873600"; d="scan'208";a="78614861" Date: Tue, 25 Apr 2017 15:20:14 +0300 From: Mika Westerberg To: Andy Shevchenko Cc: Jan Kiszka , Peter Meerwald-Stadler , Jonathan Cameron , linux-iio@vger.kernel.org, Linux Kernel Mailing List , Sascha Weisenberger Subject: Re: [PATCH] iio: adc: Add support for TI ADC1x8s102 Message-ID: <20170425122014.GR7152@lahna.fi.intel.com> References: <6e0f0b52-27a1-0ce5-c217-3aa941babe63@siemens.com> <1493119428.24567.190.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1493119428.24567.190.camel@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 477 Lines: 14 On Tue, Apr 25, 2017 at 02:23:48PM +0300, Andy Shevchenko wrote: > > Needed to make it work. If there is a better file to keep that, I'll > > move it. > > Ideally you need BIOS fixed for that. > > Otherwise you may do a separate code which would provide CS GPIO look up > table. > > Mika, what do you think about fixing this in the C code for existing > devices? If nothing else helps but I would first try to explore the SSDT overlay stuff if it can be used here instead.