Received: by 10.223.176.46 with SMTP id f43csp924303wra; Fri, 26 Jan 2018 09:01:04 -0800 (PST) X-Google-Smtp-Source: AH8x224+09S9tqmRcDpwy6DFQDFXPwQ/rbeZH317rlQm8SP4ffFdvvzs26goNSWpHkGQ9md9xPsx X-Received: by 10.101.73.131 with SMTP id r3mr15971839pgs.76.1516986064452; Fri, 26 Jan 2018 09:01:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516986064; cv=none; d=google.com; s=arc-20160816; b=V3hT40yc5/LNZ0+SuAjyKwXOpAOodNq4y0ixfJHT0VaZZgbWoJS/leF9hq/4L4nV+k B7469mJ1t/hZllz38+2TKHvJkQqK06eGNmRIZ0qOvbosqgT6f7PXbHFFNN/cSpBfWZzw eQiuP+C7udMtoc9e/VBZCEabKeKNSFWtVdRL0Dk9CQlM4YZS8hRRN9BiPptCmGFI65B1 c8NWOmxxYXDylusjX0qlXejeOVW9gen3FAbJuonmFpsnypO8ydW+lu1mOcDeOqii8ZKP QPKs+Gi+PgBda1nBr96bxs/LZUjj8SihRU7yFKgeVzZlIq8G13hAB6YvX7mlM1XQmJm7 Pr/g== 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=5PaYhwZjTrX1sjZ+sz+J4G5srqu0tAqo0PilClBBBXk=; b=RrnsupSLD3Z2vATI1stvhoXeYn+psEZNZUq95MmEelwdUJ8aL6B3v8mt0jDiYThaUD G4H+ffHapu/DMK7OQYxxn/JqgD3ynHLAF2ZDUYj4TJ+ml1ZZsvy4ZaduzatpK2iQT2ik N4OtGks2Gy6aUB6FqI23gChd9P8bHUR0Y9z3Aloiy7iskN6W+Zwk5t1B1Tb/Lf45FyY/ B2IWVjhf1RwdDwKDGcyC6YvJvcA/i6JTV+JprwfplwBEAukqi2udyKZhV6uNZSwOIdD3 n4LOFKGmcnm+5JOELOxiAA9ARG8mjFP8uGjTPTXmYM8pBuhbRucclYQYaJmKHRGzMRkq IJlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=AJaq98OG; 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 h80si6599711pfj.207.2018.01.26.09.00.49; Fri, 26 Jan 2018 09:01:04 -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=AJaq98OG; 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 S1752280AbeAZRAS (ORCPT + 99 others); Fri, 26 Jan 2018 12:00:18 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:56234 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752023AbeAZRAL (ORCPT ); Fri, 26 Jan 2018 12:00:11 -0500 Received: by mail-wm0-f67.google.com with SMTP id 143so2567501wma.5 for ; Fri, 26 Jan 2018 09:00:11 -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=5PaYhwZjTrX1sjZ+sz+J4G5srqu0tAqo0PilClBBBXk=; b=AJaq98OGYxO4mTuYKTA4LuSX6IpNNWQP47GfGQ+o6vxtIHzDYF/yCah3Q8N7kPL/kv 3KSLjzVNqsCXeMSieiZNnbqIvxQHzJOTwcyH1wMK6fnaC2Je+24H2shMw40D0DkP7y7T CdVK1sduudxgXzp3RS0gHRwAV2O/FFs2OtJWOdC2QAXPQTABG1P6LUUnYFrvluHSpAPF pXfyAoqW64H60LY86Pk93aCj/nEv+dkVb5HAFJFHMH5t6PpOrRJky6Jj91uwB6WVuEaY K5bLNVNUHJgHD3EvFdHSPkZhKIZrRa6e1XNFqIZF34sR7ICsEF6/byLJzIqk3eEyKOoX hdfA== 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=5PaYhwZjTrX1sjZ+sz+J4G5srqu0tAqo0PilClBBBXk=; b=UP20PY839gCqN4fDtlEy1/OXulFDrHElCoQHV9357VYt4XeGj76sneMF8Yxtzg5GT5 IF//9SOAjtq7BreOjheYOREjkrBxE16hPgSiiZhm5lDvkPdU4jF5gBcCDJz4pMJXZ5Ib X0BaJHiax2m+Yy6aAjL1y+lireifHEbTYXmI49V6ZbfdoRCi2L1cmqF7QQyvrqPHirBR rupJDv+jE/YhL0gaZ45cXXnYEmDJra95kpPmRea8NcDYKB0LZwkwT2Su3b1lqf0x1ibd PUMGaXe3MGzPjXpvWBOoQ1DZ5i2K99uqbmy8NkK5JoWxnk4b10RkaODcNV/3vPXj4k/g uC7A== X-Gm-Message-State: AKwxytcA22uz/OG4Ht977MGXDb+flb9YagBd9FRTgcsCO+1qZsMo9Qez VctU9DwDZF6I0phzLxIpntVOzw== X-Received: by 10.80.169.116 with SMTP id m49mr35707857edc.212.1516986010748; Fri, 26 Jan 2018 09:00:10 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id d21sm2733949edb.13.2018.01.26.09.00.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Jan 2018 09:00:10 -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, herbert@gondor.apana.org.au, davem@davemloft.net, lukas.auer@aisec.fraunhofer.de, rui.silva@linaro.org, ryan.harkin@linaro.org, Bryan O'Donoghue Subject: [PATCH v2 4/5] clk: imx7d: add CAAM clock Date: Fri, 26 Jan 2018 17:00:03 +0000 Message-Id: <1516986004-25452-5-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516986004-25452-1-git-send-email-pure.logic@nexus-software.ie> References: <1516986004-25452-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: "Horia Geantă" Cc: Aymen Sghaier Cc: Fabio Estevam Cc: Peng Fan Cc: Herbert Xu 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