mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Documentation: Remove reference to acpi_platform_device_ids from acpi/enumeration
@ 2014-07-11 11:03 Darren Hart
  2014-07-11 22:28 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Darren Hart @ 2014-07-11 11:03 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Darren Hart, Mika Westerberg, Rafael J. Wysocki

As of:

    4845934 ACPI / scan: use platform bus type by default for _HID enumeration

ACPI uses the platform bus by default, changing the opt-in to an opt-out
policy, eliminating the acpi_platform_device_ids table and replacing it
with forbidden_id_list[].

Remove the qualifying paragraph from the acpi/enumeration documentation
as it no longer applies.

Reported-by: Max Eliaser <max@meliaserlow.dyndns.tv>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
 Documentation/acpi/enumeration.txt | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/Documentation/acpi/enumeration.txt b/Documentation/acpi/enumeration.txt
index fd786ea..e182be5 100644
--- a/Documentation/acpi/enumeration.txt
+++ b/Documentation/acpi/enumeration.txt
@@ -60,12 +60,6 @@ If the driver needs to perform more complex initialization like getting and
 configuring GPIOs it can get its ACPI handle and extract this information
 from ACPI tables.
 
-Currently the kernel is not able to automatically determine from which ACPI
-device it should make the corresponding platform device so we need to add
-the ACPI device explicitly to acpi_platform_device_ids list defined in
-drivers/acpi/acpi_platform.c. This limitation is only for the platform
-devices, SPI and I2C devices are created automatically as described below.
-
 DMA support
 ~~~~~~~~~~~
 DMA controllers enumerated via ACPI should be registered in the system to
-- 
2.0.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation: Remove reference to acpi_platform_device_ids from acpi/enumeration
  2014-07-11 11:03 [PATCH] Documentation: Remove reference to acpi_platform_device_ids from acpi/enumeration Darren Hart
@ 2014-07-11 22:28 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2014-07-11 22:28 UTC (permalink / raw)
  To: Darren Hart
  Cc: Linux Kernel Mailing List, Mika Westerberg, Rafael J. Wysocki,
	ACPI Devel Maling List, Zhang Rui

On Friday, July 11, 2014 11:03:39 AM Darren Hart wrote:
> As of:
> 
>     4845934 ACPI / scan: use platform bus type by default for _HID enumeration
> 
> ACPI uses the platform bus by default, changing the opt-in to an opt-out
> policy, eliminating the acpi_platform_device_ids table and replacing it
> with forbidden_id_list[].
> 
> Remove the qualifying paragraph from the acpi/enumeration documentation
> as it no longer applies.

Sure thing.  I was about to do that myself, but you beat me to it. :-)

Applied, thanks!

> Reported-by: Max Eliaser <max@meliaserlow.dyndns.tv>
> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
> Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
> Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> ---
>  Documentation/acpi/enumeration.txt | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/Documentation/acpi/enumeration.txt b/Documentation/acpi/enumeration.txt
> index fd786ea..e182be5 100644
> --- a/Documentation/acpi/enumeration.txt
> +++ b/Documentation/acpi/enumeration.txt
> @@ -60,12 +60,6 @@ If the driver needs to perform more complex initialization like getting and
>  configuring GPIOs it can get its ACPI handle and extract this information
>  from ACPI tables.
>  
> -Currently the kernel is not able to automatically determine from which ACPI
> -device it should make the corresponding platform device so we need to add
> -the ACPI device explicitly to acpi_platform_device_ids list defined in
> -drivers/acpi/acpi_platform.c. This limitation is only for the platform
> -devices, SPI and I2C devices are created automatically as described below.
> -
>  DMA support
>  ~~~~~~~~~~~
>  DMA controllers enumerated via ACPI should be registered in the system to
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-11 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-11 11:03 [PATCH] Documentation: Remove reference to acpi_platform_device_ids from acpi/enumeration Darren Hart
2014-07-11 22:28 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®