From: narmstrong@baylibre.com (Neil Armstrong)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 0/3] Meson8/Meson8b: introduce a HHI syscon node
Date: Mon, 23 Jul 2018 09:55:25 +0200 [thread overview]
Message-ID: <833b569b-3e25-feac-6110-a837c0b13bfa@baylibre.com> (raw)
In-Reply-To: <20180721192846.18811-1-martin.blumenstingl@googlemail.com>
On 21/07/2018 21:28, Martin Blumenstingl wrote:
> The Meson8/Meson8b/Meson8m2 SoCs are suffering from a similar problem
> as the GXBB/GXL/GXM SoCs (see the GX series from Jerome: [0]):
> There is a register area called "HHI" which is used for multiple IP
> blocks of the SoC:
> - the system clock controller
> - a few reset lines (there is a separate reset controller, these reset
> lines are not part of the other reset controller). this reset
> controller is currently implemented in the clock controller driver
> - a HDMI controller
> - temperature sensor calibration data (by "data" I really mean data,
> the ADC driver has four bits for the TSC data in it's own register
> space, however on Meson8b and Meson8m2 there is a fifth TSC bit which
> is stored in the HHI register area)
>
> The first three could be implemented with a single node (either in one
> big driver, or using a MFD driver which would register function-
> specific drivers).
> However, the TSC data is a big problem, because the ADC has it's own
> set of registers but needs to write one bit in the HHI register area.
>
> NOTE: this series has multiple dependencies:
> - the clock controller changes depend "meson8b: add the CPU_DIV16 clock
> for the ARM TWD" as well as "meson8b: register the clock controller
> early" [2]
> - the dts changes depend on "fix clock controller register size on
> Meson8/Meson8b" [3]
>
>
> [0] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006733.html
> [1] http://lists.infradead.org/pipermail/linux-amlogic/2018-July/007890.html
> [2] http://lists.infradead.org/pipermail/linux-amlogic/2018-July/007900.html
> [3] http://lists.infradead.org/pipermail/linux-amlogic/2018-July/007897.html
>
>
> Martin Blumenstingl (3):
> dt-bindings: clock: meson8b: use the registers from the HHI syscon
> clk: meson: meson8b: use the HHI syscon if available
> ARM: dts: meson: switch the clock controller to the HHI register area
>
> .../bindings/clock/amlogic,meson8b-clkc.txt | 13 ++++------
> arch/arm/boot/dts/meson.dtsi | 5 ++++
> arch/arm/boot/dts/meson8.dtsi | 15 ++++++------
> arch/arm/boot/dts/meson8b.dtsi | 15 ++++++------
> drivers/clk/meson/meson8b.c | 24 ++++++++++++-------
> 5 files changed, 41 insertions(+), 31 deletions(-)
>
For the whole serie, it follow the same switch as GX so :
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
prev parent reply other threads:[~2018-07-23 7:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-21 19:28 Martin Blumenstingl
2018-07-21 19:28 ` [PATCH 1/3] dt-bindings: clock: meson8b: use the registers from the HHI syscon Martin Blumenstingl
2018-07-25 20:07 ` Rob Herring
2018-07-25 21:16 ` Martin Blumenstingl
2018-07-26 7:32 ` Neil Armstrong
2018-08-12 18:35 ` Martin Blumenstingl
2018-08-31 17:39 ` Stephen Boyd
2018-09-04 12:08 ` Jerome Brunet
2018-07-21 19:28 ` [PATCH 2/3] clk: meson: meson8b: use the HHI syscon if available Martin Blumenstingl
2018-07-21 19:28 ` [PATCH 3/3] ARM: dts: meson: switch the clock controller to the HHI register area Martin Blumenstingl
2018-07-23 7:55 ` Neil Armstrong [this message]
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=833b569b-3e25-feac-6110-a837c0b13bfa@baylibre.com \
--to=narmstrong@baylibre.com \
--cc=linus-amlogic@lists.infradead.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®