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: 40385 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f71.google.com (mail-ee0-f71.google.com [74.125.83.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 62FEE240F7 for ; Fri, 7 Nov 2014 11:58:47 +0000 (UTC) Received: by mail-ee0-f71.google.com with SMTP id e51sf3262588eek.6 for ; Fri, 07 Nov 2014 03:58:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=X2f4+nw4cGoM8D5w/x/yK6x/TFqrrnaMszhRpVcX4Hw=; b=VLv3nrXrZ2EyJx+7ZNaB7wzu7oUzxFc/yGaK6xMqz/b+kiXou3depoN1CGSv2VsYlV VhXtEnu0wJr2TbH28ZvvewyFD0fSYoqaUWsiUYY5MWESf7YSF3d8SVBoS0z+rW0pf4tN Tr4M4hMUTlGUAkk6PQxG0pAF92xmzNXhNPBfkzDjXdhb9FsUUhQBQqLRV189YxXRtkXR rigoZKx5pn9Ei+yY19yWWD9ufhqFYzFmCmnDZYcbAuq91Db7ZLvdhcscP67hzMSE0vmD IURKDyd+/agG6DeG4iHlggzF+aTtWCfIpnTTjHCF7hWKyInCgJQtDP3rmaEb7OI2sXoe A0lg== X-Gm-Message-State: ALoCoQn0pYgg3IaA5JBBWujNB3LrYUiPrtWmdsQKUSPb8RXyWVYtF2VNuOx+qS6qHKHLBcQiUMCI X-Received: by 10.181.8.194 with SMTP id dm2mr585638wid.2.1415361526677; Fri, 07 Nov 2014 03:58:46 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.227 with SMTP id i3ls166335lae.28.gmail; Fri, 07 Nov 2014 03:58:46 -0800 (PST) X-Received: by 10.152.1.130 with SMTP id 2mr1979877lam.89.1415361526365; Fri, 07 Nov 2014 03:58:46 -0800 (PST) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id d5si14746402laf.110.2014.11.07.03.58.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Nov 2014 03:58:46 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id l4so2479008lbv.40 for ; Fri, 07 Nov 2014 03:58:46 -0800 (PST) X-Received: by 10.152.6.228 with SMTP id e4mr10758017laa.71.1415361526183; Fri, 07 Nov 2014 03:58:46 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp185350lbc; Fri, 7 Nov 2014 03:58:45 -0800 (PST) X-Received: by 10.68.140.203 with SMTP id ri11mr1262646pbb.169.1415361524316; Fri, 07 Nov 2014 03:58:44 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fp12si4895852pad.23.2014.11.07.03.58.43 for ; Fri, 07 Nov 2014 03:58:44 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752266AbaKGL6j (ORCPT + 25 others); Fri, 7 Nov 2014 06:58:39 -0500 Received: from mail-wi0-f182.google.com ([209.85.212.182]:54486 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752234AbaKGL6f (ORCPT ); Fri, 7 Nov 2014 06:58:35 -0500 Received: by mail-wi0-f182.google.com with SMTP id d1so4300441wiv.3 for ; Fri, 07 Nov 2014 03:58:34 -0800 (PST) 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 Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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