input: misc: qti-haptics: Configure haptics for TWM mode

Configure haptics for TWM entry. Identify TWM entry via
the TWM notifier and configure haptics in the shutdown
callback if TWM entry is requested. Haptics is configured
for external-pin control in TWM mode.

Add a DT property "qcom,haptics-ext-pin-twm" to enable
this feature.

Change-Id: Id1d1335dd03b597e7c05b52f1cb6c0b1e5f6b4e3
Signed-off-by: Umang Chheda <uchheda@codeaurora.org>
2 files changed