Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934484AbdHYQbo (ORCPT ); Fri, 25 Aug 2017 12:31:44 -0400 Received: from dougal.metanate.com ([90.155.101.14]:27808 "EHLO metanate.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934266AbdHYQbn (ORCPT ); Fri, 25 Aug 2017 12:31:43 -0400 X-Greylist: delayed 1540 seconds by postgrey-1.27 at vger.kernel.org; Fri, 25 Aug 2017 12:31:42 EDT Date: Fri, 25 Aug 2017 17:05:04 +0100 From: John Keeping To: Andy Shevchenko Cc: Tom Rini , linux-kernel@vger.kernel.org, Bard Liao , Oder Chiou , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, Mark Brown , Linus Torvalds Subject: Re: [PATCH] ASoC: rt5677: Reintroduce I2C device IDs Message-ID: <20170825170504.7d547aa4.john@metanate.com> In-Reply-To: <20170825142426.GN2827@bill-the-cat> References: <1503453106-5564-1-git-send-email-trini@konsulko.com> <1503669407.25945.102.camel@linux.intel.com> <20170825142426.GN2827@bill-the-cat> Organization: Metanate Ltd X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v7PGWELM007488 Content-Length: 1347 Lines: 36 On Fri, 25 Aug 2017 10:24:26 -0400, Tom Rini wrote: > On Fri, Aug 25, 2017 at 04:56:47PM +0300, Andy Shevchenko wrote: > > +John > > > > On Tue, 2017-08-22 at 21:51 -0400, Tom Rini wrote: > > > Not all devices with ACPI and this combination of sound devices will > > > have the required information provided via ACPI.  Reintroduce the I2C > > > device ID to restore sound functionality on on the Chromebook 'Samus' > > > model. > > > > Tom, one more question. > > > > Apparently you are the one who tested the commit > > 89128534f925 ("ASoC: rt5677: Add ACPI support") > > year ago. > > Yes. > > > The commit states that ACPI properties that are used in Chromebook Pixel > > 2015 is non-standard (not the same as for DT). > > > > However, DSDT shows the opposite! > > Interesting. I'm not an ACPI person, I just tested what John came up > with. And the patch adding this was the first (and still only) time I've really looked at ACPI, so it's quite possible that I misunderstood something at the time. >From memory, I think the particular problem I was referring to in the commit message was that certain GPIOs were only defined by index and not by property name (specifically "plug-det-gpios", "mic-present-gpios" and "headphone-enable-gpios"), and having dumped DSDT just now I do not see those strings appearing anywhere.