From patchwork Mon Jul 31 11:56:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9871665 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 8109360375 for ; Mon, 31 Jul 2017 11:56:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 70D97284C4 for ; Mon, 31 Jul 2017 11:56:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63BB228575; Mon, 31 Jul 2017 11:56:57 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 EB166284C4 for ; Mon, 31 Jul 2017 11:56:56 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=Vb0Ic1iBoax7uBRs9EIb+8SFrtwTU4g0wZiWNlYbSQU=; b=fSVwh8j5ga0JXlDuoyU3KFa2kX 7B5vlWsGb6nnDPiYPFHrW8P5HslwwVg8697aZzMowx46tkyWAZJS3QZk6r8dwHTbDgKXsbBzHZnQ1 nEqY0eFiPciq6/B7fEH1LOHucmhWC+DGrmA0dkNYFScgnpF/jzS05vhgixk4yzzXL3UeV12yUU6Ey fAzuuGKyU1wMSTjhpQkvypUWN9+bVGVYr1NmtUhK+0dEYYJovEBW8XqvEoyda/dBN+2uJ30HV01cj /Dc/2jqWrzh51pN6gs3jEhEWye9t2E/CZJV7mNvH9KfuJad9aimzDlHfw3/b+OwN2G6Dt09qRHRCf f+/CykEQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dc9Jc-00006m-Io; Mon, 31 Jul 2017 11:56:52 +0000 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dc9JG-0008CS-2g for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2017 11:56:34 +0000 Received: by mail-wm0-x232.google.com with SMTP id m85so167763128wma.1 for ; Mon, 31 Jul 2017 04:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3XqUE4GKG0bw6g8Lus2UIv4Zyte8BSzdEUh+tUv55WI=; b=uo7GWS8Hhrpm9LtQwHNyO4YTYkfVW48fsEX/0lBPv9n6on2fzGSya3ad4GohqQgSPq fU9gOyB/rtnM/9q3/nTRWUqUNN6yQ1q7mjnR1ZvGMYhvyXV6lO6SsgC2PEFElAtOyNXN Dn3lLkIGQUr0kf6CNQOTW9COtTUHkOAF/nmqRvQTY7tCrb0zEd3vjUNseK4MIA355cpm 2C9ALoX5enslMydbcpXJxpM6BxdozcvsuEoOmv/RtmHcOhaadzygHrIe6wZdxuVEAo74 3SxiQZ+UOudcq81VkKlQHEs/sF4i830z2hoxLP4gvtHGD1pmxPaS3QlhtWMCZBomllEl 10Qg== 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; bh=3XqUE4GKG0bw6g8Lus2UIv4Zyte8BSzdEUh+tUv55WI=; b=S2NHIcfE0gWV/qtvTc3W+pNL4nY8oWW2zyI/VArFq9IrzKbshNZWbl3WrN1C+n/Y6c dGraBaB7mFZLEHmPeS/ATJMf6m6aiV9Grqwb2vHDEYCPckc0nvaFRAHswpCx+pzu1vF8 m+KfvCIWTagQBXUQNvBckO88ejfLW9zb6Wk2R0b5nI9uqYmMMA715irOvTiFX82kJZ/i F6LRoOrClyUIsaj844xogrb235QaulaVxFwazlYFXi4TStr0Nc4ZKY1efuJmSgNgEu7S dcNen3wL1A8LbbRGMjgAfkjKLws5KnsxLC6S2KApVLtqM+gedqyBKFNqMKgqYBDD6wkb f3tg== X-Gm-Message-State: AIVw112rZMGZfOVamhOnfnS6adGC8O6mfnJQLdjiV9dH6tp15/rbPfIr q73i7fBPucfpDvYo X-Received: by 10.28.54.202 with SMTP id y71mr11710851wmh.106.1501502168195; Mon, 31 Jul 2017 04:56:08 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id 23sm11013065wrz.8.2017.07.31.04.56.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Jul 2017 04:56:07 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong , Michael Turquette , Stephen Boyd , Carlo Caione , Kevin Hilman Subject: [PATCH v3 1/2] clk: meson: gxbb: Add sd_emmc clk0 clkids Date: Mon, 31 Jul 2017 13:56:02 +0200 Message-Id: <20170731115603.29720-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170731115603.29720-1-jbrunet@baylibre.com> References: <20170731115603.29720-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170731_045630_280126_FFB6D226 X-CRM114-Status: GOOD ( 10.11 ) 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: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 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 Add the clkids for the clocks feeding the input0 of the mmc controllers Signed-off-by: Jerome Brunet --- drivers/clk/meson/gxbb.h | 10 ++++++++-- include/dt-bindings/clock/gxbb-clkc.h | 3 +++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h index 2c8986d3232c..5b1d4b374d1c 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -184,8 +184,14 @@ #define CLKID_CTS_MCLK_I958_DIV 112 #define CLKID_32K_CLK_SEL 115 #define CLKID_32K_CLK_DIV 116 - -#define NR_CLKS 117 +#define CLKID_SD_EMMC_A_CLK0_SEL 117 +#define CLKID_SD_EMMC_A_CLK0_DIV 118 +#define CLKID_SD_EMMC_B_CLK0_SEL 120 +#define CLKID_SD_EMMC_B_CLK0_DIV 121 +#define CLKID_SD_EMMC_C_CLK0_SEL 123 +#define CLKID_SD_EMMC_C_CLK0_DIV 124 + +#define NR_CLKS 126 /* include the CLKIDs that have been made part of the DT binding */ #include diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index e07fea011ebd..c04a76d8facf 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -110,5 +110,8 @@ #define CLKID_CTS_MCLK_I958 110 #define CLKID_CTS_I958 113 #define CLKID_32K_CLK 114 +#define CLKID_SD_EMMC_A_CLK0 119 +#define CLKID_SD_EMMC_B_CLK0 122 +#define CLKID_SD_EMMC_C_CLK0 125 #endif /* __GXBB_CLKC_H */