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: 9160575 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 B312460572 for ; Tue, 7 Jun 2016 11:21:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A22BE281D2 for ; Tue, 7 Jun 2016 11:21:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 955B9281FE; Tue, 7 Jun 2016 11:21:44 +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=ham 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 2546325EF7 for ; Tue, 7 Jun 2016 11:21:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754544AbcFGLVM (ORCPT ); Tue, 7 Jun 2016 07:21:12 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:34849 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754526AbcFGLVE (ORCPT ); Tue, 7 Jun 2016 07:21:04 -0400 Received: by mail-wm0-f45.google.com with SMTP id v199so14519680wmv.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=ZML6FaXCCQsVr4ysFsZiqgyqzY+hyPfHOtJK7eQJDPqgAQH5iUidDT3IcnyZdJVskQ 5THPVQ405inbx8QDhnb9njNQ3EkUUkYoHrQ1Aup9KuRR58e1C+RN7qoD0PpkLFYFmqqM PdyiuYb/U6aUXnTggVT6zQy8nH/UjO52/LECMoErEU6vBP8oXBwEjlcPXFpIWeQeUyEK zmDQ5qqhR+rKHT3Qv5Af2FgTdj85UmQYv7V+wg/7MbYs1i8Mwwxoc4YBDbdnX9+zTEWQ TV7Y0TGTh7DHbB0C7FOlNZLXTQ7wvtAGG1OnUIJNkYYZjSSE9RuQ+WWLhwkCy2E3ZfYI j6/w== X-Gm-Message-State: ALyK8tLNeGbqRhQX2fXNzRViULk7YbhDRahPiIJqZUDNc4ylMgjEVZSNQcYugjlXN6Mp+DPS 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-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@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