summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-12-05 17:36:43 -0800
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-12-05 19:43:31 -0800
commita1e681aaf6d8be7aba7b3e36b1826fbac40fcbc0 (patch)
tree35cc43733fabfd4d3de098ab4e18db8ab2f0d964 /lib/mpi/mpi-cmp.c
parent4f8f0737764aefd860f16eca0af844a639f8a11b (diff)
leds: qpnp-wled: add support for brightness mapping
Currently, WLED driver is being passed with a 12 bit brightness level by the clients and they're set in the hardware registers. Add support for brightness mapping by providing a 256 entry table where each entry can take a 12 bit brightness level value. This will be mapped internally for controlling different brightness regions in an user preferred way. Change-Id: I7adf97918a311bf54b02b383defeb59685aa0d00 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions