Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2379849pxa; Mon, 17 Aug 2020 08:14:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNSoIb9H+2gPzHJMTA9bs2KnYrJ7dkyRRw590GSlWGEUXRr92VfgBJT3U1J1j/lIhx7oBt X-Received: by 2002:a50:af86:: with SMTP id h6mr15719685edd.132.1597677243051; Mon, 17 Aug 2020 08:14:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597677243; cv=none; d=google.com; s=arc-20160816; b=VEE6n29t9LURmg4ReL0RYiAGO1nxpc+o6CbWESV1xn+aSqht38kN94Hlejw595zHL2 i0XbFkSL22wOz8roHvutUVDBiNptUyBsFjjdJKJpiNoRf7IRbFAePmztlLz584HmdsbF 4IfrnMwIydDwxUkKmHZ0ZLhJF00nlZbzu89m5sSl/p2KdMtdbAs/8rD6lywbQmMCXAwo 3RrEyQ02cs+gcMElGw/EmBeExyv2c30yXR+yKVkG+d6J7Zrc1hiqIJsx0c5N4duxMtIr lDJ6nAMdi21EyVa3TkTuHoyl4dXBgs+CqNPNmkoalFYMuenxpoGR5D2Rpe/8fzg84Vwd AorQ== 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 :dkim-signature; bh=JLHg4o4kkNQG233HDeGbt6ufKSy9Fdqf7dd3ow3lppE=; b=Uss7ARJZtRXCq1Nn0QODv96uomOqT1mjHURE1mknvPQt9Ehqmh6RrkefkTjR8lfOS8 lBl/iowM3Rz6jGW1tUbWBcfySSMgDR2eimldah/ATk0iX0C09F2r41tc2oFhZR+QAmx1 RgHsabF6cOc8JjxOT1gmx0d5Y3/xea87Gs5GuZ60B+kJ4UNHacGa2tNi0x/Epho9Np6J cT6ZQDf/HsKMEOvCpiDG3W16lTefuPxbiGstwN1IK1PwMiOyvVPAvF+kvny3ZrMJ+LiB 4pSbi4FQ3SaiB3EYghb83aqhbBC1ScwSdRyh5vW5xESwfDQceLJ1UHyS99IUhwQiy5Cv 35lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ArtbqySg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d12si11299496edy.226.2020.08.17.08.13.39; Mon, 17 Aug 2020 08:14:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ArtbqySg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729094AbgHQPNF (ORCPT + 99 others); Mon, 17 Aug 2020 11:13:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:36946 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726630AbgHQPNE (ORCPT ); Mon, 17 Aug 2020 11:13:04 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F25552054F; Mon, 17 Aug 2020 15:13:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597677183; bh=w2+enJFouBsFUVObLi7FC01Ch0U8RkRLzoUBOYBMdX8=; h=From:To:Cc:Subject:Date:From; b=ArtbqySg4ioFTkukPMpYffClJ1lADZAlRkRsJdoA+y8hZt7nCNnRK0DvlDXXHNle7 NolvE2Yl4NgbHgk9iRNTvcPKVyu03Ogc4YOsfYMntugwj5at4Rk+sYsQDHORthO6B6 GdYBwaf+gZhvYDJgblu/Kxd+2PoakVIEJFEeOifQ= From: Krzysztof Kozlowski To: Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Rob Herring , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] clk: imx: vf610: Add CRC clock Date: Mon, 17 Aug 2020 17:12:54 +0200 Message-Id: <20200817151254.11466-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the clock for CRC block allowing it to be enabled by consumers. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/imx/clk-vf610.c | 1 + include/dt-bindings/clock/vf610-clock.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-vf610.c b/drivers/clk/imx/clk-vf610.c index 5129ef8e1d6e..0166ad0b9eb8 100644 --- a/drivers/clk/imx/clk-vf610.c +++ b/drivers/clk/imx/clk-vf610.c @@ -328,6 +328,7 @@ static void __init vf610_clocks_init(struct device_node *ccm_node) clk[VF610_CLK_DSPI2] = imx_clk_gate2("dspi2", "ipg_bus", CCM_CCGR6, CCM_CCGRx_CGn(12)); clk[VF610_CLK_DSPI3] = imx_clk_gate2("dspi3", "ipg_bus", CCM_CCGR6, CCM_CCGRx_CGn(13)); + clk[VF610_CLK_CRC] = imx_clk_gate2("crc", "ipg_bus", CCM_CCGR1, CCM_CCGRx_CGn(3)); clk[VF610_CLK_WDT] = imx_clk_gate2("wdt", "ipg_bus", CCM_CCGR1, CCM_CCGRx_CGn(14)); clk[VF610_CLK_ESDHC0_SEL] = imx_clk_mux("esdhc0_sel", CCM_CSCMR1, 16, 2, esdhc_sels, 4); diff --git a/include/dt-bindings/clock/vf610-clock.h b/include/dt-bindings/clock/vf610-clock.h index 0f2d60e884dc..373644e46747 100644 --- a/include/dt-bindings/clock/vf610-clock.h +++ b/include/dt-bindings/clock/vf610-clock.h @@ -196,6 +196,7 @@ #define VF610_CLK_TCON0 187 #define VF610_CLK_TCON1 188 #define VF610_CLK_CAAM 189 -#define VF610_CLK_END 190 +#define VF610_CLK_CRC 190 +#define VF610_CLK_END 191 #endif /* __DT_BINDINGS_CLOCK_VF610_H */ -- 2.17.1