Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5358045imm; Tue, 21 Aug 2018 10:19:24 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxzJQ5o+zzS8PaXawqXLK4SV+hNfJ2a37a76zaR7StNwJ2z5zEeyT6BkG80ephz9xdOBe1q X-Received: by 2002:a63:1760:: with SMTP id 32-v6mr17818445pgx.31.1534871963916; Tue, 21 Aug 2018 10:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534871963; cv=none; d=google.com; s=arc-20160816; b=fs5Qa5/vF6txf11rJA/ZjrxHUa68t6dprlXqV49FiCREKcYoH7NlPsLZSAiKVZrk+h xSranyG4NJ1OR8RMKpeK/5AdMy3vNXV4z88ZXeN7sW0GRlVVsxjTObdMBt+eYitJzRpB 5GV+2oc94ak2ZiUwx2GpQqN7tmZ+8u50LGm/FOmnchZ6ShXrX6ULunF1rJf8apd55Ooe e6YneuqTW+YqQ/sN4rYxOTHvR4TFu7FzgLs10DNRDWmv3uhES6FV5CMMfBNFIl5cZRq+ 7ET+NFHqBfCG43Bn1L52J09uZUHprjHvFJZ+NKvo7qIckKiQ0JWVgc44x/nPwBmubbfh /Osg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=xJAO2ZswWzKNLMKk+5GJ33BOUmvX4IL986BX6ux2o2M=; b=X0PjkAYca6ELoTY4D5Hdiu7QGhotvfwOvkr33J2N+NbXtkS57jc4rqQOJLUIQr0i1r 2zuSXLvItw0TYgtsllCFRCrfdTMlP8fJti5QZxc+8Pl5VUsem4K2CNyRSLKyjcLwI6j9 Sewgn72tIAxeQcxXs8PYs0sDDo00hp13LqVWRXS82Guq45DSDihLl9iWaxCV6t4tK/d+ 8LQ3vKddTuspogoDtuENBFggwmdbn0w1wUFUp4MXPb5RseSSiBqHNTJMc01lY8aSHLec 7SBtXWkTO0wXHpMWQLa+Zmh4nWsKlFTxcdHWDf4Udark2mBOj9IApekbZNGKZK2GInoJ 8/5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=w7pOnKKw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m86-v6si13280339pfj.48.2018.08.21.10.19.08; Tue, 21 Aug 2018 10:19:23 -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; dkim=pass header.i=@crapouillou.net header.s=mail header.b=w7pOnKKw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728336AbeHUUiV (ORCPT + 99 others); Tue, 21 Aug 2018 16:38:21 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:33106 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726627AbeHUUiU (ORCPT ); Tue, 21 Aug 2018 16:38:20 -0400 From: Paul Cercueil To: Thomas Gleixner , Daniel Lezcano , Rob Herring , Thierry Reding , Mark Rutland , Ralf Baechle , Paul Burton , Jonathan Corbet Cc: od@zcrc.me, Mathieu Malaterre , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-mips@linux-mips.org, linux-doc@vger.kernel.org, linux-clk@vger.kernel.org, Paul Cercueil Subject: [PATCH v7 17/24] clk: jz4740: Add TCU clock Date: Tue, 21 Aug 2018 19:16:28 +0200 Message-Id: <20180821171635.22740-18-paul@crapouillou.net> In-Reply-To: <20180821171635.22740-1-paul@crapouillou.net> References: <20180821171635.22740-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1534871837; bh=xJAO2ZswWzKNLMKk+5GJ33BOUmvX4IL986BX6ux2o2M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=w7pOnKKwToMtNGxPPC4hALuxjSLhejtQO2kMR/IA5GWeAXQEx1QDuSz5ElK5C9uby0RyAREBGf/K7qjCvUW2+ohQ7WUYYA05Vr9dL3IbyY4vkdZbznLHpgjErx8x8IUD/lvwTeigTl8E9QVJRV2ZNRQuytWhzF8VH5Fx+4PC6SI= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the missing TCU clock to the list of clocks supplied by the CGU for the JZ4740 SoC. Signed-off-by: Paul Cercueil Acked-by: Stephen Boyd Acked-by: Rob Herring --- Notes: v5: New patch v6: No change v7: No change drivers/clk/ingenic/jz4740-cgu.c | 6 ++++++ include/dt-bindings/clock/jz4740-cgu.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/clk/ingenic/jz4740-cgu.c b/drivers/clk/ingenic/jz4740-cgu.c index 32fcc75f6f77..216ba051e743 100644 --- a/drivers/clk/ingenic/jz4740-cgu.c +++ b/drivers/clk/ingenic/jz4740-cgu.c @@ -211,6 +211,12 @@ static const struct ingenic_cgu_clk_info jz4740_cgu_clocks[] = { .parents = { JZ4740_CLK_EXT, -1, -1, -1 }, .gate = { CGU_REG_CLKGR, 5 }, }, + + [JZ4740_CLK_TCU] = { + "tcu", CGU_CLK_GATE, + .parents = { JZ4740_CLK_EXT, -1, -1, -1 }, + .gate = { CGU_REG_CLKGR, 1 }, + }, }; static void __init jz4740_cgu_init(struct device_node *np) diff --git a/include/dt-bindings/clock/jz4740-cgu.h b/include/dt-bindings/clock/jz4740-cgu.h index 6ed83f926ae7..e82d77028581 100644 --- a/include/dt-bindings/clock/jz4740-cgu.h +++ b/include/dt-bindings/clock/jz4740-cgu.h @@ -34,5 +34,6 @@ #define JZ4740_CLK_ADC 19 #define JZ4740_CLK_I2C 20 #define JZ4740_CLK_AIC 21 +#define JZ4740_CLK_TCU 22 #endif /* __DT_BINDINGS_CLOCK_JZ4740_CGU_H__ */ -- 2.11.0