usb: dwc2: Add core parameters for LPM support
authorSevak Arakelyan <sevaka@synopsys.com>
Wed, 24 Jan 2018 13:41:48 +0000 (17:41 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Mar 2018 08:47:47 +0000 (10:47 +0200)
commit6f80b6de0ecf65077b53c86967c714d42f4299e0
tree05f46180122561844154729d607cf997cd627445
parent391f8081d20bf1fcffc5556f94f3cf75c4d14e01
usb: dwc2: Add core parameters for LPM support

Add lpm, lpm_clock_gating, besl, hird_threshold_en and hird_threshold
core parameters. These will indicate LPM and LPM Errata support
as well as chosen L1 sleeping mode for the core and PHY.

Signed-off-by: Sevak Arakelyan <sevaka@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/debugfs.c
drivers/usb/dwc2/params.c