Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d04921fb authored by Kiran Gunda's avatar Kiran Gunda Committed by Shilpa Suresh
Browse files

regulator: qpnp-labibb: Add sysfs class to enable/disable the irq



LAB/IBB interrupts need to be disabled and enabled during the entry and
exit of the secure display use case respectively. Add sysfs property
to allow the userspace to perform this operation

To disable the interrupts:
 echo 1 > /sys/class/lcd_bias/secure_mode

To enable the interrupts:
 echo 0 > /sys/class/lcd_bias/secure_mode.

Change-Id: Iddd5630c0ff6d3191f2cc0d45bd4e72b938728b0
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
Signed-off-by: default avatarShilpa Suresh <sbsure@codeaurora.org>
parent 6fec0c82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment