* Re: [PATCH 1/2 v4] dt-bindings: i2c: i2c-mt7621: Add bindings for MediaTek MT7621/28/88 I2C
[not found] <20190617083117.1690-1-sr@denx.de>
@ 2019-06-17 10:11 ` Wolfram Sang
2019-06-17 10:14 ` Wolfram Sang
0 siblings, 1 reply; 4+ messages in thread
From: Wolfram Sang @ 2019-06-17 10:11 UTC (permalink / raw)
To: Stefan Roese; +Cc: linux-i2c, Rob Herring, Wolfram Sang, devicetree
[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]
On Mon, Jun 17, 2019 at 10:31:16AM +0200, Stefan Roese wrote:
> Add bindings for the I2C controller that can be found in the MediaTek
> MT7621/7628/7688 SoCs.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
CCing the DT mailing list.
> ---
> v4:
> - No change
>
> v3:
> - New patch
>
> .../devicetree/bindings/i2c/i2c-mt7621.txt | 25 +++++++++++++++++++
> 1 file changed, 25 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/i2c/i2c-mt7621.txt
>
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-mt7621.txt b/Documentation/devicetree/bindings/i2c/i2c-mt7621.txt
> new file mode 100644
> index 000000000000..bc36f0eb94cd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/i2c/i2c-mt7621.txt
> @@ -0,0 +1,25 @@
> +MediaTek MT7621/MT7628 I2C master controller
> +
> +Required properties:
> +
> +- compatible: Should be one of the following:
> + - "mediatek,mt7621-i2c": for MT7621/MT7628/MT7688 platforms
> +- #address-cells: should be 1.
> +- #size-cells: should be 0.
> +- reg: Address and length of the register set for the device
> +- resets: phandle to the reset controller asserting this device in
> + reset
> + See ../reset/reset.txt for details.
> +
> +Optional properties :
> +
> +Example:
> +
> +i2c: i2c@900 {
> + compatible = "mediatek,mt7621-i2c";
> + reg = <0x900 0x100>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + resets = <&rstctrl 16>;
> + reset-names = "i2c";
> +};
> --
> 2.22.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2 v4] dt-bindings: i2c: i2c-mt7621: Add bindings for MediaTek MT7621/28/88 I2C
2019-06-17 10:11 ` [PATCH 1/2 v4] dt-bindings: i2c: i2c-mt7621: Add bindings for MediaTek MT7621/28/88 I2C Wolfram Sang
@ 2019-06-17 10:14 ` Wolfram Sang
2019-06-17 10:41 ` Stefan Roese
0 siblings, 1 reply; 4+ messages in thread
From: Wolfram Sang @ 2019-06-17 10:14 UTC (permalink / raw)
To: Stefan Roese; +Cc: linux-i2c, Rob Herring, Wolfram Sang, devicetree
[-- Attachment #1: Type: text/plain, Size: 1862 bytes --]
On Mon, Jun 17, 2019 at 12:11:13PM +0200, Wolfram Sang wrote:
> On Mon, Jun 17, 2019 at 10:31:16AM +0200, Stefan Roese wrote:
> > Add bindings for the I2C controller that can be found in the MediaTek
> > MT7621/7628/7688 SoCs.
> >
> > Signed-off-by: Stefan Roese <sr@denx.de>
> > Cc: Rob Herring <robh@kernel.org>
> > Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> CCing the DT mailing list.
Since the driver has now clock support, don't we need bindings for this?
>
> > ---
> > v4:
> > - No change
> >
> > v3:
> > - New patch
> >
> > .../devicetree/bindings/i2c/i2c-mt7621.txt | 25 +++++++++++++++++++
> > 1 file changed, 25 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/i2c/i2c-mt7621.txt
> >
> > diff --git a/Documentation/devicetree/bindings/i2c/i2c-mt7621.txt b/Documentation/devicetree/bindings/i2c/i2c-mt7621.txt
> > new file mode 100644
> > index 000000000000..bc36f0eb94cd
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/i2c/i2c-mt7621.txt
> > @@ -0,0 +1,25 @@
> > +MediaTek MT7621/MT7628 I2C master controller
> > +
> > +Required properties:
> > +
> > +- compatible: Should be one of the following:
> > + - "mediatek,mt7621-i2c": for MT7621/MT7628/MT7688 platforms
> > +- #address-cells: should be 1.
> > +- #size-cells: should be 0.
> > +- reg: Address and length of the register set for the device
> > +- resets: phandle to the reset controller asserting this device in
> > + reset
> > + See ../reset/reset.txt for details.
> > +
> > +Optional properties :
> > +
> > +Example:
> > +
> > +i2c: i2c@900 {
> > + compatible = "mediatek,mt7621-i2c";
> > + reg = <0x900 0x100>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + resets = <&rstctrl 16>;
> > + reset-names = "i2c";
> > +};
> > --
> > 2.22.0
> >
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2 v4] dt-bindings: i2c: i2c-mt7621: Add bindings for MediaTek MT7621/28/88 I2C
2019-06-17 10:14 ` Wolfram Sang
@ 2019-06-17 10:41 ` Stefan Roese
2019-06-17 10:47 ` Wolfram Sang
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Roese @ 2019-06-17 10:41 UTC (permalink / raw)
To: Wolfram Sang; +Cc: linux-i2c, Rob Herring, Wolfram Sang, devicetree
On 17.06.19 12:14, Wolfram Sang wrote:
> On Mon, Jun 17, 2019 at 12:11:13PM +0200, Wolfram Sang wrote:
>> On Mon, Jun 17, 2019 at 10:31:16AM +0200, Stefan Roese wrote:
>>> Add bindings for the I2C controller that can be found in the MediaTek
>>> MT7621/7628/7688 SoCs.
>>>
>>> Signed-off-by: Stefan Roese <sr@denx.de>
>>> Cc: Rob Herring <robh@kernel.org>
>>> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
>>
>> CCing the DT mailing list.
>
> Since the driver has now clock support, don't we need bindings for this?
No. As the clock support is currently not handled via a DT based
driver:
https://elixir.bootlin.com/linux/v5.2-rc5/source/arch/mips/ralink/mt7620.c#L565
This probably should be moved to DT but would like to do this at a
later time (if time permits).
Thanks,
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2 v4] dt-bindings: i2c: i2c-mt7621: Add bindings for MediaTek MT7621/28/88 I2C
2019-06-17 10:41 ` Stefan Roese
@ 2019-06-17 10:47 ` Wolfram Sang
0 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2019-06-17 10:47 UTC (permalink / raw)
To: Stefan Roese; +Cc: linux-i2c, Rob Herring, Wolfram Sang, devicetree
[-- Attachment #1: Type: text/plain, Size: 133 bytes --]
> This probably should be moved to DT but would like to do this at a
> later time (if time permits).
OK, thanks for the heads up.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-06-17 10:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20190617083117.1690-1-sr@denx.de>
2019-06-17 10:11 ` [PATCH 1/2 v4] dt-bindings: i2c: i2c-mt7621: Add bindings for MediaTek MT7621/28/88 I2C Wolfram Sang
2019-06-17 10:14 ` Wolfram Sang
2019-06-17 10:41 ` Stefan Roese
2019-06-17 10:47 ` Wolfram Sang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.