Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1663137

Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs

From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs
Date 2017-06-11 21:50 +0200
Message-ID <tRh21-Dj-1@gated-at.bofh.it> (permalink)
References (2 earlier) <tPnuW-1tS-17@gated-at.bofh.it> <tR22Z-8m8-1@gated-at.bofh.it> <tR9nP-4uK-1@gated-at.bofh.it> <tRbSF-65f-1@gated-at.bofh.it> <tRenv-7qC-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Jun 11, 2017 at 7:50 PM, Sakari Ailus <sakari.ailus@iki.fi> wrote:
> On Sun, Jun 11, 2017 at 04:40:16PM +0300, Andy Shevchenko wrote:
>> On Sun, Jun 11, 2017 at 2:30 PM, Sakari Ailus <sakari.ailus@iki.fi> wrote:

>> > Again, I'm not really worried about this driver, but the ACPI tables. How
>> > does the difference show there?
>>
>> Same way. You will have common numbering over the chip [0, 9]. It will
>> be just an abstraction inside the driver.
>
> Oh, in that case that should be a non-issue.

>> Above states the opposite, so, it's clear to me that abstraction of 2
>> GPIO chips over 1 can be utilized here.
>
> Sounds fine to me, taken that this does not add complications to ACPI
> tables.

They just need to share the same ACPI_HANDLE (it might require to do
this in generic way in gpiolib) and have a continuous numbering (easy
to achieve with carefully chosen bases).

-- 
With Best Regards,
Andy Shevchenko

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

RE: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs "Mani, Rajmohan" <rajmohan.mani@intel.com> - 2017-06-11 05:50 +0200
  Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs Sakari Ailus <sakari.ailus@iki.fi> - 2017-06-11 13:40 +0200
    Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-06-11 16:20 +0200
      Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs Sakari Ailus <sakari.ailus@iki.fi> - 2017-06-11 19:00 +0200
        Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-06-11 21:50 +0200
          RE: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs "Mani, Rajmohan" <rajmohan.mani@intel.com> - 2017-06-12 11:20 +0200
            Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-06-12 11:30 +0200
    RE: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs "Mani, Rajmohan" <rajmohan.mani@intel.com> - 2017-06-12 12:00 +0200

csiph-web