Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2529105imm; Thu, 9 Aug 2018 14:46:59 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxDjZFya9dqNKRQLuiRBie3nGRdE0G8TYzXYdhXGgfVBUt062B8jBQbYSYsc5ERA7PdRVZP X-Received: by 2002:a62:90d4:: with SMTP id q81-v6mr4131075pfk.37.1533851219762; Thu, 09 Aug 2018 14:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533851219; cv=none; d=google.com; s=arc-20160816; b=wc10oHCOpET9TC+C/wNRCojABe5MGe/NMDP4V6FQzO6jtJxqA34ZZVrksB+7TlA0Aa HV9eWJf7//peThw2OU+B7ZvCGc/v6MQCAIvyoqeHNSQ548IXXsUWfMGyBObz8YekEgUh YZJfX4H94zfGhn0L62uxYXK+EpgFex9Cb+5vw6zNNOIpmAxMOqTC5HyZhuSVL7CgQM8P /DG8x4bTlmiwG4y8BGE1+vyate6Gb5m3F1o2jW5MkLbkEQfe4x6V6kOzyo/X4ATiL0j+ QEKPBzFgWPxf8LIUPaVAXA11b5VTXUKq2Pv/897JTm32zGdS7l6ErbniUXan4YD/I4WE TWAw== 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=WXbqz6MnyZlhjfryU06ssa5A3KEEjeO4V5ECCQH1sQk=; b=CtFya1o1uWFuBbaHiUK/EkYMKa5oiUTGdB3No2gYBgnH9FTgPdbgasisededfRVagQ EHT6Bb+dkbPx7gVBZxIMov46Ea8nijcW+x80TNt6Z/KaIq7vrBGx9+faUmzciJWneWS3 AAdhxDNIMpBcRC4xn6HsIhjdTMMBXvszwWqF2r6n0Kk0dbWog1XGvDEkjySF7FFXgjIE CXM1b7cuoHDRjZfM5hBK1WKli3zwec+TiaUuhTN+RxT5LptodKtRW8Wq/Bwsor0nY7uB 7iuKI7Ae4kyZnWsozPTD4KxuA9pbZeneBa3JsXil6FdvwEdmr4dSmPsjqoQQX2gYGTdh PsJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=kszHEXGI; 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 r15-v6si7006227pgf.403.2018.08.09.14.46.45; Thu, 09 Aug 2018 14:46:59 -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=kszHEXGI; 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 S1727994AbeHJAMH (ORCPT + 99 others); Thu, 9 Aug 2018 20:12:07 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:60464 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727628AbeHJAMG (ORCPT ); Thu, 9 Aug 2018 20:12:06 -0400 From: Paul Cercueil To: Rob Herring , Mark Rutland , Thierry Reding , Daniel Lezcano , Thomas Gleixner , Wim Van Sebroeck , Guenter Roeck , Ralf Baechle , Paul Burton , James Hogan , Jonathan Corbet , Lee Jones , Mathieu Malaterre , Ezequiel Garcia Cc: 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 v6 17/24] clk: jz4740: Add TCU clock Date: Thu, 9 Aug 2018 23:44:07 +0200 Message-Id: <20180809214414.20905-18-paul@crapouillou.net> In-Reply-To: <20180809214414.20905-1-paul@crapouillou.net> References: <20180809214414.20905-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1533851119; bh=WXbqz6MnyZlhjfryU06ssa5A3KEEjeO4V5ECCQH1sQk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=kszHEXGINxgMWyBeYUzrtdFE+7d23AEIEn/eBUnK5nyeFkFERpOMeMRiNg3riOl8o8z8MnHOY7q+60QimNFk4ywmFovUcvceSX6DgrSKrqj24poDJXcvQSMT0xgSckuKT3+nMnFaIkvI3cZLCsDN/lrhYmSdKKCi8zgDht/ubPQ= 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 --- drivers/clk/ingenic/jz4740-cgu.c | 6 ++++++ include/dt-bindings/clock/jz4740-cgu.h | 1 + 2 files changed, 7 insertions(+) v5: New patch v6: No change 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