public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Westerberg, Mika" <mika.westerberg@intel.com>
To: "Pallala, Ramakrishna" <ramakrishna.pallala@intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Zhang, Rui" <rui.zhang@intel.com>
Subject: Re: How to populate Battery information through ACPI tables
Date: Tue, 19 Feb 2013 21:20:16 +0200	[thread overview]
Message-ID: <20130219192016.GL2439@intel.com> (raw)
In-Reply-To: <D854C92F57B1B347B57E531E78D05EAD24661DB3@BGSMSX102.gar.corp.intel.com>

On Tue, Feb 19, 2013 at 08:59:29PM +0200, Pallala, Ramakrishna wrote:
> > > Mika, I want to populate this characterization data as device
> > > specific/custom data which could be anything And may not be entirely
> > > related to battery. Is this is possible?
> > 
> > Yes, for example you could have a custom ACPI method with your device which
> > then returns this information.
> > 
> > See for example chapter 10.2.2.1 from the ACPI spec. It describes _BIF method
> > that returns some battery data to the caller.
> 
> Mika, _BIF method returns battery data/struct which is defined Table. 10-233.

Yes, it was just an example. You can have your own custom method for that,
lets say:

	BLAH()

that then returns whatever you need.

> If I want to pass some device specific data seems like I can use
> _DSM(9.14.1) method and pass custom /device specific data to the driver.

_DSM is also an option, yes.

> And I believe this data format can be anything and private to the device?
> Can you confirm?

Yes.

  reply	other threads:[~2013-02-19 19:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19 15:07 How to populate Battery information through ACPI tables Pallala, Ramakrishna
2013-02-19 15:20 ` Westerberg, Mika
2013-02-19 17:11   ` Pallala, Ramakrishna
2013-02-19 17:42     ` Westerberg, Mika
2013-02-19 17:45       ` Pallala, Ramakrishna
2013-02-19 18:04         ` Westerberg, Mika
2013-02-19 18:22           ` Pallala, Ramakrishna
2013-02-19 18:38             ` Westerberg, Mika
2013-02-19 18:59               ` Pallala, Ramakrishna
2013-02-19 19:20                 ` Westerberg, Mika [this message]
2013-02-19 19:39                   ` Pallala, Ramakrishna

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=20130219192016.GL2439@intel.com \
    --to=mika.westerberg@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ramakrishna.pallala@intel.com \
    --cc=rui.zhang@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