U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jernej Škrabec" <jernej.skrabec@siol.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/4] sunxi: video: Add H3/H5 TV out driver
Date: Mon, 22 May 2017 20:49:57 +0200	[thread overview]
Message-ID: <1788634.MBnKLGEJxG@jernej-laptop> (raw)
In-Reply-To: <20170522073556.udeq6ov6io6ecnjr@flea.lan>

Hi Maxime,

Dne ponedeljek, 22. maj 2017 ob 09:35:56 CEST je Maxime Ripard napisal(a):
> On Fri, May 19, 2017 at 05:41:17PM +0200, Jernej Skrabec wrote:
> > This commit adds support for TV (composite) output.
> > 
> > Because there is no mechanism to select TV standard, PAL is
> > hardcoded.
> 
> I'd rather use a consistent mechanism with the old driver (even if we
> only support PAL right now and reject any other option), and using
> composite-pal as monitor.
> 

I have few arguments against that:

1. Code for parsing that env variable is in videomodes.[c|h], which is clearly 
a part of an older video framework (ctfb). I didn't want to include any legacy 
code.

2. Even if this code is used for parsing, it would bring a lot of confusion. 
For now, we can say that docs/README.video does not apply to H3 and newer 
SoCs. If we implement this only partially, we would need to describe in 
details which of each setting is honored with the new driver and which not. 
Even then, a lot of users would skip that description and complain anyway.

3. If anything is done in this direction, I think that it is better to extend 
DM video framework so other drivers would benefit from that work too.

Best regards,
Jernej

  reply	other threads:[~2017-05-22 18:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-19 15:41 [U-Boot] [PATCH v2 0/4] sunxi: video: Add support for TV (composite) output on H3/H5 Jernej Skrabec
2017-05-19 15:41 ` [U-Boot] [PATCH v2 1/4] sunxi: video: Rename tve.c to tve_common.c Jernej Skrabec
2017-05-22  7:31   ` Maxime Ripard
2017-05-22 20:26   ` Simon Glass
2017-06-02  8:52   ` Anatolij Gustschin
2017-05-19 15:41 ` [U-Boot] [PATCH v2 2/4] sunxi: Add base address for TV encoder Jernej Skrabec
2017-05-22  7:32   ` Maxime Ripard
2017-06-02  8:53   ` Anatolij Gustschin
2017-05-19 15:41 ` [U-Boot] [PATCH v2 3/4] sunxi: video: Add support for CSC and TVE to DE2 driver Jernej Skrabec
2017-05-22  7:32   ` Maxime Ripard
2017-05-22 20:26   ` Simon Glass
2017-06-02  8:53   ` Anatolij Gustschin
2017-05-19 15:41 ` [U-Boot] [PATCH v2 4/4] sunxi: video: Add H3/H5 TV out driver Jernej Skrabec
2017-05-22  7:35   ` Maxime Ripard
2017-05-22 18:49     ` Jernej Škrabec [this message]
2017-05-23 20:22       ` Maxime Ripard
2017-05-24 15:34         ` Jernej Škrabec
2017-05-30 20:41           ` Maxime Ripard
2017-06-01  3:11             ` Simon Glass
2017-06-01  7:38               ` Maxime Ripard

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=1788634.MBnKLGEJxG@jernej-laptop \
    --to=jernej.skrabec@siol.net \
    --cc=u-boot@lists.denx.de \
    /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