mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Neil Armstrong <narmstrong@baylibre.com>
To: Xin Ji <xji@analogixsemi.com>,
	"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Andrzej Hajda <a.hajda@samsung.com>
Cc: 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: Re: [PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding
Date: Thu, 19 Sep 2019 08:57:12 +0200	[thread overview]
Message-ID: <446ff66c-8097-fca8-8371-9223679f16bb@baylibre.com> (raw)
In-Reply-To: <e41d10504b7d1e977a1f53663c287e4e7d53011a.1568858880.git.xji@analogixsemi.com>

Hi,

On 19/09/2019 08:55, Xin Ji wrote:
> 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)
> +-----------------------------------------------

New bindings should use yaml format:
https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/example-schema.yaml

Neil

> +
> +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";
> +	};
> 


  reply	other threads:[~2019-09-19  6:57 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 ` [PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Xin Ji
2019-09-19  6:57   ` Neil Armstrong [this message]
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=446ff66c-8097-fca8-8371-9223679f16bb@baylibre.com \
    --to=narmstrong@baylibre.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=span@analogixsemi.com \
    --cc=xji@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

all inboxes | Powered by JetHome®