Received: by 10.213.65.68 with SMTP id h4csp243147imn; Tue, 20 Mar 2018 02:17:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELtN/alDxF/nKxdbBFRc4N71bQ3XswAsNpVp2mPHbN7RqusaodMBN/jzU/0c0yHcoAynuc66 X-Received: by 10.101.83.13 with SMTP id m13mr11844087pgq.248.1521537429010; Tue, 20 Mar 2018 02:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521537428; cv=none; d=google.com; s=arc-20160816; b=DKabXiLyZYHNImwKitmyLxmUvZYmSxsTng6lbqRBa9jjB6HdYAsBNKioOCVwa8FCOm 2J+JgrdJlrhI0/DAqj2M/4wIA/u+VcdSpL5Ew3rkY5MAMijPtMriyt24dV1fu9uWRveH PldizBYX38an1S+qUZ0AAeSoIApzuUCJ6pd67BX1hHTwCQaPR1Ttqo2616onB7FDizvN Zg6GYH0GLhHSODS9kgISqWt2f/9q6t7woJX1PWhd7O7ZwI+Dus7c9iYO/8Il9KeYJxuX pNRWzsrIZRtj1ohLbXqJOuvgGflba1cUx7XU3Y82SdW9RrWOLDs6JqTQncBUfv67Od4U kCOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=8YnQ7kMlP+ZM56ov2j8OAdmprdQ6uqGtOoFaTmn1x3k=; b=zavRbYcu+AN1fkyQMh1ng2CvzSQtMMiBejNEDF5gXGqQJUNUb1n31AGKfp3ikiDQEg 5IX3pdUEoyinTf0P+oYFpiao5JpxshMeSGTRIlhhhdOGyoMlWLu+MR3PXmnBZvpuiVYm T/MWEinrVvvsRxKwIuoMtdyTHWWTF/HluT4fn7kha+vNi02lIAcPKYoxUWvHfx5vkrTT OxalXS7BDBEPJPp0DZEGG6ZQPVnlmtcZRPXdzcrbiZjd/Nf+LaVzfUQG93ua6hmRWcM8 NYr2pay/xH9QJR++OuuECwWSwBAiLOs/AJczb1hTnqS48UkPzJtXV9gUGgluyWIfMbLh sDcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SUu1hNDz; 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 j61-v6si1278493plb.395.2018.03.20.02.16.52; Tue, 20 Mar 2018 02:17:08 -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=SUu1hNDz; 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 S1752177AbeCTJPl (ORCPT + 99 others); Tue, 20 Mar 2018 05:15:41 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:43684 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbeCTJPg (ORCPT ); Tue, 20 Mar 2018 05:15:36 -0400 Received: by mail-pl0-f66.google.com with SMTP id f23-v6so601155plr.10; Tue, 20 Mar 2018 02:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8YnQ7kMlP+ZM56ov2j8OAdmprdQ6uqGtOoFaTmn1x3k=; b=SUu1hNDzJDsRbIrxF54oBjIYDNinAYYzNWXi8STWIhGQB4gTAVuYPnAk6RBoz0CruP 1hcJbpJqdrqgtQxAd/YthHxi/4cJeVpM9Ko4xSfhHh6lKH15yjq3+U5Ynx7pAjcWSRYf mmlURKcrnnVDE5XPmVeRXOflFHabL/m44fplqF3FmoDXYv7kNdO0ksMnUE0lM4MFF3dd 4HyqGq7zTFgjuDdSIkSO7J9mCfo1dBJzTj0CqLFWW9T8ot0s3afNXvMHN6qD/4mMSnw4 LXbQn4AMf6zCkuT68PGfSOEGE+mbbsqojFP8wDo891SAunQLnDHJ3XMNfjEe86+tutsY kL0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8YnQ7kMlP+ZM56ov2j8OAdmprdQ6uqGtOoFaTmn1x3k=; b=UlKdJZLYZp89WResfg1wllZGxsGgfOH6hNn52eGDcsYk0UueCtYLU9eT9EuLcu4Gu+ YDKxncMkO0iUzXYHfizNyRGBSbxpTU1y4sz+PG74m6yjsAqV6IbyFS0Rnwz8Txf4BlUw qFgdndyh2K6f2D3d2FY+oQ/yehD0nN9buL8YFMp2UaEqXMR85qyynUbGD6sK5f5MAL7H XdypCwidvDa2N1bPMfW96Hjwvte7vBGWhC1uu1W4TaReVf/uKi4nKijaq20VKadZA3SD tVTx6S2K5Hdx0pzLzC0UYlgucN0L4TbrZHwyvUaxrWswaa6xa3ZTwWMT95ZjRwqLTmX7 RVAw== X-Gm-Message-State: AElRT7Fb3UxbThQlEUwNjqFt76y2yq2/UFAoUntkmjR0rXo3310aKFwz c45Ajy+tLbKKwrlFqnRNiSg= X-Received: by 2002:a17:902:42e:: with SMTP id 43-v6mr15568338ple.186.1521537335877; Tue, 20 Mar 2018 02:15:35 -0700 (PDT) Received: from localhost.localdomain (42-72-254-62.emome-ip.hinet.net. [42.72.254.62]) by smtp.gmail.com with ESMTPSA id w24sm2572008pfl.14.2018.03.20.02.15.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Mar 2018 02:15:35 -0700 (PDT) From: ShuFan Lee To: greg@kroah.com, heikki.krogerus@linux.intel.com, linux@roeck-us.net, robh+dt@kernel.org, mark.rutland@arm.com Cc: 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, devicetree@vger.kernel.org Subject: [PATCH v4 2/2] dt-bindings: usb: rt1711h device tree binding document Date: Tue, 20 Mar 2018 17:15:04 +0800 Message-Id: <1521537304-7531-3-git-send-email-leechu729@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1521537304-7531-1-git-send-email-leechu729@gmail.com> References: <1521537304-7531-1-git-send-email-leechu729@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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,rt1711h.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. + +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