Received: by 10.223.176.5 with SMTP id f5csp698595wra; Tue, 30 Jan 2018 18:03:49 -0800 (PST) X-Google-Smtp-Source: AH8x226Kt8zc6kTfDv7W8kHFr7zVAiZRJ7FexLFuvI8up6B6dDaHg0Kp32SvwEwNyo814goTYTvI X-Received: by 2002:a17:902:1746:: with SMTP id i64-v6mr25864684pli.53.1517364228994; Tue, 30 Jan 2018 18:03:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517364228; cv=none; d=google.com; s=arc-20160816; b=ySLDZ/XAMyK4c5orjwBPh+b/vfY1AH01jRFa6SzHAOmV6Vq/KMBUPzWnC5TKcghBOI shXmw5cnuDSzhyy09x37ePi+JEKSD500jNKc5TJ0cMJyQToI8IhJDUpIefMu0/we0eGp Yi7i0t2tvlTmReEs4FrCJ6BMPAavlAIoiz+YQkfoFrAm1z+N3XTk6T4ppaeJ4eWS47BB PCcqai+kuPjHPypYW+BD80MsmFYsT5Uaq9HRLxQAqigSOcxOh4wgqawTFQ4DlV6qN+SD U6CUxiXDH0vpYYhXPpyQpgGoKg8Syhgwt/WYJKDfVsS0sLQGPo/NKhj8Sr49KGAOY8su 82VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=k/mtmFcZjhbujFvF90cmhZRC2Eyj/wHY3siJgMSaLUk=; b=NrEgLaJLPZ6TG0Dr6YDx8/IXLSotvw0sxnfFJuxQFUGEADJLC9wFngZZqUXN91+sln YqajhZKJbV9q/meITsAAwr+OdWe0Dp7NY7liUXvxJU5iP2mYzi5POIjBQDKt1C5Qa6ys qDCaT3Tf4lbg2rQqtSfCmEG5tAI7Wx6xelpRbPjMd7emm4QKAW/8OvjtfoIQEnaItQ9L 0N3aQGJk0+9ZQRX8Wmf8JyP8HRf3FMnGJrrTvposR/opEOKmjW4QE0W4RY7iw2f1PfAa k1pJA+NtyaS0Qlf4Xx6Myzs5miR3QQi+JdL7cKLgsRB5550iVLqady5lGc5KStRpKolx zxFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=uJZSNvOc; 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 w16-v6si975914plp.276.2018.01.30.18.03.34; Tue, 30 Jan 2018 18:03:48 -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=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=uJZSNvOc; 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 S1753100AbeAaCBS (ORCPT + 99 others); Tue, 30 Jan 2018 21:01:18 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34140 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752887AbeAaCAr (ORCPT ); Tue, 30 Jan 2018 21:00:47 -0500 Received: by mail-wm0-f68.google.com with SMTP id j21so6196764wmh.1 for ; Tue, 30 Jan 2018 18:00:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=k/mtmFcZjhbujFvF90cmhZRC2Eyj/wHY3siJgMSaLUk=; b=uJZSNvOcxawQk0MZ1+a1V55xeH+ORmOdxI38FnCO3GzQVeXpLoIkfOpbaBgyK4fe7T qwDfTWQ74m98ap6Xnax8jIZINhfRltcFpdIMgESZpfQ8gSCU5E211HNkfxdtzOE3TYYE mZGHZBpQ/euMTQQwTF8yq+X4EPvH3C7pCxfLBC7uNB1tON/3fYp97bCWXHNB1vchqnpD vbCAlJwNc8qFBxL95KUQ/HFA9/hXjtDjnoqQrZqKcUi/XOCGWREIr77JbOHdf39C6qHl kjfJjKDKiwT5oCZ0ZFdQxqke7sDlhrSzlTybz2EYFxy5PVqim7uk2jMGnUt8MAynSRo3 zciQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=k/mtmFcZjhbujFvF90cmhZRC2Eyj/wHY3siJgMSaLUk=; b=T0GEby4Z3T9vffXpti86YjlWkbNmGLca4HQUDUH4jSdSPZ2XgBPgH57skwxYW6XvB5 LJWdP3mJllME8Z7JKJhsAtVDC48VV+jCtkIKVZtgaTpx+kLDYgBhDfOgi7J1Pq9vnB5T HsjOkZ80N40waxe9sxAiuZqdo01KKEgY4THDDN1omrftYIL1DSnXdeljPR7pS8ZOJgkn 6H1hwg6NO/wOpH/PZU8XfsiyJirw9+cDvF/JrtQ9id3v7oo29Qx2Uvy2sVMkBRdMlT1+ i6xOR4W/ft1q114JeXtwLEM9S0ulx5MHl1GfF/5BdsgNlCYEW8QNeqEoFtHEKCLKlNVb fZaw== X-Gm-Message-State: AKwxytelTeJV7snPQwRozrC5xawkX/1fYJMYo5N48mdQ+18XVgp3JG5c oKNNUb37c6tPhmrEO28WKIpgOg== X-Received: by 10.80.139.2 with SMTP id l2mr55007640edl.14.1517364046619; Tue, 30 Jan 2018 18:00:46 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id w26sm9030867edw.7.2018.01.30.18.00.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Jan 2018 18:00:46 -0800 (PST) From: Bryan O'Donoghue To: horia.geanta@nxp.com, aymen.sghaier@nxp.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: fabio.estevam@nxp.com, peng.fan@nxp.com, davem@davemloft.net, lukas.auer@aisec.fraunhofer.de, rui.silva@linaro.org, ryan.harkin@linaro.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Bryan O'Donoghue Subject: [PATCH v3 4/5] clk: imx7d: add CAAM clock Date: Wed, 31 Jan 2018 02:00:39 +0000 Message-Id: <1517364040-27607-5-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517364040-27607-1-git-send-email-pure.logic@nexus-software.ie> References: <1517364040-27607-1-git-send-email-pure.logic@nexus-software.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rui Miguel Silva Add CAAM clock so that we could use the Cryptographic Acceleration and Assurance Module (CAAM) hardware block. Signed-off-by: Rui Miguel Silva Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-clk@vger.kernel.org Cc: "Horia Geantă" Cc: Aymen Sghaier Cc: Fabio Estevam Cc: Peng Fan Cc: "David S. Miller" Cc: Lukas Auer Signed-off-by: Bryan O'Donoghue --- drivers/clk/imx/clk-imx7d.c | 1 + include/dt-bindings/clock/imx7d-clock.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c index 80dc211..52ab096 100644 --- a/drivers/clk/imx/clk-imx7d.c +++ b/drivers/clk/imx/clk-imx7d.c @@ -795,6 +795,7 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node) clks[IMX7D_DRAM_PHYM_ALT_ROOT_CLK] = imx_clk_gate4("dram_phym_alt_root_clk", "dram_phym_alt_post_div", base + 0x4130, 0); clks[IMX7D_DRAM_ALT_ROOT_CLK] = imx_clk_gate4("dram_alt_root_clk", "dram_alt_post_div", base + 0x4130, 0); clks[IMX7D_OCOTP_CLK] = imx_clk_gate4("ocotp_clk", "ipg_root_clk", base + 0x4230, 0); + clks[IMX7D_CAAM_CLK] = imx_clk_gate4("caam_clk", "ipg_root_clk", base + 0x4240, 0); clks[IMX7D_USB_HSIC_ROOT_CLK] = imx_clk_gate4("usb_hsic_root_clk", "usb_hsic_post_div", base + 0x4420, 0); clks[IMX7D_SDMA_CORE_CLK] = imx_clk_gate4("sdma_root_clk", "ahb_root_clk", base + 0x4480, 0); clks[IMX7D_PCIE_CTRL_ROOT_CLK] = imx_clk_gate4("pcie_ctrl_root_clk", "pcie_ctrl_post_div", base + 0x4600, 0); diff --git a/include/dt-bindings/clock/imx7d-clock.h b/include/dt-bindings/clock/imx7d-clock.h index e2f99ae..2bc5618 100644 --- a/include/dt-bindings/clock/imx7d-clock.h +++ b/include/dt-bindings/clock/imx7d-clock.h @@ -452,5 +452,6 @@ #define IMX7D_OCOTP_CLK 439 #define IMX7D_NAND_RAWNAND_CLK 440 #define IMX7D_NAND_USDHC_BUS_RAWNAND_CLK 441 -#define IMX7D_CLK_END 442 +#define IMX7D_CAAM_CLK 442 +#define IMX7D_CLK_END 443 #endif /* __DT_BINDINGS_CLOCK_IMX7D_H */ -- 2.7.4