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

Commit 9f91edb1 authored by Mohan Pallaka's avatar Mohan Pallaka Committed by Abinaya P
Browse files

platform: msm: add support for PWM mode



This patch is ported from 3.4 kernel patch
- 897f2133b9cf5f36397942055ea8a85ec4838f8b,
platform: msm: add support for PWM mode

QPNP vibrator operates in two modes - manual and
PWM (Pulse Width Modulation). PWM is supported
through one of dtest lines connected to the
vibrator. Add support for PWM mode by parsing
channel, period and duty cycle information
from device tree.

Change-Id: I2ba5c1592dfce75d5e8dedd247d1e91c2931a832
Signed-off-by: default avatarMohan Pallaka <mpallaka@codeaurora.org>
parent 6e830ef5
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