From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Maciej Purski <m.purski@samsung.com>
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
linux-samsung-soc@vger.kernel.org, b.zolnierkie@samsung.com,
krzk@kernel.org, robh+dt@kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2 1/2] drm/bridge: add Silicon Image SiI9234 driver
Date: Tue, 05 Sep 2017 18:05:53 +0300 [thread overview]
Message-ID: <1569224.pDUtqo7azG@avalon> (raw)
In-Reply-To: <b8df49d4-4636-f52e-c974-699a8a81872a@samsung.com>
Hi Maciej,
On Tuesday, 5 September 2017 16:01:54 EEST Maciej Purski wrote:
> Hi Laurent,
>
> Thank you for your reply. The problem was already discussed when adding
> sil8620 driver. It can be solved later. I'm CC-ing Andrzej Hajda, as he
> used to discuss it with you.
I'm afraid it can't be solved later. DT bindings are supposed to be a stable
ABI, we can't merge a binding that we already know isn't correct.
> https://patchwork.freedesktop.org/patch/114224/
> https://lists.freedesktop.org/archives/dri-devel/2015-December/096756.html
>
> Regards,
>
> Maciej
>
> On 31/08/17 15:30, Laurent Pinchart wrote:
> > Hi Maciej,
> >
> > Thank you for the patch.
> >
> > On Thursday, 31 August 2017 15:27:13 EEST Maciej Purski wrote:
> >> SiI9234 transmitter converts eTMDS/HDMI signal to MHL 1.0.
> >> It is controlled via I2C bus. Its interaction with other
> >> devices in video pipeline is performed mainly on HW level.
> >> The only interaction it does on device driver level is
> >> filtering-out unsupported video modes, it exposes drm_bridge
> >> interface to perform this operation.
> >>
> >> This patch is based on the code refactored by Tomasz Stanislawski
> >> <t.stanislaws@samsung.com>, which was initially developed by:
> >> Adam Hampson <ahampson@sta.samsung.com>
> >> Erik Gilling <konkers@android.com>
> >> Shankar Bandal <shankar.b@samsung.com>
> >> Dharam Kumar <dharam.kr@samsung.com>
> >>
> >> Signed-off-by: Maciej Purski <m.purski@samsung.com>
> >> ---
> >> Changes in v2:
> >> - use bulk_requlators instead of single one
> >> - substitute some of the magic values with macros
> >> - improve coding style
> >> - improved error handling in sii9234_probe()
> >> ---
> >>
> >> .../devicetree/bindings/display/bridge/sii9234.txt | 34 +
> >> drivers/gpu/drm/bridge/Kconfig | 8 +
> >> drivers/gpu/drm/bridge/Makefile | 1 +
> >> drivers/gpu/drm/bridge/sii9234.c | 993
> >> ++++++++++++++++++
> >> 4 files changed, 1036 insertions(+)
> >> create mode 100644
> >>
> >> Documentation/devicetree/bindings/display/bridge/sii9234.txt create mode
> >> 100644 drivers/gpu/drm/bridge/sii9234.c
> >>
> >> diff --git a/Documentation/devicetree/bindings/display/bridge/sii9234.txt
> >> b/Documentation/devicetree/bindings/display/bridge/sii9234.txt new file
> >> mode 100644
> >> index 0000000..3ce7413
> >> --- /dev/null
> >> +++ b/Documentation/devicetree/bindings/display/bridge/sii9234.txt
> >> @@ -0,0 +1,34 @@
> >> +Silicon Image SiI9234 HDMI/MHL bridge bindings
> >> +
> >> +Required properties:
> >> + - compatible : "sil,sii9234".
> >> + - reg : I2C address for TPI interface, use 0x39
> >> + - avcc33-supply : MHL/USB Switch Supply Voltage (3.3V)
> >> + - iovcc18-supply : I/O Supply Voltage (1.8V)
> >> + - avcc12-supply : TMDS Analog Supply Voltage (1.2V)
> >> + - cvcc12-supply : Digital Core Supply Voltage (1.2V)
> >> + - interrupts, interrupt-parent: interrupt specifier of INT pin
> >> + - reset-gpios: gpio specifier of RESET pin (active low)
> >> + - video interfaces: Device node can contain video interface port
> >> + node for HDMI encoder according to [1].
> >> +
> >> +[1]: Documentation/devicetree/bindings/media/video-interfaces.txt
> >
> > Doesn't this chip have two ports, one input connected to the SoC and one
> > output connected to an HDMI connector ? If so there should be two ports in
> > DT too.
> >
> >> +Example:
> >> + sii9234@39 {
> >> + compatible = "sil,sii9234";
> >> + reg = <0x39>;
> >> + avcc33-supply = <&vcc33mhl>;
> >> + iovcc18-supply = <&vcc18mhl>;
> >> + avcc12-supply = <&vsil12>;
> >> + cvcc12-supply = <&vsil12>;
> >> + reset-gpios = <&gpf3 4 GPIO_ACTIVE_LOW>;
> >> + interrupt-parent = <&gpf3>;
> >> + interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
> >> +
> >> + port {
> >> + mhl_to_hdmi: endpoint {
> >> + remote-endpoint = <&hdmi_to_mhl>;
> >
> > It would be useful to include the remote DT nodes in the example too.
> >
> >> + };
> >> + };
> >> + };
--
Regards,
Laurent Pinchart
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-09-05 15:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20170831122739eucas1p28d982b573367f22209c926a57351e69a@eucas1p2.samsung.com>
2017-08-31 12:27 ` [PATCH v2 0/2] add Silicon Image SiI9234 driver Maciej Purski
[not found] ` <CGME20170831122745eucas1p27a178da2e30023292c57653a8dc45813@eucas1p2.samsung.com>
2017-08-31 12:27 ` [PATCH v2 1/2] drm/bridge: " Maciej Purski
2017-08-31 13:30 ` Laurent Pinchart
2017-09-05 13:01 ` Maciej Purski
2017-09-05 15:05 ` Laurent Pinchart [this message]
2017-09-07 8:09 ` Andrzej Hajda
[not found] ` <CGME20170831122749eucas1p2c6712236398e8c19a5eb24641bb0020b@eucas1p2.samsung.com>
[not found] ` <1504182434-8201-1-git-send-email-m.purski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2017-08-31 12:27 ` [PATCH v2 2/2] ARM: dts: exynos: Add HDMI and Sil9234 to Trats2 board Maciej Purski
2017-08-31 19:36 ` Krzysztof Kozlowski
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=1569224.pDUtqo7azG@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=b.zolnierkie@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzk@kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.purski@samsung.com \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
/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).