Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp5080631imm; Mon, 14 May 2018 19:15:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpzmSlPB5x9V3o4RRaCcqarmKYsdm9/sDoQ3JniiEq1BQfjdBdUBoanKOWFH67XJCzqwC82 X-Received: by 2002:a63:6d86:: with SMTP id i128-v6mr10231006pgc.272.1526350506353; Mon, 14 May 2018 19:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526350506; cv=none; d=google.com; s=arc-20160816; b=HzKvU8lWypl8lo69o+BIzQ7R6hZkqR/MSZGvMKtKe61MBwT1t0GxR2ycB+zjmNbIUj 7x+suVW0H6qMkjDyAGmADEtdyizIodYiRL942vEkD1XxUfEfihcsIB/+qo4DAVnwBCSh ISolFin38y/F1vqVe/GQJwGKz+0l87jp5qI0rIS5jP7LSA2AOIv4ECnxSTEaFuWbpf4G 0e32K+k/yGnTBt4XID/mUilN2m+7+mFhZQ159lBY4lkCrYy/e6ismKzFINJgYAGKla6h LdwZevcBe1+BE+WiREiywWcA661AH3hJMgfdmq1KDSJyKNlIP2iBMVwVY3K02n53HVrI azuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=31t5qX+/O3dZB23ow+SggqPrEELfbbRkkY0IpdXhPsM=; b=nICUlXzhSUmqma4Ll087MVNyYys0cYkR0G4pBR1IH3DnJnmRdXoa+izLu6Yodok5Yc sHsLWb7MRRjVzlTPIhFjlD0x6wtKbn+YHUmueM5R9Mt5mNLiuUnO7FuZhpo9ks298+38 NPPFCroEh4UTm5KjQp8CyCzU6iabZwYZk8NwaI0i89UMYb1Qp4NRBQIQfqN8AJ/UrRuv 6zkbHIzaUYHDu54modtQvJ8YMfxKPte/XE8+fpqee7n4LkoFYyQF+wO7Ez1HTGMyYoVU BPaqX+2xwzAneTHpvO9U1joppZzHvNAGtPWArBBehx/x5AlRo7q7w30A45+AUF6mLf15 /DbQ== 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 b16-v6si5179265pgn.79.2018.05.14.19.14.51; Mon, 14 May 2018 19:15:06 -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 S1752116AbeEOCOk (ORCPT + 99 others); Mon, 14 May 2018 22:14:40 -0400 Received: from mx.socionext.com ([202.248.49.38]:43834 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752044AbeEOCOj (ORCPT ); Mon, 14 May 2018 22:14:39 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 15 May 2018 11:14:37 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 095C81800ED; Tue, 15 May 2018 11:14:38 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 15 May 2018 11:14:37 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id C25BA1A01CB; Tue, 15 May 2018 11:14:37 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 90BAA120423; Tue, 15 May 2018 11:14:37 +0900 (JST) From: Katsuhiro Suzuki To: Michael Turquette , Stephen Boyd , Masahiro Yamada , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Masami Hiramatsu , Jassi Brar , linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [PATCH RESEND] clk: uniphier: add LD11/LD20 stream demux system clock Date: Tue, 15 May 2018 11:14:16 +0900 Message-Id: <20180515021416.31760-1-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add clock for MPEG2 transport stream I/O and demux system (HSC) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki Acked-by: Masahiro Yamada --- drivers/clk/uniphier/clk-uniphier-sys.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/drivers/clk/uniphier/clk-uniphier-sys.c index ebc78ab2df05..4f5ff9fa11fd 100644 --- a/drivers/clk/uniphier/clk-uniphier-sys.c +++ b/drivers/clk/uniphier/clk-uniphier-sys.c @@ -51,6 +51,9 @@ #define UNIPHIER_LD11_SYS_CLK_STDMAC(idx) \ UNIPHIER_CLK_GATE("stdmac", (idx), NULL, 0x210c, 8) +#define UNIPHIER_LD11_SYS_CLK_HSC(idx) \ + UNIPHIER_CLK_GATE("hsc", (idx), NULL, 0x210c, 9) + #define UNIPHIER_PRO4_SYS_CLK_GIO(idx) \ UNIPHIER_CLK_GATE("gio", (idx), NULL, 0x2104, 6) @@ -182,6 +185,7 @@ const struct uniphier_clk_data uniphier_ld11_sys_clk_data[] = { /* Index 5 reserved for eMMC PHY */ UNIPHIER_LD11_SYS_CLK_ETHER(6), UNIPHIER_LD11_SYS_CLK_STDMAC(8), /* HSC, MIO */ + UNIPHIER_LD11_SYS_CLK_HSC(9), UNIPHIER_CLK_FACTOR("usb2", -1, "ref", 24, 25), UNIPHIER_LD11_SYS_CLK_AIO(40), UNIPHIER_LD11_SYS_CLK_EVEA(41), @@ -215,6 +219,7 @@ const struct uniphier_clk_data uniphier_ld20_sys_clk_data[] = { UNIPHIER_LD20_SYS_CLK_SD, UNIPHIER_LD11_SYS_CLK_ETHER(6), UNIPHIER_LD11_SYS_CLK_STDMAC(8), /* HSC */ + UNIPHIER_LD11_SYS_CLK_HSC(9), /* GIO is always clock-enabled: no function for 0x210c bit5 */ /* * clock for USB Link is enabled by the logic "OR" of bit 14 and bit 15. -- 2.17.0