i2c: ocores: fix clock-frequency binding usage
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 Feb 2015 15:28:12 +0000 (18:28 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 5 Feb 2015 21:29:15 +0000 (22:29 +0100)
commit3a33a85401ecdb0e2c01ea86d9e36a5711ce01d4
treef94aad5c7f9ee69d07a81db4e3fcaa1214202eb8
parent8c340f6090e365ce5bac02eed07c1de3aa83f735
i2c: ocores: fix clock-frequency binding usage

clock-frequency property is meant to control the bus frequency for i2c bus
drivers, but it was incorrectly used to specify i2c controller input clock
frequency.
Introduce new attribute, opencores,ip-clock-frequency, that specifies i2c
controller clock frequency and make clock-frequency attribute compatible
with other i2c drivers. Maintain backwards compatibility in case
opencores,ip-clock-frequency attribute is missing.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-ocores.txt
drivers/i2c/busses/i2c-ocores.c
This page took 0.030036 seconds and 5 git commands to generate.