All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] sunxi: video: Add lvds support
Date: Wed, 07 Jan 2015 20:58:54 +0100	[thread overview]
Message-ID: <54AD8FFE.3000905@redhat.com> (raw)
In-Reply-To: <1420656971.11796.38.camel@hellion.org.uk>

Hi,

On 07-01-15 19:56, Ian Campbell wrote:
> On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede wrote:
>> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
>> index 8782394..fdb18a4 100644
>> --- a/board/sunxi/Kconfig
>> +++ b/board/sunxi/Kconfig
>> @@ -345,6 +345,20 @@ config VIDEO_LCD_BL_PWM
>>   	Set the backlight pwm pin for the LCD panel. This takes a string in the
>>   	format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
>>
>> +choice
>> +	prompt "LCD panel support"
>> +	depends on VIDEO
>> +	---help---
>> +	Select which type of LCD panel to support.
>> +
>> +config VIDEO_LCD_PANEL_PARALLEL
>> +	bool "Generic parallel interface LCD panel"
>
> I don't see any use of this choice, I suppose it is the #else case?

Right, it is the else case in the actual code (for now).

> Are there other (third) options for LCDs?

Yes, see the second patch in this series, and Sairhei has a tablet which
needs something similar (but different) to the second patch.

 > Or could this be reworded as a
> boolean rather than a choice? If it's to remain a choice I think it'd be
> better to have explicit #ifdef ..._PARALLEL rather than #else. Maybe an
> #else /* ..._PARALLEL */ style would be an ok compromise though.

I can make either change, looking at the original allwinner kernel code
I guess doing the #ifdef variant makes most sense. I'll respin this when
we know what to do wrt patch 2/3.

Regards,

Hans

  reply	other threads:[~2015-01-07 19:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-04 20:05 [U-Boot] [PATCH 1/3] sunxi: video: Add lvds support Hans de Goede
2015-01-04 20:05 ` [U-Boot] [PATCH 2/3] sunxi: video: Add support for Hitachi tx18d42vm LCD panels Hans de Goede
2015-01-07 18:59   ` Ian Campbell
2015-01-07 20:04     ` Hans de Goede
2015-01-08  8:33       ` Ian Campbell
2015-01-08  8:32   ` Ian Campbell
2015-01-08  8:39     ` Hans de Goede
2015-01-08  9:04       ` Ian Campbell
2015-01-04 20:05 ` [U-Boot] [PATCH 3/3] sunxi: Add new Chuwi V7 CW0825 board / defconfig Hans de Goede
2015-01-07 19:00   ` Ian Campbell
2015-01-07 18:56 ` [U-Boot] [PATCH 1/3] sunxi: video: Add lvds support Ian Campbell
2015-01-07 19:58   ` Hans de Goede [this message]
2015-01-08  8:36     ` Ian Campbell

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=54AD8FFE.3000905@redhat.com \
    --to=hdegoede@redhat.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.