phy: dphy: Change units of wakeup and init parameters

The Init and wakeup D-PHY parameters are in the micro/milliseconds range,
putting the values real close to the types limits if they were in
picoseconds.

Move them to microseconds which should be better fit.

Suggested-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
This commit is contained in:
Maxime Ripard 2019-01-21 16:45:47 +01:00 committed by Kishon Vijay Abraham I
parent 752b5da235
commit 2204b2c45f
2 changed files with 8 additions and 8 deletions

View file

@ -190,10 +190,10 @@ struct phy_configure_opts_mipi_dphy {
/**
* @init:
*
* Time, in picoseconds for the initialization period to
* Time, in microseconds for the initialization period to
* complete.
*
* Minimum value: 100000000 ps
* Minimum value: 100 us
*/
unsigned int init;
@ -244,11 +244,11 @@ struct phy_configure_opts_mipi_dphy {
/**
* @wakeup:
*
* Time, in picoseconds, that a transmitter drives a Mark-1
* Time, in microseconds, that a transmitter drives a Mark-1
* state prior to a Stop state in order to initiate an exit
* from ULPS.
*
* Minimum value: 1000000000 ps
* Minimum value: 1000 us
*/
unsigned int wakeup;