From patchwork Thu Jun 6 12:16:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 17615 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6D3C320F47 for ; Thu, 6 Jun 2013 12:17:34 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id d1sf2900768qcz.0 for ; Thu, 06 Jun 2013 05:17:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=xgQagMT1lp29uCJTIgj88fQ8VcegzgY1ZcJS9fyIPYI=; b=dNomXUVEIEiuYe095ktVsxIMUpwaTC5e97vRaiuR1WBUdEaI9bxDmOlAqZM8hsGswI WJp5o1+Py88xhk50oNu47YnTLgbBTX6SoP87y0qTNLfWCPnKneOXMHgW5b/LYTlSvdYw +B3zjDXpkIIRZgaAqtdkptCIPjWoDKd74Icq1COWChAKwrJsHB6+SHxVojGFyUmfmJCG kVp5ZSJExoIlkeA9NQTDcqFqpJNPzjm8qsZnL6BXqmJNX8Ku+0kWE2GnnhspIudNzjrC EXX15TK7KPZZvImfoF5agd4udRqcc5GIseRPXhHqZUmSON7Sj0/2MqBRk2serj+ISkLr 4CLA== X-Received: by 10.236.189.241 with SMTP id c77mr20547138yhn.17.1370521054234; Thu, 06 Jun 2013 05:17:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.73.37 with SMTP id i5ls1289888qev.54.gmail; Thu, 06 Jun 2013 05:17:34 -0700 (PDT) X-Received: by 10.52.93.46 with SMTP id cr14mr14204045vdb.132.1370521054025; Thu, 06 Jun 2013 05:17:34 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id 18si41310576vcj.73.2013.06.06.05.17.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 05:17:34 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hv10so1903634vcb.8 for ; Thu, 06 Jun 2013 05:17:33 -0700 (PDT) X-Received: by 10.52.155.67 with SMTP id vu3mr18754318vdb.94.1370521053915; Thu, 06 Jun 2013 05:17:33 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp64367vcb; Thu, 6 Jun 2013 05:17:33 -0700 (PDT) X-Received: by 10.180.74.10 with SMTP id p10mr9550531wiv.39.1370521052879; Thu, 06 Jun 2013 05:17:32 -0700 (PDT) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [2a00:1450:400c:c05::22a]) by mx.google.com with ESMTPS id s3si6977585wia.10.2013.06.06.05.17.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 05:17:32 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::22a is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c05::22a; Received: by mail-wi0-f170.google.com with SMTP id ey16so284921wid.3 for ; Thu, 06 Jun 2013 05:17:32 -0700 (PDT) X-Received: by 10.180.206.235 with SMTP id lr11mr9735634wic.59.1370521052333; Thu, 06 Jun 2013 05:17:32 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPSA id d10sm15436140wik.0.2013.06.06.05.17.30 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 05:17:31 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, Lee Jones Subject: [PATCH 01/33] mfd: dbx500-prcmu: Provide PRCMU numerical clock identifiers Date: Thu, 6 Jun 2013 13:16:49 +0100 Message-Id: <1370521041-32318-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1370521041-32318-1-git-send-email-lee.jones@linaro.org> References: <1370521041-32318-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmVBSiW+jbFx76SXTiU27buheWn82imWd074bFi/GAozqmBSsYiaLNJdSkqfMP7OKqFaoRx X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , These will we used to request DBx500 PRCMU clocks from Device Tree. The numbers used are taken directly from the Hardware Specification document. Signed-off-by: Lee Jones --- include/dt-bindings/mfd/dbx500-prcmu.h | 71 ++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 include/dt-bindings/mfd/dbx500-prcmu.h diff --git a/include/dt-bindings/mfd/dbx500-prcmu.h b/include/dt-bindings/mfd/dbx500-prcmu.h new file mode 100644 index 0000000..e646664 --- /dev/null +++ b/include/dt-bindings/mfd/dbx500-prcmu.h @@ -0,0 +1,71 @@ +/* + * This header provides constants for the PRCMU bindings. + * + */ + +#ifndef _DT_BINDINGS_MFD_PRCMU_H +#define _DT_BINDINGS_MFD_PRCMU_H + +/* + * Clock identifiers. + */ + +#define ARMCLK 0 +#define PRCMU_ACLK 1 +#define PRCMU_SVAMMCSPCLK 2 +#define PRCMU_SIACLK 3 +#define PRCMU_SGACLK 4 +#define PRCMU_UARTCLK 5 +#define PRCMU_MSP02CLK 6 +#define PRCMU_MSP1CLK 7 +#define PRCMU_I2CCLK 8 +#define PRCMU_SDMMCCLK 9 +#define PRCMU_SLIMCLK 10 +#define PRCMU_PER1CLK 11 +#define PRCMU_PER2CLK 12 +#define PRCMU_PER3CLK 13 +#define PRCMU_PER5CLK 14 +#define PRCMU_PER6CLK 15 +#define PRCMU_PER7CLK 16 +#define PRCMU_LCDCLK 17 +#define PRCMU_BMLCLK 18 +#define PRCMU_HSITXCLK 19 +#define PRCMU_HSIRXCLK 20 +#define PRCMU_HDMICLK 21 +#define PRCMU_APEATCLK 22 +#define PRCMU_APETRACECLK 23 +#define PRCMU_MCDECLK 24 +#define PRCMU_IPI2CCLK 25 +#define PRCMU_DSIALTCLK 26 +#define PRCMU_DMACLK 27 +#define PRCMU_B2R2CLK 28 +#define PRCMU_TVCLK 29 +#define SPARE_UNIPROCLK 30 +#define PRCMU_SSPCLK 31 +#define PRCMU_RNGCLK 32 +#define PRCMU_UICCCLK 33 +#define SPARE1CLK 34 +#define SPARE2CLK 35 + +#define PRCMU_NUM_REG_CLOCKS 39 + +#define PRCMU_RTCCLK PRCMU_NUM_REG_CLOCKS +#define PRCMU_SYSCLK 40 +#define PRCMU_CDCLK 41 +#define PRCMU_TIMCLK 42 +#define PRCMU_PLLSOC0 43 +#define PRCMU_PLLSOC1 44 +#define PRCMU_ARMSS 45 +#define PRCMU_PLLDDR 46 + +/* DSI Clocks */ +#define PRCMU_PLLDSI 47 +#define PRCMU_DSI0CLK 48 +#define PRCMU_DSI1CLK 49 +#define PRCMU_DSI0ESCCLK 50 +#define PRCMU_DSI1ESCCLK 51 +#define PRCMU_DSI2ESCCLK 52 + +#define PRCMU_NUM_CLKS 53 + +#endif