public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: t-kristo@ti•com (Tero Kristo)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCHv4 01/10] arm: dra7: add DESHDCP clock
Date: Tue, 2 Jun 2015 09:56:39 +0300	[thread overview]
Message-ID: <556D53A7.9090302@ti.com> (raw)
In-Reply-To: <1433139798-23450-2-git-send-email-tomi.valkeinen@ti.com>

On 06/01/2015 09:23 AM, Tomi Valkeinen wrote:
> Add a new Linux clock for DRA7 based SoCs to control DESHDCP clock.
>
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti•com>

Acked-by: Tero Kristo <t-kristo@ti•com>

> ---
>   arch/arm/boot/dts/dra7.dtsi               |  5 +++++
>   arch/arm/boot/dts/dra7xx-clocks.dtsi      | 10 ++++++++++
>   arch/arm/mach-omap2/omap_hwmod_7xx_data.c |  1 +
>   drivers/clk/ti/clk-7xx.c                  |  1 +
>   4 files changed, 17 insertions(+)
>
> diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
> index 5332b57b4950..db0890a36e96 100644
> --- a/arch/arm/boot/dts/dra7.dtsi
> +++ b/arch/arm/boot/dts/dra7.dtsi
> @@ -131,6 +131,11 @@
>   							regulator-max-microvolt = <3000000>;
>   						};
>   					};
> +
> +					scm_conf_clocks: clocks {
> +						#address-cells = <1>;
> +						#size-cells = <0>;
> +					};
>   				};
>
>   				dra7_pmx_core: pinmux at 1400 {
> diff --git a/arch/arm/boot/dts/dra7xx-clocks.dtsi b/arch/arm/boot/dts/dra7xx-clocks.dtsi
> index 3b933f74d000..470f39c4e326 100644
> --- a/arch/arm/boot/dts/dra7xx-clocks.dtsi
> +++ b/arch/arm/boot/dts/dra7xx-clocks.dtsi
> @@ -2136,3 +2136,13 @@
>   		clocks = <&dpll_usb_ck>;
>   	};
>   };
> +
> +&scm_conf_clocks {
> +	dss_deshdcp_clk: dss_deshdcp_clk {
> +		#clock-cells = <0>;
> +		compatible = "ti,gate-clock";
> +		clocks = <&l3_iclk_div>;
> +		ti,bit-shift = <0>;
> +		reg = <0x558>;
> +	};
> +};
> diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
> index 0e64c2fac0b5..817dbd87ce67 100644
> --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
> @@ -438,6 +438,7 @@ static struct omap_hwmod_opt_clk dss_opt_clks[] = {
>   	{ .role = "video2_clk", .clk = "dss_video2_clk" },
>   	{ .role = "video1_clk", .clk = "dss_video1_clk" },
>   	{ .role = "hdmi_clk", .clk = "dss_hdmi_clk" },
> +	{ .role = "hdcp_clk", .clk = "dss_deshdcp_clk" },
>   };
>
>   static struct omap_hwmod dra7xx_dss_hwmod = {
> diff --git a/drivers/clk/ti/clk-7xx.c b/drivers/clk/ti/clk-7xx.c
> index 5d2217ae4478..2dd956b9affa 100644
> --- a/drivers/clk/ti/clk-7xx.c
> +++ b/drivers/clk/ti/clk-7xx.c
> @@ -305,6 +305,7 @@ static struct ti_dt_clk dra7xx_clks[] = {
>   	DT_CLK("4882c000.timer", "timer_sys_ck", "timer_sys_clk_div"),
>   	DT_CLK("4882e000.timer", "timer_sys_ck", "timer_sys_clk_div"),
>   	DT_CLK(NULL, "sys_clkin", "sys_clkin1"),
> +	DT_CLK(NULL, "dss_deshdcp_clk", "dss_deshdcp_clk"),
>   	{ .node_name = NULL },
>   };
>
>

  reply	other threads:[~2015-06-02  6:56 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-01  6:23 [PATCHv4 00/10] ARM: DRA7: add display support Tomi Valkeinen
2015-06-01  6:23 ` [PATCHv4 01/10] arm: dra7: add DESHDCP clock Tomi Valkeinen
2015-06-02  6:56   ` Tero Kristo [this message]
2015-06-01  6:23 ` [PATCHv4 02/10] CLK: TI: always enable " Tomi Valkeinen
2015-06-01 21:49   ` Tony Lindgren
2015-06-02  6:57     ` Tero Kristo
2015-06-01  6:23 ` [PATCHv4 03/10] arm/dts: dra7xx: add 'ti, set-rate-parent' for dss_dss_clk Tomi Valkeinen
2015-06-02  6:57   ` [PATCHv4 03/10] arm/dts: dra7xx: add 'ti,set-rate-parent' " Tero Kristo
2015-06-01  6:23 ` [PATCHv4 04/10] ARM: DRA7: hwmod: add DMM hwmod description Tomi Valkeinen
2015-06-01 22:24   ` Paul Walmsley
2015-06-01  6:23 ` [PATCHv4 05/10] ARM: DRA7: hwmod: set DSS submodule parent hwmods Tomi Valkeinen
2015-06-01 22:26   ` Paul Walmsley
2015-06-01  6:23 ` [PATCHv4 06/10] ARM: OMAP: display: change compat names to array Tomi Valkeinen
2015-06-03 15:42   ` Tony Lindgren
2015-06-01  6:23 ` [PATCHv4 07/10] ARM: OMAP2+: display: detect DRA7 DSS Tomi Valkeinen
2015-06-03 15:42   ` Tony Lindgren
2015-06-01  6:23 ` [PATCHv4 08/10] arm/dts: dra7.dtsi: add DSS support Tomi Valkeinen
2015-06-03 15:43   ` Tony Lindgren
2015-06-01  6:23 ` [PATCHv4 09/10] arm/dts: dra72-evm.dts: add HDMI Tomi Valkeinen
2015-06-03 15:43   ` Tony Lindgren
2015-06-01  6:23 ` [PATCHv4 10/10] arm/dts: am57xx-beagle-x15.dts: " Tomi Valkeinen
2015-06-01 21:51   ` Tony Lindgren
2015-06-02  6:28     ` Tomi Valkeinen
2015-06-03 11:26     ` Tomi Valkeinen
2015-06-03 15:44       ` Tony Lindgren
2015-06-03 16:01         ` Tomi Valkeinen
2015-06-03 16:10           ` Tony Lindgren
2015-06-03 17:16             ` Tony Lindgren
2015-06-04  6:13               ` Tomi Valkeinen

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=556D53A7.9090302@ti.com \
    --to=t-kristo@ti$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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