From patchwork Fri Nov 8 10:14:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3157351 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9367C9F3C4 for ; Fri, 8 Nov 2013 10:17:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ED8B6202C3 for ; Fri, 8 Nov 2013 10:17:06 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2FDAF202F8 for ; Fri, 8 Nov 2013 10:17:02 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vej76-0006ij-Jc; Fri, 08 Nov 2013 10:16:28 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vej71-00081W-PS; Fri, 08 Nov 2013 10:16:23 +0000 Received: from mail-pb0-f48.google.com ([209.85.160.48]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vej6s-0007z7-P5 for linux-arm-kernel@lists.infradead.org; Fri, 08 Nov 2013 10:16:15 +0000 Received: by mail-pb0-f48.google.com with SMTP id mc8so1945422pbc.21 for ; Fri, 08 Nov 2013 02:15:53 -0800 (PST) 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=eitFrbhQbyqbFAyRUNJSA7KwllOJmruAVzQ3b2W9/ec=; b=MXLzh0LGhp4KY2JQwW/hn/bFi6sxnpWGxs//Z3boYVEssdIw63CZVLuRBUQMlspftR 7dj5SDdhsiAFKjXQEC6sUjlC7ADcYXqHA6a7NUeuY1f7qsxfAVP4+OBU5I1ACbfjfPVs nd2LnifAt8F/Nt8aVF1ekWudl5YD+sm/mKOROnxqWTt50ucdUVzDlTo7xsHligPbPIu0 dof1Lg2qyMBsgf9Uan8JzaVnh+8pUW9fl5vPcMZFbHYgfQpanZ0EFPTdNZshS4XY2Zba bcKJlc9XBzou78LibiWPAsnA4xnMDdCgful/E/wQ0RLJ2WWZHVSrMGsWsXp03dtKaSxy BxrQ== X-Gm-Message-State: ALoCoQkwkB8o1KTw5vhpHPbe/dEPTS3GQvRQQLH9XALcEZxJX9NCo9UmbHKRm/zU3eGZDikZsl60 X-Received: by 10.66.171.13 with SMTP id aq13mr14864815pac.30.1383905753295; Fri, 08 Nov 2013 02:15:53 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id dq3sm11009204pbc.35.2013.11.08.02.15.50 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Nov 2013 02:15:52 -0800 (PST) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] clk: exynos5250: fix sysmmu_mfc{l,r} gate clocks Date: Fri, 8 Nov 2013 15:44:07 +0530 Message-Id: <1383905648-23733-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1383905648-23733-1-git-send-email-sachin.kamat@linaro.org> References: <1383905648-23733-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131108_051614_947600_3D91DD22 X-CRM114-Status: GOOD ( 10.59 ) X-Spam-Score: -2.6 (--) Cc: sachin.kamat@linaro.org, Andrew Bresticker , t.figa@samsung.com, linux-samsung-soc@vger.kernel.org, mturquette@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Andrew Bresticker The gate clocks for the MFC sysmmus appear to be flipped, i.e. GATE_IP_MFC[2] gates sysmmu_mfcl and GATE_IP_MFC[1] gates sysmmu_mfcr. Fix this so that the MFC will start up. Signed-off-by: Andrew Bresticker Signed-off-by: Sachin Kamat Reviewed-by: Tomasz Figa --- drivers/clk/samsung/clk-exynos5250.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exynos5250.c index 6767635dc895..986464c2339a 100644 --- a/drivers/clk/samsung/clk-exynos5250.c +++ b/drivers/clk/samsung/clk-exynos5250.c @@ -562,8 +562,8 @@ static struct samsung_gate_clock exynos5250_gate_clks[] __initdata = { GATE(hdmi, "hdmi", "mout_aclk200_disp1_sub", GATE_IP_DISP1, 6, 0, 0), GATE(mfc, "mfc", "mout_aclk333_sub", GATE_IP_MFC, 0, 0, 0), - GATE(smmu_mfcl, "smmu_mfcl", "mout_aclk333_sub", GATE_IP_MFC, 1, 0, 0), - GATE(smmu_mfcr, "smmu_mfcr", "mout_aclk333_sub", GATE_IP_MFC, 2, 0, 0), + GATE(smmu_mfcl, "smmu_mfcl", "mout_aclk333_sub", GATE_IP_MFC, 2, 0, 0), + GATE(smmu_mfcr, "smmu_mfcr", "mout_aclk333_sub", GATE_IP_MFC, 1, 0, 0), GATE(rotator, "rotator", "div_aclk266", GATE_IP_GEN, 1, 0, 0), GATE(jpeg, "jpeg", "div_aclk166", GATE_IP_GEN, 2, 0, 0),