Re: [PATCH 2/2] phy: msm8996-pcie-phy: Add support to msm8996 pcie phy

2016-09-16 Thread Srinivas Kandagatla
On 16/09/16 15:14, Stanimir Varbanov wrote: > + writel_relaxed(0x0f, base + QSERDES_COM_BG_TRIM); > + writel_relaxed(0x0f, base + QSERDES_COM_PLL_IVCO); > + writel_relaxed(0x19, base + QSERDES_COM_CLK_EP_DIV); > + writel_relaxed(0x10, base + QSERDES_COM_CLK_ENABLE1); > +

Re: [PATCH 2/2] phy: msm8996-pcie-phy: Add support to msm8996 pcie phy

2016-09-16 Thread Srinivas Kandagatla
On 16/09/16 15:14, Stanimir Varbanov wrote: > + writel_relaxed(0x0f, base + QSERDES_COM_BG_TRIM); > + writel_relaxed(0x0f, base + QSERDES_COM_PLL_IVCO); > + writel_relaxed(0x19, base + QSERDES_COM_CLK_EP_DIV); > + writel_relaxed(0x10, base + QSERDES_COM_CLK_ENABLE1); > +

Re: [PATCH 2/2] phy: msm8996-pcie-phy: Add support to msm8996 pcie phy

2016-09-16 Thread Srinivas Kandagatla
On 13/09/16 17:06, Archit Taneja wrote: On 9/7/2016 4:25 PM, Srinivas Kandagatla wrote: This patch adds support to msm8996 pcie phy which supports 3 ports, Port A, Port B and Port C. Each port is independent and connected to a pcie host controller, there is also a common block which is

Re: [PATCH 2/2] phy: msm8996-pcie-phy: Add support to msm8996 pcie phy

2016-09-16 Thread Srinivas Kandagatla
On 13/09/16 17:06, Archit Taneja wrote: On 9/7/2016 4:25 PM, Srinivas Kandagatla wrote: This patch adds support to msm8996 pcie phy which supports 3 ports, Port A, Port B and Port C. Each port is independent and connected to a pcie host controller, there is also a common block which is

Re: [PATCH 2/2] phy: msm8996-pcie-phy: Add support to msm8996 pcie phy

2016-09-16 Thread Stanimir Varbanov
Hi Srini, > + > +static int qcom_msm8996_phy_common_power_off(struct phy *phy) > +{ > + struct phy_msm8996_desc *phydesc = phy_get_drvdata(phy); > + struct phy_msm8996_priv *priv = phydesc->priv; > + void __iomem *base = priv->base; > + > + mutex_lock(>phy_mutex); > + if

Re: [PATCH 2/2] phy: msm8996-pcie-phy: Add support to msm8996 pcie phy

2016-09-16 Thread Stanimir Varbanov
Hi Srini, > + > +static int qcom_msm8996_phy_common_power_off(struct phy *phy) > +{ > + struct phy_msm8996_desc *phydesc = phy_get_drvdata(phy); > + struct phy_msm8996_priv *priv = phydesc->priv; > + void __iomem *base = priv->base; > + > + mutex_lock(>phy_mutex); > + if

Re: [PATCH 2/2] phy: msm8996-pcie-phy: Add support to msm8996 pcie phy

2016-09-13 Thread Archit Taneja
On 9/7/2016 4:25 PM, Srinivas Kandagatla wrote: This patch adds support to msm8996 pcie phy which supports 3 ports, Port A, Port B and Port C. Each port is independent and connected to a pcie host controller, there is also a common block which is shared across all the 3 ports. Signed-off-by:

Re: [PATCH 2/2] phy: msm8996-pcie-phy: Add support to msm8996 pcie phy

2016-09-13 Thread Archit Taneja
On 9/7/2016 4:25 PM, Srinivas Kandagatla wrote: This patch adds support to msm8996 pcie phy which supports 3 ports, Port A, Port B and Port C. Each port is independent and connected to a pcie host controller, there is also a common block which is shared across all the 3 ports. Signed-off-by:

[PATCH 2/2] phy: msm8996-pcie-phy: Add support to msm8996 pcie phy

2016-09-07 Thread Srinivas Kandagatla
This patch adds support to msm8996 pcie phy which supports 3 ports, Port A, Port B and Port C. Each port is independent and connected to a pcie host controller, there is also a common block which is shared across all the 3 ports. Signed-off-by: Srinivas Kandagatla

[PATCH 2/2] phy: msm8996-pcie-phy: Add support to msm8996 pcie phy

2016-09-07 Thread Srinivas Kandagatla
This patch adds support to msm8996 pcie phy which supports 3 ports, Port A, Port B and Port C. Each port is independent and connected to a pcie host controller, there is also a common block which is shared across all the 3 ports. Signed-off-by: Srinivas Kandagatla --- drivers/phy/Kconfig