U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Rae <srae@broadcom.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/4] arm: bcm235xx: fix kps ccu
Date: Tue, 21 Jun 2016 16:43:06 -0700	[thread overview]
Message-ID: <1466552587-9953-4-git-send-email-srae@broadcom.com> (raw)
In-Reply-To: <1466552587-9953-1-git-send-email-srae@broadcom.com>

From: Chris Brand <chris.brand@broadcom.com>

The Kona Peripheral Slave CCU has 4 policy mask registers, not 8.

Signed-off-by: Chris Brand <chris.brand@broadcom.com>
Signed-off-by: Steve Rae <srae@broadcom.com>
---

 arch/arm/cpu/armv7/bcm235xx/clk-bcm235xx.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/arch/arm/cpu/armv7/bcm235xx/clk-bcm235xx.c b/arch/arm/cpu/armv7/bcm235xx/clk-bcm235xx.c
index ce3d019..80187e3 100644
--- a/arch/arm/cpu/armv7/bcm235xx/clk-bcm235xx.c
+++ b/arch/arm/cpu/armv7/bcm235xx/clk-bcm235xx.c
@@ -292,7 +292,7 @@ static struct ccu_clock kps_ccu_clk = {
 		.ops = &ccu_clk_ops,
 		.ccu_clk_mgr_base = KONA_SLV_CLK_BASE_ADDR,
 	},
-	.num_policy_masks = 2,
+	.num_policy_masks = 1,
 	.policy_freq_offset = 0x00000008,
 	.freq_bit_shift = 8,
 	.policy_ctl_offset = 0x0000000c,
@@ -300,10 +300,6 @@ static struct ccu_clock kps_ccu_clk = {
 	.policy1_mask_offset = 0x00000014,
 	.policy2_mask_offset = 0x00000018,
 	.policy3_mask_offset = 0x0000001c,
-	.policy0_mask2_offset = 0x00000048,
-	.policy1_mask2_offset = 0x0000004c,
-	.policy2_mask2_offset = 0x00000050,
-	.policy3_mask2_offset = 0x00000054,
 	.lvm_en_offset = 0x00000034,
 	.freq_id = 2,
 	.freq_tbl = slave_axi_freq_tbl,
-- 
1.8.5

  parent reply	other threads:[~2016-06-21 23:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21 23:43 [U-Boot] [PATCH 0/4] This series contains minor updates for the bcm23550: Steve Rae
2016-06-21 23:43 ` [U-Boot] [PATCH 1/4] arm: bcm235xx: choose 8-bit phy bus width Steve Rae
2016-06-25  2:53   ` [U-Boot] [U-Boot, " Tom Rini
2016-06-21 23:43 ` [U-Boot] [PATCH 2/4] arm: bcm235xx: implement the boot0 hook code Steve Rae
2016-06-25  2:53   ` [U-Boot] [U-Boot, " Tom Rini
2016-06-21 23:43 ` Steve Rae [this message]
2016-06-25  2:53   ` [U-Boot] [U-Boot,3/4] arm: bcm235xx: fix kps ccu Tom Rini
2016-06-21 23:43 ` [U-Boot] [PATCH 4/4] arm: bcm235xx: update clock framework Steve Rae
2016-06-25  2:53   ` [U-Boot] [U-Boot,4/4] " Tom Rini

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=1466552587-9953-4-git-send-email-srae@broadcom.com \
    --to=srae@broadcom.com \
    --cc=u-boot@lists.denx.de \
    /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