Skip to content

Commit

Permalink
i2c: efm32: fix binding doc
Browse files Browse the repository at this point in the history
Fix dt compatible string in the binding document which was changed
during review in the driver, but it seem I messed up to adapt the
documentation accordingly.

Also change status from "disabled" to "ok" which makes more sense for an
example.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
  • Loading branch information
Uwe Kleine-König authored and Wolfram Sang committed Apr 2, 2014
1 parent 9d4ea27 commit 3428f01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Documentation/devicetree/bindings/i2c/i2c-efm32.txt
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
Required properties :

- reg : Offset and length of the register set for the device
- compatible : should be "efm32,i2c"
- compatible : should be "energymicro,efm32-i2c"
- interrupts : the interrupt number
- clocks : reference to the module clock

@@ -17,12 +17,12 @@ Example:
i2c0: i2c@4000a000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "efm32,i2c";
compatible = "energymicro,efm32-i2c";
reg = <0x4000a000 0x400>;
interrupts = <9>;
clocks = <&cmu clk_HFPERCLKI2C0>;
clock-frequency = <100000>;
status = "disabled";
status = "ok";
efm32,location = <3>;

eeprom@50 {

0 comments on commit 3428f01

Please sign in to comment.