From patchwork Fri Oct 4 19:09:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 11175721 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0308B1747 for ; Sat, 5 Oct 2019 16:37:48 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DEE72222C8 for ; Sat, 5 Oct 2019 16:37:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DEE72222C8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=fpond.eu Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BE44D6E397; Sat, 5 Oct 2019 16:37:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mo6-p02-ob.smtp.rzone.de (mo6-p02-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5302::5]) by gabe.freedesktop.org (Postfix) with ESMTPS id F22436EC1C for ; Fri, 4 Oct 2019 19:09:50 +0000 (UTC) X-RZG-AUTH: ":OWANVUa4dPFUgKR/3dpvnYP0Np73dmm4I5W0/AvA67Ot4fvR82tdd3x2KJk=" X-RZG-CLASS-ID: mo00 Received: from groucho.site by smtp.strato.de (RZmta 44.28.0 DYNA|AUTH) with ESMTPSA id i07086v94J9EcdY (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Fri, 4 Oct 2019 21:09:14 +0200 (CEST) From: Ulrich Hecht To: linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org, jitao.shi@mediatek.com Subject: [PATCH v19 1/2] Documentation: bridge: Add documentation for ps8640 DT properties Date: Fri, 4 Oct 2019 21:09:07 +0200 Message-Id: <1570216148-22802-2-git-send-email-uli@fpond.eu> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570216148-22802-1-git-send-email-uli@fpond.eu> References: <1570216148-22802-1-git-send-email-uli@fpond.eu> X-Mailman-Approved-At: Sat, 05 Oct 2019 16:37:28 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1570216188; s=strato-dkim-0002; d=fpond.eu; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=e7Uk4dL2nxqLZgp4qDJcGqjX0Y1/EQyvkzzozndC2zk=; b=Mo5QRe8m3PQhXtkOXr9D44dxLZxQ4qCHwZdfB84BHn2QucBRA7QSfdiC17bj1rNfXd m11ByT4dxJxOsM6NP6qStAznIhbKWo97zQeUXgzbZc9vsPXkQ4SiTK0OgN9qQ9THQPFj DFBTEFnmy4w6TugtWzrWScSfFWGcz826XR6wLd2ZzVWHDyz8MLZ9+6eyVNJ1k6e1yXWo wERQVi80K96/SSFxnovF/f8ODD9GhQIQvPik6bOG0U/f/VWqMPmaoUmfTsAyjqAP44oY R/e2DbxmaPAsqjDjMU8HGOLMuT2Py/mbc/bhwK9htd1C/gZGFdqHNrZ0CneJ0bWX9IO3 pTAQ== 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@arm.com, Ulrich Hecht , stonea168@163.com, ajaykumar.rs@samsung.com, architt@codeaurora.org, vpalatin@chromium.org, cawa.cheng@mediatek.com, yingjoe.chen@mediatek.com, devicetree@vger.kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, robh+dt@kernel.org, seanpaul@chromium.org, matthias.bgg@gmail.com, eddie.huang@mediatek.com, rahul.sharma@samsung.com, kernel@pengutronix.de, galak@codeaurora.org, enric.balletbo@collabora.com, andy.yan@rock-chips.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Jitao Shi Add documentation for DT properties supported by ps8640 DSI-eDP converter. Signed-off-by: Jitao Shi Acked-by: Rob Herring Reviewed-by: Philipp Zabel Signed-off-by: Ulrich Hecht --- Changes since v18: - No change. Changes since v17: - No change. Changes since v16: - No change. Changes since v15: - No change. Changes since v14: - change mode-sel-gpios as optional. .../devicetree/bindings/display/bridge/ps8640.txt | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/ps8640.txt diff --git a/Documentation/devicetree/bindings/display/bridge/ps8640.txt b/Documentation/devicetree/bindings/display/bridge/ps8640.txt new file mode 100644 index 0000000..7b13f92 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ps8640.txt @@ -0,0 +1,44 @@ +ps8640-bridge bindings + +Required properties: + - compatible: "parade,ps8640" + - reg: first page address of the bridge. + - sleep-gpios: OF device-tree gpio specification for PD pin. + - reset-gpios: OF device-tree gpio specification for reset pin. + - vdd12-supply: OF device-tree regulator specification for 1.2V power. + - vdd33-supply: OF device-tree regulator specification for 3.3V power. + - ports: The device node can contain video interface port nodes per + the video-interfaces bind[1]. For port@0,set the reg = <0> as + ps8640 dsi in and port@1,set the reg = <1> as ps8640 eDP out. + +Optional properties: + - mode-sel-gpios: OF device-tree gpio specification for mode-sel pin. +[1]: Documentation/devicetree/bindings/media/video-interfaces.txt + +Example: + edp-bridge@18 { + compatible = "parade,ps8640"; + reg = <0x18>; + sleep-gpios = <&pio 116 GPIO_ACTIVE_LOW>; + reset-gpios = <&pio 115 GPIO_ACTIVE_LOW>; + mode-sel-gpios = <&pio 92 GPIO_ACTIVE_HIGH>; + vdd12-supply = <&ps8640_fixed_1v2>; + vdd33-supply = <&mt6397_vgp2_reg>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + ps8640_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + port@1 { + reg = <1>; + ps8640_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; + };