From patchwork Tue Jun 21 23:43:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Rae X-Patchwork-Id: 638916 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3rZ47l6qgwz9sxb for ; Wed, 22 Jun 2016 09:44:19 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.b=F0yPLhZW; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EF1D2A7534; Wed, 22 Jun 2016 01:44:17 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y4ANPhGtxKxh; Wed, 22 Jun 2016 01:44:17 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6C6B9A74F1; Wed, 22 Jun 2016 01:44:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6932EA7517 for ; Wed, 22 Jun 2016 01:44:14 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sVMYTYaiDKVH for ; Wed, 22 Jun 2016 01:44:14 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by theia.denx.de (Postfix) with ESMTPS id 2C2ECA74F1 for ; Wed, 22 Jun 2016 01:44:08 +0200 (CEST) Received: by mail-pa0-f46.google.com with SMTP id wo6so10672718pac.3 for ; Tue, 21 Jun 2016 16:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TuvTY8QLYrY5y9CiUA2koJH6NW3Qk8MpNgsSxbqrI1Y=; b=F0yPLhZWAB0Md5iP4sY5S5MBn4TTZNmza6LMzfItPZXlye0tdJCEEzN8qsWNkQwjfD Bzjhn/id5lIfiCYEzxJLjgK9s73ogtO6pmBExKEn0UjT0410nTD6SyvNLHICwRyT4/Fy ZmafYAL8qK1TiSfFQ6SvxjfrqClNuZFrJe7Lo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TuvTY8QLYrY5y9CiUA2koJH6NW3Qk8MpNgsSxbqrI1Y=; b=AN2nNcEiPUWRTOXptgiP8uYBkU8M+Wjnl6ySHX3U6t1P7ScdmYD+8SluQz/u+kKqa7 2WWBAXxF7zKibOnGuJRO73Yrz/aPX3OjuRxFcblSP0SJoZ2edgn5vWgCHqvA7iENj2u4 6oc4cSkssRjEaPnAce8MtGIloSA0P94PQhksxJ/99AV3YxztYp3oJT1jlQQG2zEEcHHJ dqbYFSMyXVDjBLdPzrrOa+uVlM9CFxuagnYoBWs6wAVHyGAWlGzgejd3V1EF/HbcNKfN CGJTskjqGn5llfGPuhRys4NqCaJpAnBdyIFNgMF8eqX9lioyO26lAzL0XQGJEg9Z44RL UUFg== X-Gm-Message-State: ALyK8tK2d7pgG9wtWrUOFYlLsg0m9LYXOMrN57+eQNg/nE+T1o4ts/xgYfvQgOmQHnMGVtm7 X-Received: by 10.66.255.102 with SMTP id ap6mr31020572pad.2.1466552646373; Tue, 21 Jun 2016 16:44:06 -0700 (PDT) Received: from VM-host64-64-A1.ric.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id 69sm58427246pfc.90.2016.06.21.16.44.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jun 2016 16:44:05 -0700 (PDT) From: Steve Rae To: u-boot@lists.denx.de Date: Tue, 21 Jun 2016 16:43:06 -0700 Message-Id: <1466552587-9953-4-git-send-email-srae@broadcom.com> X-Mailer: git-send-email 1.8.5 In-Reply-To: <1466552587-9953-1-git-send-email-srae@broadcom.com> References: <1466552587-9953-1-git-send-email-srae@broadcom.com> Cc: Steve Rae , Tom Rini , Chris Brand Subject: [U-Boot] [PATCH 3/4] arm: bcm235xx: fix kps ccu X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Chris Brand The Kona Peripheral Slave CCU has 4 policy mask registers, not 8. Signed-off-by: Chris Brand Signed-off-by: Steve Rae --- 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,