All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi@samsung.com>
To: Marek Szyprowski <m.szyprowski@samsung.com>,
	linux-samsung-soc@vger.kernel.org
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Subject: Re: [PATCH 1/2] clk: samsung: exynos5433: Add IDs for PHYCLK_MIPIDPHY0_* clocks
Date: Thu, 26 Jan 2017 09:22:49 +0900	[thread overview]
Message-ID: <58894159.1050007@samsung.com> (raw)
In-Reply-To: <1485345118-3082-2-git-send-email-m.szyprowski@samsung.com>

Hi,

On 2017년 01월 25일 20:51, Marek Szyprowski wrote:
> Add missing identifiers for phyclk_mipidphy0_bitclkdiv8_phy and
> phyclk_mipidphy0_rxclkesc0_phy clocks. Access to those clocks is needed
> to setup initial clock configuration for display subsystem in device tree
> in order to avoid dependency on the configuration left by the bootloader.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>  drivers/clk/samsung/clk-exynos5433.c   | 6 ++++--
>  include/dt-bindings/clock/exynos5433.h | 5 ++++-
>  2 files changed, 8 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c
> index 0db5204c307c..1ab4fca255e1 100644
> --- a/drivers/clk/samsung/clk-exynos5433.c
> +++ b/drivers/clk/samsung/clk-exynos5433.c
> @@ -2559,8 +2559,10 @@ static void __init exynos5433_cmu_g2d_init(struct device_node *np)
>  	FRATE(0, "phyclk_mipidphy1_bitclkdiv8_phy", NULL, 0, 188000000),
>  	FRATE(0, "phyclk_mipidphy1_rxclkesc0_phy", NULL, 0, 100000000),
>  	/* PHY clocks from MIPI_DPHY0 */
> -	FRATE(0, "phyclk_mipidphy0_bitclkdiv8_phy", NULL, 0, 188000000),
> -	FRATE(0, "phyclk_mipidphy0_rxclkesc0_phy", NULL, 0, 100000000),
> +	FRATE(CLK_PHYCLK_MIPIDPHY0_BITCLKDIV8_PHY, "phyclk_mipidphy0_bitclkdiv8_phy",
> +			NULL, 0, 188000000),
> +	FRATE(CLK_PHYCLK_MIPIDPHY0_RXCLKESC0_PHY, "phyclk_mipidphy0_rxclkesc0_phy",
> +			NULL, 0, 100000000),
>  	/* PHY clocks from HDMI_PHY */
>  	FRATE(CLK_PHYCLK_HDMIPHY_TMDS_CLKO_PHY, "phyclk_hdmiphy_tmds_clko_phy",
>  			NULL, 0, 300000000),
> diff --git a/include/dt-bindings/clock/exynos5433.h b/include/dt-bindings/clock/exynos5433.h
> index 4fa6bb2136e3..be39d23e6a32 100644
> --- a/include/dt-bindings/clock/exynos5433.h
> +++ b/include/dt-bindings/clock/exynos5433.h
> @@ -771,7 +771,10 @@
>  
>  #define CLK_PCLK_DECON					113
>  
> -#define DISP_NR_CLK					114
> +#define CLK_PHYCLK_MIPIDPHY0_BITCLKDIV8_PHY		114
> +#define CLK_PHYCLK_MIPIDPHY0_RXCLKESC0_PHY		115
> +
> +#define DISP_NR_CLK					116
>  
>  /* CMU_AUD */
>  #define CLK_MOUT_AUD_PLL_USER				1
> 

Looks good to me.
Acked-by: Chanwoo Choi <cw00.choi@samsugn.com>

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

  parent reply	other threads:[~2017-01-26  0:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170125115214eucas1p23df3e1e72af0b30a06f5ef72eccb88fb@eucas1p2.samsung.com>
2017-01-25 11:51 ` [PATCH 0/2] Exynos5433/TM2: add clocks configuration for display subsystem Marek Szyprowski
2017-01-25 11:51   ` [PATCH 1/2] clk: samsung: exynos5433: Add IDs for PHYCLK_MIPIDPHY0_* clocks Marek Szyprowski
2017-01-25 20:06     ` Krzysztof Kozlowski
2017-01-27 11:05       ` Sylwester Nawrocki
2017-01-27 11:34         ` Sylwester Nawrocki
2017-01-31 19:41           ` Krzysztof Kozlowski
2017-01-26  0:22     ` Chanwoo Choi [this message]
2017-01-25 11:51   ` [PATCH 2/2] arm64: dts: exynos: Add initial configuration for DISP clocks for TM2/TM2e Marek Szyprowski
2017-01-26  2:03     ` Chanwoo Choi
2017-01-26 12:32       ` Marek Szyprowski

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=58894159.1050007@samsung.com \
    --to=cw00.choi@samsung.com \
    --cc=b.zolnierkie@samsung.com \
    --cc=krzk@kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=s.nawrocki@samsung.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.