Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp169837imu; Wed, 12 Dec 2018 14:20:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/XRPacXew30m7cTLQ6bmPE6sa3eOrSGHhV+d0Cvz0KPJslcC0z5h7bUKiQbkdkMxzZ5OtOr X-Received: by 2002:a63:f201:: with SMTP id v1mr18465140pgh.232.1544653203603; Wed, 12 Dec 2018 14:20:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544653203; cv=none; d=google.com; s=arc-20160816; b=lQfGpOom9Rz668X7FX5ZSQsQ7fmwjDB5HfEyUPNBYh9VTtgH0/zrXc0aFv5c8CItjS R/QyvHYpAty+oV05fA0S0F4fGlq62dhDkhzEUZ14LsHhjcVT0JXw1gAqOlrke29mWQN6 ikrw9T+qO668MgOlNTFKkOHVU70FXVZIHA3cddJw7DEl7nPpZwJr+OWg9l5BwGUHuakn kABuQtKFrpxSSUMJ6mK2mZE+2850Ykp9YmFt5OLFB8yUgUNG4gGNiKiy9FHn1lNQl6nz vT535gNRPWXyQFjpoJJyBPQwjfTRJGx2A/z9+9BcZ8Rse9HEQvWbrMzcXfz1hulhmX7r PFsQ== 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; bh=Fiz3MZxmOJxJC5lEAonv4esf/BmrXGJylwcSlpbxKt4=; b=siy+7bqU7xUUotayU90KMZAAxbqgnwK6pwTEpKwqsYDIiN0Dfxfk4XSIAyxtCUBSip eWmmGtmX+a52be65S8/1wWkxgaFUQ79HRWa0foT1LZKxMtdz6xdvkM/TspzPagw0w81W W3kC1Zs0FVD4IZSe/tU3riJ0qfI59f7b7uYMKk/kPTe1uvJvSyLlr95SGDtKJBKma2uP jm3HaGvgdQPCL/1E84AkQofGp9KY8ulUQLjE7emrDQxgRHiLbIcJOB00otZO1j2WDQzn 6BVqybhNE9hMANp4pGuahqiFO3mAwfrZ7QhV+BpzKuBNt9f6E+5D3Gdml4jErS31HQKS 5fng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=U+0ao6au; 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 7si10398pll.297.2018.12.12.14.19.48; Wed, 12 Dec 2018 14:20:03 -0800 (PST) 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=U+0ao6au; 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 S1728837AbeLLWSP (ORCPT + 99 others); Wed, 12 Dec 2018 17:18:15 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:40742 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728589AbeLLWQw (ORCPT ); Wed, 12 Dec 2018 17:16:52 -0500 From: Paul Cercueil To: Thierry Reding , Rob Herring , Mark Rutland , Daniel Lezcano , Thomas Gleixner , Ralf Baechle , Paul Burton , James Hogan , Jonathan Corbet Cc: Mathieu Malaterre , Ezequiel Garcia , PrasannaKumar Muralidharan , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-mips@vger.kernel.org, linux-doc@vger.kernel.org, linux-clk@vger.kernel.org, od@zcrc.me, Paul Cercueil Subject: [PATCH v8 16/26] clk: jz4740: Add TCU clock Date: Wed, 12 Dec 2018 23:09:11 +0100 Message-Id: <20181212220922.18759-17-paul@crapouillou.net> In-Reply-To: <20181212220922.18759-1-paul@crapouillou.net> References: <20181212220922.18759-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1544652602; bh=Fiz3MZxmOJxJC5lEAonv4esf/BmrXGJylwcSlpbxKt4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=U+0ao6aum0yq7lzsFMl8Yti66d5IAgi86frwWF0OKjGDcXnz4+U6FapIqwcMPudWuODGy4r7O8jrOEq33ShE+QLyCI+mi+Rn5H/1jF2gNeTYc+36INVR7KL3Awhu6YvjygHtMOE/r+mPX/9hOu9Jay9NJH+weSDIBph5+u+h7F4= 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 v8: 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 4479c102e899..d8ac7f2e183a 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