aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-09-13 23:32:09 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2018-10-02 13:32:26 +0200
commit1f59f8aff98f200af7a6882184add7b85f5da741 (patch)
tree9f2178f08ee2f6c5fbe69813baae9cd5f5e3cf6c /tools/perf/scripts/python/export-to-sqlite.py
parent2e0432f8f8ad11b4bd208445360220efa5b37d82 (diff)
watchdog: lantiq: update register names to better match spec
Some of the names of the bits were confusing to me. Now the bits share the same prefix as the register they are set on. The LTQ_WDT_CR_PWL register (bits 26:25) is the pre warning limit and it does not turn anything on. It has 4 possible divers 1/2, 1/4, 1/8 and 1/16, this drivers only uses 1/16. The LTQ_WDT_CR_CLKDIV register bits(25:24) is only configuring a clock divers and do not turn any thing on too, all possible values are valid dividers. Using the LTQ_WDT_SR prefix is also wrong these bits are used in the LTQ_WDT_CR registers, SR is the status register which is read only. This uses GENMASK where it is a mask and it uses shifts when a value is written to some bits. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions