From patchwork Fri Nov 7 11:57:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 5251851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 166D99F387 for ; Fri, 7 Nov 2014 12:03:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 44FFD2012E for ; Fri, 7 Nov 2014 12:03:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 20BDB200E9 for ; Fri, 7 Nov 2014 12:03:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XmiDa-0001EQ-D8; Fri, 07 Nov 2014 12:00:42 +0000 Received: from mail-wg0-f48.google.com ([74.125.82.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XmiBs-0007L9-6v for linux-arm-kernel@lists.infradead.org; Fri, 07 Nov 2014 11:58:57 +0000 Received: by mail-wg0-f48.google.com with SMTP id m15so3520799wgh.21 for ; Fri, 07 Nov 2014 03:58:34 -0800 (PST) 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=6lZzbaEnLeb4b13Wlsj3Ms8AeaDERUIYnYzcrPisT2w=; b=gLxvFnT0sEGJX6ehYWHX3XLQmrksd8Lsjh2VffY9cfPMbEI4AOayUsQ8oRTgxAySIK zw6bm6CwbDMwDWxO6Vc/PXqEfmcXC+8Jkzymt8hf9ZGfomLBwc7ZzNOV95WA9GL2/Spf dxGNcnrTfmTxuAdRZBcwsV6KDFbCQnZuU0OI/rAJMXcdxiR8E935lYWzSAJB/3lnFiEX NypYgmOLblztfKzK2u/Y+Uv8nxn8lgBwYCvR8M/ur4PyWE74NTwW/K3TtVptUkxWP755 1wWpEO1msEjvjzW3yzyn2FpYMOJMyy+PnpiPaaapEB9tNcEb6AcTrg+EsZzdiQ54+c1I IYiA== X-Gm-Message-State: ALoCoQkPIvvuF23TZSZALXjedpnGiI2s4usbeiBkRl4gWbKjNb/Ri9fERUg/D2A1bAPH0OWLBpqX X-Received: by 10.180.102.135 with SMTP id fo7mr4354231wib.79.1415361514230; Fri, 07 Nov 2014 03:58:34 -0800 (PST) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id dw9sm1793500wib.0.2014.11.07.03.58.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Nov 2014 03:58:33 -0800 (PST) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com Subject: [PATCH 08/13] ARM: STi: DT: STiH410: Add defines for STiH410 DT clocks Date: Fri, 7 Nov 2014 11:57:50 +0000 Message-Id: <1415361475-6218-9-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415361475-6218-1-git-send-email-peter.griffin@linaro.org> References: <1415361475-6218-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141107_035856_479283_A4438F18 X-CRM114-Status: GOOD ( 10.04 ) X-Spam-Score: -0.7 (/) Cc: peter.griffin@linaro.org, devicetree@vger.kernel.org, lee.jones@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Although most clock outputs are the same as stih407 SoC, stih410 also has some additional new clock outputs. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- include/dt-bindings/clock/stih410-clks.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/dt-bindings/clock/stih410-clks.h diff --git a/include/dt-bindings/clock/stih410-clks.h b/include/dt-bindings/clock/stih410-clks.h new file mode 100644 index 0000000..2c5d6ff --- /dev/null +++ b/include/dt-bindings/clock/stih410-clks.h @@ -0,0 +1,24 @@ +/* + * This header provides constants clk index STMicroelectronics + * STiH410 SoC. + */ +#ifndef _DT_BINDINGS_CLK_STIH410 +#define _DT_BINDINGS_CLK_STIH410 +#include "stih407-clks.h" + +/* STiH410 introduces new clock outputs compared to STiH407 */ + +/* CLOCKGEN C0 */ +#define CLK_TX_ICN_HADES 32 +#define CLK_RX_ICN_HADES 33 +#define CLK_ICN_REG_16 34 +#define CLK_PP_HADES 35 +#define CLK_CLUST_HADES 36 +#define CLK_HWPE_HADES 37 +#define CLK_FC_HADES 38 + +/* CLOCKGEN D0 */ +#define CLK_PCMR10_MASTER 4 +#define CLK_USB2_PHY 5 + +#endif