]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite058ed209ec29032cb1e0d1bd7398d5b07bfebe7
tree34757b34ef8c9e222a66424127a9c287690b3754
parent6df65c3660178d53035a16ce57e3ecd9536dc5e9
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