linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: "shenyang (M)" <shenyang39@huawei.com>
Cc: ACPI Devel Maling List <linux-acpi@vger.kernel.org>
Subject: Re: Question about ACPI_THERMAL_HID of thermal
Date: Tue, 19 May 2020 13:07:16 +0200	[thread overview]
Message-ID: <CAJZ5v0i8qwmJEGEDbHwuaVUGK7PWgnS9o91sqFxni96uSUVfKw@mail.gmail.com> (raw)
In-Reply-To: <c61a713e-2d4b-91ba-26fa-e3c2f3c50b44@huawei.com>

On Tue, May 19, 2020 at 12:40 PM shenyang (M) <shenyang39@huawei.com> wrote:
>
> Hi,
>
> Sorry for disturbing you.

No worries.

> I want to use the driver thermal.ko. But here I got a question:
> the ACPI_THERMAL_HID does not comply with ACPI spec. So I want to know
> if any device is using this driver.

Yes.

ACPI_THERMAL_HID is automatically given to ACPI objects of the
ACPI_TYPE_THERMAL type that represent thermal zones.

> And if no one is using this driver,
> can I modify this HID to comply with ACPI specifications?

This artificial device ID is used internally by the kernel and there's
no need for you to manipulate it.

In order for the ACPI thermal driver to be used, at least one thermal
zone needs to be declared in the ACPI namespace.

Thanks!

      reply	other threads:[~2020-05-19 11:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19 10:40 Question about ACPI_THERMAL_HID of thermal shenyang (M)
2020-05-19 11:07 ` Rafael J. Wysocki [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=CAJZ5v0i8qwmJEGEDbHwuaVUGK7PWgnS9o91sqFxni96uSUVfKw@mail.gmail.com \
    --to=rafael@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=shenyang39@huawei.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;
as well as URLs for NNTP newsgroup(s).