From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4D6B606A333 for ; Fri, 4 Dec 2026 07:45:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=iQTtkCm6; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=g/F+skj6 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=1gDKI2auy6Mdlt7D7P/Db2B7MKb+J4m229LRhAlM05A=; b=iQTtkCm6v3yXTs xLidKKZGtmlakqAqUg5vQtgm78QI7YKUbi4zrKa0olONfEVILN9raqSTP9TAMgQNuPQgGDiIKB6uj 1NnQONlZEPLDLDxdIjJbhIJo0d/PF8DvXTLpzGQ2CyvV6S743TgLzXczjx50GEoPFcFcDPIzyk9uI F4Y3TOOC0HxXCM7xKQWT0U75Xwn9gwW8oQD7iQzAAKw2NfmI2PRo6yBFa4mpcXQk0cTZJL+TErWf0 1kd6MkVYg8rbkNcRTjO8GOsLhlNiKXR45uboSxsLSrajlZRbE598zMnGh8XERh+2hlpuQI0cJwUWC geMZPcli3IIG7cO2Pfkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZNxt-0000000H0H6-0lVz; Fri, 04 Dec 2026 07:44:31 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZNx9-0000000Gzx8-2QHo for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2026 07:43:49 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4bba5e17cbeso5400815e9.1 for ; Thu, 03 Dec 2026 23:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796370214; x=1796975014; darn=lists.infradead.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=1gDKI2auy6Mdlt7D7P/Db2B7MKb+J4m229LRhAlM05A=; b=g/F+skj6gtwwAVacvhunmTA21KxHCVS+T7TcyMMaP7R5UVeD92ORG0WxrGn9+TxyCi 1npUpgS2vCzbOq3BxgqN1UzkloQwIa+iYjkCtq3YJNU8QUITrbU102aHaIC2lyrdPHky MqMaYtmp2HhZfhnhq+KroYlH5wuPG7vzta0HTMnstdDFnuSHgq6h1Flp+jBr5vwxZ6dR AKlZ4aYdNEHAaaYJAZlVQMW/A6rS9nvJzaw6eZrU6D4xk8z2uBV/FSDYT22vy0ZrDGtu OR78kRHc3QYmmmpeEBXZhqQ6yU4r3nJu8YjZ6DfWHJx3bmElUjz8OShFcQEDaXLtgQD3 VqHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796370214; x=1796975014; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=1gDKI2auy6Mdlt7D7P/Db2B7MKb+J4m229LRhAlM05A=; b=c+zdvt1lqd8qvum6cFO79IeDrtcZj/cFniOiOdgkbFRrTEzZ5GNOa05V1zrId1dYun VHhYYZ/mU+XL6oVCbBHoEPfkjmtMoqZInrQAAILA53F/N/gCYQx5G44MP5Ods3owtatl ufCo1W0umTumuhooRzGjGuU/rdTCHCOLEdb+4yhDfB7gXgQmJaIJkRnlci2VX0z2MgZr b13hF48eptetql5PEkL0ALDwI0yi05f+NN+lUAuVLI9XjmHTtzY198SdCd3BnARPh3ux z0gSA6Zo8JMy7bS4Z0g7JPeCxCyi4Va6eKE5mKF7SpBlwpjU7WnL84zJZMJ9Cy93pTkR uYWA== X-Forwarded-Encrypted: i=1; AL+hErFYdq6ysIKCSSPfbM2f/OV5VTt8zNIfPbATFm/vTqNbQh7JpEjMJ56/P9flcnWOqKvbn1Q/bObhuhTYodY+/kX0@lists.infradead.org X-Gm-Message-State: APuU4Z9s3kEXEmlht/ROB7NmPCChJb5PCD0jYV2cure6ElY8lVzyU1dZ /CmwB0bk5zx2vW6evZUS60FJL+dHPiBybAGW+YfoObKD32l7aWevMaL6 X-Gm-Gg: AZFdTZfSCTj45FTCW83EMM0CI0k7mAspRZhxUUO9l/UdJhNQVFODzjt1IzhqCxEmrFg dX4tlQnA1tcbJgAmj/K22Kqz5UTX6kTcQHTSsRFtc3GGeyGYQH5kfjBPVlpw7mJ6qyTTWAUwttq wvaxj9UdR3giQiGR/6NkEXkapeCBTN/iAPl2GZ2gOuhIF79RicNdRg2yHQly1h9C/TNTN7lHfRg 6laiZTqEJeXZNU9DKksb27nchDlaRKtMAz8/L0iiJOGgfjLm+q3t7KHp9VTyk+azSE75/6SJWm1 gX7hTKxlvtjmEKEmdJTAiZPMeIYNb/FKnlUuVBSAfpEWcTfgq7y7jPdvplw9XN3QmP53xTd8UrM fHzlOINvhSlFAIpL2xucwBqODbNULwOPjapkFtU8UHuIiOxD313jvbiajrfs+nwPFFB6VOdaYLb eRryqvbgo11xsC3i3CjxReHDZXI/mXiKoxi5moVtsGlbvpztUkR9OUJivOBrMJioFyem6AqNiQf OfKRnKgkbWq+eDFM6AuqHf0qgDML3n2zkd3fjycTGyXJGMQ5ARjBFdRjzxA3UVwSSNuDllgblBy lbNUN4NXX7RzqqsDKmMIS19VbTfUWDmhA8ZLhqhzNo4bY72w952r51t7zpfMQgY0su6Wzf1JfiA PelgG6ctkMVbRxUDtQPApaWdvKPcN+yQpJjmwRz23jVEBog== X-Received: by 2002:a05:600c:3487:b0:4bb:6752:8413 with SMTP id 5b1f17b1804b1-4bbeb8512d4mr16755845e9.8.1796370213560; Thu, 03 Dec 2026 23:43:33 -0800 (PST) Received: from thinkpad16.ts.appmire.be ([94.110.48.221]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bbe003108asm129692405e9.1.2026.12.03.23.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 23:43:33 -0800 (PST) From: Jeroen Trappers To: rafael@kernel.org, daniel.lezcano@kernel.org, sven@kernel.org, j@jannau.net, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: rui.zhang@intel.com, lukasz.luba@arm.com, neal@gompa.dev, towinchenmi@gmail.com, konradybcio@kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jeroen Trappers Subject: [PATCH v2 2/3] thermal/drivers/apple: Add T7000 (A8) on-die temperature sensor driver Date: Fri, 4 Dec 2026 08:43:27 +0100 Message-ID: <20261204074328.3741080-3-jeroen.trappers@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261204074328.3741080-1-jeroen.trappers@gmail.com> References: <20261204074328.3741080-1-jeroen.trappers@gmail.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261203_234337_101369_1429DA2F X-CRM114-Status: GOOD ( 36.30 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 The Apple A8 (T7000) has the temperature sensor blocks iOS drives with its AppleT700XTempSensor class. The per-sensor register offsets are the sensor-offset-* properties of the tempsensor0..4 nodes in the iPhone 6 device tree. Each sensor accumulates samples between a start and a freeze of CTL0 bit 3; a read freezes it, reads the result word (bit 31 valid, signed Q6 degrees Celsius) and the sample count, and starts the next interval, as iOS's timer callback does. An interval is never cut shorter than 100 ms, however often the zone is read; readers in between get the last sample. A sensor without a valid sample for 5 s is reported with -EIO, and one disabled since probe with -ENODEV. Only 32-bit accesses are made. The driver never writes the trims, CTL1/CTL2, the alarms or the SoCHOT thresholds, never sets a sensor's enable bit (a sensor the boot chain left disabled is skipped), and only starts a sensor once a thermal zone using it is registered, stopping it again on unbind. Sensors no zone uses are left untouched. It is a thermal driver rather than hwmon because the zones drive CPU cooling; the readings are also exposed through the thermal hwmon bridge. Adapted from Berkay Kösebay's out-of-tree driver for the A9 (S8003), which uses the same block. The driver was drafted with an LLM coding assistant and reviewed by me. Signed-off-by: Jeroen Trappers --- MAINTAINERS | 1 + drivers/thermal/Kconfig | 13 ++ drivers/thermal/Makefile | 1 + drivers/thermal/apple_t7000_thermal.c | 295 ++++++++++++++++++++++++++ 4 files changed, 310 insertions(+) create mode 100644 drivers/thermal/apple_t7000_thermal.c diff --git a/MAINTAINERS b/MAINTAINERS index 667f9f37b824..049c3b8c8377 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2146,6 +2146,7 @@ L: asahi@lists.linux.dev L: linux-pm@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/thermal/apple,t7000-thermal.yaml +F: drivers/thermal/apple_t7000_thermal.c APPLETALK NETWORK LAYER L: netdev@vger.kernel.org diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 810eeccedfba..4a2190b9f4a0 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -432,6 +432,19 @@ depends on ARCH_MEDIATEK || COMPILE_TEST source "drivers/thermal/mediatek/Kconfig" endmenu +config APPLE_T7000_THERMAL + tristate "Apple T7000 (A8) on-die temperature sensors" + depends on ARCH_APPLE || COMPILE_TEST + depends on THERMAL_OF + help + Thermal zone sensors for the die temperature sensors of the + Apple A8 (T7000) SoC, as used in the iPhone 6 family and other + 2014 / 2015 Apple devices. The sensors are read with the + calibration the boot chain programs. + + This driver can also be built as a module. If so, the module will + be called apple_t7000_thermal. + config AMLOGIC_THERMAL tristate "Amlogic Thermal Support" default ARCH_MESON diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index 3b249195c088..f2b6cbbe3307 100644 --- a/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile @@ -64,6 +64,7 @@ obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o obj-y += mediatek/ obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o +obj-$(CONFIG_APPLE_T7000_THERMAL) += apple_t7000_thermal.o obj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o obj-y += spacemit/ obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o diff --git a/drivers/thermal/apple_t7000_thermal.c b/drivers/thermal/apple_t7000_thermal.c new file mode 100644 index 000000000000..ced00c1b9bbe --- /dev/null +++ b/drivers/thermal/apple_t7000_thermal.c @@ -0,0 +1,295 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Apple T7000 (A8) on-die temperature sensors. + * + * Copyright (C) 2026 Jeroen Trappers + * + * Adapted from the out-of-tree Apple S8003 (A9) temperature sensor driver + * by Berkay Kösebay (GPL-2.0), which drives the same block. + * + * The blocks are the ones iOS drives with its AppleT700XTempSensor class; + * the per-sensor register offsets are the "sensor-offset-*" properties of + * the tempsensor0..4 nodes in the iPhone 6 device tree: tempsensor0..1 in the + * power manager (PMGR) page, tempsensor2..4 in the CPU complex (TCC) page. + * The hardware converts with the calibration the boot chain programs: this + * driver never writes the trims, CTL1/CTL2, the alarm registers or the + * SoCHOT thresholds, and never sets a sensor's enable bit (a sensor the boot + * chain left disabled is skipped). Only 32-bit accesses are made. + * + * Each sensor accumulates samples between a "start" (CTL0 set, bit 3) and a + * "freeze" (CTL0 clear, bit 3). A read freezes the accumulator, reads the + * result word (bit 31 valid, signed Q6 degrees Celsius in the low bits) and + * the sample count, and starts the next interval, as iOS's timer callback + * does. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "thermal_hwmon.h" + +#define T7000_CTL0_ENABLE BIT(0) +#define T7000_CTL0_ACCUMULATE BIT(3) +#define T7000_BK_VALID BIT(31) +/* + * Every sample restarts the accumulator, and the thermal core, sysfs and + * hwmon may all read a zone: an accumulation interval is never cut shorter + * than this, so each sample averages over a useful window (about 400 + * samples a second); readers within it get the last sample. + */ +#define T7000_MIN_INTERVAL_MS 100 +/* Without a valid sample for this long, the sensor is reported broken. */ +#define T7000_STALE_MS 5000 + +/** + * struct t7000_sensor_desc - one sensor channel + * @ctl_set: CTL0 set register + * @ctl_clear: CTL0 clear register + * @bk: result register + * @count: accumulated sample count + */ +struct t7000_sensor_desc { + u16 ctl_set; + u16 ctl_clear; + u16 bk; + u16 count; +}; + +/** + * struct t7000_block - one sensor block (register page) + * @sensors: its sensors, by the binding's sensor index + * @num_sensors: number of sensors + * @sign_bit: sign bit of the Q6 value (14 for sensor-accuracy 2, else 15) + */ +struct t7000_block { + const struct t7000_sensor_desc *sensors; + unsigned int num_sensors; + u8 sign_bit; +}; + +static const struct t7000_sensor_desc t7000_pmgr_sensors[] = { + { .ctl_set = 0x000, .ctl_clear = 0x004, .bk = 0x018, .count = 0x024 }, + { .ctl_set = 0x044, .ctl_clear = 0x048, .bk = 0x05c, .count = 0x068 }, +}; + +static const struct t7000_sensor_desc t7000_tcc_sensors[] = { + { .ctl_set = 0x000, .ctl_clear = 0x408, .bk = 0x020, .count = 0x038 }, + { .ctl_set = 0x040, .ctl_clear = 0x438, .bk = 0x060, .count = 0x078 }, + { .ctl_set = 0x200, .ctl_clear = 0x468, .bk = 0x220, .count = 0x238 }, +}; + +static const struct t7000_block t7000_pmgr = { + .sensors = t7000_pmgr_sensors, + .num_sensors = ARRAY_SIZE(t7000_pmgr_sensors), + .sign_bit = 14, +}; + +static const struct t7000_block t7000_tcc = { + .sensors = t7000_tcc_sensors, + .num_sensors = ARRAY_SIZE(t7000_tcc_sensors), + .sign_bit = 15, +}; + +/** + * struct t7000_sensor - one registered sensor + * @base: its block's register page + * @desc: its registers + * @sign_bit: sign bit of its Q6 value + * @started: whether this driver started its accumulation + * @restarted: jiffies of the last start of an accumulation interval + * @sampled: jiffies of the last valid sample (of the start before the first) + * @temp: the last valid sample, millidegrees Celsius + * @valid: whether @temp holds a sample + * + * The thermal core serializes the get_temp() calls of a zone. + */ +struct t7000_sensor { + void __iomem *base; + const struct t7000_sensor_desc *desc; + u8 sign_bit; + bool started; + unsigned long restarted; + unsigned long sampled; + int temp; + bool valid; +}; + +/* Start an accumulation interval. */ +static void t7000_start(struct t7000_sensor *s) +{ + writel(T7000_CTL0_ACCUMULATE, s->base + s->desc->ctl_set); + s->restarted = jiffies; +} + +static int t7000_sample(struct t7000_sensor *s) +{ + const struct t7000_sensor_desc *d = s->desc; + u32 bk, count; + int temp; + + /* Disabled since probe: report it, and do not start it again. */ + if (!(readl(s->base + d->ctl_set) & T7000_CTL0_ENABLE)) + return -ENODEV; + + writel(T7000_CTL0_ACCUMULATE, s->base + d->ctl_clear); + bk = readl(s->base + d->bk); + count = readl(s->base + d->count); + t7000_start(s); + + if (!(bk & T7000_BK_VALID) || !count) + return -EAGAIN; + + temp = DIV_ROUND_CLOSEST(sign_extend32(bk, s->sign_bit) * 1000, 64); + /* An impossible code is a glitch; iOS substitutes 30 C instead. */ + if (temp < -40000 || temp > 150000) + return -EAGAIN; + + s->temp = temp; + s->sampled = jiffies; + s->valid = true; + return 0; +} + +static int t7000_get_temp(struct thermal_zone_device *tz, int *temp) +{ + struct t7000_sensor *s = thermal_zone_device_priv(tz); + int ret = -EAGAIN; + + /* + * The zone may be read before the sensor is started; the acquire pairs + * with the release in probe, so @restarted and @sampled are seen once @started is. + */ + if (!smp_load_acquire(&s->started)) + return -EAGAIN; + + if (time_after_eq(jiffies, s->restarted + msecs_to_jiffies(T7000_MIN_INTERVAL_MS))) { + ret = t7000_sample(s); + if (ret == -ENODEV) + return ret; + } + if (!ret) { + *temp = s->temp; + return 0; + } + + /* + * No new sample (too early, an interval without one, or a glitch). + * @sampled is the last valid sample, or the start if there was none: + * the sensor reads broken until it delivers again. + */ + if (time_after(jiffies, s->sampled + msecs_to_jiffies(T7000_STALE_MS))) + return -EIO; + if (!s->valid) + return -EAGAIN; + *temp = s->temp; + return 0; +} + +static const struct thermal_zone_device_ops t7000_thermal_ops = { + .get_temp = t7000_get_temp, +}; + +/* On unbind, stop what this driver started: the sensor is left as the boot chain left it. */ +static void t7000_sensor_stop(void *data) +{ + struct t7000_sensor *s = data; + + if (s->started) + writel(T7000_CTL0_ACCUMULATE, s->base + s->desc->ctl_clear); +} + +static int t7000_thermal_probe(struct platform_device *pdev) +{ + struct device *dev = &pdev->dev; + const struct t7000_block *block; + void __iomem *base; + unsigned int i; + int ret; + + block = of_device_get_match_data(dev); + if (!block) + return -EINVAL; + + base = devm_platform_ioremap_resource(pdev, 0); + if (IS_ERR(base)) + return PTR_ERR(base); + + for (i = 0; i < block->num_sensors; i++) { + const struct t7000_sensor_desc *d = &block->sensors[i]; + struct thermal_zone_device *tz; + struct t7000_sensor *s; + + if (!(readl(base + d->ctl_set) & T7000_CTL0_ENABLE)) { + dev_dbg(dev, "sensor %u not enabled by the boot chain\n", i); + continue; + } + + s = devm_kzalloc(dev, sizeof(*s), GFP_KERNEL); + if (!s) + return -ENOMEM; + s->base = base; + s->desc = d; + s->sign_bit = block->sign_bit; + + /* Added before the zone, so that unbind stops the sensor after the zone is gone. */ + ret = devm_add_action_or_reset(dev, t7000_sensor_stop, s); + if (ret) + return ret; + + tz = devm_thermal_of_zone_register(dev, i, s, &t7000_thermal_ops); + if (IS_ERR(tz)) { + /* No zone uses this sensor: leave it untouched. */ + if (PTR_ERR(tz) == -ENODEV) { + devm_remove_action(dev, t7000_sensor_stop, s); + devm_kfree(dev, s); + continue; + } + return dev_err_probe(dev, PTR_ERR(tz), + "failed to register sensor %u\n", i); + } + + /* Start accumulating, as iOS does; the zone's first reads see no sample yet. */ + t7000_start(s); + s->sampled = s->restarted; + /* Publishes @restarted and @sampled to t7000_get_temp(). */ + smp_store_release(&s->started, true); + + ret = devm_thermal_add_hwmon_sysfs(dev, tz); + if (ret) + dev_warn(dev, "failed to add hwmon for sensor %u: %d\n", + i, ret); + } + + return 0; +} + +static const struct of_device_id t7000_thermal_of_match[] = { + { .compatible = "apple,t7000-pmgr-thermal", .data = &t7000_pmgr }, + { .compatible = "apple,t7000-tcc-thermal", .data = &t7000_tcc }, + { } +}; +MODULE_DEVICE_TABLE(of, t7000_thermal_of_match); + +static struct platform_driver t7000_thermal_driver = { + .probe = t7000_thermal_probe, + .driver = { + .name = "apple-t7000-thermal", + .of_match_table = t7000_thermal_of_match, + }, +}; +module_platform_driver(t7000_thermal_driver); + +MODULE_AUTHOR("Jeroen Trappers "); +MODULE_DESCRIPTION("Apple T7000 on-die temperature sensors"); +MODULE_LICENSE("GPL"); -- 2.47.3