Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1286325

Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI

From Maxime Ripard <maxime.ripard@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI
Date 2015-12-08 09:40 +0100
Message-ID <qDlYu-8lR-29@gated-at.bofh.it> (permalink)
References <qC65r-851-5@gated-at.bofh.it> <qC65s-851-21@gated-at.bofh.it> <qCZbA-1Xo-1@gated-at.bofh.it> <qD91g-8hb-13@gated-at.bofh.it> <qDlvs-89i-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Dec 08, 2015 at 09:06:58AM +0100, Jean-Francois Moine wrote:
> On Mon, 7 Dec 2015 19:44:30 +0100
> Jens Kuske <jenskuske@gmail.com> wrote:
> 
> > >> +					     "bus_lcd0", "bus_lcd1", "bus_deint",
> > 
> > > 	"bus_tcon0", "bus_tcon1", "bus_deint",
> > > 
> > > (the tcon1 clock is used by both lcd0 and lcd1, while
> > >  the tcon0 clock is used for TV output from lcd1)
> > 
> > Hi,
> > 
> > These are only the ahb bus gates, not the module clocks.
> > Naming them lcd might be a bit confusing, but it follows the naming we
> > used since sun4i. And the tcon modules are still called lcd0 and lcd1
> > module in the manual too.
> 
> There is no reference to TCON0 in the LCDs registers (H3 V1.1 pages 428
> and 435), only TCON1.
> 
> > Interestingly there is only a tcon0 module clock in the manual and no
> > tcon1, but that is not part of this patch.
> 
> Well, I looked again in the 3.4 kernel and, for the LCD0/HDMI, there is
> no clock setting for TCON1: it just receives the AHB1 clock.
> 
> This means that its gate ("bus_lcd1" or "ahb1_tcon1") must be enabled
> when streaming on LCD0 or LCD1.
> 
> The role of tcon0 is not yet clear to me, but it seems that its clock
> is the streaming clock for LCD1/TV, as the HDMI clock is for LCD0/HDMI.

If the H3 display block is done the same way than the A10 (and later)
one on this aspect, then the TCON has two channels with two different
streaming (or functional, you pick the name) clocks. The channel 0 is
usually used for RGB, the channel 1 for HDMI, composite and VGA.

Maybe they just added different bus gates for those two different
channels, and moved HDMI to the channel 0.

Anyway, that can always be changed later on if we have more clue on
what's going on.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/4] ARM: sunxi: Allwinner H3 support Jens Kuske <jenskuske@gmail.com> - 2015-12-04 22:30 +0100
  [PATCH v5 4/4] ARM: dts: sun8i: Add Orange Pi Plus support Jens Kuske <jenskuske@gmail.com> - 2015-12-04 22:30 +0100
    Re: [PATCH v5 4/4] ARM: dts: sun8i: Add Orange Pi Plus support Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-12-08 09:40 +0100
  [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI Jens Kuske <jenskuske@gmail.com> - 2015-12-04 22:30 +0100
    Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI Jean-Francois Moine <moinejf@free.fr> - 2015-12-07 09:20 +0100
      Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI Jens Kuske <jenskuske@gmail.com> - 2015-12-07 19:50 +0100
        Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI Jean-Francois Moine <moinejf@free.fr> - 2015-12-08 09:10 +0100
          Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-12-08 09:40 +0100
            Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI Jean-Francois Moine <moinejf@free.fr> - 2015-12-08 10:30 +0100
    Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-12-08 09:30 +0100
  [PATCH v5 2/4] pinctrl: sunxi: Add H3 PIO controller support Jens Kuske <jenskuske@gmail.com> - 2015-12-04 22:30 +0100
    Re: [PATCH v5 2/4] pinctrl: sunxi: Add H3 PIO controller support Rob Herring <robh@kernel.org> - 2015-12-06 02:00 +0100
    Re: [PATCH v5 2/4] pinctrl: sunxi: Add H3 PIO controller support Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-12-07 10:30 +0100
    Re: [PATCH v5 2/4] pinctrl: sunxi: Add H3 PIO controller support Linus Walleij <linus.walleij@linaro.org> - 2015-12-11 10:20 +0100

csiph-web