From: Stephen Boyd <sboyd@codeaurora.org>
To: Chris Zhong <zyw@rock-chips.com>
Cc: heiko@sntech.de, linux-rockchip@lists.infradead.org,
devicetree@vger.kernel.org, linux-clk@vger.kernel.org,
Michael Turquette <mturquette@baylibre.com>,
Jeff Chen <cym@rock-chips.com>,
linux-kernel@vger.kernel.org,
Doug Anderson <dianders@chromium.org>,
Kumar Gala <galak@codeaurora.org>,
"David S. Miller" <davem@davemloft.net>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Sonny Rao <sonnyrao@chromium.org>,
Rob Herring <robh+dt@kernel.org>,
linux-arm-kernel@lists.infradead.org,
Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Huang Lin <hl@rock-chips.com>,
Roger Chen <roger.chen@rock-chips.com>,
Alexandru M Stan <amstan@chromium.org>
Subject: Re: [PATCH 01/10] clk: rockchip: Add sclk_mipidsi_24m for mipi dsi
Date: Fri, 16 Oct 2015 14:39:40 -0700 [thread overview]
Message-ID: <20151016213940.GA10182@codeaurora.org> (raw)
In-Reply-To: <1444470930-17150-2-git-send-email-zyw@rock-chips.com>
On 10/10, Chris Zhong wrote:
> sclk_mipidsi_24m is the gating of mipi dsi phy.
>
> Signed-off-by: Chris Zhong <zyw@rock-chips.com>
> ---
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
>
> drivers/clk/rockchip/clk-rk3288.c | 2 +-
> include/dt-bindings/clock/rk3288-cru.h | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c
> index 9040878..c7d7ebf 100644
> --- a/drivers/clk/rockchip/clk-rk3288.c
> +++ b/drivers/clk/rockchip/clk-rk3288.c
> @@ -709,7 +709,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
> GATE(SCLK_LCDC_PWM1, "sclk_lcdc_pwm1", "xin24m", 0, RK3288_CLKGATE_CON(13), 11, GFLAGS),
> GATE(SCLK_PVTM_CORE, "sclk_pvtm_core", "xin24m", 0, RK3288_CLKGATE_CON(5), 9, GFLAGS),
> GATE(SCLK_PVTM_GPU, "sclk_pvtm_gpu", "xin24m", 0, RK3288_CLKGATE_CON(5), 10, GFLAGS),
> - GATE(0, "sclk_mipidsi_24m", "xin24m", 0, RK3288_CLKGATE_CON(5), 15, GFLAGS),
> + GATE(SCLK_MIPI_24M, "sclk_mipidsi_24m", "xin24m", 0, RK3288_CLKGATE_CON(5), 15, GFLAGS),
>
It would have been better to make #defines for all these clocks
even if they weren't going to be used here. Then we could have
applied this patch directly to clk tree without having a clk tree
to arm-soc dependency. </grumble>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
WARNING: multiple messages have this Message-ID (diff)
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 01/10] clk: rockchip: Add sclk_mipidsi_24m for mipi dsi
Date: Fri, 16 Oct 2015 14:39:40 -0700 [thread overview]
Message-ID: <20151016213940.GA10182@codeaurora.org> (raw)
In-Reply-To: <1444470930-17150-2-git-send-email-zyw@rock-chips.com>
On 10/10, Chris Zhong wrote:
> sclk_mipidsi_24m is the gating of mipi dsi phy.
>
> Signed-off-by: Chris Zhong <zyw@rock-chips.com>
> ---
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
>
> drivers/clk/rockchip/clk-rk3288.c | 2 +-
> include/dt-bindings/clock/rk3288-cru.h | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c
> index 9040878..c7d7ebf 100644
> --- a/drivers/clk/rockchip/clk-rk3288.c
> +++ b/drivers/clk/rockchip/clk-rk3288.c
> @@ -709,7 +709,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
> GATE(SCLK_LCDC_PWM1, "sclk_lcdc_pwm1", "xin24m", 0, RK3288_CLKGATE_CON(13), 11, GFLAGS),
> GATE(SCLK_PVTM_CORE, "sclk_pvtm_core", "xin24m", 0, RK3288_CLKGATE_CON(5), 9, GFLAGS),
> GATE(SCLK_PVTM_GPU, "sclk_pvtm_gpu", "xin24m", 0, RK3288_CLKGATE_CON(5), 10, GFLAGS),
> - GATE(0, "sclk_mipidsi_24m", "xin24m", 0, RK3288_CLKGATE_CON(5), 15, GFLAGS),
> + GATE(SCLK_MIPI_24M, "sclk_mipidsi_24m", "xin24m", 0, RK3288_CLKGATE_CON(5), 15, GFLAGS),
>
It would have been better to make #defines for all these clocks
even if they weren't going to be used here. Then we could have
applied this patch directly to clk tree without having a clk tree
to arm-soc dependency. </grumble>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2015-10-16 21:39 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-10 9:55 [PATCH 00/10] Add mipi dsi support for rk3288 Chris Zhong
2015-10-10 9:55 ` Chris Zhong
2015-10-10 9:55 ` Chris Zhong
2015-10-10 9:55 ` [PATCH 01/10] clk: rockchip: Add sclk_mipidsi_24m for mipi dsi Chris Zhong
2015-10-10 9:55 ` Chris Zhong
2015-10-16 21:39 ` Stephen Boyd [this message]
2015-10-16 21:39 ` Stephen Boyd
2015-10-17 0:49 ` Chris Zhong
2015-10-17 0:49 ` Chris Zhong
2015-10-10 9:55 ` [PATCH 03/10] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format Chris Zhong
2015-10-10 9:55 ` [PATCH 04/10] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver Chris Zhong
2015-10-10 9:55 ` [PATCH 05/10] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver Chris Zhong
2015-10-10 10:29 ` kbuild test robot
2015-10-10 10:29 ` kbuild test robot
2015-10-10 12:42 ` kbuild test robot
2015-10-10 12:42 ` kbuild test robot
2015-10-11 7:26 ` kbuild test robot
2015-10-11 7:26 ` kbuild test robot
[not found] ` <1444470930-17150-1-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2015-10-10 9:55 ` [PATCH 02/10] drm/rockchip: return a true clock rate to adjusted_mode Chris Zhong
2015-10-10 9:55 ` Chris Zhong
2015-10-10 9:55 ` Chris Zhong
2015-10-10 9:55 ` [PATCH 06/10] drm: rockchip: Support Synopsys DesignWare MIPI DSI host controller Chris Zhong
2015-10-10 9:55 ` Chris Zhong
2015-10-10 9:55 ` Chris Zhong
2015-10-10 9:55 ` [PATCH 07/10] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver Chris Zhong
2015-10-10 9:55 ` Chris Zhong
2015-10-10 9:55 ` Chris Zhong
2015-10-10 9:55 ` [PATCH 08/10] ARM: dts: rockchip: add rk3288 mipi_dsi nodes Chris Zhong
2015-10-10 9:55 ` Chris Zhong
2015-10-10 9:55 ` [PATCH 09/10] drm/panel: simple: Add support for BOE TV080WUM-NL0 Chris Zhong
2015-10-30 17:30 ` Thierry Reding
2015-10-30 17:30 ` Thierry Reding
2015-10-10 9:55 ` [PATCH 10/10] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 for rk3288-evb Chris Zhong
2015-10-10 9:55 ` Chris Zhong
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=20151016213940.GA10182@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=amstan@chromium.org \
--cc=cym@rock-chips.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=galak@codeaurora.org \
--cc=heiko@sntech.de \
--cc=hl@rock-chips.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=mturquette@baylibre.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=roger.chen@rock-chips.com \
--cc=sonnyrao@chromium.org \
--cc=zyw@rock-chips.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.