Received: by 10.213.65.68 with SMTP id h4csp1233241imn; Sun, 18 Mar 2018 20:51:21 -0700 (PDT) X-Google-Smtp-Source: AG47ELuubuvJdQV7NgChQW1ARzhCp2tLgDNMargqLu366e8gTox8DiuM5Uc+GP/eUUoWZrkfeIfF X-Received: by 2002:a17:902:bc84:: with SMTP id bb4-v6mr11067928plb.317.1521431481283; Sun, 18 Mar 2018 20:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521431481; cv=none; d=google.com; s=arc-20160816; b=wjhNldh+uO8nWr7TwZIGqNvEldu0EBIQvdh6FzfrT0T7DsGOQWcS6ksmauMvvG8Ojh A9O54fHsLEVJeI3R3/rB1qsQ5vgf9ZlJ/0IDJJ3k5fhg2SF+9z1RXW7vK7as5YDxdyCH RDvpzSnHwP5BAaOy+GT1GBtzpFMgzPWfr4xJ5VChFJovORpoF6qAyLxT+0fBgwQQPem6 KTyQREbQ/z40Dsp+5Ro7vp6wi0ZWSJY9N6fow9OkLK93jcId+y24ztLyXLQXy8cFJ5kB OWMQlEwJ/B+y6SfoBxRR7x8oIeGWFjrDmypk56lyMVCXQtuqPOIAYXPUqRjO8tCfbPbx WNSg== 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=2dHnPZDW/D5q1I5V6/6ITxHhudCN6jNuGO17WZwVOE8=; b=gDeceSilqMDDdhs1Cr8/+H7USevqLTnQ/hcpxRqBhNnplFWPTqWOYhckGofTjtGXcu 54DWC1R0FqnACt/pqFvms4DPQJXVEtkHTBYq9TKtxV/jgAZDso3SdQUTL6Aruz1iAkYu P/2Tejbokn0Mp9dccOkfi4wqVQL/JLnJ3i9RBtyfxh6bCl+GhhjKwqodu/hE8VuFLslg 7WlrJx8eQciEFkhMSOye4Ved6r+ye0n5Y4EjPcU7ClGYjJ533RtNDeEtgX7NxDVxls5n fWtSqUXGfxiLjxDtCLoIOupGnnUKvX9u3Nth8CCeuSwzDyTW/YH+bg7/X8I5D6trUuKs U33g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MfpIQMPZ; 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 i12si9009342pgf.713.2018.03.18.20.51.06; Sun, 18 Mar 2018 20:51:21 -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=MfpIQMPZ; 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 S1755205AbeCSDuC (ORCPT + 99 others); Sun, 18 Mar 2018 23:50:02 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:44035 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755100AbeCSDtx (ORCPT ); Sun, 18 Mar 2018 23:49:53 -0400 Received: by mail-pl0-f66.google.com with SMTP id 9-v6so9474058ple.11; Sun, 18 Mar 2018 20:49:53 -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=2dHnPZDW/D5q1I5V6/6ITxHhudCN6jNuGO17WZwVOE8=; b=MfpIQMPZ1GGGm+Ae0Om0wa7Dm8245vmsAEU+JUrGApina/65IjAC8IKeWMdsCgLTOH iVZryQNlsE1euVw6nkwlxF/uCvUKfg5/GQMyDKdo7r6sBSDLvnTAyyB0fFjqi7vScPPv K19EgjvHbB4NT7MvK4PBJs5FO/jDKCC+2kb0hFq4IQdMtv/49W1gHAbiPh+mx3mGddGY yn5BYSoJ5M2eDekI4otS9PvjjFLC2HRgoit1EM54ZoGlyK0YOvHqY8/n7fAUSM9PM+qM /PBFv3kYT/y3oyePI1+uOrXfata0nuMS+srMUNZgN0RmI+wGMcwF34eHaNNiRbTF/wOh VYpA== 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=2dHnPZDW/D5q1I5V6/6ITxHhudCN6jNuGO17WZwVOE8=; b=ZEUBUYD9dD2NeIFL6PmXE8b2bNBRImkhe+Hjz1XzDBzGZ13/45eJusvz9n+7sKP/EG IfcPuE1AnpCjxlZdmZL26YSVVZb1zramIbUsWGeL58GR+nMQYb/zZcswmh/YzaAuLYCa qYFHQXqVZD5sHhgVbj3Usp6P0VUrwEKe2jZwzl/Zpl3MfWycq7WdPCzhZjL79F45EE/S +6avsprsYhBioDCxtb3mwqkgXHK0Rk2XAYI3vL/uZc6cd4vl+YNGlSin0aOi60Vze6dj PArrFlz3k250l5qf8GoFfpshTGwqPrGvPCDN5QjdEeYYKkFWZ1eQxR0+//353BNRCXfU tQPQ== X-Gm-Message-State: AElRT7GSZ/unuT4sE34Jq4xpzBnwemfUKH5DxnhxKKnF8nl425iuEqtt v8gID/vS7MtpRH0mBqzhsAg= X-Received: by 2002:a17:902:5993:: with SMTP id p19-v6mr10707720pli.347.1521431392749; Sun, 18 Mar 2018 20:49:52 -0700 (PDT) Received: from localhost.localdomain (114-137-154-124.emome-ip.hinet.net. [114.137.154.124]) by smtp.gmail.com with ESMTPSA id m9sm26861977pff.143.2018.03.18.20.49.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Mar 2018 20:49:52 -0700 (PDT) From: ShuFan Lee To: greg@kroah.com, heikki.krogerus@linux.intel.com, linux@roeck-us.net 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 Subject: [PATCH 2/2] dt-bindings: usb: rt1711h device tree binding document Date: Mon, 19 Mar 2018 11:49:35 +0800 Message-Id: <1521431375-23207-3-git-send-email-leechu729@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1521431375-23207-1-git-send-email-leechu729@gmail.com> References: <1521431375-23207-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 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