Re: [PATCH v6 3/5] i2c: aspeed: added documentation for Aspeed I2C driver
From: Benjamin Herrenschmidt <hidden>
Date: 2017-03-28 08:55:36
Also in:
linux-i2c, lkml, openbmc
From: Benjamin Herrenschmidt <hidden>
Date: 2017-03-28 08:55:36
Also in:
linux-i2c, lkml, openbmc
On Mon, 2017-03-27 at 22:12 -0700, Brendan Higgins wrote:
Added device tree binding documentation for Aspeed I2C busses. Signed-off-by: Brendan Higgins <redacted>
+ i2c0: i2c-bus@40 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ #interrupt-cells = <1>;
+ reg = <0x40 0x40>;
+ compatible = "aspeed,ast2400-i2c-bus";
+ bus = <0>;
+ clocks = <&clk_apb>;
+ clock-frequency = <100000>;For busses it's more traditional to make this "bus-frequency" but that's a nit and Linux/fdt has not respected that tradition terribly well. If you respin, it might be work changing. The clock-frequency tends to be the frequency of the controller itself.
+ status = "disabled"; + interrupts = <0>; + interrupt-parent = <&i2c_ic>; + }; +};
-- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html