From patchwork Thu Jun 7 14:05:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10452131 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BB7B160375 for ; Thu, 7 Jun 2018 14:32:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A176D295B5 for ; Thu, 7 Jun 2018 14:32:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C3332A03F; Thu, 7 Jun 2018 14:32:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3682029CA4 for ; Thu, 7 Jun 2018 14:31:20 +0000 (UTC) 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=r5CRYcFgxebbnKrVH7ZxjOCGgVO2RP7H4oba1KLuvCM=; b=uTKMQuMkjsJOb4 2xfYbQmRVqQr7R1WqNYALFCaCgrK86X4VU3ujUgBoyRefq94hodGtP1PXUBQk+EJYoCtXJEZtmJIo I/Sry/Y8XUv0sflaI9XAqTdSN+Jg9Jduvq8YkaHxmWYm0UBkYlnCnei8kT7nEGxcJehNQPnqz6rGT NQNu3KN4oulWsnQwoSpukA/XN7SH6yJ5Qi4oytJ5w7ou+CqEXBGrQ1Ae0Yyt8aGEReTQnBFWqJIWp hJONd0/fMkqNCNNbvKvGyyVlXUx7zZw3S9dPe9inU+SoYBoSrPzOtoOO1r1K4Ohg4cAfNj/erUte1 f/hRadKI2VM7uNwKbREA==; 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 1fQvwV-0007bb-UQ; Thu, 07 Jun 2018 14:31:11 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQvuT-0004fQ-K4 for linux-arm-kernel@bombadil.infradead.org; Thu, 07 Jun 2018 14:29:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SZwnYaLOHvWnvhVnz3/4bviYQXo2F1Odm5lNcgFNkNg=; b=YJ03Y8FUcuiP/CzAp2ZhtmwVvE iOnaEneDSnW11dOa8+B+hBIZH7/JtZgFrB8t5nxznQenlMaGloHC/tlOSwpzDeOTAlrOsV65MqVOl xg9++UQGCFuDIfbszpO+w1Qk3GhbInO+7iqqRkoLrN33KaNHbAk5pbZw8F1ZBrg+R666O0FWiUKhL 8jgJjdu/47ug5sC31hZxwbmYbLUTLEH2mHmqV/5Gh4HmQ+r6RLYlt65QrcZOkO9ulb86Pb2h6D2zM zfhn1YZmQMsj644vJnZ2tvW5/fAnfLHww7avWsld92z8E3Xc3d4UYfmRJBI5DiqR14PUGHc5IgtoU dabdPG8A==; Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQvYP-0000Eh-Co for linux-arm-kernel@lists.infradead.org; Thu, 07 Jun 2018 14:06:19 +0000 Received: by mail-wr0-x22d.google.com with SMTP id w7-v6so10005869wrn.6 for ; Thu, 07 Jun 2018 07:06:06 -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=SZwnYaLOHvWnvhVnz3/4bviYQXo2F1Odm5lNcgFNkNg=; b=bsJ9KVXhA5O490LXm/fPWO1QcxOOssyzoBms/FZGFp4xZTp/DplO8TuxoJ9Dbf/p9H Rq/M9ZayXYVGGfOBhvKO6RC0U4bhnhLs1Q94/fR0jQeiB91V/7eu9wvpEQle6UdlNiOp qz/P1DkjREF4HzQpy7jrK/7tWwln4+Tbvjh0ex6ORebC373+kebqUvwepWmiVUfEunF1 zGdPbk+P9ohkoZwO8ThlFCnk3dsxXXlD+P29udlkv2dP/kvtglPsvigucncVAI+AIXxx Z1Cjtkm1DhhOMHqCaR8y177RzpQzDNMLj5Pgv6yhBV5qr9iGZqscZXhXXhrSozqSEyt+ f/1A== 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=SZwnYaLOHvWnvhVnz3/4bviYQXo2F1Odm5lNcgFNkNg=; b=IpLu5LBXCVeP1XD2BAdl2nR/mfU1NdyYmxFpfP8L0SnZa9yuIAoOEZebGIkoospEAt mj1cGdaEGdIghhC7uGy0wI9yWiKh2EPA4U/E+gpUKi80J54m9SLs+hTuzbVieSEFX80L yrfrWsIhuWyhG8pc587Dhe1MqEALZmzNE1lIYnETHJolWyC61FsMuCcWEa8s3mRTEQo0 9SU/OV/vYlLlxZcuwanQdOZMB00AZOMb/H+gyaXfKYPYaUzLr94AimyEH7PgsbZqKlw7 gqI53IEMfWryxlniJtiRtsnz7gIxgJLZbrQn39nqJ6jpk9BG2lE3g631HykOkEe8nTWM 5fMg== X-Gm-Message-State: APt69E1fH7Fhv8bzVQuyDacgwkovKRm5pid3X8m8UPi651C0BvLc//Oo UJxMJsRym/paj97s4TJOQqE= X-Google-Smtp-Source: ADUXVKJ4Nl7WP0K/wSucUo7wQW7K51ZK8e766W67so7Ff4Zg5hz9/5YvgLHTJCggo0SCQYDN2izNSQ== X-Received: by 2002:adf:a292:: with SMTP id s18-v6mr1801578wra.114.1528380365605; Thu, 07 Jun 2018 07:06:05 -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 135-v6sm2032331wmx.21.2018.06.07.07.06.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 07:06:04 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Colin Didier , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 1/5] clk: imx6: add EPIT clock support Date: Thu, 7 Jun 2018 16:05:40 +0200 Message-Id: <20180607140544.22268-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180607140544.22268-1-peron.clem@gmail.com> References: <20180607140544.22268-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-20180607_150617_433868_4FBB2969 X-CRM114-Status: GOOD ( 16.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Sascha Hauer , Daniel Lezcano , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , Thomas Gleixner , Vladimir Zapolskiy Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Colin Didier Please ignore this commit. It has already been merged in clk-next. Leave it here to avoid error with automatic CI. --- 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 */