i2c: at91: Add device tree property to set clock-frequency
authorMarek Roszko <mark.roszko@gmail.com>
Tue, 11 Mar 2014 04:25:38 +0000 (00:25 -0400)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 12 Mar 2014 07:26:04 +0000 (08:26 +0100)
commit75b6c4b68f0b4cb94b1780f1863766a589aebc95
tree34757b34ef8c9e222a66424127a9c287690b3754
parent6808b002520de85aaa77237f4a9d33376fa393e9
i2c: at91: Add device tree property to set clock-frequency

This adds the ability to set "clock-frequency" in the device tree for the at91
i2cbus following the naming of other i2c bus implementations. If the property
is not set,the clock frequency will default to the previously used define
of 100KHz.

Signed-off-by: Marek Roszko <mark.roszko@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-at91.txt
drivers/i2c/busses/i2c-at91.c