From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk2-f41.google.com (mail-qk2-f41.google.com [74.125.230.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2A343CFF51 for ; Mon, 28 Sep 2026 21:07:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.230.233 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790629632; cv=none; b=jNOkYMuIhhqxD5Q8k0iQH2tjYfjUuFqeWWEdBpRxC9+ehTUT8W1GCehd3jYPgkpEROXPGVeTHX9olZgERJnMsdM6wbhN34XOFmZlLbELZlqtlLbfelCWl0LJJ33sv3CKHrqbq+pbBPSUW7wFF+tyI4t6R/yIad9DMPLnUlels/c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790629632; c=relaxed/simple; bh=s8Gf53x6SWGjNLlGqXuf8sFn3YnaaJcaKusJzWB3doQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Id1R+bD5qmMLPni5o8cIEK9MDPk9MjQ0uge1kuEj2lXE8QjyyJ2xx8RFpL5BtxqfYEKWuct3ShzE1xOzhH2wBwpPfat4a1gHijb9Ab86opnZkdFbfviagvB32OWoKtGh5urKiKPXlVOY3vA6I7l0Ka8vzM9RG0xgezqV5SzFvJE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=pi3x6Wco; arc=none smtp.client-ip=74.125.230.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pi3x6Wco" Received: by mail-qk2-f41.google.com with SMTP id af79cd13be357-93c59695cc9so212498485a.3 for ; Mon, 28 Sep 2026 14:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790629630; x=1791234430; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=aQcC8QZhv7KRogPZte+j5/ydG1MU0uwz/clH6aQns3I=; b=pi3x6WcoXk726ZWuxbA054uRnYh1/QqrYZnAOzUA6nrZXOJe7+jKfGWbxpXJL8a4LL XghWkqKO8D+hUSX6q6zqgO6kX8D1rxk2MrkPfLLnb0Ox5BTU7pmDh+j4THuNAm0R4vXu Qa/A5nkmzylbwAKy12bpj6/U2EjMec6fvwo73HzXHpiITgkTOD5NWOkzi7PYmVb5uzdC FxcxHRWxJ8KOlQ5lFhh/+p9Y98wdDI/uWwu4xepNO58FSSY9ermxpKT9WSAXfy9EvxCz 6PXviXEypguyHIoaGNsAA0nVZz3xMSeugOb7vrQHNdSUseoxDRUIq9MLE2r0d7jW0Qye zjGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790629630; x=1791234430; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=aQcC8QZhv7KRogPZte+j5/ydG1MU0uwz/clH6aQns3I=; b=lKOkZhhG6eRIvGsweAoxaJae/8QKnhCKF/88jvGEAscC+yJibmxZvwdGQc8/K7fOme 5N5qnUcwJzb88DvrDCkJPoUqNUsqNHAU7wM4Q+eSx20Ob7DpPIZVwNwyGZ1ZJWRZR/+E kf+WW1HEB9l4YG+XuYswRuAsuHuLRuuYumZOl7iU90XmgULVNtRv9szfUdQ5nC5dJJYz I3trB1+uH5a6+Y2js06NUgRYfERSZHmPNVYqIPgcyqaSYso3BHeRd039hoMgIuyo0peW YfQgRBfGRUa/ePswnnEKvH8Y2yq8r6zR8SbmUNfkS3ugZawSadIA+EjxpsFyqEbZlYU8 4rGA== X-Forwarded-Encrypted: i=1; AKwUvBzY+vM1y0LCujgRmZphO6tCpISZrwWh7R/z0kHAWPadXCb35/chckp9rVngAMsZeT9/qXpvb2BwPqAwX5c=@vger.kernel.org X-Gm-Message-State: AFuF++kvj1u+pKcWj32NELJe9QSl8id8f9KciQwh+jKf3pruT6puv/TG nyYk4B8mYvfCqATOxIfyz03JBn461yf/I4qfdyuhtco5VUprSBTuctlF X-Gm-Gg: AYBFou30+NLJlxVdlVf/vrOaIjiaa8/3fFKLTQGFHKuiGroiO4Ks+PnA6seQts4r+lR j1B/a7UTjOAYdT801ppLI6S7uZcMP/REGj1UCBbA00FF2jwThR+KIZIj+fj+Y9/wC0gaajs8iLp 32nuJUTUyPI4aqg44QGdDWu6kiYah5uSdQ61rRlVlcdx2A+ULQ8sYPIVZzCOPC9uTyNIUAsF6ha fnbIfXG9zQp8KLNjJeCWdgSj/31/+vuX8d7qNMpVatxYONFIMfec3jqZXIHdejsJOGhqvgjl1/L DIyUNnb0rr0GbXhAuHCaYvdTh9QiCML3lw5ZGB2L3hkcMe8UeJfEC+ML3LdMRFNz57JAuaC0CoA fkWWESXnG2I6qj7pJktgf8xzxxkDB3J7T7o14xERCsn7CmcEuUXWlIxVqC8Yrdp3CaPMkr7DJY5 VNT06/IoqA4iH7j3dfWgGPNCO9Yn7tJnF1rY8zDVwNRU1ixM2Daho/jsLG5QKMF1mRiIhLYUIGt 3LRgPhzg67SstXWAdTuvM1BKZbbORYNPEqm9F11ckKRCxsNPge3odQ9j/axkJqBljAUd8dREOXh 4mJjzAQX X-Received: by 2002:a05:620a:40d2:b0:939:6de6:9518 with SMTP id af79cd13be357-93c43cd9749mr2136518985a.47.1790629629648; Mon, 28 Sep 2026 14:07:09 -0700 (PDT) Received: from cachyos-SlimIce.lan (1841343-static.dvnpiaaa.metronetinc.net. [195.252.229.229]) by smtp.gmail.com with ESMTPSA id af79cd13be357-93c814342f9sm241348885a.29.2026.09.28.14.07.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2026 14:07:09 -0700 (PDT) From: Jared Wuerzburger To: Jonathan Cameron , Lorenzo Bianconi Cc: Andy Shevchenko , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Samuel Dionne-Riel , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/2] iio: imu: st_lsm6dsx: Add ACPI ID SMOCF05 (Minisforum V3 / V3 SE) Date: Mon, 28 Sep 2026 16:06:46 -0500 Message-ID: <20260928210648.17166-1-jwuerz@gmail.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi, This adds the SMOCF05 ACPI ID used by the Minisforum V3 and V3 SE tablets for their LSM6DS3TR-C, picking up Samuel's series [1][2]. Without it the accelerometer and gyroscope are missing unless the user carries a DSDT override [3]. Changes since v4 [7]: - 1/2: drop the Link: for the suggestion (Andy); add Andy's Reviewed-by. - 2/2: drop the DSDT excerpt from the changelog (it is below) and update the tag block accordingly; add Andy's Reviewed-by. Changes since v3 [4]: - 1/2: convert the ACPI match table to C99 initializers instead of only dropping the trailing commas (Andy). - 2/2: explain in the changelog why the firmware's SLA0 matrix is not used and the orientation comes from hwdb (Andy); drop the pointer to the cover letter (Andy); Link: -> Closes: (Andy). - Assisted-by: LLM (Andy). A correction to the v3 cover letter: SLA0 applied via hwdb gives correct rotation but inverted tilt (it follows the Windows convention, see 2/2). The correct matrix is -1 0 0; 0 -1 0; 0 0 1. The systemd hwdb entry [5] was merged with SLA0 and has since been fixed [6]. The full STS device from the V3 BIOS (1.06), identical on the V3 SE: Device (STS) { Name (_HID, EisaId ("SMOCF05")) Name (_CID, EisaId ("SMOCF05")) Name (_UID, Zero) Method (_STA, 0, NotSerialized) { Return (0x0F) } Method (_CRS, 0, NotSerialized) { Name (RBUF, ResourceTemplate () { I2cSerialBusV2 (0x006A, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.I2CD", 0x00, ResourceConsumer, , Exclusive, RawDataBuffer (0x04) { 0x53, 0x4C, 0x41, 0x30 }) I2cSerialBusV2 (0x006A, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.I2CD", 0x00, ResourceConsumer, , Exclusive, RawDataBuffer (0x04) { 0x53, 0x4C, 0x47, 0x30 }) GpioInt (Edge, ActiveHigh, Exclusive, PullNone, 0x0000, "\\_SB.GPIO", 0x00, ResourceConsumer, , RawDataBuffer (0x04) { 0x53, 0x4C, 0x41, 0x30 }) { 0x0009 } }) Return (RBUF) /* \_SB_.I2CD.STS_._CRS.RBUF */ } Method (SLA0, 0, NotSerialized) { Name (RBUF, Package (0x03) { "-1 0 0", "0 -1 0", "0 0 -1" }) Return (RBUF) /* \_SB_.I2CD.STS_.SLA0.RBUF */ } Method (SLG0, 0, NotSerialized) { Name (RBUF, Package (0x03) { "1 0 0", "0 1 0", "0 0 1" }) Return (RBUF) /* \_SB_.I2CD.STS_.SLG0.RBUF */ } } Thanks to Samuel for the original series and to Andy for the reviews. [1] v1: https://lore.kernel.org/linux-iio/20251223025351.3099978-2-samuel@dionne-riel.com/ [2] v2: https://lore.kernel.org/linux-iio/20260201225450.1649001-2-samuel@dionne-riel.com/ [3] https://github.com/mudkipme/awesome-minisforum-v3/issues/2 [4] v3: https://lore.kernel.org/linux-iio/20260927220559.24169-1-jwuerz@gmail.com/ [5] https://github.com/systemd/systemd/pull/43935 [6] https://github.com/systemd/systemd/pull/43941 [7] v4: https://lore.kernel.org/linux-iio/20260928175049.86941-1-jwuerz@gmail.com/ Jared Wuerzburger (1): iio: imu: st_lsm6dsx: Use C99 initializers in ACPI match table Samuel Dionne-Riel (1): iio: imu: st_lsm6dsx: Add ACPI ID SMOCF05 for LSM6DS3TR-C drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) base-commit: a3b3580713f3ac5a32dc2874ee546828977a1d68 -- 2.55.0