Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1421617

Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399

From Heiko Stübner <heiko@sntech.de>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399
Date 2016-06-14 08:50 +0200
Message-ID <rJQkG-16U-9@gated-at.bofh.it> (permalink)
References <rJabL-6Xa-5@gated-at.bofh.it> <rJMTL-7lq-9@gated-at.bofh.it> <rJNwu-7A5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am Montag, 13. Juni 2016, 20:49:39 schrieb Doug Anderson:
> Hi,
> 
> On Mon, Jun 13, 2016 at 8:02 PM, Xing Zheng <zhengxing@rock-chips.com> 
wrote:
> > Hi Doug,
> > 
> > On 2016年06月14日 07:46, Doug Anderson wrote:
> >> Even if it's not much power, it seems like we should still turn it off
> >> and on in the right place.  Unless I'm mistaken it should be such a
> >> simple patch provide the clock to the right driver and then get the
> >> clock when appropriate.
> > 
> > Yes, I talked with Yakir and we intent to enable/disable the pclk_vio_grf
> > in video drivers,
> > so this patch will be dropped.
> > 
> >>> I will refer the latest TRM to update a new patch for always enable
> >>> these
> >>> GRFs.
> >> 
> >> Does that mean you're going to make these all critical clocks?  That
> >> doesn't sound so great...
> >> 
> >> -Doug
> > 
> > Maybe, I heard that they are removed in the updated TRM, but I have not
> > got
> > the TRM yet.
> > I will double check it, and it seems that you do not agree to remove these
> > clock...
> 
> Well, if it were to be removed from the TRM then that would be a
> strong sign that the SoC designers think that this clock should never
> ever be turned off.  If that were the case I don't think I could
> object to leaving this clock on all the time.  Presumably then we'd
> totally remove the clock from the clock tree and rely on firmware to
> leave it on?  Technically removing this clock is not really
> device-tree backward compatible, but I guess if there are no current
> users...
> 
> ...note: if the clock IS listed in the TRM and there's ever a chance
> that we'd want to turn it off, it's much easier to set that up all
> now.  Trying to later go in and decide that these clocks are no longer
> "always on" gets into all sorts of weird device tree backward
> compatibility corner cases.

PCLK_VIO_GRF gets already exported as clock-id, so we already have the wired 
corner-case :-) . But we'll see how this plays out.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399 Xing Zheng <zhengxing@rock-chips.com> - 2016-06-12 11:50 +0200
  Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399 Doug Anderson <dianders@chromium.org> - 2016-06-12 23:40 +0200
    Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the  RK3399 Xing Zheng <zhengxing@rock-chips.com> - 2016-06-13 05:20 +0200
      Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the  RK3399 Xing Zheng <zhengxing@rock-chips.com> - 2016-06-13 05:40 +0200
      Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399 Doug Anderson <dianders@chromium.org> - 2016-06-14 01:50 +0200
        Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the  RK3399 Xing Zheng <zhengxing@rock-chips.com> - 2016-06-14 05:10 +0200
          Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399 Doug Anderson <dianders@chromium.org> - 2016-06-14 05:50 +0200
            Re: [PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399 Heiko Stübner <heiko@sntech.de> - 2016-06-14 08:50 +0200

csiph-web