From patchwork Tue Jun 7 11:19:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9160585 X-Patchwork-Delegate: sboyd@codeaurora.org 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 CC44B60572 for ; Tue, 7 Jun 2016 11:22:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBB5E25EF7 for ; Tue, 7 Jun 2016 11:22:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B099E2823D; Tue, 7 Jun 2016 11:22:15 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA48525EF7 for ; Tue, 7 Jun 2016 11:22:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754420AbcFGLVJ (ORCPT ); Tue, 7 Jun 2016 07:21:09 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:37586 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754536AbcFGLVE (ORCPT ); Tue, 7 Jun 2016 07:21:04 -0400 Received: by mail-wm0-f41.google.com with SMTP id k204so64391043wmk.0 for ; Tue, 07 Jun 2016 04:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=A8+bF5FOKwxYrzPdkvUSZYCySgIP/Netb7VHrQ7p50o=; b=KV0aVT87d6GYscv7CmkWypGZ/c8tuQh5+gvgPKyGBxFfZtpyeeoGoV9KEgbbZMDMoF UYB5c8IajGwrAFiY/70XCRxClkUSfziXeIv15OVdZqvtQPvSuHwObmGkc3TK9vy+ineb F0nupx/+lQxZADc+dGIUy348RI/buRSG3l7p8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=A8+bF5FOKwxYrzPdkvUSZYCySgIP/Netb7VHrQ7p50o=; b=AVtV5KCfhZLMAI/iIZDOhnvY0z5+G9Uj71AgKynHG3XwqfmHIE74FZabpvAzna+XEZ mvOVLMfSAlgzc0KNay/8++MJDVoz7rnvMoMYibhRuh1T4Q1zO+/8SZ5FzePyjFxOhCE3 oMQoZ956pwcRaaOxQRCzXRsqh2D7oSvWeuUIiJZPrtMvNVbWit1ud8hoRR/GqFQZ3ryy iYHQQhhBPJb4Ow2XXbYr1IWz+26i/H+bQ8bHFNL2+B6VCsGWATdoy0CD+4v4HgYts+kI V0JIrJF3KOHi+30fdnNKX26f1uHoHMhZCtcww7p3FBd40AwLYgT9mQY5NSJqHKoAbUDz 3mFw== X-Gm-Message-State: ALyK8tIf49VfnhWPtRiibtnkgJ8C6DUdlo8UWdB5ZECwV9uJ9cfSbKU7gYQqTQTWIJEutATH X-Received: by 10.194.116.69 with SMTP id ju5mr20154525wjb.101.1465298463326; Tue, 07 Jun 2016 04:21:03 -0700 (PDT) Received: from localhost.localdomain (host81-129-171-215.range81-129.btcentralplus.com. [81.129.171.215]) by smtp.gmail.com with ESMTPSA id t199sm14466371wmt.11.2016.06.07.04.21.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jun 2016 04:21:02 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, maxime.coquelin@st.com, patrice.chotard@st.com, mturquette@baylibre.com, sboyd@codeaurora.org, broonie@kernel.org, linux-clk@vger.kernel.org, linux-spi@vger.kernel.org, Lee Jones Subject: [PATCH 4/6] ARM: sti: stih407-family: Supply defines for CLOCKGEN A0 Date: Tue, 7 Jun 2016 12:19:28 +0100 Message-Id: <20160607111930.10375-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20160607111930.10375-1-lee.jones@linaro.org> References: <20160607111930.10375-1-lee.jones@linaro.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There are 2 LMI clocks generated by CLOCKGEN A0. We wish to control them individually and need to use these indexes to do so. Signed-off-by: Lee Jones --- include/dt-bindings/clock/stih407-clks.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/clock/stih407-clks.h b/include/dt-bindings/clock/stih407-clks.h index 7af2b71..082edd9 100644 --- a/include/dt-bindings/clock/stih407-clks.h +++ b/include/dt-bindings/clock/stih407-clks.h @@ -5,6 +5,10 @@ #ifndef _DT_BINDINGS_CLK_STIH407 #define _DT_BINDINGS_CLK_STIH407 +/* CLOCKGEN A0 */ +#define CLK_IC_LMI0 0 +#define CLK_IC_LMI1 1 + /* CLOCKGEN C0 */ #define CLK_ICN_GPU 0 #define CLK_FDMA 1