Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.77 Removed upstream: generic/backport-6.12/204-v6.13-resource-Add-resource-set-range-and-size-helpers.patch[1] microchipsw/patches-6.12/0098-v7.0-net-sparx5-lan969x-fix-DWRR-cost-max-to-match-hardwa.patch Manually rebased: bcm27xx/patches-6.12/950-0955-hwmon-aht10-Fix-AHT20-initialization.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.77&id=889b5cb678c1ae5a4e1ff3b2c46f06ef4292aa86 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.77&id=6c28aa8dfdf24f554d4c5d4ff7d723a95360d94a Build system: x86/64 Build-tested: flogic/glinet_gl-mt6000 Run-tested: flogic/glinet_gl-mt6000 Co-authored-by: Shiji Yang <yangshiji66@outlook.com> Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/22276 Signed-off-by: Robert Marko <robimarko@gmail.com>
34 lines
1008 B
Diff
34 lines
1008 B
Diff
From 812b4aa3dee6bea5ec6e557a2b4e9168b7bafae9 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Tue, 7 Mar 2023 11:52:36 +0000
|
|
Subject: [PATCH] hwmon: (aht10): Add DT compatible string
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/hwmon/aht10.c | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
--- a/drivers/hwmon/aht10.c
|
|
+++ b/drivers/hwmon/aht10.c
|
|
@@ -62,6 +62,12 @@ static const struct i2c_device_id aht10_
|
|
};
|
|
MODULE_DEVICE_TABLE(i2c, aht10_id);
|
|
|
|
+static const struct of_device_id aht10_of_id[] = {
|
|
+ { .compatible = "aosong,aht10", },
|
|
+ { }
|
|
+};
|
|
+MODULE_DEVICE_TABLE(of, aht10_of_id);
|
|
+
|
|
/**
|
|
* struct aht10_data - All the data required to operate an AHT10/AHT20 chip
|
|
* @client: the i2c client associated with the AHT10/AHT20
|
|
@@ -395,6 +401,7 @@ static int aht10_probe(struct i2c_client
|
|
static struct i2c_driver aht10_driver = {
|
|
.driver = {
|
|
.name = "aht10",
|
|
+ .of_match_table = aht10_of_id,
|
|
},
|
|
.probe = aht10_probe,
|
|
.id_table = aht10_id,
|