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


Groups > linux.kernel > #1323191 > unrolled thread

[PATCH 0/2] clk: sunxi: Fix APBS clock for Allwinner A80

Started byChen-Yu Tsai <wens@csie.org>
First post2016-02-01 15:50 +0100
Last post2016-02-01 15:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] clk: sunxi: Fix APBS clock for Allwinner A80 Chen-Yu Tsai <wens@csie.org> - 2016-02-01 15:50 +0100

#1323191 — [PATCH 0/2] clk: sunxi: Fix APBS clock for Allwinner A80

FromChen-Yu Tsai <wens@csie.org>
Date2016-02-01 15:50 +0100
Subject[PATCH 0/2] clk: sunxi: Fix APBS clock for Allwinner A80
Message-ID<qXnXJ-4fD-41@gated-at.bofh.it>
Hi everyone,

When I did the A80 PRCM support, I failed to notice the A80's APBS clock
was not the same as the A23's APB0 clock. The former is a zero-based
divider, while the latter is a power-of-two divider. But the lowest 2
dividers are the same.

The hardware defaults to the lowest setting, or a /1 divider. Since the
child gates do not propagate clk_set_rate up, and no consumers here do
clk_set_rate, this actually works.

I realized my mistake while reviewing the A83T's PRCM patches. The A83T
shares the same PRCM clocks as the A80.


Regards
ChenYu


Chen-Yu Tsai (2):
  clk: sunxi: Add support for A80 APBS clock
  ARM: dts: sun9i: Fix apbs clock compatible

 Documentation/devicetree/bindings/clock/sunxi.txt |  1 +
 arch/arm/boot/dts/sun9i-a80.dtsi                  |  2 +-
 drivers/clk/sunxi/Makefile                        |  2 +-
 drivers/clk/sunxi/clk-sun9i-apbs.c                | 64 +++++++++++++++++++++++
 4 files changed, 67 insertions(+), 2 deletions(-)
 create mode 100644 drivers/clk/sunxi/clk-sun9i-apbs.c

-- 
2.7.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web