aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2015-09-27 14:57:08 +0000
committerWolfram Sang <[email protected]>2015-11-30 14:54:22 +0000
commitbba61f50f76574ca5b84b310925be7c2e8e64275 (patch)
tree188c97103d85fcd433b4e4e89cc22c03ab814e25 /drivers/fpga/fpga-mgr.c
parenti2c: rk3x: populate correct variable for sda_falling_time (diff)
downloadkernel-bba61f50f76574ca5b84b310925be7c2e8e64275.tar.gz
kernel-bba61f50f76574ca5b84b310925be7c2e8e64275.zip
i2c: mv64xxx: The n clockdiv factor is 0 based on sunxi SoCs
According to the datasheets the n factor for dividing the tclk is 2 to the power n on Allwinner SoCs, not 2 to the power n + 1 as it is on other mv64xxx implementations. I've contacted Allwinner about this and they have confirmed that the datasheet is correct. This commit fixes the clk-divider calculations for Allwinner SoCs accordingly. Signed-off-by: Hans de Goede <[email protected]> Acked-by: Maxime Ripard <[email protected]> Tested-by: Olliver Schinagl <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions