public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Michael Brunner <Michael.Brunner@kontron.com>
Cc: "linux@roeck-us.net" <linux@roeck-us.net>,
	"sameo@linux.intel.com" <sameo@linux.intel.com>,
	"mibru@gmx.de" <mibru@gmx.de>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] mfd: Add ACPI support to Kontron PLD driver
Date: Mon, 28 Sep 2020 15:47:21 +0100	[thread overview]
Message-ID: <20200928144721.GB6148@dell> (raw)
In-Reply-To: <07ef067e4cb39e50fa07da29e5729e3508e1671a.camel@kontron.com>

On Thu, 20 Aug 2020, Michael Brunner wrote:

> Recent Kontron COMe modules identify the PLD device using the hardware
> id KEM0001 in the ACPI table.
> This patch adds support for probing the device using the HID and also
> retrieving the resources.
> 
> As this is not available for all products, the DMI based detection still
> needs to be around for older systems. It is executed if no matching ACPI
> HID is found during registering the platform driver or no specific
> device id is forced.
> If a device is detected using ACPI and no resource information is
> available, the default io resource is used.
> 
> Forcing a device id with the force_device_id parameter and therefore
> manually generating a platform device takes precedence over ACPI during
> probing.
> 
> v2: - Implemented code changes suggested by Lee Jones
>     - Added comments explaining some critical code
>     - Driver is no longer unregistered if probing is skipped during
>       platform_driver_register and device is not found in DMI table
>     - Set probe type to PROBE_FORCE_SYNCHRONOUS to make clear this is
>       the expected behaviour for this code to work as expected
> 
> Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
> ---
>  drivers/mfd/kempld-core.c | 115 ++++++++++++++++++++++++++++++++++++--
>  1 file changed, 109 insertions(+), 6 deletions(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

      reply	other threads:[~2020-09-28 14:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-12 14:50 [PATCH] mfd: Add ACPI support to Kontron PLD driver Michael Brunner
2020-08-19 10:15 ` Lee Jones
2020-08-20 15:38   ` Michael Brunner
2020-08-20 15:39   ` [PATCH v2] " Michael Brunner
2020-09-28 14:47     ` Lee Jones [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=20200928144721.GB6148@dell \
    --to=lee.jones@linaro.org \
    --cc=Michael.Brunner@kontron.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mibru@gmx.de \
    --cc=sameo@linux.intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox