mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jean-Francois Moine <moinejf@free.fr>
To: Jens Kuske <jenskuske@gmail.com>
Cc: "Maxime Ripard" <maxime.ripard@free-electrons.com>,
	"Chen-Yu Tsai" <wens@csie.org>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Michael Turquette" <mturquette@baylibre.com>,
	"Stephen Boyd" <sboyd@codeaurora.org>,
	"Linus Walleij" <linus.walleij@linaro.org>,
	devicetree@vger.kernel.org,
	"Vishnu Patekar" <vishnupatekar0510@gmail.com>,
	"Emilio López" <emilio@elopez.com.ar>,
	"Reinder de Haan" <patchesrdh@mveas.com>,
	linux-kernel@vger.kernel.org,
	"Hans de Goede" <hdegoede@redhat.com>,
	linux-sunxi@googlegroups.com,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI
Date: Tue, 8 Dec 2015 09:06:58 +0100	[thread overview]
Message-ID: <20151208090658.e471fcde7fd5e79c69706115@free.fr> (raw)
In-Reply-To: <5665D38E.4050406@gmail.com>

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.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

  reply	other threads:[~2015-12-08  8:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04 21:24 [PATCH v5 0/4] ARM: sunxi: Allwinner H3 support Jens Kuske
2015-12-04 21:24 ` [PATCH v5 1/4] clk: sunxi: Add H3 clocks support Jens Kuske
2015-12-06  0:53   ` Rob Herring
2015-12-08  8:11   ` Maxime Ripard
2015-12-04 21:24 ` [PATCH v5 2/4] pinctrl: sunxi: Add H3 PIO controller support Jens Kuske
2015-12-06  0:54   ` Rob Herring
2015-12-07  9:23   ` Maxime Ripard
2015-12-11  9:15   ` Linus Walleij
2015-12-04 21:24 ` [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI Jens Kuske
2015-12-07  8:12   ` Jean-Francois Moine
2015-12-07 18:44     ` Jens Kuske
2015-12-08  8:06       ` Jean-Francois Moine [this message]
2015-12-08  8:32         ` Maxime Ripard
2015-12-08  9:19           ` Jean-Francois Moine
2015-12-08  8:28   ` Maxime Ripard
2015-12-04 21:24 ` [PATCH v5 4/4] ARM: dts: sun8i: Add Orange Pi Plus support Jens Kuske
2015-12-08  8:33   ` 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=20151208090658.e471fcde7fd5e79c69706115@free.fr \
    --to=moinejf@free.fr \
    --cc=devicetree@vger.kernel.org \
    --cc=emilio@elopez.com.ar \
    --cc=hdegoede@redhat.com \
    --cc=jenskuske@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=mturquette@baylibre.com \
    --cc=patchesrdh@mveas.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=vishnupatekar0510@gmail.com \
    --cc=wens@csie.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

all inboxes | Powered by JetHome®