aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@free-electrons.com>2017-12-22 17:14:06 +0100
committerEduardo Valentin <edubezval@gmail.com>2018-01-01 13:16:29 -0800
commit2f28e4c24b10e29b5f737103a0a6fc77b1c0c99c (patch)
tree126a62a8cbbf05f7ce7dc713859c55d84713356d /scripts
parentthermal: armada: Simplify the check of the validity bit (diff)
downloadlinux-dev-2f28e4c24b10e29b5f737103a0a6fc77b1c0c99c.tar.xz
linux-dev-2f28e4c24b10e29b5f737103a0a6fc77b1c0c99c.zip
thermal: armada: Clarify control registers accesses
Bindings were incomplete for a long time by only exposing one of the two available control registers. To ease the migration to the full bindings (already in use for the Armada 375 SoC), rename the pointers for clarification. This way, it will only be needed to add another pointer to access the other control register when the time comes. This avoids dangerous situations where the offset 0 of the control area can be either one register or the other depending on the bindings used. After this change, device trees of other SoCs could be migrated to the "full" bindings if they may benefit from features from the unaccessible register, without any change in the driver. Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com> Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions