* [PATCH 0/4] Add Nuvoton MA35D1 thermal sensor support
@ 2026-11-17 6:04 Zi-Yu Chen
2026-11-17 6:04 ` [PATCH 1/4] dt-bindings: reset: nuvoton,ma35d1-reset: Add #thermal-sensor-cells Zi-Yu Chen
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Zi-Yu Chen @ 2026-11-17 6:04 UTC (permalink / raw)
To: rafael, daniel.lezcano
Cc: ychuang3, schung, p.zabel, robh, krzk+dt, conor+dt, rui.zhang,
lukasz.luba, linux-arm-kernel, devicetree, linux-pm, linux-kernel,
Zi-Yu Chen
This series adds support for the on-chip temperature sensor of the
Nuvoton MA35D1 SoC.
The sensor has no register region of its own; it is controlled through
a single register in the system management (SYS) block, which is
already described in DT and bound to the MA35D1 reset driver. Rather
than adding a child node that would only exist to instantiate a driver,
the SYS node is made the thermal sensor provider, and the reset driver
creates an auxiliary device that the thermal driver binds to.
Patch 1 documents #thermal-sensor-cells for the SYS node, patch 2 makes
the reset driver create the auxiliary device, patch 3 adds the thermal
driver and patch 4 adds the thermal zone to the SoC dtsi.
Tested on the MA35D1-SOM board.
Zi-Yu Chen (4):
dt-bindings: reset: nuvoton,ma35d1-reset: Add #thermal-sensor-cells
reset: ma35d1: Register auxiliary device for the temperature sensor
thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver
arm64: dts: nuvoton: ma35d1: Add thermal zone
.../bindings/reset/nuvoton,ma35d1-reset.yaml | 13 +-
arch/arm64/boot/dts/nuvoton/ma35d1.dtsi | 16 ++
drivers/reset/Kconfig | 1 +
drivers/reset/reset-ma35d1.c | 11 +-
drivers/thermal/Kconfig | 11 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/ma35d1_thermal.c | 149 ++++++++++++++++++
7 files changed, 198 insertions(+), 4 deletions(-)
create mode 100644 drivers/thermal/ma35d1_thermal.c
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/4] dt-bindings: reset: nuvoton,ma35d1-reset: Add #thermal-sensor-cells
2026-11-17 6:04 [PATCH 0/4] Add Nuvoton MA35D1 thermal sensor support Zi-Yu Chen
@ 2026-11-17 6:04 ` Zi-Yu Chen
2026-11-17 6:04 ` [PATCH 2/4] reset: ma35d1: Register auxiliary device for the temperature sensor Zi-Yu Chen
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Zi-Yu Chen @ 2026-11-17 6:04 UTC (permalink / raw)
To: rafael, daniel.lezcano
Cc: ychuang3, schung, p.zabel, robh, krzk+dt, conor+dt, rui.zhang,
lukasz.luba, linux-arm-kernel, devicetree, linux-pm, linux-kernel,
Zi-Yu Chen
The system management (SYS) block of the MA35D1 SoC also hosts the
on-chip temperature sensor. The sensor is controlled through a single
SYS register and has no resources of its own.
Allow the SYS node to act as a thermal sensor provider instead of
adding a child node that would only exist to instantiate a driver.
Reference the common thermal-sensor schema and update the title to
reflect that the node describes the whole SYS block. This makes
#thermal-sensor-cells a required property, which is fine as the sensor
is always present in the SoC and no driver depends on the property.
Signed-off-by: Zi-Yu Chen <zychennvt@gmail.com>
---
.../bindings/reset/nuvoton,ma35d1-reset.yaml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml b/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml
index 3ce7dcecd87a..a0cb0f98c1b1 100644
--- a/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml
+++ b/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml
@@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/reset/nuvoton,ma35d1-reset.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Nuvoton MA35D1 Reset Controller
+title: Nuvoton MA35D1 System Management (SYS) Block
maintainers:
- Chi-Fang Li <cfli0@nuvoton.com>
@@ -12,7 +12,10 @@ maintainers:
description:
The system reset controller can be used to reset various peripheral
- controllers in MA35D1 SoC.
+ controllers in MA35D1 SoC. It also hosts the on-chip temperature sensor.
+
+allOf:
+ - $ref: /schemas/thermal/thermal-sensor.yaml#
properties:
compatible:
@@ -26,12 +29,15 @@ properties:
'#reset-cells':
const: 1
+ '#thermal-sensor-cells':
+ const: 0
+
required:
- compatible
- reg
- '#reset-cells'
-additionalProperties: false
+unevaluatedProperties: false
examples:
# system reset controller node:
@@ -41,6 +47,7 @@ examples:
compatible = "nuvoton,ma35d1-reset", "syscon";
reg = <0x40460000 0x200>;
#reset-cells = <1>;
+ #thermal-sensor-cells = <0>;
};
...
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/4] reset: ma35d1: Register auxiliary device for the temperature sensor
2026-11-17 6:04 [PATCH 0/4] Add Nuvoton MA35D1 thermal sensor support Zi-Yu Chen
2026-11-17 6:04 ` [PATCH 1/4] dt-bindings: reset: nuvoton,ma35d1-reset: Add #thermal-sensor-cells Zi-Yu Chen
@ 2026-11-17 6:04 ` Zi-Yu Chen
2026-11-17 6:05 ` [PATCH 3/4] thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver Zi-Yu Chen
2026-11-17 6:05 ` [PATCH 4/4] arm64: dts: nuvoton: ma35d1: Add thermal zone Zi-Yu Chen
3 siblings, 0 replies; 7+ messages in thread
From: Zi-Yu Chen @ 2026-11-17 6:04 UTC (permalink / raw)
To: rafael, daniel.lezcano
Cc: ychuang3, schung, p.zabel, robh, krzk+dt, conor+dt, rui.zhang,
lukasz.luba, linux-arm-kernel, devicetree, linux-pm, linux-kernel,
Zi-Yu Chen
The on-chip temperature sensor is controlled through a register of the
SYS block, which is already bound to this driver. Create an auxiliary
device so that a thermal driver can bind to it without a separate
devicetree node.
Failing to create the auxiliary device only affects temperature
reporting, so warn and continue.
Signed-off-by: Zi-Yu Chen <zychennvt@gmail.com>
---
drivers/reset/Kconfig | 1 +
drivers/reset/reset-ma35d1.c | 11 ++++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index eda9c698a95f..cf42fd6f7a3c 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -220,6 +220,7 @@ config RESET_NUVOTON_MA35D1
bool "Nuvoton MA35D1 Reset Driver"
depends on ARCH_MA35 || COMPILE_TEST
default ARCH_MA35
+ select AUXILIARY_BUS
help
This enables the reset controller driver for Nuvoton MA35D1 SoC.
diff --git a/drivers/reset/reset-ma35d1.c b/drivers/reset/reset-ma35d1.c
index d2962c0c80be..8c82175d7466 100644
--- a/drivers/reset/reset-ma35d1.c
+++ b/drivers/reset/reset-ma35d1.c
@@ -4,6 +4,7 @@
* Author: Chi-Fang Li <cfli0@nuvoton.com>
*/
+#include <linux/auxiliary_bus.h>
#include <linux/bits.h>
#include <linux/container_of.h>
#include <linux/device.h>
@@ -218,7 +219,15 @@ static int ma35d1_reset_probe(struct platform_device *pdev)
if (err)
dev_warn(&pdev->dev, "failed to register restart handler\n");
- return devm_reset_controller_register(dev, &reset_data->rcdev);
+ err = devm_reset_controller_register(dev, &reset_data->rcdev);
+ if (err)
+ return err;
+
+ /* The temperature sensor is also controlled through the SYS block */
+ if (!devm_auxiliary_device_create(dev, "thermal", NULL))
+ dev_warn(dev, "failed to create thermal auxiliary device\n");
+
+ return 0;
}
static struct platform_driver ma35d1_reset_driver = {
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/4] thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver
2026-11-17 6:04 [PATCH 0/4] Add Nuvoton MA35D1 thermal sensor support Zi-Yu Chen
2026-11-17 6:04 ` [PATCH 1/4] dt-bindings: reset: nuvoton,ma35d1-reset: Add #thermal-sensor-cells Zi-Yu Chen
2026-11-17 6:04 ` [PATCH 2/4] reset: ma35d1: Register auxiliary device for the temperature sensor Zi-Yu Chen
@ 2026-11-17 6:05 ` Zi-Yu Chen
2026-11-17 6:23 ` sashiko-bot
2026-11-17 14:16 ` Uwe Kleine-König
2026-11-17 6:05 ` [PATCH 4/4] arm64: dts: nuvoton: ma35d1: Add thermal zone Zi-Yu Chen
3 siblings, 2 replies; 7+ messages in thread
From: Zi-Yu Chen @ 2026-11-17 6:05 UTC (permalink / raw)
To: rafael, daniel.lezcano
Cc: ychuang3, schung, p.zabel, robh, krzk+dt, conor+dt, rui.zhang,
lukasz.luba, linux-arm-kernel, devicetree, linux-pm, linux-kernel,
Zi-Yu Chen
Add a driver for the on-chip temperature sensor of the Nuvoton MA35D1
SoC. The sensor is controlled through a register in the system
management (SYS) block and is instantiated as an auxiliary device by
the MA35D1 reset driver.
The sensor converts continuously while powered on. The 12-bit result
is converted to millidegrees Celsius using a linear fit of the
temperature table from the sensor datasheet.
Signed-off-by: Zi-Yu Chen <zychennvt@gmail.com>
---
drivers/thermal/Kconfig | 11 +++
drivers/thermal/Makefile | 1 +
drivers/thermal/ma35d1_thermal.c | 149 +++++++++++++++++++++++++++++++
3 files changed, 161 insertions(+)
create mode 100644 drivers/thermal/ma35d1_thermal.c
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 810eeccedfba..571b2c026311 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -530,4 +530,15 @@ config LOONGSON2_THERMAL
is higher than the high temperature threshold or lower than the low
temperature threshold, the interrupt will occur.
+config MA35D1_THERMAL
+ tristate "Nuvoton MA35D1 thermal sensor"
+ depends on RESET_NUVOTON_MA35D1
+ depends on THERMAL_OF
+ select MFD_SYSCON
+ help
+ Support for the on-chip temperature sensor found on Nuvoton
+ MA35D1 SoCs. The driver provides temperature readings through the
+ Linux thermal framework. The sensor registers are accessed through
+ the system register block.
+
endif
diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
index 3b249195c088..bf2796e3dd3f 100644
--- a/drivers/thermal/Makefile
+++ b/drivers/thermal/Makefile
@@ -70,3 +70,4 @@ obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o
obj-$(CONFIG_KHADAS_MCU_FAN_THERMAL) += khadas_mcu_fan.o
obj-$(CONFIG_LOONGSON2_THERMAL) += loongson2_thermal.o
obj-$(CONFIG_THERMAL_CORE_TESTING) += testing/
+obj-$(CONFIG_MA35D1_THERMAL) += ma35d1_thermal.o
diff --git a/drivers/thermal/ma35d1_thermal.c b/drivers/thermal/ma35d1_thermal.c
new file mode 100644
index 000000000000..453f57d236ec
--- /dev/null
+++ b/drivers/thermal/ma35d1_thermal.c
@@ -0,0 +1,149 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2026 Nuvoton Technology Corp.
+ *
+ * Author: Zi-Yu Chen <zychennvt@gmail.com>
+ */
+
+#include <linux/auxiliary_bus.h>
+#include <linux/bitfield.h>
+#include <linux/bits.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/mfd/syscon.h>
+#include <linux/mod_devicetable.h>
+#include <linux/module.h>
+#include <linux/regmap.h>
+#include <linux/thermal.h>
+
+#include "thermal_hwmon.h"
+
+#define MA35_SYS_TSENSRFCR 0x104
+#define MA35_TSEN_DATA_VALID BIT(31)
+#define MA35_TSEN_POWER_DOWN BIT(28)
+#define MA35_TSEN_DATA GENMASK(27, 16)
+
+/*
+ * Conversion from the 12-bit sensor data to millidegrees Celsius:
+ * temp (mC) = data * MA35_TS_CAL_A / 4096 - MA35_TS_CAL_B
+ * A and B come from a linear fit of the S40LLV33_TEMPSENSOR temperature table.
+ */
+#define MA35_TS_CAL_A 274350
+#define MA35_TS_CAL_B 93330
+
+struct ma35d1_thermal {
+ struct device *dev;
+ struct regmap *regmap;
+};
+
+static int ma35d1_thermal_get_temp(struct thermal_zone_device *tzd, int *temp)
+{
+ struct ma35d1_thermal *sensor = thermal_zone_device_priv(tzd);
+ unsigned int reg;
+ int data, ret;
+
+ ret = regmap_read(sensor->regmap, MA35_SYS_TSENSRFCR, ®);
+ if (ret)
+ return ret;
+
+ if (!(reg & MA35_TSEN_DATA_VALID))
+ return -EAGAIN;
+
+ data = FIELD_GET(MA35_TSEN_DATA, reg);
+ *temp = data * MA35_TS_CAL_A / 4096 - MA35_TS_CAL_B;
+
+ return 0;
+}
+
+static int ma35d1_thermal_power_on(struct ma35d1_thermal *sensor)
+{
+ return regmap_clear_bits(sensor->regmap, MA35_SYS_TSENSRFCR,
+ MA35_TSEN_POWER_DOWN);
+}
+
+static int ma35d1_thermal_power_off(struct ma35d1_thermal *sensor)
+{
+ return regmap_set_bits(sensor->regmap, MA35_SYS_TSENSRFCR,
+ MA35_TSEN_POWER_DOWN);
+}
+
+static int ma35d1_thermal_change_mode(struct thermal_zone_device *tzd,
+ enum thermal_device_mode mode)
+{
+ struct ma35d1_thermal *sensor = thermal_zone_device_priv(tzd);
+
+ if (mode == THERMAL_DEVICE_ENABLED)
+ return ma35d1_thermal_power_on(sensor);
+
+ return ma35d1_thermal_power_off(sensor);
+}
+
+static void ma35d1_thermal_power_off_action(void *data)
+{
+ struct ma35d1_thermal *sensor = data;
+
+ if (ma35d1_thermal_power_off(sensor))
+ dev_warn(sensor->dev, "failed to power off sensor\n");
+}
+
+static const struct thermal_zone_device_ops ma35d1_tz_ops = {
+ .get_temp = ma35d1_thermal_get_temp,
+ .change_mode = ma35d1_thermal_change_mode,
+};
+
+static int ma35d1_thermal_probe(struct auxiliary_device *adev,
+ const struct auxiliary_device_id *id)
+{
+ struct device *dev = &adev->dev;
+ struct thermal_zone_device *tzd;
+ struct ma35d1_thermal *sensor;
+ int ret;
+
+ sensor = devm_kzalloc_obj(dev, *sensor);
+ if (!sensor)
+ return -ENOMEM;
+
+ sensor->dev = dev;
+
+ sensor->regmap = syscon_node_to_regmap(dev->parent->of_node);
+ if (IS_ERR(sensor->regmap))
+ return dev_err_probe(dev, PTR_ERR(sensor->regmap),
+ "failed to get SYS regmap\n");
+
+ /*
+ * Registered before the thermal zone so that the sensor is powered
+ * off only after the zone has been unregistered.
+ */
+ ret = devm_add_action_or_reset(dev, ma35d1_thermal_power_off_action,
+ sensor);
+ if (ret)
+ return ret;
+
+ tzd = devm_thermal_of_zone_register(dev, 0, sensor, &ma35d1_tz_ops);
+ if (IS_ERR(tzd))
+ return dev_err_probe(dev, PTR_ERR(tzd),
+ "failed to register thermal zone\n");
+
+ /* thermal_of disables hwmon by default */
+ ret = devm_thermal_add_hwmon_sysfs(dev, tzd);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to add hwmon sysfs\n");
+
+ return 0;
+}
+
+static const struct auxiliary_device_id ma35d1_thermal_id_table[] = {
+ { .name = "reset_ma35d1.thermal" },
+ { /* sentinel */ }
+};
+MODULE_DEVICE_TABLE(auxiliary, ma35d1_thermal_id_table);
+
+static struct auxiliary_driver ma35d1_thermal_driver = {
+ .probe = ma35d1_thermal_probe,
+ .id_table = ma35d1_thermal_id_table,
+};
+module_auxiliary_driver(ma35d1_thermal_driver);
+
+MODULE_AUTHOR("Zi-Yu Chen <zychennvt@gmail.com>");
+MODULE_DESCRIPTION("Nuvoton MA35D1 Temperature Sensor Driver");
+MODULE_LICENSE("GPL");
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 4/4] arm64: dts: nuvoton: ma35d1: Add thermal zone
2026-11-17 6:04 [PATCH 0/4] Add Nuvoton MA35D1 thermal sensor support Zi-Yu Chen
` (2 preceding siblings ...)
2026-11-17 6:05 ` [PATCH 3/4] thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver Zi-Yu Chen
@ 2026-11-17 6:05 ` Zi-Yu Chen
3 siblings, 0 replies; 7+ messages in thread
From: Zi-Yu Chen @ 2026-11-17 6:05 UTC (permalink / raw)
To: rafael, daniel.lezcano
Cc: ychuang3, schung, p.zabel, robh, krzk+dt, conor+dt, rui.zhang,
lukasz.luba, linux-arm-kernel, devicetree, linux-pm, linux-kernel,
Zi-Yu Chen
Describe the SYS block as the thermal sensor provider and add a thermal
zone with a critical trip point for the SoC.
Signed-off-by: Zi-Yu Chen <zychennvt@gmail.com>
---
arch/arm64/boot/dts/nuvoton/ma35d1.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi b/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi
index 7228ad4735b5..986f3cc4176b 100644
--- a/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi
+++ b/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi
@@ -63,6 +63,21 @@ gic: interrupt-controller@50801000 {
IRQ_TYPE_LEVEL_HIGH)>;
};
+ thermal-zones {
+ soc-thermal {
+ polling-delay = <1000>;
+ thermal-sensors = <&sys>;
+
+ trips {
+ soc_crit: soc-crit {
+ temperature = <125000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
+ };
+ };
+
timer {
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
@@ -86,6 +101,7 @@ sys: system-management@40460000 {
compatible = "nuvoton,ma35d1-reset", "syscon";
reg = <0x0 0x40460000 0x0 0x200>;
#reset-cells = <1>;
+ #thermal-sensor-cells = <0>;
};
clk: clock-controller@40460200 {
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 3/4] thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver
2026-11-17 6:05 ` [PATCH 3/4] thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver Zi-Yu Chen
@ 2026-11-17 6:23 ` sashiko-bot
2026-11-17 14:16 ` Uwe Kleine-König
1 sibling, 0 replies; 7+ messages in thread
From: sashiko-bot @ 2026-11-17 6:23 UTC (permalink / raw)
To: Zi-Yu Chen; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] thermal/ma35d1: undeclared devm_kzalloc_obj() in
ma35d1_thermal_probe()
--
commit 7c4743b2d7c9ded9bc14984d2384e4a19e5bfbcd
Author: Zi-Yu Chen <zychennvt@gmail.com>
thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver
This commit adds a thermal sensor driver for the Nuvoton MA35D1 SoC,
instantiated as an auxiliary device by the MA35D1 reset driver and
accessing the sensor register via a syscon regmap.
> diff --git a/drivers/thermal/ma35d1_thermal.c b/drivers/thermal/ma35d1_thermal.c
> new file mode 100644
> index 0000000000000..453f57d236ecc
> --- /dev/null
> +++ b/drivers/thermal/ma35d1_thermal.c
> @@ -0,0 +1,149 @@
[ ... ]
> +static int ma35d1_thermal_probe(struct auxiliary_device *adev,
> + const struct auxiliary_device_id *id)
> +{
> + struct device *dev = &adev->dev;
> + struct thermal_zone_device *tzd;
> + struct ma35d1_thermal *sensor;
> + int ret;
> +
> + sensor = devm_kzalloc_obj(dev, *sensor);
> + if (!sensor)
> + return -ENOMEM;
[Severity: High]
Does this fail to build when CONFIG_MA35D1_THERMAL is enabled?
include/linux/slab.h defines kzalloc_obj(), but there is no device-managed
devm_kzalloc_obj() helper in the kernel, so compilation fails with an
implicit function declaration error. Should this call
devm_kzalloc(dev, sizeof(*sensor), GFP_KERNEL) instead?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261117060501.2611071-1-zychennvt@gmail.com?part=3
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 3/4] thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver
2026-11-17 6:05 ` [PATCH 3/4] thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver Zi-Yu Chen
2026-11-17 6:23 ` sashiko-bot
@ 2026-11-17 14:16 ` Uwe Kleine-König
1 sibling, 0 replies; 7+ messages in thread
From: Uwe Kleine-König @ 2026-11-17 14:16 UTC (permalink / raw)
To: Zi-Yu Chen
Cc: rafael, daniel.lezcano, ychuang3, schung, p.zabel, robh, krzk+dt,
conor+dt, rui.zhang, lukasz.luba, linux-arm-kernel, devicetree,
linux-pm, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 265 bytes --]
On Tue, Nov 17, 2026 at 02:05:00PM +0800, Zi-Yu Chen wrote:
> +#include <linux/auxiliary_bus.h>
> [...]
> +#include <linux/mod_devicetable.h>
<linux/auxiliary_bus.h> already provides auxiliary_device_id, so please
drop <linux/mod_devicetable.h>.
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-11-17 14:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17 6:04 [PATCH 0/4] Add Nuvoton MA35D1 thermal sensor support Zi-Yu Chen
2026-11-17 6:04 ` [PATCH 1/4] dt-bindings: reset: nuvoton,ma35d1-reset: Add #thermal-sensor-cells Zi-Yu Chen
2026-11-17 6:04 ` [PATCH 2/4] reset: ma35d1: Register auxiliary device for the temperature sensor Zi-Yu Chen
2026-11-17 6:05 ` [PATCH 3/4] thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver Zi-Yu Chen
2026-11-17 6:23 ` sashiko-bot
2026-11-17 14:16 ` Uwe Kleine-König
2026-11-17 6:05 ` [PATCH 4/4] arm64: dts: nuvoton: ma35d1: Add thermal zone Zi-Yu Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox