Skip to content
Snippets Groups Projects
Commit 4c730a06 authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Wolfram Sang
Browse files

i2c: mv64xxx: Set bus frequency to 100kHz if clock-frequency is not provided


This commit adds checking whether clock-frequency property acquisition
has succeeded. If not, the frequency is set to 100kHz by default.

The Device Tree binding documentation is updated accordingly.

Based on the intials patches from Zbigniew Bodek

Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: default avatarZbigniew Bodek <zbb@semihalf.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 2f641a8b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment