aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2023-06-23 15:09:47 +0100
committerAlexandre Belloni <[email protected]>2023-06-26 00:58:21 +0200
commit262f72b4656e182eefaab91ab24a7575dda5524f (patch)
tree8a520a34c8ef1ef9d8ec5dc28c7b9ff52ed76828 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent5923fc75d0dfcebce53894ddada7e2440d756f8b (diff)
rtc: isl1208: Add isl1208_set_xtoscb()
As per the HW manual, set the XTOSCB bit as follows: If using an external clock signal, set the XTOSCB bit as 1 to disable the crystal oscillator. If using an external crystal, the XTOSCB bit needs to be set at 0 to enable the crystal oscillator. Add isl1208_set_xtoscb() to set XTOSCB bit based on the clock-names property. Fallback is enabling the internal crystal oscillator. While at it, introduce a variable "sr" for reading the status register in probe() as it is reused for writing and also remove the unnecessary blank line. Signed-off-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions