[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75Ve3vgbfV6pRYxWMOQidh_J=kPkxGTOU0g6GWg9ePOcu=g@mail.gmail.com>
Date: Tue, 30 Jan 2018 20:23:28 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Andrew Cooks <andrew.cooks@...ngear.com>
Cc: Jean Delvare <jdelvare@...e.com>, Wolfram Sang <wsa@...-dreams.de>,
"open list:I2C/SMBUS CONTROLLER DRIVERS FOR PC"
<linux-i2c@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] i2c: add ACPI support for i2c-piix4
On Tue, Jan 30, 2018 at 8:22 PM, Andy Shevchenko
<andy.shevchenko@...il.com> wrote:
> On Tue, Jan 30, 2018 at 3:43 AM, Andrew Cooks <andrew.cooks@...ngear.com> wrote:
>> On 29/01/18 23:30, Andy Shevchenko wrote:
>>> On Mon, Jan 29, 2018 at 5:54 AM, Andrew Cooks <andrew.cooks@...ngear.com> wrote:
>>>> + if (has_acpi_companion(&dev->dev)) {
>>>> + acpi_preset_companion(&adap->dev,
>>>> + ACPI_COMPANION(&dev->dev),
>>>> + piix4_adapter_count++);
>>>> + }
>> It is similar to the topology shown in commit 8eb5c87a ("i2c: add ACPI support for I2C mux ports")
>
> Ah, I see now. Your initial approach seems fine.
>
> Perhaps even new helper can be made for users (currently i2c mux,
> sdio, libata) in the future.
FWIW,
Reviewed-by: Andy Shevchenko <andy.shevchenko@...il.com>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists