usb: typec: tipd: Enable event interrupts by default
TI PD controller comes with notification mechanism to inform the host on activity in the PD controller. In the current driver, the required masks are not set. This patch enables the following events in the interrupt mask register: PowerStatusUpdate - Set whenever contents of the power status reg changes DataStatusUpdate - Set whenever contents of the data status reg changes PlugInsertOrRemoval - Set whenever USB plug status has changed With this change, the interrupt flooding issue is not seen anymore. Suggested-by:Rajaram Regupathy <rajaram.regupathy@intel.com> Reviewed-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by:
Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Saranya Gopal <saranya.gopal@intel.com> Datasheet: https://www.ti.com/lit/ug/slvuan1a/slvuan1a.pdf Link: https://lore.kernel.org/r/20211020022620.21012-2-saranya.gopal@intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
mentioned in commit c99a0edf
-
mentioned in commit e56c1866
-
mentioned in commit 81691c30
-
mentioned in commit 7fc9e315
-
mentioned in commit 55bccaa3
-
mentioned in commit 27d88206
-
mentioned in commit 02b83847
-
mentioned in commit f7472664
-
mentioned in commit 91186464
-
mentioned in commit a079598f
-
mentioned in commit a8dfb553
Please register or sign in to comment