From patchwork Tue Sep 16 11:54:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 37445 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 18A5B2057E for ; Tue, 16 Sep 2014 11:55:12 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id t10sf3165112eei.8 for ; Tue, 16 Sep 2014 04:55:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Yn3g/9mGL0/qOBhMKysj0mVoNsuyQAiodfjTHtRVmoc=; b=WES5bh+UzGPykKKbVw4KI0ZROswVhqeusAs4q13U7xNT4w4/41OxzKjydlczDJu5nF /LucrKwkXmnSdX8hCEDWGlMyLHMCfy6qw12zIMEf0tORVO4obbLnFrWQqTPQ/bMKpic6 vuSD9rFmqU1oi5LiAGN3xTrigzYe11kzd+PZ4LzXRdvNeBF3KwbSfhDb4BRZzqSjXV7S gfrP9s3wWVX6OuOKRXJ8IdzHmzcjf+mcibk70RSkZvXHyKBU7YhjxlIeIq7Ju2rCoKkF DFnxdCIim9MVwLwYEpkoRxJ3c4t7Vv2bNf/vwulOfXufARXcwcIo0spvz8O6RdKsrR/h i/hw== X-Gm-Message-State: ALoCoQluIfcN3UeaTmU0guRFXpsIv7+JcHzugRXl1sbXVFwunTC52UGGa9zvrvhgpdJTjMF/thVv X-Received: by 10.112.64.35 with SMTP id l3mr406264lbs.12.1410868511049; Tue, 16 Sep 2014 04:55:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.9 with SMTP id o9ls415388lao.97.gmail; Tue, 16 Sep 2014 04:55:10 -0700 (PDT) X-Received: by 10.152.2.41 with SMTP id 9mr11198214lar.79.1410868510945; Tue, 16 Sep 2014 04:55:10 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx.google.com with ESMTPS id mt6si12300669lbb.137.2014.09.16.04.55.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Sep 2014 04:55:10 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id 10so6363308lbg.2 for ; Tue, 16 Sep 2014 04:55:10 -0700 (PDT) X-Received: by 10.152.42.136 with SMTP id o8mr16326517lal.71.1410868510115; Tue, 16 Sep 2014 04:55:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp374271lbb; Tue, 16 Sep 2014 04:55:09 -0700 (PDT) X-Received: by 10.66.196.65 with SMTP id ik1mr14842464pac.154.1410868508578; Tue, 16 Sep 2014 04:55:08 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dw7si13274669pab.96.2014.09.16.04.55.07 for ; Tue, 16 Sep 2014 04:55:08 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754335AbaIPLzF (ORCPT + 6 others); Tue, 16 Sep 2014 07:55:05 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:18263 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753818AbaIPLy7 (ORCPT ); Tue, 16 Sep 2014 07:54:59 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NBZ0006PT8B42B0@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 16 Sep 2014 12:57:47 +0100 (BST) X-AuditID: cbfec7f4-b7f156d0000063c7-a6-5418250ff157 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 91.38.25543.F0528145; Tue, 16 Sep 2014 12:54:55 +0100 (BST) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NBZ00CMIT3CL960@eusync2.samsung.com>; Tue, 16 Sep 2014 12:54:55 +0100 (BST) From: Marek Szyprowski To: iommu@lists.linux-foundation.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Marek Szyprowski , linaro-mm-sig@lists.linaro.org, Arnd Bergmann , Shaik Ameer Basha , Cho KyongHo , Joerg Roedel , Thierry Reding , Olof Johansson , Laurent Pinchart , Rob Herring , Will Deacon , David Wodhouse , Inki Dae , Kukjin Kim , Tomasz Figa , Kyungmin Park Subject: [PATCH v2 04/18] clk: exynos: add missing smmu_g2d clock and update comments Date: Tue, 16 Sep 2014 13:54:31 +0200 Message-id: <1410868485-4143-5-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1410868485-4143-1-git-send-email-m.szyprowski@samsung.com> References: <1410868485-4143-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNLMWRmVeSWpSXmKPExsVy+t/xK7r8qhIhBn96zC3+TjrGbjFx5WRm i0n3J7BYLNhvbdE5ewO7Re+Cq2wWZ5vesFt0TlzCbvHlykMmi02Pr7FazDi/j8li7ZG77Ban rn9ms/jXe5DR4v+eHewWRx7uZrdYtesPo8Xt33wWLz+eYHEQ9nhycB6Tx5p5axg9fv+axOix c9Zddo/ZHTNZPTav0PLYtKqTzWPzknqP2/8eM3tMvrGc0ePKiSZWj97md2wefVtWMXp83iQX wBfFZZOSmpNZllqkb5fAlfHr2FWmgg7+itl/FjI3MD7m6WLk5JAQMJHou7ucBcIWk7hwbz1b FyMXh5DAUkaJfS/3MkE4fUwS774+ZQepYhMwlOh628UGYosI5Eu82PsXrJtZ4A2LxL1NhiC2 sEC4xIWHv8DiLAKqEkendYLV8wq4Syz8Nw1qm5zE/5crmEBsTgEPicltT5hBbCGgmo/fTjFN YORdwMiwilE0tTS5oDgpPddQrzgxt7g0L10vOT93EyMkQr7sYFx8zOoQowAHoxIPb8Y/8RAh 1sSy4srcQ4wSHMxKIrwaihIhQrwpiZVVqUX58UWlOanFhxiZODilGhhDOF+oKGh9DnrQt3SJ 0wX57x/C11vXdD6LlS44dn5zjcWMadq5i26kWO887RX83/qOy0L7Ogsf3323XrzpeK14drlw f6/xg81GT3SS63IuN+yaFf7dIUZfY+tUpV79RbUL75+8cOcaD9NJ5mOZZbkrOW70yx07YbR4 zof+83N3TbdoUhOJ2CyixFKckWioxVxUnAgAIYIrx24CAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m.szyprowski@samsung.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds missing smmu_g2d clock implementation and updates comment about Exynos4 clocks from 278-282 range. Those clocks are available on all Exynos4 SoC series, so the misleading comment has been removed. Signed-off-by: Marek Szyprowski Acked-by: Tomasz Figa --- drivers/clk/samsung/clk-exynos4.c | 1 + include/dt-bindings/clock/exynos4.h | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c index ac163d7f5bc3..12a7cc3b5953 100644 --- a/drivers/clk/samsung/clk-exynos4.c +++ b/drivers/clk/samsung/clk-exynos4.c @@ -1183,6 +1183,7 @@ static struct samsung_gate_clock exynos4x12_gate_clks[] __initdata = { GATE(CLK_SPI1_ISP, "spi1_isp", "aclk200", E4X12_GATE_ISP1, 13, CLK_IGNORE_UNUSED | CLK_GET_RATE_NOCACHE, 0), GATE(CLK_G2D, "g2d", "aclk200", GATE_IP_DMC, 23, 0, 0), + GATE(CLK_SMMU_G2D, "smmu_g2d", "aclk200", GATE_IP_DMC, 24, 0, 0), GATE(CLK_TMU_APBIF, "tmu_apbif", "aclk100", E4X12_GATE_IP_PERIR, 17, 0, 0), }; diff --git a/include/dt-bindings/clock/exynos4.h b/include/dt-bindings/clock/exynos4.h index 459bd2bd411f..fb9816354079 100644 --- a/include/dt-bindings/clock/exynos4.h +++ b/include/dt-bindings/clock/exynos4.h @@ -115,11 +115,11 @@ #define CLK_SMMU_MFCR 275 #define CLK_G3D 276 #define CLK_G2D 277 -#define CLK_ROTATOR 278 /* Exynos4210 only */ -#define CLK_MDMA 279 /* Exynos4210 only */ -#define CLK_SMMU_G2D 280 /* Exynos4210 only */ -#define CLK_SMMU_ROTATOR 281 /* Exynos4210 only */ -#define CLK_SMMU_MDMA 282 /* Exynos4210 only */ +#define CLK_ROTATOR 278 +#define CLK_MDMA 279 +#define CLK_SMMU_G2D 280 +#define CLK_SMMU_ROTATOR 281 +#define CLK_SMMU_MDMA 282 #define CLK_FIMD0 283 #define CLK_MIE0 284 #define CLK_MDNIE0 285 /* Exynos4412 only */