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: 69488 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp1922560qgf; Tue, 7 Jun 2016 04:21:36 -0700 (PDT) X-Received: by 10.67.22.129 with SMTP id hs1mr30275902pad.105.1465298496695; Tue, 07 Jun 2016 04:21:36 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d129si22783178pfa.184.2016.06.07.04.21.36; Tue, 07 Jun 2016 04:21:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754760AbcFGLVL (ORCPT + 31 others); Tue, 7 Jun 2016 07:21:11 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:37586 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754544AbcFGLVE (ORCPT ); Tue, 7 Jun 2016 07:21:04 -0400 Received: by mail-wm0-f42.google.com with SMTP id k204so64391044wmk.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=EGTcDE0HKUw9jo8BWXj4SBzm+YdIs3FOW5Ft6cI6tmYga0OYdYFJfq3IQlaq1vym9R 6lzQAfVNF9aEcZGmOmOUH5/yubGQqmXYAHd0YPavb4dt2QgxF5+BYnskzW+9z5lyKSV3 LyqSiKIt3tB/GoKEF/75N+XYmPsp8YUN/qskIn5XWEjD9pVR8kmT9JPecHsefieBHJGA axiBh0FwaWHmYDwZjYBfq8y6p0tSeDIFTKzIewr4o08eeS8Nd89aPUUJIaH3BTP6WW4D jc4LZ1xWuN47qRfpNQDwcVMkfRrlveAWKgOA0tuCzyh8U20ylMjVs+9Q528mUtJbg5uM YrSw== X-Gm-Message-State: ALyK8tLQE1B7uN0Y///CRtUnS0M5wNEC2n7P91PLKB9PwAqruf0filUFKOTrGYuHYjf921i+ 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.8.3 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