From patchwork Thu Aug 10 07:23:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 109788 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1961320qge; Thu, 10 Aug 2017 00:23:52 -0700 (PDT) X-Received: by 10.84.229.12 with SMTP id b12mr7629529plk.325.1502349832041; Thu, 10 Aug 2017 00:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502349832; cv=none; d=google.com; s=arc-20160816; b=n2IHC6Zgj2MtWPpzXT4VG8/6k2lrTN/ZWLdWH6UB/LhrOZO2nB2PHyblZayrlS5Avx v67fA/YX9q3HfX06NZ7/UJfZ02YIvdlaxd1vjT6p0sKQDv45gbA+H24SSjHG0mWCwTho rl45F5cAQwwX6r3NixHUTKs/Y71PaVrNydrVMpJWQZbrSfetBXoIOyLZ9gnw+ECtmWL3 SWkXrO0C+kVq52bb+d8/9DsBTWoVRnYhzitIuxpmTStjZKhWDB8TdWmYbRU5ojfO57N1 s3gldztqMRmrmQI0dF86CZ1Wyle9P2YQxQEdkznLbEaAWurTfcU98MsL51wU9hZUfDGI xm8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=o84cRhKL4YvOenbsh15WZ9oMVbWEBwx6mAjTIFKY3ac=; b=q5MNbaazmYeq8Y3P4AFZKh+D0rHZ0OOoNI6N8oweX/nRX+NMIC4PVSyF8g4yXk30Jq NMCmMmz0SnS9kXFSMJL7h0ilwDdTBWKxhbuwuJoHBxxkw6ng5/ycdk3BWJCqCiQJh6LA TyOAgvhguPLJmffzqwrKaxMLAVlFJ0XUxzN7HyY/90x7kGFvSxgs3remEXrWE6KT1nhD tJsy70BWQzTGa5adkHyuWIrgIinAssnU/ePWb3jxfUqZGfFDoBlQWebbRCwlJynd18Q7 VFe3hRcvdfpchbk7GaRmo2ZMyS8+j7GGnaxbMvStwpbq2ih6SUK33DZgsNPINyFx7wNm qClg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i185si3649767pgc.259.2017.08.10.00.23.51; Thu, 10 Aug 2017 00:23:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752353AbdHJHXs (ORCPT + 25 others); Thu, 10 Aug 2017 03:23:48 -0400 Received: from mx.socionext.com ([202.248.49.38]:26860 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751440AbdHJHXp (ORCPT ); Thu, 10 Aug 2017 03:23:45 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 10 Aug 2017 16:23:41 +0900 Received: from mail.mfilter.local (unknown [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id A2D8A6007D; Thu, 10 Aug 2017 16:23:41 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 10 Aug 2017 16:23:41 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id 4BAFA1A0E16; Thu, 10 Aug 2017 16:23:41 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 1480E120BB8; Thu, 10 Aug 2017 16:23:41 +0900 (JST) From: Katsuhiro Suzuki To: Michael Turquette , Stephen Boyd , Masahiro Yamada , linux-clk@vger.kernel.org Cc: Masami Hiramatsu , Jassi Brar , linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [PATCH 2/2] clk: uniphier: add video input subsystem clock Date: Thu, 10 Aug 2017 16:23:46 +0900 Message-Id: <20170810072346.32299-2-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170810072346.32299-1-suzuki.katsuhiro@socionext.com> References: <20170810072346.32299-1-suzuki.katsuhiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a clock for video input subsystem (EXIV) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki --- drivers/clk/uniphier/clk-uniphier-sys.c | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.13.2 Acked-by: Masahiro Yamada diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/drivers/clk/uniphier/clk-uniphier-sys.c index 7c4528d0fb6e..c60aa586fea7 100644 --- a/drivers/clk/uniphier/clk-uniphier-sys.c +++ b/drivers/clk/uniphier/clk-uniphier-sys.c @@ -65,6 +65,10 @@ UNIPHIER_CLK_FACTOR("evea-io100m", -1, "spll", 1, 20), \ UNIPHIER_CLK_GATE("evea", (idx), "evea-io100m", 0x2108, 1) +#define UNIPHIER_LD11_SYS_CLK_EXIV(idx) \ + UNIPHIER_CLK_FACTOR("exiv-io200m", -1, "spll", 1, 10), \ + UNIPHIER_CLK_GATE("exiv", (idx), "exiv-io200m", 0x2110, 2) + const struct uniphier_clk_data uniphier_sld3_sys_clk_data[] = { UNIPHIER_CLK_FACTOR("spll", -1, "ref", 65, 1), /* 1597.44 MHz */ UNIPHIER_CLK_FACTOR("upll", -1, "ref", 6000, 512), /* 288 MHz */ @@ -168,6 +172,7 @@ const struct uniphier_clk_data uniphier_ld11_sys_clk_data[] = { UNIPHIER_CLK_FACTOR("usb2", -1, "ref", 24, 25), UNIPHIER_LD11_SYS_CLK_AIO(40), UNIPHIER_LD11_SYS_CLK_EVEA(41), + UNIPHIER_LD11_SYS_CLK_EXIV(42), /* CPU gears */ UNIPHIER_CLK_DIV4("cpll", 2, 3, 4, 8), UNIPHIER_CLK_DIV4("mpll", 2, 3, 4, 8), @@ -206,6 +211,7 @@ const struct uniphier_clk_data uniphier_ld20_sys_clk_data[] = { UNIPHIER_CLK_GATE("usb30-phy1", 17, NULL, 0x210c, 13), UNIPHIER_LD11_SYS_CLK_AIO(40), UNIPHIER_LD11_SYS_CLK_EVEA(41), + UNIPHIER_LD11_SYS_CLK_EXIV(42), /* CPU gears */ UNIPHIER_CLK_DIV4("cpll", 2, 3, 4, 8), UNIPHIER_CLK_DIV4("spll", 2, 3, 4, 8),