All of lore.kernel.org
 help / color / mirror / Atom feed
From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] ARM: rockchip: provide the watchdog with a clock
Date: Wed, 21 Jan 2015 20:54:50 +0100	[thread overview]
Message-ID: <1736604.toH3biuFW2@phil> (raw)

The snps,dw-wdt needs to read the clock-rate of its supplying clock
for some operations. The clock itself is based on pclk_pd_alive
and is indeed gateable. The caveat is that the gate is living in the
so-called secure-GRF, which isn't even writeable in some boot-modes.

But to have an actual clock reference to the correct clock, implement
a fixed-factor clock, to be substituted when we can control the actual
gate safely.

Heiko Stuebner (3):
  clk: rockchip: add id for watchdog pclk on rk3288
  clk: rockchip: add a dummy clock for the watchdog pclk on rk3288
  ARM: dts: rockchip: add rk3288 watchdog clock

 arch/arm/boot/dts/rk3288.dtsi          | 1 +
 drivers/clk/rockchip/clk-rk3288.c      | 8 ++++++++
 include/dt-bindings/clock/rk3288-cru.h | 1 +
 3 files changed, 10 insertions(+)

-- 
2.1.1

             reply	other threads:[~2015-01-21 19:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-21 19:54 Heiko Stübner [this message]
2015-01-21 19:55 ` [PATCH 1/3] clk: rockchip: add id for watchdog pclk on rk3288 Heiko Stübner
2015-01-21 23:28   ` Doug Anderson
2015-01-21 19:56 ` [PATCH 2/3] clk: rockchip: add a dummy clock for the " Heiko Stübner
2015-01-21 23:30   ` Doug Anderson
2015-01-21 19:56 ` [PATCH 3/3] ARM: dts: rockchip: add rk3288 watchdog clock Heiko Stübner
2015-01-21 23:30   ` Doug Anderson
2015-01-28 10:15 ` [PATCH 0/3] ARM: rockchip: provide the watchdog with a clock Heiko Stübner

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=1736604.toH3biuFW2@phil \
    --to=heiko@sntech.de \
    --cc=linux-arm-kernel@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 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.