mfd: rtsx: Add clock divider hook
Add callback function conv_clk_and_div_n to convert between SSC clock and its divider N. For rtl8411, the formula to calculate SSC clock divider N is different with the other card reader models. Signed-off-by: Wei WANG <wei_wang@realsil.com.cn> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
ef85e736b1
commit
ab4e8f8b7b
6 changed files with 31 additions and 2 deletions
|
@ -38,6 +38,9 @@
|
|||
#define RTSX_SD_CARD 0
|
||||
#define RTSX_MS_CARD 1
|
||||
|
||||
#define CLK_TO_DIV_N 0
|
||||
#define DIV_N_TO_CLK 1
|
||||
|
||||
struct platform_device;
|
||||
|
||||
struct rtsx_slot {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue