Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1260032
| From | Rob Herring <robh+dt@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] devicetree: i2c: add binding for Sigma Designs SMP8642 I2C master |
| Date | 2015-10-31 19:40 +0100 |
| Message-ID | <qpJeh-6ka-7@gated-at.bofh.it> (permalink) |
| References | <qpIie-5IS-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Oct 31, 2015 at 12:35 PM, Mans Rullgard <mans@mansr.com> wrote:
> This adds a binding for the Sigma Designs SMP8642 built-in I2C master
> controller.
>
> Signed-off-by: Mans Rullgard <mans@mansr.com>
Acked-by: Rob Herring <robh@kernel.org>
> ---
> .../devicetree/bindings/i2c/sigma,smp8642-i2c.txt | 24 ++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/i2c/sigma,smp8642-i2c.txt
>
> diff --git a/Documentation/devicetree/bindings/i2c/sigma,smp8642-i2c.txt b/Documentation/devicetree/bindings/i2c/sigma,smp8642-i2c.txt
> new file mode 100644
> index 0000000..117fc8b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/i2c/sigma,smp8642-i2c.txt
> @@ -0,0 +1,24 @@
> +Sigma Designs SMP8642 I2C master
> +
> +Required properties:
> +- compatible: should be "sigma,smp8642-i2c"
> +- reg: physical address space of the device
> +- interrupts: the interrupt of the device
> +- clocks: phandle of the clock for the device
> +- #address-cells: should be <1>
> +- #size-cells: should be <0>
> +
> +Optional properties:
> +- clock-frequency: frequency of bus clock in Hz, default 100kHz
> +
> +Example:
> +
> +i2c@10480 {
> + compatible = "sigma,smp8642-i2c";
> + reg = <0x10480 0x2c>;
> + interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&sys_clk>;
> + clock-frequency = <100000>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> +};
> --
> 2.6.2
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/2] devicetree: i2c: add binding for Sigma Designs SMP8642 I2C master Mans Rullgard <mans@mansr.com> - 2015-10-31 18:40 +0100
[PATCH 2/2] i2c: add driver for Sigma Designs SMP8642 I2C master Mans Rullgard <mans@mansr.com> - 2015-10-31 18:40 +0100
Re: [PATCH 2/2] i2c: add driver for Sigma Designs SMP8642 I2C master Wolfram Sang <wsa@the-dreams.de> - 2015-11-01 07:50 +0100
Re: [PATCH 2/2] i2c: add driver for Sigma Designs SMP8642 I2C master Måns Rullgård <mans@mansr.com> - 2015-11-01 14:20 +0100
Re: [PATCH 2/2] i2c: add driver for Sigma Designs SMP8642 I2C master Wolfram Sang <wsa@the-dreams.de> - 2015-11-01 16:40 +0100
Re: [PATCH 1/2] devicetree: i2c: add binding for Sigma Designs SMP8642 I2C master Rob Herring <robh+dt@kernel.org> - 2015-10-31 19:40 +0100
csiph-web