From: Hans de Goede <hdegoede@redhat.com>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH] platform/x86: Add intel_bytcrc_pwrsrc driver
Date: Thu, 7 Dec 2023 18:39:32 +0100 [thread overview]
Message-ID: <3deb876a-62f5-44b9-a20c-ff57bd6ceea9@redhat.com> (raw)
In-Reply-To: <ZXHtzpgCks1Ix-0o@smile.fi.intel.com>
Hi Andy,
On 12/7/23 17:07, Andy Shevchenko wrote:
>> Table 5-51: Wake Source Register
>> Register Name R/W D7 D6 D5 D4 D3 D2 D1 D0 Initial Address
>> WAKESRC R RSVD WAKE WAKU WAKE WAKE 0X00 TBD
>> ADPT SB BAT PBTN
>> BIT NAME FUNCTION DEFAULT
>> D[7:4] Reserved
>> Reserved
>> 0
>> D[3] WAKEADPT
>> 0 = No wake by an AC/DC adapter insertion
>> 1 = Wake was triggered by an AC/DC adapter
>> insertion.
>> 0
>> D[2] WAKEUSB
>> 0 = No wake by a USB charger insertion
>> 1 = Wake was triggered by a USB charger insertion.
>> 0
>> D[1] WAKEBAT
>> 0 = No wake by a battery insertion
>> 1 = Wake was triggered by a battery insertion.
>> 0
>> D[0] WAKEPBTN
>> 0 = No wake by user pressing the power button
>> 1 = Wake was triggered by user pressing the power
>> button.
>> 0
>
> Did it help anyhow?
Thank you for digging this up, this confirms the bit
definitions we already have from one of the Android
kernel trees. It is good to have those confirmed.
Regards,
Hans
next prev parent reply other threads:[~2023-12-07 17:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-03 22:19 [PATCH] platform/x86: Add intel_bytcrc_pwrsrc driver Hans de Goede
2023-03-03 22:41 ` Andy Shevchenko
2023-03-04 10:00 ` Hans de Goede
2023-07-10 9:23 ` Andy Shevchenko
2023-12-07 16:07 ` Andy Shevchenko
2023-12-07 17:39 ` Hans de Goede [this message]
2023-03-16 13:42 ` Hans de Goede
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=3deb876a-62f5-44b9-a20c-ff57bd6ceea9@redhat.com \
--to=hdegoede@redhat.com \
--cc=andy.shevchenko@gmail.com \
--cc=platform-driver-x86@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox