Received: by 10.213.65.68 with SMTP id h4csp716951imn; Tue, 27 Mar 2018 07:31:38 -0700 (PDT) X-Google-Smtp-Source: AG47ELtfVblAAUT5QNtgckV+oRAC5qlI/rrKDQAB46PEkKtq8VW8o6YAMuixPcp8UndM8HZzop8V X-Received: by 10.99.111.139 with SMTP id k133mr32285684pgc.236.1522161098732; Tue, 27 Mar 2018 07:31:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522161098; cv=none; d=google.com; s=arc-20160816; b=dQHaEmIrneO5Qs46zYEzYv4ZLYUnK/Z8SaJQyZlXovdlLvQw3fOJ2/FKtKV8sTr2sl 3YqXBZpdljqzSFJTg7zOQY7hhApqqqfZYlGrwFYfbm1dE7Lsc2KP3AWEinshKxHRzi3t 0KRrErHE2/FVJeenHahd785FrPFzyDulfaOUsU/USglJEz7l0MTVVcbqipXHh0aIp7Ub 5jMZ4nXuiAvC+obttS3+nAC6ldHZ6xASA7YgkYAONqKPchQFKcM3mk+wh+ItG7n6/Q6D JfAvRA2XHUJosXCsoCAtyx0/A3YfVdnZWOCbk4vLMgLdeU+pxQlq7nM32guKAeqpyL+9 3vEg== 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=FrgxLcsZ1pgPNjDnuQeARCLszXalyD4oud5CgNlu2Jk=; b=edfoWyND1keq/0vwed5pJtd6Y7zdtlKE9YzndoddV9Ju8qWVhJQTP3Y0w0idgcKWQi FH414AFsiQ15a+NcACwyJree03IkQInuwxjhr1rMzfcoc71hZMuluUYN5b1KDhi4Qy94 Pio5+bKjNviL/USEgLmqzbi5xHhCCBoedrRXMXOgkLjcl3wSiTnSWfbZiSrHir2Wv29e y6+6a97zOgQb/slkANELRgv0gQhCc6vbkDCY2ATFq8ox8Wqlxy3Ps3RjCqn2hwCtTJcT iNOXwP2o1lp8JKydrA67VPVMX6jo87LV4ny13CIZWgWDHVCo0Om34e/+z6V34mlmbqbP JbzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BwQ6pzjt; 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 s3-v6si1345485plb.418.2018.03.27.07.31.23; Tue, 27 Mar 2018 07:31:38 -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=BwQ6pzjt; 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 S1752218AbeC0OaS (ORCPT + 99 others); Tue, 27 Mar 2018 10:30:18 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:40344 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751865AbeC0OaO (ORCPT ); Tue, 27 Mar 2018 10:30:14 -0400 Received: by mail-qt0-f195.google.com with SMTP id g5so13543069qth.7; Tue, 27 Mar 2018 07:30:14 -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=FrgxLcsZ1pgPNjDnuQeARCLszXalyD4oud5CgNlu2Jk=; b=BwQ6pzjt6VETystMwm7he7MLAgAvq8IcygmVOw9SCN3+csN3KtqfZl1jw05C6sSHKv hXXtxMw7hopsHYuXIyRaCOkz4yM6sK2zptmOhG96lhSPTHXGOsHfQPiVB6Ls/sdZnpaz C0FujeJeZFVtt5Bqfv+zhsuqXV0JVfJftM9W+mScqMv9VSKmEU5itx9HPE5CZoxzKz8r 0dnZHwAXstkacxVBlQpVRsHTFy/MiiWAAbgOOChnFoVxruSXdVpX2gBe0E3yzNQODHfh 6k2WCkXV58RyZDoQm1nOotz9uBbq695eqUV22cgQ0Ceec6pdpOcEyS3ZvULFP4luYx5e m6gA== 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=FrgxLcsZ1pgPNjDnuQeARCLszXalyD4oud5CgNlu2Jk=; b=IxJWOhoPVpvoiwY0YVbKZ4R/kwMXUuhsKg1LfUedjkjiCwrsOB2+KDmtZw0dghQAEu Y9MCUoWUeBGeLtPeIR3oQyASFSd3CbGS2JeAKimEc3t2ga/hG89AzHldKux0EaT95YBN z4eglhY/egtImIOY9boSeBxUWKvx+zr3I2nJws4XVFjVz8ieGbgtU8/LwNQOGToBX0zd HAnk8JHfvxzGImYAoNsSdRF3Vco8wVe4Zr0M50Lyha8wY8Ip0PvmULUuRua2jAW9EV+Z 7ezI61j3ntYiOFLHLWvqdod4jvbTB1PWohHy3pxDqBbPHXIF3aszOzD03TxSC5xNqO/S Ht3g== X-Gm-Message-State: AElRT7EDTBcU0UaqNko+Zszrsc7jH5iAlIBqcgAyjBIabVrxX8hb2Fol lMgr1TefD79WfDBT5wwg/nr++MISzgnIm7p96Qc= X-Received: by 10.237.44.199 with SMTP id g65mr60768129qtd.124.1522161013758; Tue, 27 Mar 2018 07:30:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.9.43 with HTTP; Tue, 27 Mar 2018 07:30:13 -0700 (PDT) In-Reply-To: <20180326222336.jqix6k4pyqy4bg36@rob-hp-laptop> References: <1521537304-7531-1-git-send-email-leechu729@gmail.com> <1521537304-7531-3-git-send-email-leechu729@gmail.com> <20180326222336.jqix6k4pyqy4bg36@rob-hp-laptop> From: =?UTF-8?B?5p2O5pu45biG?= Date: Tue, 27 Mar 2018 22:30:13 +0800 Message-ID: Subject: Re: [PATCH v4 2/2] dt-bindings: usb: rt1711h device tree binding document To: Rob Herring Cc: Greg KH , Heikki Krogerus , Guenter Roeck , mark.rutland@arm.com, =?UTF-8?B?c2h1ZmFuX2xlZSjmnY7mm7jluIYp?= , =?UTF-8?B?Y3lfaHVhbmco6buD5ZWf5Y6fKQ==?= , Jun Li , Mats Karrman , linux-kernel@vger.kernel.org, linux-usb@vger.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 Rob, 2018-03-27 6:23 GMT+08:00 Rob Herring : > On Tue, Mar 20, 2018 at 05:15:04PM +0800, ShuFan Lee wrote: >> From: ShuFan Lee >> >> Add device tree binding document for Richtek RT1711H Type-C chip driver >> >> 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 for rt1711h typec 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. > > Drop this. You should simply always have interrupts property. Does this also imply that we could always assume client->irq is ready for request? Therefore, there's no need to check client->irq and get gpio through rt,intr-gpios. > > Rob --=20 Best Regards, =E6=9B=B8=E5=B8=86