devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@the-dreams.de>
To: Stefan Roese <sr@denx.de>
Cc: linux-i2c@vger.kernel.org, Rob Herring <robh@kernel.org>,
	Wolfram Sang <wsa+renesas@sang-engineering.com>,
	devicetree@vger.kernel.org
Subject: Re: [PATCH 1/2 v4] dt-bindings: i2c: i2c-mt7621: Add bindings for MediaTek MT7621/28/88 I2C
Date: Mon, 17 Jun 2019 12:14:12 +0200	[thread overview]
Message-ID: <20190617101412.GF3502@kunai> (raw)
In-Reply-To: <20190617101113.GE3502@kunai>

[-- 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 --]

  reply	other threads:[~2019-06-17 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2019-06-17 10:41     ` Stefan Roese
2019-06-17 10:47       ` Wolfram Sang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190617101412.GF3502@kunai \
    --to=wsa@the-dreams.de \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sr@denx.de \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).