aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2017-12-18 22:58:01 +0100
committerWolfram Sang <[email protected]>2018-01-15 18:01:14 +0100
commit4ecfb9d3b229fff538c706650a8208fa03660c22 (patch)
tree937577af66d9fd5f7b7db59e5862f825b436404a /include/linux/fpga/fpga-mgr.h
parentc3449f73a80b2b04a3f7ff69be871c153ea1a9fa (diff)
i2c: sh_mobile: add new frequency calculation for later SoC
The formula to generate the desired bus speeds has changed a little over time. Implement the new formula and allow drivers to opt-in by changing to this new config set. Ensure in probe that we don't divide by zero. The returned values on a R-Car H2 (r8a7790/Lager board) match the suggested values in the datasheet. Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions