All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Daniel Scally <djrscally@gmail.com>,
	"Rafael J . Wysocki" <rafael.j.wysocki@intel.com>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Lee Jones <lee.jones@linaro.org>,
	Maximilian Luz <luzmaximilian@gmail.com>,
	linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org,
	linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org,
	platform-driver-x86@vger.kernel.org, devel@acpica.org,
	Len Brown <lenb@kernel.org>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Bartosz Golaszewski <bgolaszewski@baylibre.com>,
	Wolfram Sang <wsa@kernel.org>,
	Mark Gross <mgross@linux.intel.com>,
	Robert Moore <robert.moore@intel.com>,
	Erik Kaneda <erik.kaneda@intel.com>,
	kieran.bingham@ideasonboard.com
Subject: Re: [PATCH v5 0/6] Introduce intel_skl_int3472 module
Date: Tue, 8 Jun 2021 12:33:34 +0300	[thread overview]
Message-ID: <YL85bqGwuBXkoqy3@pendragon.ideasonboard.com> (raw)
In-Reply-To: <4400512a-b788-7074-d3c6-0ec228b43d7e@redhat.com>

Hi Hans,

On Tue, Jun 08, 2021 at 11:00:24AM +0200, Hans de Goede wrote:
> On 6/4/21 12:40 AM, Daniel Scally wrote:
> > Hello all
> > 
> > Bit longer than hoped but here's v5.
> > 
> > v4:
> > https://lore.kernel.org/lkml/20210520140928.3252671-1-djrscally@gmail.com/
> > 
> > v3
> > https://lore.kernel.org/lkml/20210222130735.1313443-1-djrscally@gmail.com/
> > 
> > v2
> > https://lore.kernel.org/platform-driver-x86/20210118003428.568892-1-djrscally@gmail.com/
> > 
> > v1
> > https://lore.kernel.org/linux-media/20201130133129.1024662-1-djrscally@gmail.com/T/#m91934e12e3d033da2e768e952ea3b4a125ee3e67
> > 
> > The only changes are the dropped patches, renamed functions in 2/6 and most of
> > Andy's suggestions on 5/6 - I didn't hit them all yet but didn't want to delay
> > this any more.
> > 
> > Series level changelog:
> > 
> > 	- Dropped all but the essential patches to simplify merge plan - thanks
> > 	Hans.
> 
> Thank you. Andy has already sends me a pull-req for the gpiolib-acpi changes
> and I expect Rafael to send me a pull-req (from an immutable branch) for the
> ACPI bits soon-ish.
> 
> When I merge those both into pdx86 I should be able to pick-up 5/6.
> 
> Given the long time this has been in the making I'm tempted to do that
> (pick up 5/6 as is) and then we can do further cleanups like looking into
> using the existing fixed-regulator code later. My mean reason to do this
> would be to get this code into the hands of users starting with the 5.14
> kernel.

That would be great !

> So question, how usable is this (from the kernel pov, I know userspace
> needs work too) once I merge 5/6. Is the kernel-side support for the cameras
> on some Surface devices then complete or are more patches necessary in
> other subsystems ?

Camera sensor drivers are the other piece of the puzzle that is
required. Daniel is working on an ov5693 driver which can be found at
https://github.com/djrscally/media_tree/tree/ov5693-v2. It's nearing
completion too.

With those two pieces, we have support for the Microsoft Surface Go 2 in
libcamera, as well as a few other devices whose exact model escapes me
at this minute.

> Note another advantage of just merging 5/6 as is and doing the fixed-regulator
> bits on top, is that having those in a separate commit makes it easier to
> see if these indeed result in a nice cleanup (vs sticking with the current code).
> 
> > Daniel Scally (6):
> >   ACPI: scan: Extend acpi_walk_dep_device_list()
> >   ACPI: scan: Add function to fetch dependent of acpi device
> >   gpiolib: acpi: Export acpi_get_gpiod()
> >   gpiolib: acpi: Add acpi_gpio_get_io_resource()
> >   platform/x86: Add intel_skl_int3472 driver
> >   mfd: tps68470: Remove tps68470 MFD driver
> > 
> >  MAINTAINERS                                   |   5 +
> >  drivers/acpi/ec.c                             |   2 +-
> >  drivers/acpi/pmic/Kconfig                     |   2 +-
> >  drivers/acpi/pmic/intel_pmic_chtdc_ti.c       |   2 +-
> >  drivers/acpi/scan.c                           | 104 ++++-
> >  drivers/gpio/Kconfig                          |   2 +-
> >  drivers/gpio/gpiolib-acpi.c                   |  61 ++-
> >  drivers/i2c/i2c-core-acpi.c                   |   8 +-
> >  drivers/mfd/Kconfig                           |  18 -
> >  drivers/mfd/Makefile                          |   1 -
> >  drivers/mfd/tps68470.c                        |  97 ----
> >  drivers/platform/surface/aggregator/core.c    |   6 +-
> >  drivers/platform/surface/surface3_power.c     |  22 +-
> >  .../platform/surface/surface_acpi_notify.c    |   7 +-
> >  drivers/platform/x86/Kconfig                  |   2 +
> >  drivers/platform/x86/Makefile                 |   1 +
> >  drivers/platform/x86/intel-int3472/Kconfig    |  30 ++
> >  drivers/platform/x86/intel-int3472/Makefile   |   5 +
> >  .../intel_skl_int3472_clk_and_regulator.c     | 196 ++++++++
> >  .../intel-int3472/intel_skl_int3472_common.c  | 106 +++++
> >  .../intel-int3472/intel_skl_int3472_common.h  | 118 +++++
> >  .../intel_skl_int3472_discrete.c              | 417 ++++++++++++++++++
> >  .../intel_skl_int3472_tps68470.c              | 137 ++++++
> >  include/acpi/acpi_bus.h                       |   8 +
> >  include/linux/acpi.h                          |  11 +-
> >  include/linux/gpio/consumer.h                 |   2 +
> >  26 files changed, 1205 insertions(+), 165 deletions(-)
> >  delete mode 100644 drivers/mfd/tps68470.c
> >  create mode 100644 drivers/platform/x86/intel-int3472/Kconfig
> >  create mode 100644 drivers/platform/x86/intel-int3472/Makefile
> >  create mode 100644 drivers/platform/x86/intel-int3472/intel_skl_int3472_clk_and_regulator.c
> >  create mode 100644 drivers/platform/x86/intel-int3472/intel_skl_int3472_common.c
> >  create mode 100644 drivers/platform/x86/intel-int3472/intel_skl_int3472_common.h
> >  create mode 100644 drivers/platform/x86/intel-int3472/intel_skl_int3472_discrete.c
> >  create mode 100644 drivers/platform/x86/intel-int3472/intel_skl_int3472_tps68470.c

-- 
Regards,

Laurent Pinchart

      reply	other threads:[~2021-06-08  9:33 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-03 22:40 [PATCH v5 0/6] Introduce intel_skl_int3472 module Daniel Scally
2021-06-03 22:40 ` [PATCH v5 1/6] ACPI: scan: Extend acpi_walk_dep_device_list() Daniel Scally
2021-06-03 22:40 ` [PATCH v5 2/6] ACPI: scan: Add function to fetch dependent of acpi device Daniel Scally
2021-06-07 14:52   ` Rafael J. Wysocki
2021-06-07 14:52     ` [Devel] " Rafael J. Wysocki
2021-06-03 22:40 ` [PATCH v5 3/6] gpiolib: acpi: Export acpi_get_gpiod() Daniel Scally
2021-06-04 12:59   ` Andy Shevchenko
2021-06-04 14:09     ` Daniel Scally
2021-06-03 22:40 ` [PATCH v5 4/6] gpiolib: acpi: Add acpi_gpio_get_io_resource() Daniel Scally
2021-06-04 13:01   ` Andy Shevchenko
2021-06-04 14:09     ` Daniel Scally
2021-06-04 14:33       ` Andy Shevchenko
2021-06-04 16:54         ` Daniel Scally
2021-06-03 22:40 ` [PATCH v5 5/6] platform/x86: Add intel_skl_int3472 driver Daniel Scally
2021-06-04  1:31   ` kernel test robot
2021-06-04  1:31     ` kernel test robot
2021-06-05 23:07     ` Daniel Scally
2021-06-05 23:07       ` Daniel Scally
2021-06-04  6:49   ` kernel test robot
2021-06-04  6:49     ` kernel test robot
2021-06-16 17:58   ` Hans de Goede
2021-06-16 18:08     ` Andy Shevchenko
2021-06-16 18:08       ` [Devel] " Andy Shevchenko
2021-06-16 18:13       ` Hans de Goede
2021-06-16 21:42     ` Daniel Scally
2021-06-03 22:40 ` [PATCH v5 6/6] mfd: tps68470: Remove tps68470 MFD driver Daniel Scally
2021-06-17 11:14   ` Hans de Goede
2021-06-08  9:00 ` [PATCH v5 0/6] Introduce intel_skl_int3472 module Hans de Goede
2021-06-08  9:33   ` Laurent Pinchart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YL85bqGwuBXkoqy3@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=bgolaszewski@baylibre.com \
    --cc=devel@acpica.org \
    --cc=djrscally@gmail.com \
    --cc=erik.kaneda@intel.com \
    --cc=hdegoede@redhat.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=lee.jones@linaro.org \
    --cc=lenb@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luzmaximilian@gmail.com \
    --cc=mgross@linux.intel.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=robert.moore@intel.com \
    --cc=wsa@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.