From patchwork Wed Mar 13 18:34:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vince Kim X-Patchwork-Id: 10852411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 98B8714DE for ; Thu, 14 Mar 2019 08:26:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 851352870C for ; Thu, 14 Mar 2019 08:26:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 758BA2A265; Thu, 14 Mar 2019 08:26:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 25CC52870C for ; Thu, 14 Mar 2019 08:26:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EABF26E1D8; Thu, 14 Mar 2019 08:24:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw1-xc44.google.com (mail-yw1-xc44.google.com [IPv6:2607:f8b0:4864:20::c44]) by gabe.freedesktop.org (Postfix) with ESMTPS id 669346E08B for ; Wed, 13 Mar 2019 18:36:57 +0000 (UTC) Received: by mail-yw1-xc44.google.com with SMTP id c4so2282229ywa.11 for ; Wed, 13 Mar 2019 11:36:57 -0700 (PDT) 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=WjY60rR7W8h/rdE/GHr0t9DyetScE6OivwQJwXM8I5E=; b=B96FkSl5psPqH5IF7NtwicrPJLQSAlNnAQRzZKzSVOgjBYIzrfJnDRlCQcjngRUUPJ 6nzlR2KOxBmCX1DmMsP4c1qDUmxeEyxOQIGhsgTLXr1du/ibFagCpO9cy8t3Abv8c48j EOG7bptgGkTcl0qX19qlNDYdjdEc0V0q1wORLPXs7RRcXBFPihvIP3pX83LYRQ/14eCv +ZR54QWTw/vsRSJz0NdZ2eMugnhhmiUNrU56PD77Tu7pS4LVSFMXaNQBYAXCPcIwTMmW al302bFwwvUj3oHThbrA+X8vHDUDH+Crg3fz08sq2kUqyGBSD1ihFyF7Lap4VX+yk+Jr pSsA== X-Gm-Message-State: APjAAAX6W836ZPyBfXc5A/s5kBpMTmMoDUmlz2pMBhJsSHL3vvaho/Fe 76R7gtzDbu3gaBy7paRhltU= X-Google-Smtp-Source: APXvYqyeVO9okMUTGVsh45T8yhU3+Bggiw7XPAKP80/CWX8XgCHc4TbzPKw9dcDgXZ/RP4ByyUsN8g== X-Received: by 2002:a81:6054:: with SMTP id u81mr35372819ywb.189.1552502216529; Wed, 13 Mar 2019 11:36:56 -0700 (PDT) Received: from vince-laptop.corp.lucid.lcl ([12.151.33.163]) by smtp.googlemail.com with ESMTPSA id a194sm5571200ywh.103.2019.03.13.11.36.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Mar 2019 11:36:55 -0700 (PDT) From: Vince Kim To: Subject: [PATCH 2/2] dt-bindings: display: bridge: TI FPD-Link III Serializer/Deserializer Date: Wed, 13 Mar 2019 11:34:58 -0700 Message-Id: <20190313183527.22883-2-vince.k.kim@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190313183527.22883-1-vince.k.kim@gmail.com> References: <20190313183527.22883-1-vince.k.kim@gmail.com> X-Mailman-Approved-At: Thu, 14 Mar 2019 08:23:35 +0000 X-Mailman-Original-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=WjY60rR7W8h/rdE/GHr0t9DyetScE6OivwQJwXM8I5E=; b=NjV/dmhfMlK7BLpAInnrr6ientMA9FqTTYyaVP73q4Ec5iJScIepb9IcjSy/tXTn3a 7hYyBiHuC6fhawkE8bgVWIcnVDXQBQRIoy9GeFA+EJfX24Izka2bsvbhs90ZIZexUCLb AkbDWqvMJV4LyQVt2G6lKO03BCyv40kIkc87RrFs3DZlXgi+OeHZSHxiZT8o3VP8Gy2C De78vOgyE1mfxSFtur7/o1C7ShDpNCU2jH7wb2L2lhBtwMxzCpTSmw9MNmjrwgeOnaAi o/35eNyNas39l1VdzFaS1AcQMG06KhJA3pkci+ZhYZW7njMkWTJdIGSBk8ssL+InPk8i aylA== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Vince Kim , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , Laurent Pinchart MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add documments of device tree bindings for TI FPD-Link III Serializer and Deserializer chips; DS90UB927, DS90UB949, DS90UB948 Signed-off-by: Vince Kim --- .../bindings/display/bridge/ti,ds90ub9xx.txt | 39 +++++++++++++++++++ .../bindings/display/bridge/ti,fpdlink.txt | 25 ++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,ds90ub9xx.txt create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,fpdlink.txt diff --git a/Documentation/devicetree/bindings/display/bridge/ti,ds90ub9xx.txt b/Documentation/devicetree/bindings/display/bridge/ti,ds90ub9xx.txt new file mode 100644 index 000000000000..351d9cb79ebd --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ti,ds90ub9xx.txt @@ -0,0 +1,39 @@ +Binding for TI FPD-Link III Bridge Serializers; TI DS90UB927, DS90UB949 +TI FPD-Link III Bridge Deserializer; DS90UB948 + +Required properties: +- compatible: shall be one of + "ti,ds90ub927" + "ti,ds90ub948" + "ti,ds90ub949" +- reg: i2c device address + + +Optional properties: +- power-en-pin: GPIO pin for power enable +- reg_config: register address and value to be written during initialization + + +Example: +-------- +I2c-master-node { +... + fpdlink_serializer_i2c3: serializer@0c { + status = "okay"; + compatible = "ti,ds90ub949"; + reg = <0x0c>; + /* Enabling passthrough for GPIO0 on serializer for touchscreen IRQ */ + reg_config = <0x0d 0x25>; + }; + + fpdlink_deserializer_i2c3: deserializer@2c { + status = "okay"; + compatible = "ti,ds90ub948"; + power-en-pin = <&gpio9 8 GPIO_ACTIVE_HIGH>; + reg = <0x2c>; + /* 0x90 for DISP enable, 0x9 is for Touch enable on GPIO1 and 2*/ + reg_config = <0x1e 0x99>; + }; +... +} + diff --git a/Documentation/devicetree/bindings/display/bridge/ti,fpdlink.txt b/Documentation/devicetree/bindings/display/bridge/ti,fpdlink.txt new file mode 100644 index 000000000000..2f2e1a269722 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ti,fpdlink.txt @@ -0,0 +1,25 @@ +Binding for TI FPD-Link III Bridge driver + +Wrapper DRM Bridge driver for TI FPD-Link III Serializer and Deserializer + +Required properties: +- compatible: "ti,fpdlink" +- fpdlink-serializer-i2c-handle: i2c node for TI FPD-Link III serializer driver +- fpdlink-deserializer-i2c-handle: i2c node for TI FPD-Link III deserializer driver + + +Example: +-------- +fpdlink_lvds: fpdlink_bridge@0 { + status = "okay"; + compatible = "ti,fpdlink"; + fpdlink-serializer-i2c-handle = <&fpdlink_serializer_i2c0>; + fpdlink-deserializer-i2c-handle = <&fpdlink_deserializer_i2c0>; +}; + +consumer: { +... + fpdlink-bridge-handle = <&fpdlink_lvds>; +... +} +