lkml.org 
[lkml]   [2018]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v4 2/7] phy: qcom-qmp: Enable pipe_clk before PHY initialization
    From
    Date
    Hi,


    On 4/13/2018 2:08 AM, Stephen Boyd wrote:
    > Quoting Manu Gautam (2018-04-11 08:37:38)
    >>> I ask because it may be easier to never expose these clks in Linux, hit
    >>> the enable bits in the branches during clk driver probe, and then act
    >>> like they never exist because we don't really use them.
    >> This sounds better idea. Let me check if I can get a patch for same in msm8996
    >> and sdm845 clock drivers.
    >>
    > Ok! Presumably the PHY has a way to tell if it failed to turn on right?
    > Put another way, I'm hoping these branch bits aren't there to help us
    > debug and figure out when the PHY PLL fails to lock.

    Yes, PHY has a PCS_STATUS3 register that indicates whether pipe_clk got enabled or
    not.


    --
    The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
    a Linux Foundation Collaborative Project

    \
     
     \ /
      Last update: 2018-04-13 09:00    [W:2.293 / U:0.284 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site