summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsamin <samin.guo@starfivetech.com>2022-05-12 05:04:39 +0300
committersamin <samin.guo@starfivetech.com>2022-05-19 06:08:11 +0300
commit0d37604d15f12e4aac05faa28f81d7c32b0e4691 (patch)
tree7992bc2296d29fe73fa70868943bf36fdad9fe91
parent3130a7372dde406733029e1555347fb65d0d1e7f (diff)
downloadlinux-0d37604d15f12e4aac05faa28f81d7c32b0e4691.tar.xz
hwmon:sfctemp: add starfive,jh7110-temp bindings.
jh7110 and jh7100 use the same configuration. Signed-off-by: samin <samin.guo@starfivetech.com>
-rw-r--r--drivers/hwmon/sfctemp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/sfctemp.c b/drivers/hwmon/sfctemp.c
index d7af616b8d09..acbc4ba0ddaa 100644
--- a/drivers/hwmon/sfctemp.c
+++ b/drivers/hwmon/sfctemp.c
@@ -331,6 +331,7 @@ static int sfctemp_probe(struct platform_device *pdev)
static const struct of_device_id sfctemp_of_match[] = {
{ .compatible = "starfive,jh7100-temp" },
+ { .compatible = "starfive,jh7110-temp" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, sfctemp_of_match);