From: Mark Rutland <mark.rutland@arm.com>
To: Gerhard Sittig <gsi@denx.de>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Mike Turquette <mturquette@linaro.org>,
Pawel Moll <Pawel.Moll@arm.com>, Detlev Zundel <dzu@denx.de>,
Stephen Warren <swarren@wwwdotorg.org>,
"rob.herring@calxeda.com" <rob.herring@calxeda.com>,
Scott Wood <scottwood@freescale.com>,
Anatolij Gustschin <agust@denx.de>,
"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Ian Campbell <ian.campbell@citrix.com>
Subject: Re: [PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header
Date: Mon, 2 Dec 2013 09:46:56 +0000 [thread overview]
Message-ID: <20131202094656.GA12952@e106331-lin.cambridge.arm.com> (raw)
In-Reply-To: <1385851897-23475-3-git-send-email-gsi@denx.de>
On Sat, Nov 30, 2013 at 10:51:22PM +0000, Gerhard Sittig wrote:
> introduce a dt-bindings/ header file for MPC512x clocks,
> providing symbolic identifiers for those SoC clocks which
> clients will reference from their device tree nodes
There should be a binding document update to go with this, pointing out
that this include file defines the set of clock IDs for the MPC512x
clocks.
Otherwise, this looks fine to me.
Mark.
>
> Cc: Rob Herring <rob.herring@calxeda.com>
> Cc: Pawel Moll <pawel.moll@arm.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Stephen Warren <swarren@wwwdotorg.org>
> Cc: Ian Campbell <ian.campbell@citrix.com>
> Cc: devicetree@vger.kernel.org
> Reviewed-by: Mike Turquette <mturquette@linaro.org> # for v3: w/o bdlc, PSC ipg
> Signed-off-by: Gerhard Sittig <gsi@denx.de>
> ---
> include/dt-bindings/clock/mpc512x-clock.h | 69 +++++++++++++++++++++++++++++
> 1 file changed, 69 insertions(+)
> create mode 100644 include/dt-bindings/clock/mpc512x-clock.h
>
> diff --git a/include/dt-bindings/clock/mpc512x-clock.h b/include/dt-bindings/clock/mpc512x-clock.h
> new file mode 100644
> index 000000000000..9e81b3b99a32
> --- /dev/null
> +++ b/include/dt-bindings/clock/mpc512x-clock.h
> @@ -0,0 +1,69 @@
> +/*
> + * This header provides constants for MPC512x clock specs in DT bindings.
> + */
> +
> +#ifndef _DT_BINDINGS_CLOCK_MPC512x_CLOCK_H
> +#define _DT_BINDINGS_CLOCK_MPC512x_CLOCK_H
> +
> +#define MPC512x_CLK_DUMMY 0
> +#define MPC512x_CLK_REF 1
> +#define MPC512x_CLK_SYS 2
> +#define MPC512x_CLK_DIU 3
> +#define MPC512x_CLK_VIU 4
> +#define MPC512x_CLK_CSB 5
> +#define MPC512x_CLK_E300 6
> +#define MPC512x_CLK_IPS 7
> +#define MPC512x_CLK_FEC 8
> +#define MPC512x_CLK_SATA 9
> +#define MPC512x_CLK_PATA 10
> +#define MPC512x_CLK_NFC 11
> +#define MPC512x_CLK_LPC 12
> +#define MPC512x_CLK_MBX_BUS 13
> +#define MPC512x_CLK_MBX 14
> +#define MPC512x_CLK_MBX_3D 15
> +#define MPC512x_CLK_AXE 16
> +#define MPC512x_CLK_USB1 17
> +#define MPC512x_CLK_USB2 18
> +#define MPC512x_CLK_I2C 19
> +#define MPC512x_CLK_MSCAN0_MCLK 20
> +#define MPC512x_CLK_MSCAN1_MCLK 21
> +#define MPC512x_CLK_MSCAN2_MCLK 22
> +#define MPC512x_CLK_MSCAN3_MCLK 23
> +#define MPC512x_CLK_BDLC 24
> +#define MPC512x_CLK_SDHC 25
> +#define MPC512x_CLK_PCI 26
> +#define MPC512x_CLK_PSC_MCLK_IN 27
> +#define MPC512x_CLK_SPDIF_TX 28
> +#define MPC512x_CLK_SPDIF_RX 29
> +#define MPC512x_CLK_SPDIF_MCLK 30
> +#define MPC512x_CLK_SPDIF 31
> +#define MPC512x_CLK_AC97 32
> +#define MPC512x_CLK_PSC0_MCLK 33
> +#define MPC512x_CLK_PSC1_MCLK 34
> +#define MPC512x_CLK_PSC2_MCLK 35
> +#define MPC512x_CLK_PSC3_MCLK 36
> +#define MPC512x_CLK_PSC4_MCLK 37
> +#define MPC512x_CLK_PSC5_MCLK 38
> +#define MPC512x_CLK_PSC6_MCLK 39
> +#define MPC512x_CLK_PSC7_MCLK 40
> +#define MPC512x_CLK_PSC8_MCLK 41
> +#define MPC512x_CLK_PSC9_MCLK 42
> +#define MPC512x_CLK_PSC10_MCLK 43
> +#define MPC512x_CLK_PSC11_MCLK 44
> +#define MPC512x_CLK_PSC_FIFO 45
> +#define MPC512x_CLK_PSC0 46
> +#define MPC512x_CLK_PSC1 47
> +#define MPC512x_CLK_PSC2 48
> +#define MPC512x_CLK_PSC3 49
> +#define MPC512x_CLK_PSC4 50
> +#define MPC512x_CLK_PSC5 51
> +#define MPC512x_CLK_PSC6 52
> +#define MPC512x_CLK_PSC7 53
> +#define MPC512x_CLK_PSC8 54
> +#define MPC512x_CLK_PSC9 55
> +#define MPC512x_CLK_PSC10 56
> +#define MPC512x_CLK_PSC11 57
> +
> +#define MPC512x_CLK_LAST_PUBLIC 57
> +
> +#endif
> --
> 1.7.10.4
>
>
next prev parent reply other threads:[~2013-12-02 9:47 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-30 22:51 [PATCH v6 00/17] add COMMON_CLK support for PowerPC MPC512x Gerhard Sittig
2013-11-30 22:51 ` [PATCH v6 01/17] powerpc/fsl-pci: improve clock API use Gerhard Sittig
2013-11-30 22:51 ` [PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header Gerhard Sittig
2013-12-02 9:46 ` Mark Rutland [this message]
2013-12-02 14:25 ` Gerhard Sittig
2013-12-07 9:32 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 03/17] dts: mpc512x: add clock related device tree specs Gerhard Sittig
2013-12-07 9:34 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 04/17] clk: mpc512x: introduce COMMON_CLK for MPC512x (disabled) Gerhard Sittig
2013-12-07 9:37 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 05/17] clk: mpc512x: add backwards compat to the CCF code Gerhard Sittig
2013-12-07 9:40 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 06/17] dts: mpc512x: add clock specs for client lookups Gerhard Sittig
2013-12-07 9:41 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 07/17] clk: mpc5xxx: switch to COMMON_CLK, retire PPC_CLOCK Gerhard Sittig
2013-12-07 9:42 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 08/17] spi: mpc512x: adjust to OF based clock lookup Gerhard Sittig
2013-12-02 9:50 ` Mark Rutland
2013-12-02 15:10 ` Gerhard Sittig
2013-12-02 11:32 ` Mark Brown
2013-12-07 9:46 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 09/17] serial: mpc512x: adjust for " Gerhard Sittig
2013-12-05 0:55 ` Greg Kroah-Hartman
2013-12-07 9:49 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 10/17] serial: mpc512x: setup the PSC FIFO clock as well Gerhard Sittig
2013-12-05 0:55 ` Greg Kroah-Hartman
2013-12-07 9:51 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 11/17] USB: fsl-mph-dr-of: adjust for OF based clock lookup Gerhard Sittig
2013-12-05 0:55 ` Greg Kroah-Hartman
2013-12-07 9:53 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 12/17] mtd: mpc5121_nfc: " Gerhard Sittig
2013-12-07 9:55 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 13/17] [media] fsl-viu: " Gerhard Sittig
2013-12-07 9:55 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 14/17] net: can: mscan: adjust to common clock support for mpc512x Gerhard Sittig
2013-12-07 9:57 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 15/17] net: can: mscan: remove non-CCF code for MPC512x Gerhard Sittig
2013-12-07 9:58 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 16/17] powerpc/mpc512x: improve DIU related clock setup Gerhard Sittig
2013-12-07 9:59 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 17/17] clk: mpc512x: remove migration support workarounds Gerhard Sittig
2013-12-07 10:05 ` Anatolij Gustschin
2013-12-10 13:20 ` [PATCH v6 00/17] add COMMON_CLK support for PowerPC MPC512x Gerhard Sittig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131202094656.GA12952@e106331-lin.cambridge.arm.com \
--to=mark.rutland@arm.com \
--cc=Pawel.Moll@arm.com \
--cc=agust@denx.de \
--cc=devicetree@vger.kernel.org \
--cc=dzu@denx.de \
--cc=gsi@denx.de \
--cc=ian.campbell@citrix.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mturquette@linaro.org \
--cc=rob.herring@calxeda.com \
--cc=scottwood@freescale.com \
--cc=swarren@wwwdotorg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).