linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Xin Ji <xji@analogixsemi.com>
To: "devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Andrzej Hajda <a.hajda@samsung.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>,
	Jonas Karlman <jonas@kwiboo.se>,
	Jernej Skrabec <jernej.skrabec@siol.net>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Sheng Pan <span@analogixsemi.com>
Subject: [PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding
Date: Thu, 19 Sep 2019 06:55:01 +0000	[thread overview]
Message-ID: <e41d10504b7d1e977a1f53663c287e4e7d53011a.1568858880.git.xji@analogixsemi.com> (raw)
In-Reply-To: <cover.1568858880.git.xji@analogixsemi.com>

The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed
for portable device. It converts MIPI to DisplayPort 1.3 4K.

You can add support to your board with binding.

Example:
	anx_bridge: anx7625@58 {
		compatible = "analogix,anx7625";
		reg = <0x58>;
		anx,low_power_mode = <1>;
		anx,dsi_supported = <1>;
		anx,dsi_channel = <1>;
		anx,dsi_lanes = <4>;
		anx,internal_pannel = <1>;
		anx,p-on-gpio = <&gpio0 45 GPIO_ACTIVE_LOW>;
		anx,reset-gpio = <&gpio0 73 GPIO_ACTIVE_LOW>;
		status = "okay";
		port {
			anx7625_1_in: endpoint {
				remote-endpoint = <&mipi_dsi_bridge_1>;
			};
		};
	};

Signed-off-by: Xin Ji <xji@analogixsemi.com>
---
 .../devicetree/bindings/display/bridge/anx7625.txt | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/anx7625.txt

diff --git a/Documentation/devicetree/bindings/display/bridge/anx7625.txt b/Documentation/devicetree/bindings/display/bridge/anx7625.txt
new file mode 100644
index 0000000..f2a1c2a
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/anx7625.txt
@@ -0,0 +1,42 @@
+Analogix ANX7625 SlimPort (4K Mobile HD Transmitter)
+-----------------------------------------------
+
+The ANX7625 is an ultra-low power 4K Mobile HD Transmitter
+designed for portable devices.
+
+Required properties:
+
+ - compatible		: "analogix,anx7625"
+ - reg			: I2C address of the device
+ - anx,low_power_mode	: Low power mode support feature
+ - anx,dsi_supported	: DSI or DPI
+ - anx,dsi_channel	: DSI channel index
+ - anx,dsi_lanes	: DSI lane count
+ - anx,intr-hpd-gpio	: Which GPIO to use for interrupt
+
+Optional properties:
+
+ - anx,extcon_supported
+	external connector interface support flag
+ - anx,internal_pannel
+	Which indicate internal pannel
+ - anx,p-on-gpio
+	Which GPIO to use for Power On chip
+ - anx,reset-gpio
+	Which GPIO to use for RESET
+ - port
+	SoC specific port nodes with endpoint definitions as defined in
+	Documentation/devicetree/bindings/media/video-interfaces.txt,
+
+Example:
+
+	anx_bridge: anx7625@58 {
+		compatible = "analogix,anx7625";
+		reg = <0x58>;
+		anx,low_power_mode = <0>;
+		anx,dsi_supported = <1>;
+		anx,dsi_channel = <1>;
+		anx,dsi_lanes = <4>;
+		anx,intr-hpd-gpio = <&gpio1 19 IRQ_TYPE_LEVEL_LOW>;
+		status = "okay";
+	};
-- 
2.7.4


  reply	other threads:[~2019-09-19  6:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-19  6:51 [PATCH v1 0/2] Add initial support for slimport anx7625 Xin Ji
2019-09-19  6:55 ` Xin Ji [this message]
2019-09-19  6:57   ` [PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Neil Armstrong
2019-09-19 10:51     ` Xin Ji
2019-09-19  6:56 ` [PATCH v1 0/2] Add initial support for slimport anx7625 Neil Armstrong
2019-09-19 10:48   ` Xin Ji
2019-09-19  6:58 ` [PATCH v1 2/2] drm/bridge: anx7625: Add anx7625 MIPI to DP bridge driver Xin Ji
2019-09-21 14:30   ` kbuild test robot
2019-09-20  6:09 [PATCH v1 0/2] Add initial support for slimport anx7625 Xin Ji
2019-09-20  6:05 ` [PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Xin Ji
2019-09-20  9:46   ` Laurent Pinchart
2019-09-23  3:55     ` Xin Ji
2019-09-23  9:06 [PATCH v1 0/2] Add initial support for slimport anx7625 Xin Ji
2019-09-23  9:07 ` [PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Xin Ji

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e41d10504b7d1e977a1f53663c287e4e7d53011a.1568858880.git.xji@analogixsemi.com \
    --to=xji@analogixsemi.com \
    --cc=a.hajda@samsung.com \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=devel@driverdev.osuosl.org \
    --cc=jernej.skrabec@siol.net \
    --cc=jonas@kwiboo.se \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=narmstrong@baylibre.com \
    --cc=span@analogixsemi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).