Re: [PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-05-07 Thread Amit Nischal
On 2018-05-05 08:54, Stephen Boyd wrote: Quoting Amit Nischal (2018-05-03 04:57:37) On 2018-05-02 13:15, Stephen Boyd wrote: > Quoting Amit Nischal (2018-04-30 09:20:08) > >> +} >> + >> +static void clk_rcg2_shared_disable(struct clk_hw *hw) >> +{ >> + struct clk_rcg2 *rcg =

Re: [PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-05-07 Thread Amit Nischal
On 2018-05-05 08:54, Stephen Boyd wrote: Quoting Amit Nischal (2018-05-03 04:57:37) On 2018-05-02 13:15, Stephen Boyd wrote: > Quoting Amit Nischal (2018-04-30 09:20:08) > >> +} >> + >> +static void clk_rcg2_shared_disable(struct clk_hw *hw) >> +{ >> + struct clk_rcg2 *rcg =

Re: [PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-05-04 Thread Stephen Boyd
Quoting Amit Nischal (2018-05-03 04:57:37) > On 2018-05-02 13:15, Stephen Boyd wrote: > > Quoting Amit Nischal (2018-04-30 09:20:08) > > > >> +} > >> + > >> +static void clk_rcg2_shared_disable(struct clk_hw *hw) > >> +{ > >> + struct clk_rcg2 *rcg = to_clk_rcg2(hw); > >> + struct

Re: [PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-05-04 Thread Stephen Boyd
Quoting Amit Nischal (2018-05-03 04:57:37) > On 2018-05-02 13:15, Stephen Boyd wrote: > > Quoting Amit Nischal (2018-04-30 09:20:08) > > > >> +} > >> + > >> +static void clk_rcg2_shared_disable(struct clk_hw *hw) > >> +{ > >> + struct clk_rcg2 *rcg = to_clk_rcg2(hw); > >> + struct

Re: [PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-05-03 Thread Amit Nischal
On 2018-05-02 13:15, Stephen Boyd wrote: Quoting Amit Nischal (2018-04-30 09:20:08) diff --git a/drivers/clk/qcom/clk-rcg.h b/drivers/clk/qcom/clk-rcg.h index 2a7489a..f795b3e 100644 --- a/drivers/clk/qcom/clk-rcg.h +++ b/drivers/clk/qcom/clk-rcg.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013,

Re: [PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-05-03 Thread Amit Nischal
On 2018-05-02 13:15, Stephen Boyd wrote: Quoting Amit Nischal (2018-04-30 09:20:08) diff --git a/drivers/clk/qcom/clk-rcg.h b/drivers/clk/qcom/clk-rcg.h index 2a7489a..f795b3e 100644 --- a/drivers/clk/qcom/clk-rcg.h +++ b/drivers/clk/qcom/clk-rcg.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013,

Re: [PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-05-02 Thread Stephen Boyd
Quoting Amit Nischal (2018-04-30 09:20:08) > diff --git a/drivers/clk/qcom/clk-rcg.h b/drivers/clk/qcom/clk-rcg.h > index 2a7489a..f795b3e 100644 > --- a/drivers/clk/qcom/clk-rcg.h > +++ b/drivers/clk/qcom/clk-rcg.h > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2013, The Linux Foundation. All rights

Re: [PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-05-02 Thread Stephen Boyd
Quoting Amit Nischal (2018-04-30 09:20:08) > diff --git a/drivers/clk/qcom/clk-rcg.h b/drivers/clk/qcom/clk-rcg.h > index 2a7489a..f795b3e 100644 > --- a/drivers/clk/qcom/clk-rcg.h > +++ b/drivers/clk/qcom/clk-rcg.h > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2013, The Linux Foundation. All rights

[PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-04-30 Thread Amit Nischal
For some root clock generators, there could be child branches which are controlled by an entity other than application processor subsystem. For such RCGs, as per application processor subsystem clock driver, all of its downstream clocks are disabled and RCG is in disabled state but in reality

[PATCH v6 1/3] clk: qcom: Configure the RCGs to a safe source as needed

2018-04-30 Thread Amit Nischal
For some root clock generators, there could be child branches which are controlled by an entity other than application processor subsystem. For such RCGs, as per application processor subsystem clock driver, all of its downstream clocks are disabled and RCG is in disabled state but in reality