mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Milan Mišić" <twoexem@gmail.com>
To: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	lorenzo@kernel.org, jic23@kernel.org, dlechner@baylibre.com,
	nuno.sa@analog.com, andy@kernel.org
Subject: Re: [PATCH] iio: imu: st_lsm6dsx: Add ACPI ID for SHIFT13mi gyroscope
Date: Wed, 25 Mar 2026 13:23:20 +0100	[thread overview]
Message-ID: <2ac6cca6-a7c5-4892-93d9-49f850953511@gmail.com> (raw)
In-Reply-To: <acPNhGlmTJk4pfRG@ashevche-desk.local>

On 3/25/26 12:56, Andy Shevchenko wrote:
> Please, for the record also reply with the DSDT excerpt of the device in
> question, so we will see how it's defined in ACPI.

Hi Andy,
Here's the device's DSDT excerpt:

Device (GYRO)
         {
             Name (_ADR, Zero)  // _ADR: Address
             Name (_HID, "SMOCF00")  // _HID: Hardware ID
             Name (_CID, "SMOCF00")  // _CID: Compatible ID
             Name (_DDN, "Gyroscope")  // _DDN: DOS Device Name
             Name (_UID, One)  // _UID: Unique ID
             Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource 
Settings
             {
                 Name (RBUF, ResourceTemplate ()
                 {
                     I2cSerialBusV2 (0x006B, ControllerInitiated, 
0x00061A80,
                         AddressingMode7Bit, "\\_SB.PC00.I2C0",
                         0x00, ResourceConsumer, , Exclusive,
                         RawDataBuffer (0x04)  // Vendor Data
                         {
                             0x53, 0x4F, 0x41, 0x30
                         })
                     I2cSerialBusV2 (0x006B, ControllerInitiated, 
0x00061A80,
                         AddressingMode7Bit, "\\_SB.PC00.I2C0",
                         0x00, ResourceConsumer, , Exclusive,
                         RawDataBuffer (0x04)  // Vendor Data
                         {
                             0x53, 0x4F, 0x47, 0x30
                         })
                 })
                 Return (RBUF) /* \_SB_.PC00.I2C0.GYRO._CRS.RBUF */
             }

             Method (SOA0, 0, NotSerialized)
             {
                 Name (RBUF, Package (0x03)
                 {
                     "1 0 0",
                     "0 -1 0",
                     "0 0 1"
                 })
                 Return (RBUF) /* \_SB_.PC00.I2C0.GYRO.SOA0.RBUF */
             }

             Method (SOG0, 0, NotSerialized)
             {
                 Name (RBUF, Package (0x03)
                 {
                     "0 1 0",
                     "-1 0 0",
                     "0 0 -1"
                 })
                 Return (RBUF) /* \_SB_.PC00.I2C0.GYRO.SOG0.RBUF */
             }

             Method (_STA, 0, NotSerialized)  // _STA: Status
             {
                 Return (0x0F)
             }
         }

Best Regards,
Milan Misic

  reply	other threads:[~2026-03-25 12:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-24 19:36 Milan Misic
2026-03-25 11:56 ` Andy Shevchenko
2026-03-25 12:23   ` Milan Mišić [this message]
2026-03-25 12:28     ` Andy Shevchenko
2026-03-25 12:39       ` Milan Mišić
2026-03-25 14:10         ` Andy Shevchenko
2026-03-25 14:22           ` Milan Mišić
2026-03-26  8:31             ` Andy Shevchenko
2026-03-26  9:52               ` Milan Mišić
2026-03-26 10:02 ` Andy Shevchenko
2026-03-26 20:40   ` Jonathan Cameron

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=2ac6cca6-a7c5-4892-93d9-49f850953511@gmail.com \
    --to=twoexem@gmail.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=nuno.sa@analog.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

all inboxes | Powered by JetHome®