From patchwork Mon Jun 11 15:49:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 927745 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="syKBbF3n"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="akBTAoSH"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 414HYN23hpz9s2t for ; Tue, 12 Jun 2018 01:51:04 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6BxuDViwTz1JO6JkGztj9f65A2DlYZuM993hSL/T6kM=; b=syKBbF3n28Y+y2 eynr37ihhNgtnzOcfq+JMbG1Hm1wEj2mlewjXAMQptSUams4XcaowO47hkCuGC2DSmImKT1QeeXlp tdmuE1iuc3ZKyq85df7k6C+wugLB+YagrTzoqh0y+39rRzTlzCwx7g/1+a6Ec1v6rwb9e5320kejI s83VR0WNnaDV2Frddvejb1FwGwIhOJgTz8FK2XGyZWCgCB/5R/2tpp+0QxVKdf1LaNh6r8F8NG1pE hWDrivw0JE2Xyogr8dGHablbPd8rTO1KIizyDIhQd7u209ON+ziRh86NQcenFtiC/Neolfd0k9cHG f4GeOUXzbxP9lzDgoMjw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fSP5w-00075h-F5; Mon, 11 Jun 2018 15:51:00 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fSP5J-0005HU-NE for linux-arm-kernel@lists.infradead.org; Mon, 11 Jun 2018 15:50:23 +0000 Received: by mail-wr0-x243.google.com with SMTP id l41-v6so20934128wre.7 for ; Mon, 11 Jun 2018 08:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o/bU7tUyNPyHOzWHB1knV+7XJ28ThmwleIiTE9NsMBg=; b=akBTAoSHQv7uXBbX9pl11oJ86DrCbyDoITPj71K7ZPfd6zB0KTsTUp4nm6xeFxYuKJ HWoP6DiKmjgqKC/5vsoX8IuaCc2J8MeRHf+zohqvzAQQuWG0NZSJ0uItsfQZZAeTqIG1 9/lVo6OGfAp4yoDsI5JBJRYOPUm1sut9/FwgGEh1463e/PZTTuozwfw3daAAC5Q+lUdZ JPy6r/OleiP2MfmBQCYLx3W/7ztPa+pA2fdsaOmlO8o7VpD5JMSBMhQqGajUUmGW0VqF Hcx5ETF0MmDkcIp4/qZgS80tYnexfBzDPcX7Ku8Ti+8LQOvJjT6CK/f9pSxFt8MHI0lR vB+A== 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=o/bU7tUyNPyHOzWHB1knV+7XJ28ThmwleIiTE9NsMBg=; b=ExOW5m5XgpSW+DdwYS+7w4r8zkFgj57ypdFkdOYj8tdcPBeRudo929Wr+6BGGcxHU0 MhKjrlm7xUQJGy0zXLglRWZSwjaCdzzAUdrh3y3RI0TRTeuyKLnJbrZoTQysPUN7uoe1 afBxoE2Wxe9UfJmOeIrQZETC7YL9g/WsL7iOpxIMfaRHhV/z8PlJK+btpn/qW/bYrZwW +YlVd1D+1xyBRx1O7jABwnYQaMhS6phG/6nhUCBc40zRDQR6R0YW15reCzpXjv5XNTv2 g8eUmHSFYpxUtHo2zIc8xpPzx8IUcEQXpx1Hj/pwQ/7wYKQ2K2I9ndiTD0RkVbGgsU+j 88+g== X-Gm-Message-State: APt69E11QDb+O5W2L4VAQQQwXTU6Ea/zq9Jq8eboqKElplwIJpjGLCC7 JUUM8BLEWl9Eg0SU6tGY/Dg= X-Google-Smtp-Source: ADUXVKJkUwZ+grL+QjOSG1mCc9Xt3rBTm3AdwBW97dSP41IfyIe/NzPx/4Kysc5lasIu184thwhKbg== X-Received: by 2002:a5d:408f:: with SMTP id o15-v6mr12123480wrp.133.1528732209635; Mon, 11 Jun 2018 08:50:09 -0700 (PDT) Received: from cperon-Latitude-7490.lan (static-css-csd-151233.business.bouyguestelecom.com. [176.162.151.233]) by smtp.gmail.com with ESMTPSA id n11-v6sm30308862wro.13.2018.06.11.08.50.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jun 2018 08:50:09 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Colin Didier , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 1/5] clk: imx6: add EPIT clock support Date: Mon, 11 Jun 2018 17:49:57 +0200 Message-Id: <20180611155001.3506-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180611155001.3506-1-peron.clem@gmail.com> References: <20180611155001.3506-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180611_085021_764437_401E4128 X-CRM114-Status: GOOD ( 13.05 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c0c:0:0:0:243 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (peron.clem[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Sascha Hauer , Daniel Lezcano , Stefan Agner , =?utf-8?q?Cl=C3=A9ment_Peron?= , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , Thomas Gleixner , Vladimir Zapolskiy Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Colin Didier Ignore this Patch, already merged in clk-next Signed-off-by: Colin Didier Signed-off-by: Clément Peron Reviewed-by: Fabio Estevam Acked-by: Rob Herring --- drivers/clk/imx/clk-imx6q.c | 2 ++ include/dt-bindings/clock/imx6qdl-clock.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx6q.c b/drivers/clk/imx/clk-imx6q.c index 8d518ad5dc13..b9ea7037e193 100644 --- a/drivers/clk/imx/clk-imx6q.c +++ b/drivers/clk/imx/clk-imx6q.c @@ -753,6 +753,8 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) else clk[IMX6Q_CLK_ECSPI5] = imx_clk_gate2("ecspi5", "ecspi_root", base + 0x6c, 8); clk[IMX6QDL_CLK_ENET] = imx_clk_gate2("enet", "ipg", base + 0x6c, 10); + clk[IMX6QDL_CLK_EPIT1] = imx_clk_gate2("epit1", "ipg", base + 0x6c, 12); + clk[IMX6QDL_CLK_EPIT2] = imx_clk_gate2("epit2", "ipg", base + 0x6c, 14); clk[IMX6QDL_CLK_ESAI_EXTAL] = imx_clk_gate2_shared("esai_extal", "esai_podf", base + 0x6c, 16, &share_count_esai); clk[IMX6QDL_CLK_ESAI_IPG] = imx_clk_gate2_shared("esai_ipg", "ahb", base + 0x6c, 16, &share_count_esai); clk[IMX6QDL_CLK_ESAI_MEM] = imx_clk_gate2_shared("esai_mem", "ahb", base + 0x6c, 16, &share_count_esai); diff --git a/include/dt-bindings/clock/imx6qdl-clock.h b/include/dt-bindings/clock/imx6qdl-clock.h index da59fd9cdb5e..7ad171b8f3bf 100644 --- a/include/dt-bindings/clock/imx6qdl-clock.h +++ b/include/dt-bindings/clock/imx6qdl-clock.h @@ -271,6 +271,8 @@ #define IMX6QDL_CLK_PRE_AXI 258 #define IMX6QDL_CLK_MLB_SEL 259 #define IMX6QDL_CLK_MLB_PODF 260 -#define IMX6QDL_CLK_END 261 +#define IMX6QDL_CLK_EPIT1 261 +#define IMX6QDL_CLK_EPIT2 262 +#define IMX6QDL_CLK_END 263 #endif /* __DT_BINDINGS_CLOCK_IMX6QDL_H */