summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChiYuan Huang <cy_huang@richtek.com>2022-06-21 13:36:28 +0300
committerLee Jones <lee.jones@linaro.org>2022-06-27 17:07:47 +0300
commit8b0bce056351bb9abd06a09cffff1ff0d84ee580 (patch)
tree0d8cd0ff5235ab35e971f20cb78d95b0f9fae019 /tools/perf/scripts/python/exported-sql-viewer.py
parent27e5c6546333bc7bbbb58b1a823ef21a6317b546 (diff)
downloadlinux-8b0bce056351bb9abd06a09cffff1ff0d84ee580.tar.xz
backlight: rt4831: Apply ocp level from devicetree
Add 'richtek,bled-ocp-microamp' property parsing in device_property_init function. This value may configure prior to the kernel driver. If it's not specified in devicetree, keep the original setting. Else, use clamp to align the value in min/max range and also roundup to choose the best selector. Reported-by: Lucas Tsai <lucas_tsai@richtek.com> Signed-off-by: ChiYuan Huang <cy_huang@richtek.com> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/1655807788-24511-3-git-send-email-u0084500@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions