Received: by 10.213.65.68 with SMTP id h4csp1645341imn; Mon, 19 Mar 2018 09:31:19 -0700 (PDT) X-Google-Smtp-Source: AG47ELsq3KUCaosv2kwsGg683T+ZQDK0xK0f2eG5KkAddCq2k82B6JH4WukwsqHNoMgb+DiHSyr/ X-Received: by 2002:a17:902:5409:: with SMTP id d9-v6mr1005303pli.176.1521477079514; Mon, 19 Mar 2018 09:31:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521477079; cv=none; d=google.com; s=arc-20160816; b=eTR2LYNP1gsMnc9xQ+tfdXElNRWLq6cxFhgi7ZHO0WLZWXljhraQIgqYR/j1oJ7+SO PevQ0HsH3t5pva6uvfKdovga6AItf4EmnphkY5wNaCDBhPDftm0GpGZt2+Bqsxy+8XPw YY25zyRlnjplu6ioGrI0n8JN+RaVV3yeWrHqNcpW/zhaO6YhrUhYvpi3MreN7wzGWJyj Tafz/pD8LdlRqy67ubCeMa/iWDTOytBTzHXvitaqtDmsXwwxMLy5LeS5hqH14kaauRze vgdTyHXm69nE9oLxT1ff8N0CtG5A9zQOV9uCaG1ndwd48bB8YqSMJWSSEwYwRqo4tdbD LXug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=0Mb+Ot6g1aztEL22hAsYGR75kqGGAKZo142kyoEgNZM=; b=zGdfV1rMssM+HvWwTZ5+XtGqJ7ENnjz6TkbhVTRwmJEw8JJFMR7rHbMrkrVFghSo17 GdBy03wlWYhoDAg5DCiC+VaDx6+DZLKUJAq5j+XN1iQffTWQoDv45mkiE9AhHC3z5D0L 6M/d+Tv1C7HMEojIMV7vTysEZRD4bCFqSRyeNZf6aNGOzbzRwl1hRjLOxh59uNRGBnPt Vcw/eyAwD/kwQVNqF6IFqUj/FYbSTh1OGwcvq28HBBx+vK/ZuNBxTAl7LDpRVp+nmRc1 UWBhuG2io1MnDh3qxRKgkKFB59lDSoRyrdFnp5Jj+urichRoGJQAOYgBH9PNvF8cfZrC E8/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eWX/OaNq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si217456pfh.50.2018.03.19.09.31.03; Mon, 19 Mar 2018 09:31:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eWX/OaNq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935616AbeCSQ3c (ORCPT + 99 others); Mon, 19 Mar 2018 12:29:32 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:38132 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966903AbeCSQ3F (ORCPT ); Mon, 19 Mar 2018 12:29:05 -0400 Received: by mail-pl0-f66.google.com with SMTP id m22-v6so10549562pls.5; Mon, 19 Mar 2018 09:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0Mb+Ot6g1aztEL22hAsYGR75kqGGAKZo142kyoEgNZM=; b=eWX/OaNqqouW/2W/mwIcU8hC9naQmLW9HA++EoiNRD0g+pu983GMl13wmG4R+4XyQq BaxsQsYwiFQgQ8dU5ffFkcWbl0k8RYizVFsKBpvgjQtc9OjswMqqE0jJhnruqaVSJH2H 2OVpz98jFhwpoG8qasvQV9iO4XybRUFFZHqEfOB3LW8WThHzZfXgaDeTdR2dXgXzj1K2 CHunn3MgAfEha/Yj1F6GVuvyZYYaesKU1z2UmTyXd8YoG5SWMX469cF0e25NnSQAo6ef 2hDT6ErV/93n2A7kFBeX4wxtGhk85gUn9GcGo4x5oyYBCaIVQh/UTWN6Vkt5d2PA4Npt OGAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=0Mb+Ot6g1aztEL22hAsYGR75kqGGAKZo142kyoEgNZM=; b=uO64GfNFENbBdsgqjHA+Q1tY1siiH6AA9PLKyAjJbQTS7EAhEwBao3vaNEZduMDSod MWch4ctsGOhzFazo1YojHaxDAeA93li/c7tdIV0cyujXGvyFuGtTFv1MYmMEf/GyGYhi EmqLGvfvDW+XLSFo+1uZuJ5dBu2Ia/jeeAdxn+BBmVOeapu/JnKUjojYDLzFvMA457Us RrF8tyaqgBfzcHf3JugbGBX1fx/WHMaVxaYKz7DpnYGaWgDgIdlQoAXL4vcaw9cYjvUN sOXXD+uBsbVK0iZYdtYbACT//Jsy70c2WhM7noklz3+uAiX+95tGVe7KpSctu5lC14mM AdiA== X-Gm-Message-State: AElRT7HiMSFlNW1ww6j3tok0oWvEItKimE9JC5OQZbSt7wHK/biA7oC0 QQEzdV8ceeJf2FiLj9AL9uc= X-Received: by 2002:a17:902:b7cc:: with SMTP id v12-v6mr1597588plz.237.1521476944760; Mon, 19 Mar 2018 09:29:04 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id j19sm678399pfh.26.2018.03.19.09.29.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Mar 2018 09:29:04 -0700 (PDT) Date: Mon, 19 Mar 2018 09:29:03 -0700 From: Guenter Roeck To: ShuFan Lee Cc: greg@kroah.com, heikki.krogerus@linux.intel.com, shufan_lee@richtek.com, cy_huang@richtek.com, jun.li@nxp.com, mats.dev.list@gmail.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 2/2] dt-bindings: usb: rt1711h device tree binding document Message-ID: <20180319162903.GB17189@roeck-us.net> References: <1521431375-23207-1-git-send-email-leechu729@gmail.com> <1521431375-23207-3-git-send-email-leechu729@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1521431375-23207-3-git-send-email-leechu729@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 19, 2018 at 11:49:35AM +0800, ShuFan Lee wrote: > From: ShuFan Lee > > Add device tree binding document for Richtek RT1711H Type-C chip driver Cc: Rob Herring , devicetree@vger.kernel.org is missing. Added here but it might make sense to resend. > > Signed-off-by: ShuFan Lee > --- > .../devicetree/bindings/usb/richtek,rt1711h.txt | 30 ++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/richtek,rt1711h.txt > > changelogs between v2 & v3 > - add dt-bindings document for rt1711h typec chip driver > > diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1711h.txt b/Documentation/devicetree/bindings/usb/richtek,rt1711h.txt > new file mode 100644 > index 000000000000..7da4dac78ea7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/richtek,rt1711h.txt > @@ -0,0 +1,30 @@ > +Richtek RT1711H TypeC PD Controller. > + > +Required properties: > + - compatible : Must be "richtek,rt1711h". > + - reg : Must be 0x4e, it's slave address of RT1711H. > + > +Recommended properties : > + - interrupt-parent : the phandle for the interrupt controller that > + provides interrupts for this device. > + - interrupts : where a is the interrupt number and b represents an > + encoding of the sense and level information for the interrupt. > + > +Optional properties : > + - rt,intr-gpios : IRQ GPIO pin that's connected to RT1711H interrupt. > + if interrupt-parent & interrupts are not defined, use this property instead. > + > +Example : > +rt1711h@4e { > + compatible = "richtek,rt1711h"; > + reg = <0x4e>; > + interrupt-parent = <&gpio26>; > + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; > +}; > + > +Example using rt,intr-gpios : > +rt1711h@4e { > + compatible = "richtek,rt1711h"; > + reg = <0x4e>; > + rt,intr-gpios = <&gpio26 0 0x0>; > +}; > -- > 1.9.1 >