All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: Add USB3 PHY reset lines
@ 2016-09-15  4:45 vivek.gautam
  2016-09-15  5:27 ` Vivek Gautam
  2016-09-16 23:21 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: vivek.gautam @ 2016-09-15  4:45 UTC (permalink / raw)
  To: sboyd
  Cc: andy.gross, david.brown, mturquette, srinivas.kandagatla,
	linux-arm-msm, linux-clk, linux-kernel, Vivek Gautam

From: Vivek Gautam <vivek.gautam@codeaurora.org>

Adding missing reset lines for USB 3.0 PHY.

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
---

 - Build tested on clk-next branch.
 - Tested with my wip branch for usbphy that is available @[1].

[1]https://github.com/vivekgautam1/linux/tree/linaro/integration-linux-qcomlt-usbphy-wip

 drivers/clk/qcom/gcc-msm8996.c               | 2 ++
 include/dt-bindings/clock/qcom,gcc-msm8996.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/drivers/clk/qcom/gcc-msm8996.c b/drivers/clk/qcom/gcc-msm8996.c
index ebe5d18..fe03e6f 100644
--- a/drivers/clk/qcom/gcc-msm8996.c
+++ b/drivers/clk/qcom/gcc-msm8996.c
@@ -3329,6 +3329,8 @@ static const struct qcom_reset_map gcc_msm8996_resets[] = {
 	[GCC_USB_20_BCR] = { 0x12000 },
 	[GCC_QUSB2PHY_PRIM_BCR] = { 0x12038 },
 	[GCC_QUSB2PHY_SEC_BCR] = { 0x1203c },
+	[GCC_USB3_PHY_BCR] = { 0x50020 },
+	[GCC_USB3PHY_PHY_BCR] = { 0x50024 },
 	[GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x6a000 },
 	[GCC_SDCC1_BCR] = { 0x13000 },
 	[GCC_SDCC2_BCR] = { 0x14000 },
diff --git a/include/dt-bindings/clock/qcom,gcc-msm8996.h b/include/dt-bindings/clock/qcom,gcc-msm8996.h
index b7ea1e8..1828723 100644
--- a/include/dt-bindings/clock/qcom,gcc-msm8996.h
+++ b/include/dt-bindings/clock/qcom,gcc-msm8996.h
@@ -337,6 +337,8 @@
 #define GCC_QREFS_VBG_CAL_BCR					100
 #define GCC_PCIE_PHY_COM_BCR					101
 #define GCC_PCIE_PHY_COM_NOCSR_BCR				102
+#define GCC_USB3_PHY_BCR					103
+#define GCC_USB3PHY_PHY_BCR					104
 
 
 /* Indexes for GDSCs */
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: Add USB3 PHY reset lines
  2016-09-15  4:45 [PATCH] clk: Add USB3 PHY reset lines vivek.gautam
@ 2016-09-15  5:27 ` Vivek Gautam
  2016-09-16 23:21 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Vivek Gautam @ 2016-09-15  5:27 UTC (permalink / raw)
  To: sboyd
  Cc: Andy Gross, david.brown, mturquette, srinivas.kandagatla,
	linux-arm-msm, linux-clk, linux-kernel, Vivek Gautam

On Thu, Sep 15, 2016 at 10:15 AM,  <vivek.gautam@codeaurora.org> wrote:
> From: Vivek Gautam <vivek.gautam@codeaurora.org>

a stale "--from " flag in my command added this line.
Will take care of it from next time.

>
> Adding missing reset lines for USB 3.0 PHY.
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> ---

[snip]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: Add USB3 PHY reset lines
  2016-09-15  4:45 [PATCH] clk: Add USB3 PHY reset lines vivek.gautam
  2016-09-15  5:27 ` Vivek Gautam
@ 2016-09-16 23:21 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2016-09-16 23:21 UTC (permalink / raw)
  To: vivek.gautam
  Cc: andy.gross, david.brown, mturquette, srinivas.kandagatla,
	linux-arm-msm, linux-clk, linux-kernel

On 09/15, vivek.gautam@codeaurora.org wrote:
> From: Vivek Gautam <vivek.gautam@codeaurora.org>
> 
> Adding missing reset lines for USB 3.0 PHY.
> 
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> ---

Applied to clk-next

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-16 23:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-15  4:45 [PATCH] clk: Add USB3 PHY reset lines vivek.gautam
2016-09-15  5:27 ` Vivek Gautam
2016-09-16 23:21 ` Stephen Boyd

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.