projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b586fe
)
thermal: armada: Fix register offsets for AXP
author
Zak Hays
<zak.hays@lexmark.com>
Mon, 9 Dec 2019 18:55:51 +0000
(18:55 +0000)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Mon, 27 Jan 2020 09:24:32 +0000
(10:24 +0100)
As shown in its device tree, Armada XP has the control1 register at
0x184d0, not 0x182d0.
Signed-off-by: Zachary Hays <zhays@lexmark.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link:
https://lore.kernel.org/r/BN8PR10MB337990B7688320D736760BB68C580@BN8PR10MB3379.namprd10.prod.outlook.com
drivers/thermal/armada_thermal.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/armada_thermal.c
b/drivers/thermal/armada_thermal.c
index 709a22f455e99b6a393fb34fc33666f801e5e348..88363812033cc630a407bac7dc0336abe07a91d4 100644
(file)
--- a/
drivers/thermal/armada_thermal.c
+++ b/
drivers/thermal/armada_thermal.c
@@
-578,7
+578,7
@@
static const struct armada_thermal_data armadaxp_data = {
.coef_m = 10000000ULL,
.coef_div = 13825,
.syscon_status_off = 0xb0,
- .syscon_control1_off = 0xd0,
+ .syscon_control1_off = 0x
2
d0,
};
static const struct armada_thermal_data armada370_data = {