Received: by 10.213.65.68 with SMTP id h4csp231330imn; Tue, 20 Mar 2018 01:56:02 -0700 (PDT) X-Google-Smtp-Source: AG47ELuKqxHHrnCEqR1seVGRsz+e4fp4NJdXwA6YDoBEPGoZw8RKFMsN+C0JAVb53e0dmPj6SqKK X-Received: by 2002:a17:902:63:: with SMTP id 90-v6mr16015187pla.125.1521536162443; Tue, 20 Mar 2018 01:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521536162; cv=none; d=google.com; s=arc-20160816; b=YhuNwqZgqMr7ir/5UpIRQZQsQB4YPJOGWjEMBgRN+DhK7apxxkgx+5mk4UOoey4YWt 3w0HP4GVrmZirgQV07r2Pyiw71ZzBfW4mEeAAHCcQyDlmdHkmE6mykTpN96PkZoubvwM NOBsUJKYNjP7HsE45EiRwQGNnpH0i9ts/gx/lKmHSSokU/SwEpDLMUjU6sPkliY6Q/Ib 72C1q239j8RVTafXJ2f4g/Sgh/f8hHN28NiamibzH4JfMYv57jUSWFtcJkFqFhxFZ4Sz uKH8kKvTA1mP49Yn0HL7UsW8uEf/JHiyhP+FJFuFC/SzyB6mblqQCjbASSH36xw6Cw// tSHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=324NQnGY3rCnIValoyKa6iwTz2oLcJyDCz4mnoVYIPo=; b=Lac4Cf1Ha6eWY616dfhCeY/veyBop/B3EIBEVXfLHq/K2K9zFyJXLnUOUbPbSJuYJC w3pxTRbk8RKe7jo1+FSmmgir/raGLfz6QcqJc29h7NVy7NEQBUSMB5GgmIiespJKk5il GAtiIMx7kVGJ9xUxtyNeAQc24MQ/36LvQklX/nSABU7gVSHY1zTsFE14UJ32Wjf3FlX/ cXeQOXHXUTqDrFRYBR+vuzA3shVBcRL07HDLvZO7V3OMRYNnMtDgugfLMvlCOGSD4UF4 1NfD1CnO49kOlc/lNaGJTWKG3JOHh6227E/c8X3QbPz2KWDv8DbT2rtyjnf/vu3oToY+ JwtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mv6RQhMv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o68si1008365pfk.132.2018.03.20.01.55.45; Tue, 20 Mar 2018 01:56:02 -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=pass header.i=@gmail.com header.s=20161025 header.b=mv6RQhMv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752490AbeCTIy0 (ORCPT + 99 others); Tue, 20 Mar 2018 04:54:26 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:46280 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752402AbeCTIx5 (ORCPT ); Tue, 20 Mar 2018 04:53:57 -0400 Received: by mail-qk0-f193.google.com with SMTP id o184so772126qkd.13; Tue, 20 Mar 2018 01:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=324NQnGY3rCnIValoyKa6iwTz2oLcJyDCz4mnoVYIPo=; b=mv6RQhMvU+27NKf3Od/hEhlSV4sFw0wuEYKt4qXQr+MO/lod5paH42rmVGp4hOaklY RxliQTz4tZR/wvu5AbfKgcsjHQ1PusMpwrmduZcd9hmMqkMALaE9hvbTeUGLz61d/AU7 dljEth10L5aRgzUBxlZeoyORAcBsYX+GwyBuG6twmbWqQlNH60oczqlsr9lnno8tY+Pw 7UUDcmBUvzz0lWvfv7sBIMeAq2AbcZvvuo89ZKOPFtr1EHkvurzpIktbO8QjK1oGfD+m AJxujVcTnjXAb4q7cQjmdW5KMgQFiTDySLOyMOrU752H2lqql8xwOoe9EOO23UXDiVfT 9yjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=324NQnGY3rCnIValoyKa6iwTz2oLcJyDCz4mnoVYIPo=; b=sGaBwMdMnIhEhLo+1nnAWkRsSoqA4yZJGpp50GgyKPnIuoC8t2LLnkvefaKIapea3H 3E49d1kLY0sHWXQZWJH2SI+hbsGBF+EDKsq9u/uOBlRsd4MPrzHGshCZ1EuRCGCGluwN UOFNNVWO8MYCwzMzLb1TPhC2EylUYk5Qm2v6yU8/adU34ZRFwqDg2PTPjoMFUvLjnWMK +4netOEcWx4Ywwpc0qIdOXePT4+tRvqr6461RVxce9xINBLk81CUA8o26TqGAcIgje6n g1XflrHdWf2ZtqE31y+0wzH5HFVf/M98Vd82me5KuWvf0ZW5aurfpI3it7LyAWHvtdVa 7TxA== X-Gm-Message-State: AElRT7GH1Hb/Vd/c5j3us9OwJ4QiQEzGlfX9V5BrysGqLN8uEM9WjRaS 26m+z3KpADfbue7k+CxkuGYAxrXz1Od+M7KdPj0= X-Received: by 10.55.188.69 with SMTP id m66mr21898477qkf.118.1521536036231; Tue, 20 Mar 2018 01:53:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.28.38 with HTTP; Tue, 20 Mar 2018 01:53:55 -0700 (PDT) In-Reply-To: <20180319162903.GB17189@roeck-us.net> References: <1521431375-23207-1-git-send-email-leechu729@gmail.com> <1521431375-23207-3-git-send-email-leechu729@gmail.com> <20180319162903.GB17189@roeck-us.net> From: =?UTF-8?B?5p2O5pu45biG?= Date: Tue, 20 Mar 2018 16:53:55 +0800 Message-ID: Subject: Re: [PATCH 2/2] dt-bindings: usb: rt1711h device tree binding document To: Guenter Roeck Cc: Greg KH , Heikki Krogerus , =?UTF-8?B?c2h1ZmFuX2xlZSjmnY7mm7jluIYp?= , =?UTF-8?B?Y3lfaHVhbmco6buD5ZWf5Y6fKQ==?= , Jun Li , Mats Karrman , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guenter, 2018-03-20 0:29 GMT+08:00 Guenter Roeck : > 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. Thank you for reminding, I'll resend it. > >> >> 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,rt1711= h.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 =3D "richtek,rt1711h"; >> + reg =3D <0x4e>; >> + interrupt-parent =3D <&gpio26>; >> + interrupts =3D <0 IRQ_TYPE_LEVEL_LOW>; >> +}; >> + >> +Example using rt,intr-gpios : >> +rt1711h@4e { >> + compatible =3D "richtek,rt1711h"; >> + reg =3D <0x4e>; >> + rt,intr-gpios =3D <&gpio26 0 0x0>; >> +}; >> -- >> 1.9.1 >> --=20 Best Regards, =E6=9B=B8=E5=B8=86