EDP: introduce ocpeaks table for consumers
ocpeaks table defines the maximum peak power for each state when
hardware overcurrent signal is asserted. The most prominent user for
overcurrent signaling is the modem consumer.
To register sysedp consumer for user space with overcurrent peak
information, following can be written to consumer_register sysfs
entry:
consumer_name a0, a1, a2, ..., an; b0, b1, b2, ..., bn
where ai and bi are nominal and overcurrent peak values for power
state i, respectively
Bug
1416849
Change-Id: I196aa976f8b2b0f300599db6807b94bf1a486f44
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/338237
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>