From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753953AbcK0LNG (ORCPT ); Sun, 27 Nov 2016 06:13:06 -0500 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:41160 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753640AbcK0LM6 (ORCPT ); Sun, 27 Nov 2016 06:12:58 -0500 Subject: Re: [PATCH 3/3] iio: st_pressure: Support i2c probe using acpi To: Linus Walleij , Shrirang Bagul References: <20161124053345.11254-1-shrirang.bagul@canonical.com> <20161124053345.11254-4-shrirang.bagul@canonical.com> Cc: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , Denis CIOCCA , Tiberiu Breana , Lorenzo Bianconi , Gregor Boirie , "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" From: Jonathan Cameron Message-ID: Date: Sun, 27 Nov 2016 11:12:54 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/11/16 14:28, Linus Walleij wrote: > On Thu, Nov 24, 2016 at 6:33 AM, Shrirang Bagul > wrote: > >> Compatible strings are not available on ACPI based systems. This patch adds >> support to use DSDT information read from platform BIOS instead for probing >> st pressure sensors. >> >> Signed-off-by: Shrirang Bagul > (...) >> +#ifdef CONFIG_ACPI >> +static const struct acpi_device_id st_press_acpi_match[] = { >> + {"SNO9210", LPS22HB}, >> + { }, >> +}; > > Same comment. One sensor only supported by ACPI really? As demonstrated by this one, they are often registered under effectively random names! Digging out those random names and associating them with a particular chip is always going to be a non trivial job. Hence I'm happy to take these as they stand. We can add more entries when we come across them. > > Take a wider look. Shirang has done a good job identifying this one and sending it upstream. Be nice Linus and don't try to get him to do all the hard work ;) As such applied to the togreg branch of iio.git. Will be pushed out as testing for the autobuilders to play with it. Note there will be some weeks before I push this out as togreg (given merge window is about to open) so plenty of time for others to take a look! Thanks, Jonathan > > Yours, > Linus Walleij > -- > 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 >