diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-12-03 19:49:17 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-12-03 22:20:34 +0100 |
commit | a3e4437c592a4d7087331533b497bda8fe04a8e4 (patch) | |
tree | df0c03760e319b66ad226e1fc3cf5f550d78b4b3 /drivers/net/dwc_eth_qos.c | |
parent | 28f08c4f0e71a899e05136a9029cc77a05492719 (diff) |
imx8m/soc.c: deleting phandles pointing to deleted cpus
For i.MX8M Mini with less than 4 CPU cores the code patches the device
tree to reflect that and deletes the nodes representing the not existing
cores.
The deleted nodes are referenced by phandles in the following two properties:
/thermal-zones/cpu-thermal/cooling-maps/map0/cooling-device
/pmu/interrupt-affinity
Modify these properties to no longer contain the phandles to no longer
existing nodes.
Fixes the thermal subsystem which otherwise bails out with:
[ 0.102895] OF: /thermal-zones/cpu-thermal/cooling-maps/map0: could not find phandle
[ 0.102922] thermal_sys: failed to build thermal zone cpu-thermal: -22
[ 1.377046] i.mx8mm_thermal 30260000.tmu: failed to register thermal zone sensor[0]: 0
[ 3.013718] i.mx8mm_thermal 30260000.tmu: failed to register thermal zone sensor[0]: 0
...
Related-to: ELB-3292
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'drivers/net/dwc_eth_qos.c')
0 files changed, 0 insertions, 0 deletions