Received: by 10.213.65.68 with SMTP id h4csp2117710imn; Sun, 8 Apr 2018 20:08:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/uurKFAt/7CMup+1TtjsylU+zTLEyT01VfUM3YmjjoVH36WGXd+1moCKqC5cS8N/V3OByo X-Received: by 10.98.205.69 with SMTP id o66mr27949639pfg.34.1523243327548; Sun, 08 Apr 2018 20:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243327; cv=none; d=google.com; s=arc-20160816; b=JDwhrglf5HjKpnOcIeoijx44Qj9i4LM+R+37K5jXwBXeNSNSvWdQkKKoT5jDQGMrtw EPYqXgJqnJjAmkVJlIdCh7fAphwOfI/w2wb95N3XnVZZacYzotiFtiY6FwKNwx54jB2J jM1FXgt7ul1MuHR3D+xqdJv7NJe2SHQhj9WfCxZBY6Owm9IDLdCAM1Ecqbe5qY6T8v6q 9kFHDC97k7a81hlwWzPR6e5OIhdJZ63OPYxGPLz+u53oqdYMMRHok1VeoHVtHQCFYp3N WjEKs4xL6J0LGEWrSmLCtMIdTe3NXECVxO9k3IidNVrFYmogN4vKzBGZmoT/sfb6Cmss vrFQ== 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=ACKKoEGN+GDZvAKQHwsHxTLJEXv4HuFOwCFIVbuHpwA=; b=rvnR6jZdVbbWuFHNWzrSlfNZMxwoJ3mPc0rHIXnK+ytx3BVF/ydGGZZ2WmcN2EJVx/ ohc4RRD3XfeNtaLhs79fkhBw7k+w8py8Iw/CguB55+AsJNGPhKeNJ80gd8+Ph/HRpNIc t7peJkkw10P2d0x/M72vt3lw3JCLNBCgBe6DBrcKZZciqoQFwrnECBFPthkhkJHenWRU EoHA/53hkTrbppHZeCTeplP2hcUl6kG+6qbGonYxWcq9NKaiBmX9EAKIzknriM+GRIS9 no4vzwHxHg5zVOsNqBoT5fdQ1yVsjrbHa9CRdy6MZAPX1oOXvVPlWgggUf4mcWTrh2jK gfcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=usCiRTP4; 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 u90si11989694pfj.304.2018.04.08.20.08.10; Sun, 08 Apr 2018 20:08:47 -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=usCiRTP4; 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 S1757979AbeDICML (ORCPT + 99 others); Sun, 8 Apr 2018 22:12:11 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:44688 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757309AbeDICMF (ORCPT ); Sun, 8 Apr 2018 22:12:05 -0400 Received: by mail-pf0-f196.google.com with SMTP id p15so4894011pff.11; Sun, 08 Apr 2018 19:12:05 -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=ACKKoEGN+GDZvAKQHwsHxTLJEXv4HuFOwCFIVbuHpwA=; b=usCiRTP4fvULqRXgamYVwltTRvs/nBqtAKtWlQd3gUC/6YG1TD1P6EewcGgX8R4zYw xwUPYuaHhH2utyk1QAoCpaXgKNnDl3dbIZRyOcV9DThEKqVZijG0QXCWSUFOFh/vHgxs MtLNhU6gEy3uK8BYhW42nPAxdv1v+0ebjX90n8WoGCIJ5uuq9mPbbThVQdg5C7ZdDtIm VANbK+mb6KxMDAg26RPntXKWgHlYv0KM/c8Wo35hG5WDSiXzrUwIfbYDvBA6D2EIL7xZ PCBVgfqsrJ5tNmZYV7XC+N0Q70RSoS09h5ltbFOUGq6Do6woFyP/+gUqnEfFpfdvAdFV XQuQ== 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=ACKKoEGN+GDZvAKQHwsHxTLJEXv4HuFOwCFIVbuHpwA=; b=ghjzfUfAWNsQQUDb9MV8pY6PKlVdtBi9yFlKVVIkV/iOAqnUBExl4SsPPa9y3AeB8p +defvPprgeM0zfbZ4W4ualbIErOlz221xxwEU6yM5XYuv9kpoZL6nUSCUWWbJbDGWCgY lucG3sv0eiTAJ2OUWfyIraJDvhVt2ZL8W7FFKTdTYLEiDLZ9GHj6T1mOLYtcDvTc20iH LBAKyBlDHGo71+Kmb/CEMGNhgyOq2SdwTYwdo0Vi6ugm7vgFyCo0DcDBDXDb3QHcv3M+ yg+ll1tRPnYCbpVDWIt8oNwTDbwUK3opqZiIdIiVi5WNPNY6P6lBkZG/LYIo1se/g+Hw Nt+g== X-Gm-Message-State: AElRT7FV1/V/iVnTNjid4/jZxDEV/MGI3D8m19c8gCS/zhLtWlHAWm1f IDdw8V4ZxQ8GsK3fGsClPOaYC3UIG04= X-Received: by 10.99.119.133 with SMTP id s127mr23523598pgc.441.1523239924889; Sun, 08 Apr 2018 19:12:04 -0700 (PDT) Received: from localhost.localdomain (42-72-131-96.emome-ip.hinet.net. [42.72.131.96]) by smtp.gmail.com with ESMTPSA id d83sm32153676pfl.176.2018.04.08.19.12.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Apr 2018 19:12:04 -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 v5 2/2] dt-bindings: usb: rt1711h device tree binding document Date: Mon, 9 Apr 2018 10:11:35 +0800 Message-Id: <1523239895-4467-3-git-send-email-leechu729@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1523239895-4467-1-git-send-email-leechu729@gmail.com> References: <1523239895-4467-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 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/richtek,rt1711h.txt changelogs between v2 & v3 - add dt-bindings for rt1711h typec driver changelogs between v4 & v5 - remove rt,intr-gpios, always use interrupts property diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1711h.txt b/Documentation/devicetree/bindings/usb/richtek,rt1711h.txt new file mode 100644 index 000000000000..09e847e92e5e --- /dev/null +++ b/Documentation/devicetree/bindings/usb/richtek,rt1711h.txt @@ -0,0 +1,17 @@ +Richtek RT1711H TypeC PD Controller. + +Required properties: + - compatible : Must be "richtek,rt1711h". + - reg : Must be 0x4e, it's slave address of RT1711H. + - 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. + +Example : +rt1711h@4e { + compatible = "richtek,rt1711h"; + reg = <0x4e>; + interrupt-parent = <&gpio26>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; +}; -- 1.9.1