[PATCH v6 5/5] usb: dwc3: qcom: Set genpd active wakeup flag for usb gdsc

2021-04-16 Thread Sandeep Maheswaram
Set genpd active wakeup flag for usb gdsc if wakeup capable devices are connected so that wake up happens without reenumeration. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/dwc3-qcom.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/usb/dwc3/dwc3-qcom.c

[PATCH v6 1/5] usb: dwc3: host: Add suspend_quirk for dwc3 host

2021-04-16 Thread Sandeep Maheswaram
Adding suspend quirk function for dwc3 host which will be called during xhci suspend. Setting hs_phy_mode, ss_phy_mode , phy_power_off flags and phy mode during host suspend. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.h | 3 +++ drivers/usb/dwc3/host.c | 59

[PATCH v6 0/5] USB DWC3 host wake up support from system suspend

2021-04-16 Thread Sandeep Maheswaram
. Adrressed the comment on device_init_wakeup call. Corrected offset for reading portsc register. Added pacth to support wakeup in xo shutdown case. Sandeep Maheswaram (5): usb: dwc3: host: Add suspend_quirk for dwc3 host usb: dwc3: core: Host wake up support from system suspend usb: dwc3: qcom

[PATCH v6 4/5] usb: dwc3: qcom: Configure wakeup interrupts during suspend

2021-04-16 Thread Sandeep Maheswaram
Configure interrupts based on hs_phy_mode to avoid triggering of interrupts during system suspend and suspend the device successfully. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/dwc3-qcom.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git

[PATCH v6 3/5] usb: dwc3: qcom: Add helper functions to enable,disable wake irqs

2021-04-16 Thread Sandeep Maheswaram
Adding helper functions to enable,disable wake irqs to make the code simple and readable. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/dwc3-qcom.c | 58 1 file changed, 26 insertions(+), 32 deletions(-) diff --git a/drivers/usb/dwc3/dwc3

[PATCH v6 2/5] usb: dwc3: core: Host wake up support from system suspend

2021-04-16 Thread Sandeep Maheswaram
Avoiding phy powerdown when wakeup capable devices are connected by checking phy_power_off flag. Phy should be on to wake up the device from suspend using wakeup capable devices such as keyboard and mouse. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.c | 7 +-- 1 file changed

[PATCH v2] usb: dwc3: core: Add shutdown callback for dwc3

2021-04-14 Thread Sandeep Maheswaram
as part of SMMU shutdown callback in system reboot or shutdown path, then IOVAs(I/O virtual address) which it was using will go on the bus as the physical addresses which might result in unknown crashes (NoC/interconnect errors). Signed-off-by: Sandeep Maheswaram --- Changes in v2: - As per

Re: [PATCH v1] usb: dwc3: core: Add shutdown callback for dwc3

2021-04-07 Thread Sandeep Maheswaram
30, 2021 at 02:12:04PM +0530, Sandeep Maheswaram wrote: On 3/26/2021 7:07 PM, Greg Kroah-Hartman wrote: On Wed, Mar 24, 2021 at 12:57:32AM +0530, Sandeep Maheswaram wrote: This patch adds a shutdown callback to USB DWC core driver to ensure that it is properly shutdown in reboot/shutdown path

Re: [PATCH v1] usb: dwc3: core: Add shutdown callback for dwc3

2021-03-30 Thread Sandeep Maheswaram
On 3/26/2021 7:07 PM, Greg Kroah-Hartman wrote: On Wed, Mar 24, 2021 at 12:57:32AM +0530, Sandeep Maheswaram wrote: This patch adds a shutdown callback to USB DWC core driver to ensure that it is properly shutdown in reboot/shutdown path. This is required where SMMU address translation

Re: [PATCH v1] usb: dwc3: core: Add shutdown callback for dwc3

2021-03-24 Thread Sandeep Maheswaram
On 3/24/2021 9:01 AM, Stephen Boyd wrote: Quoting Sandeep Maheswaram (2021-03-23 12:27:32) This patch adds a shutdown callback to USB DWC core driver to ensure that it is properly shutdown in reboot/shutdown path. This is required where SMMU address translation is enabled like on SC7180 SoC

[PATCH v1] usb: dwc3: core: Add shutdown callback for dwc3

2021-03-23 Thread Sandeep Maheswaram
://patchwork.kernel.org/project/linux-arm-msm/list/?series=382449 But observed kernel panic as glue driver shutdown getting called after iommu shutdown. As we are adding iommu nodes in dwc core node in device tree adding shutdown callback in core driver seems correct. Signed-off-by: Sandeep Maheswaram

[PATCH v5 4/4] arm64: dts: qcom: sc7180: Add wakeup-source property for USB node in IDP and trogdor

2021-03-22 Thread Sandeep Maheswaram
Adding wakeup-source property for USB controller in SC7180 IDP and trogdor boards. Signed-off-by: Sandeep Maheswaram Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7180-idp.dts | 1 + arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 1 + 2 files

[PATCH v5 0/4] USB DWC3 host wake up support from system suspend

2021-03-22 Thread Sandeep Maheswaram
the core patch and glue driver patch. Made need_phy_for_wakeup flag part of dwc structure and hs_phy_flags as unsgined int. Adrressed the comment on device_init_wakeup call. Corrected offset for reading portsc register. Added pacth to support wakeup in xo shutdown case. Sandeep Maheswaram (4): usb

[PATCH v5 1/4] usb: dwc3: core: Host wake up support from system suspend

2021-03-22 Thread Sandeep Maheswaram
Avoiding phy powerdown when wakeup capable devices are connected. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 94fdbe5..9ecd7ac 100644

[PATCH v5 2/4] usb: dwc3: host: Add suspend_quirk for dwc3 host

2021-03-22 Thread Sandeep Maheswaram
Adding suspend quirk function for dwc3 host which will be called during xhci suspend. Setting hs_phy_mode, ss_phy_mode , phy_power_off flags and phy mode during host suspend. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.h | 3 +++ drivers/usb/dwc3/host.c | 58

[PATCH v5 3/4] usb: dwc3: qcom: Configure wakeup interrupts and set genpd active wakeup flag

2021-03-22 Thread Sandeep Maheswaram
irqs. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/dwc3-qcom.c | 87 1 file changed, 56 insertions(+), 31 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c index 5149dea..e53228e 100644 --- a/drivers/usb

[PATCH 2/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SC7280

2021-03-17 Thread Sandeep Maheswaram
Add the compatible string for sc7280 SoC from Qualcomm Signed-off-by: Sandeep Maheswaram --- Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml b/Documentation

[PATCH 3/3] arm64: dts: qcom: sc7280: Add USB related nodes

2021-03-17 Thread Sandeep Maheswaram
Add nodes for DWC3 USB controller, QMP and HS USB PHYs. Signed-off-by: Sandeep Maheswaram --- arch/arm64/boot/dts/qcom/sc7280-idp.dts | 39 + arch/arm64/boot/dts/qcom/sc7280.dtsi| 149 2 files changed, 188 insertions(+) diff --git a/arch/arm64/boot

[PATCH 1/3] dt-bindings: usb: qcom,dwc3: Add bindings for SC7280

2021-03-17 Thread Sandeep Maheswaram
Add the compatible string for sc7280 SoC from Qualcomm. Signed-off-by: Sandeep Maheswaram --- Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb

[PATCH 0/3] Add DT bindings and DT nodes for USB in SC7280

2021-03-17 Thread Sandeep Maheswaram
This series includes usb controller and phy binding updates for SC7280 SoC and DT chnages for SC7280 SoC and SC7280 IDP board. The IDP board change dependency on the below patch series https://patchwork.kernel.org/project/linux-arm-msm/list/?series=448321 Sandeep Maheswaram (3): dt-bindings

[PATCH] usb: dwc3: qcom: Add shutdown callback for dwc3

2020-11-11 Thread Sandeep Maheswaram
as part of SMMU shutdown callback in system reboot or shutdown path, then IOVAs(I/O virtual address) which it was using will go on the bus as the physical addresses which might result in unknown crashes (NoC/interconnect errors). Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/dwc3-qcom.c | 26

[PATCH v4 0/5] USB DWC3 host wake up support from system suspend

2020-10-27 Thread Sandeep Maheswaram
the comment on device_init_wakeup call. Corrected offset for reading portsc register. Added pacth to support wakeup in xo shutdown case. Sandeep Maheswaram (5): usb: dwc3: core: Host wake up support from system suspend usb: dwc3: host: Add suspend_quirk for dwc3 host usb: dwc3: qcom: Configure wakeup

[PATCH v4 5/5] arm64: dts: qcom: sc7180: Add wakeup-source property for USB node in IDP and trogdor

2020-10-27 Thread Sandeep Maheswaram
Adding wakeup-source property for USB controller in SC7180 IDP and trogdor boards. Signed-off-by: Sandeep Maheswaram Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7180-idp.dts | 1 + arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 1 + 2 files

[PATCH v4 2/5] usb: dwc3: host: Add suspend_quirk for dwc3 host

2020-10-27 Thread Sandeep Maheswaram
Adding suspend quirk function for dwc3 host which will be called during xhci suspend. Setting hs_phy_mode, ss_phy_mode flags and phy mode during host suspend. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/host.c | 51 + 1 file changed, 51

[PATCH v4 1/5] usb: dwc3: core: Host wake up support from system suspend

2020-10-27 Thread Sandeep Maheswaram
Avoiding phy powerdown in host mode so that it can be woken up by devices. Added hs_phy_mode flag to check connection status and set phy mode and configure interrupts. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.c | 14 +++--- drivers/usb/dwc3/core.h | 2 ++ 2 files

[PATCH v4 3/5] usb: dwc3: qcom: Configure wakeup interrupts and set genpd active wakeup flag

2020-10-27 Thread Sandeep Maheswaram
irqs. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/dwc3-qcom.c | 82 1 file changed, 52 insertions(+), 30 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c index c703d55..c93f7bb 100644 --- a/drivers/usb

[PATCH v4 4/5] arm64: dts: qcom: sc7180: Use pdc interrupts for USB instead of GIC interrupts

2020-10-27 Thread Sandeep Maheswaram
Using pdc interrupts for USB instead of GIC interrupts to support wake up in case of XO shutdown. Signed-off-by: Sandeep Maheswaram Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts

[PATCH v3 4/5] arm64: dts: qcom: sc7180: Use pdc interrupts for USB instead of GIC interrupts

2020-09-29 Thread Sandeep Maheswaram
Using pdc interrupts for USB instead of GIC interrupts to support wake up in case xo shutdown. Signed-off-by: Sandeep Maheswaram Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts

[PATCH v3 5/5] arm64: dts: qcom: sc7180: Add wakeup-source property for USB controller node

2020-09-29 Thread Sandeep Maheswaram
Adding wakeup-source property for USB controller for SC7180 boards. Signed-off-by: Sandeep Maheswaram --- arch/arm64/boot/dts/qcom/sc7180-idp.dts | 1 + arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180

[PATCH v3 2/5] usb: dwc3: host: Add suspend_quirk for dwc3 host

2020-09-29 Thread Sandeep Maheswaram
Adding suspend quirk function for dwc3 host which will be called during xhci suspend. Setting hs_phy_flags, ss_phy_flags and phy mode during host suspend. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/host.c | 49 + 1 file changed, 49

[PATCH v3 1/5] usb: dwc3: core: Host wake up support from system suspend

2020-09-29 Thread Sandeep Maheswaram
Avoiding phy powerdown in host mode so that it can be wake up by devices. Added hs_phy_flags and ss_phy_flags to check connection status and set phy mode and configure interrupts. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.c | 14 +++--- drivers/usb/dwc3/core.h | 3

[PATCH v3 3/5] usb: dwc3: qcom: Configure wakeup interrupts and set genpd active wakeup flag

2020-09-29 Thread Sandeep Maheswaram
Configure interrupts based on hs_phy_flag to avoid triggering of interrupts during system suspend and suspends successfully. Set genpd active wakeup flag for usb gdsc if wakeup capable devices are connected so that wake up happens without reenumeration. Signed-off-by: Sandeep Maheswaram

[PATCH v3 0/5] USB DWC3 host wake up support from system suspend

2020-09-29 Thread Sandeep Maheswaram
for reading portsc register. Added pacth to support wakeup in xo shutdown case. Sandeep Maheswaram (5): usb: dwc3: core: Host wake up support from system suspend usb: dwc3: host: Add suspend_quirk for dwc3 host usb: dwc3: qcom: Configure wakeup interrupts and set genpd active wakeup flag arm64

Re: [PATCH v11 1/2] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-08-12 Thread Sandeep Maheswaram (Temp)
Hi On 8/12/2020 12:27 PM, Felipe Balbi wrote: "Sandeep Maheswaram (Temp)" writes: Hi Felipe, On 7/28/2020 12:50 AM, Matthias Kaehlcke wrote: On Mon, Jul 27, 2020 at 10:36:36PM +0530, Sandeep Maheswaram wrote: Add interconnect support in dwc3-qcom driver to vote for bus

Re: [PATCH 1/2] clk: qcom: gcc: Add genpd active wakeup flag for sc7180

2020-08-11 Thread Sandeep Maheswaram (Temp)
Hi, On 8/8/2020 3:14 AM, Stephen Boyd wrote: Quoting Stephen Boyd (2020-06-11 15:46:58) Quoting Sandeep Maheswaram (2020-06-11 07:28:02) From: Taniya Das The USB client requires the usb30_prim gdsc to be kept active for certain use cases, thus add the GENPD_FLAG_ACTIVE_WAKEUP flag. Can you

Re: [PATCH v11 1/2] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-08-11 Thread Sandeep Maheswaram (Temp)
Hi Felipe, On 7/28/2020 12:50 AM, Matthias Kaehlcke wrote: On Mon, Jul 27, 2020 at 10:36:36PM +0530, Sandeep Maheswaram wrote: Add interconnect support in dwc3-qcom driver to vote for bus bandwidth. This requires for two different paths - from USB to DDR. The other is from APPS to USB

[PATCH v11 0/2] ADD interconnect support for Qualcomm DWC3 driver

2020-07-27 Thread Sandeep Maheswaram
remains unchanged Changes from v2 -> v3 > Fixed review comments from Matthias and Manu > changed the functions prefix from usb_* to dwc3_qcom_* Changes since V1: > Comments by Georgi Djakov on "[PATCH 2/3]" addressed > [PATCH 1/3] and [PATCH 3/3] remains unchanged San

[PATCH v11 1/2] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-07-27 Thread Sandeep Maheswaram
Add interconnect support in dwc3-qcom driver to vote for bus bandwidth. This requires for two different paths - from USB to DDR. The other is from APPS to USB. Signed-off-by: Sandeep Maheswaram Signed-off-by: Chandana Kishori Chiluveru --- drivers/usb/dwc3/dwc3-qcom.c | 120

[PATCH v11 2/2] arm64: dts: qcom: sc7180: Add maximum speed property for DWC3 USB node

2020-07-27 Thread Sandeep Maheswaram
Adding maximum speed property for DWC3 USB node which can be used for setting interconnect bandwidth. Signed-off-by: Sandeep Maheswaram Reviewed-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180

[PATCH v10 1/2] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-07-23 Thread Sandeep Maheswaram
Add interconnect support in dwc3-qcom driver to vote for bus bandwidth. This requires for two different paths - from USB to DDR. The other is from APPS to USB. Signed-off-by: Sandeep Maheswaram Signed-off-by: Chandana Kishori Chiluveru --- drivers/usb/dwc3/dwc3-qcom.c | 127

[PATCH v10 2/2] arm64: dts: qcom: sc7180: Add maximum speed property for DWC3 USB node

2020-07-23 Thread Sandeep Maheswaram
Adding maximum speed property for DWC3 USB node which can be used for setting interconnect bandwidth. Signed-off-by: Sandeep Maheswaram Reviewed-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180

[PATCH v10 0/2] ADD interconnect support for Qualcomm DWC3 driver

2020-07-23 Thread Sandeep Maheswaram
com_* Changes since V1: > Comments by Georgi Djakov on "[PATCH 2/3]" addressed > [PATCH 1/3] and [PATCH 3/3] remains unchanged Sandeep Maheswaram (2): usb: dwc3: qcom: Add interconnect support in dwc3 driver arm64: dts: qcom: sc7180: Add maximum speed property for DWC3 US

[PATCH v9 0/2] ADD interconnect support for Qualcomm DWC3 driver

2020-07-21 Thread Sandeep Maheswaram
3/3] remains unchanged Changes from v2 -> v3 > Fixed review comments from Matthias and Manu > changed the functions prefix from usb_* to dwc3_qcom_* Changes since V1: > Comments by Georgi Djakov on "[PATCH 2/3]" addressed > [PATCH 1/3] and [PATCH 3/3] remains uncha

[PATCH v9 1/2] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-07-21 Thread Sandeep Maheswaram
Add interconnect support in dwc3-qcom driver to vote for bus bandwidth. This requires for two different paths - from USB to DDR. The other is from APPS to USB. Signed-off-by: Sandeep Maheswaram Signed-off-by: Chandana Kishori Chiluveru Reviewed-by: Matthias Kaehlcke --- drivers/usb/dwc3/dwc3

[PATCH v9 2/2] arm64: dts: qcom: sc7180: Add maximum speed property for DWC3 USB node

2020-07-21 Thread Sandeep Maheswaram
Adding maximum speed property for DWC3 USB node which can be used for setting interconnect bandwidth. Signed-off-by: Sandeep Maheswaram Reviewed-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180

[PATCH v8 0/2] ADD interconnect support for Qualcomm DWC3 driver

2020-07-09 Thread Sandeep Maheswaram
omments from Matthias and Manu > changed the functions prefix from usb_* to dwc3_qcom_* Changes since V1: > Comments by Georgi Djakov on "[PATCH 2/3]" addressed > [PATCH 1/3] and [PATCH 3/3] remains unchanged Sandeep Maheswaram (2): usb: dwc3: qcom: Add interconnect supp

[PATCH v8 2/2] arm64: dts: qcom: sc7180: Add maximum speed property for DWC3 USB node

2020-07-09 Thread Sandeep Maheswaram
Adding maximum speed property for DWC3 USB node which can be used for setting interconnect bandwidth. Signed-off-by: Sandeep Maheswaram --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom

[PATCH v8 1/2] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-07-09 Thread Sandeep Maheswaram
Add interconnect support in dwc3-qcom driver to vote for bus bandwidth. This requires for two different paths - from USB master to DDR slave. The other is from APPS master to USB slave. Signed-off-by: Sandeep Maheswaram Signed-off-by: Chandana Kishori Chiluveru Reviewed-by: Matthias Kaehlcke

[PATCH v2 0/3] usb: dwc3: Host wake up support from system suspend

2020-07-08 Thread Sandeep Maheswaram
for reading portsc register. Added pacth to support wakeup in xo shutdown case. Sandeep Maheswaram (3): usb: dwc3: core: Host wake up support from system suspend usb: dwc3: qcom: Configure wakeup interrupts and set genpd active wakeup flag arm64: dts: qcom: sc7180: Use pdc interrupts

[PATCH v2 1/3] usb: dwc3: core: Host wake up support from system suspend

2020-07-08 Thread Sandeep Maheswaram
Avoiding phy powerdown in host mode so that it can be wake up by devices. Added need_phy_for_wakeup flag to distinugush resume path and hs_phy_flags to check connection status and set phy mode and configure interrupts. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.c | 47

[PATCH v2 2/3] usb: dwc3: qcom: Configure wakeup interrupts and set genpd active wakeup flag

2020-07-08 Thread Sandeep Maheswaram
configure interrupts based on hs_phy_flag. Set genpd active wakeup flag for usb gdsc if wakeup capable devices are connected. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/dwc3-qcom.c | 73 ++-- 1 file changed, 57 insertions(+), 16 deletions

[PATCH v2 3/3] arm64: dts: qcom: sc7180: Use pdc interrupts for USB instead of GIC interrupts

2020-07-08 Thread Sandeep Maheswaram
Using pdc interrupts for USB instead of GIC interrupts to support wake up in case xo shutdown. Signed-off-by: Sandeep Maheswaram --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch

Re: [PATCH v7 2/4] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-07-06 Thread Sandeep Maheswaram (Temp)
On 7/1/2020 4:12 AM, Matthias Kaehlcke wrote: On Tue, Jun 16, 2020 at 01:38:49PM -0700, Matthias Kaehlcke wrote: On Tue, Jun 16, 2020 at 10:22:47AM +0530, Sandeep Maheswaram (Temp) wrote: On 6/16/2020 1:12 AM, Matthias Kaehlcke wrote: On Thu, Jun 04, 2020 at 04:16:31AM -0700, Stephen Boyd

Re: [PATCH v7 2/4] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-06-15 Thread Sandeep Maheswaram (Temp)
On 6/16/2020 1:12 AM, Matthias Kaehlcke wrote: On Thu, Jun 04, 2020 at 04:16:31AM -0700, Stephen Boyd wrote: Quoting Sandeep Maheswaram (Temp) (2020-06-04 02:43:09) On 6/3/2020 11:06 PM, Stephen Boyd wrote: Quoting Sandeep Maheswaram (2020-03-31 22:15:43) diff --git a/drivers/usb/dwc3/dwc3

[PATCH 0/2] usb: dwc3: Host wake up support from system suspend

2020-06-11 Thread Sandeep Maheswaram
Avoiding phy powerdown in host mode so that it can be wake up by devices. Set usb controller wakeup capable when wakeup capable devices are connected to the host. Added GENPD_FLAG_ACTIVE_WAKEUP flag to keep usb30_prim gdsc active when wakeup capable devices are connected to the host. Sandeep

[PATCH 2/2] usb: dwc3: Host wake up support from system suspend

2020-06-11 Thread Sandeep Maheswaram
Avoiding phy powerdown in host mode so that it can be wake up by devices. Set usb controller wakeup capable when wakeup capable devices are connected to the host. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.c | 47 ++- drivers/usb/dwc3/core.h

[PATCH 1/2] clk: qcom: gcc: Add genpd active wakeup flag for sc7180

2020-06-11 Thread Sandeep Maheswaram
From: Taniya Das The USB client requires the usb30_prim gdsc to be kept active for certain use cases, thus add the GENPD_FLAG_ACTIVE_WAKEUP flag. Signed-off-by: Taniya Das --- drivers/clk/qcom/gcc-sc7180.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gcc-sc7180.c

Re: [PATCH v7 2/4] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-06-04 Thread Sandeep Maheswaram (Temp)
On 6/3/2020 11:06 PM, Stephen Boyd wrote: Quoting Sandeep Maheswaram (2020-03-31 22:15:43) diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c index 1dfd024..d33ae86 100644 --- a/drivers/usb/dwc3/dwc3-qcom.c +++ b/drivers/usb/dwc3/dwc3-qcom.c @@ -76,8 +85,13 @@ struct

[PATCH] driver core:Export the symbol device_is_bound

2020-06-02 Thread Sandeep Maheswaram
Export the symbol device_is_bound so that it can be used by the modules. This change was suggested to solve the allmodconfig build error on adding the patch https://lore.kernel.org/patchwork/patch/1218628/ Signed-off-by: Sandeep Maheswaram --- drivers/base/dd.c | 1 + 1 file changed, 1

Re: [PATCH v7 2/4] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-05-28 Thread Sandeep Maheswaram (Temp)
On 5/26/2020 5:13 PM, Felipe Balbi wrote: Hi, Georgi Djakov writes: On 26.05.20 14:04, Sandeep Maheswaram (Temp) wrote: Hi Felipe, Please let me know how to go forward with this patch (don't top-post!) Please just add a patch to fix the allmodconfig error. Felipe has suggested

Re: [PATCH v7 2/4] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-05-26 Thread Sandeep Maheswaram (Temp)
Hi Felipe, Please let me know how to go forward with this patch Regards Sandeep On 5/19/2020 12:05 AM, Bjorn Andersson wrote: On Thu 14 May 23:29 PDT 2020, Felipe Balbi wrote: Hi, Georgi Djakov writes: Sandeep Maheswaram writes: +static int dwc3_qcom_interconnect_init(struct dwc3_qcom

[PATCH v7 0/2] Add USB DWC3 support for SC7180

2020-05-21 Thread Sandeep Maheswaram
the compatible in dwc3 driver. Converted dt binding to yaml. Added compatible in yaml. Sandeep Maheswaram (2): dt-bindings: usb: qcom,dwc3: Convert USB DWC3 bindings dt-bindings: usb: qcom,dwc3: Add compatible for SC7180 .../devicetree/bindings/usb/qcom,dwc3.txt | 104

[PATCH v7 2/2] dt-bindings: usb: qcom,dwc3: Add compatible for SC7180

2020-05-21 Thread Sandeep Maheswaram
Add compatible for SC7180 in usb dwc3 bindings. Signed-off-by: Sandeep Maheswaram Reviewed-by: Douglas Anderson Acked-by: Rob Herring Reviewed-by: Stephen Boyd --- Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH v7 1/2] dt-bindings: usb: qcom,dwc3: Convert USB DWC3 bindings

2020-05-21 Thread Sandeep Maheswaram
Convert USB DWC3 bindings to DT schema format using json-schema. Signed-off-by: Sandeep Maheswaram --- .../devicetree/bindings/usb/qcom,dwc3.txt | 104 - .../devicetree/bindings/usb/qcom,dwc3.yaml | 167 + 2 files changed, 167 insertions(+), 104

[PATCH v6 1/2] dt-bindings: usb: qcom,dwc3: Convert USB DWC3 bindings

2020-05-15 Thread Sandeep Maheswaram
Convert USB DWC3 bindings to DT schema format using json-schema. Signed-off-by: Sandeep Maheswaram --- .../devicetree/bindings/usb/qcom,dwc3.txt | 104 - .../devicetree/bindings/usb/qcom,dwc3.yaml | 162 + 2 files changed, 162 insertions(+), 104

[PATCH v6 0/2] Add USB DWC3 support for SC7180

2020-05-15 Thread Sandeep Maheswaram
. Sandeep Maheswaram (2): dt-bindings: usb: qcom,dwc3: Convert USB DWC3 bindings dt-bindings: usb: qcom,dwc3: Add compatible for SC7180 .../devicetree/bindings/usb/qcom,dwc3.txt | 104 - .../devicetree/bindings/usb/qcom,dwc3.yaml | 163 + 2 files

[PATCH v6 2/2] dt-bindings: usb: qcom,dwc3: Add compatible for SC7180

2020-05-15 Thread Sandeep Maheswaram
Add compatible for SC7180 in usb dwc3 bindings. Signed-off-by: Sandeep Maheswaram Reviewed-by: Douglas Anderson Acked-by: Rob Herring Reviewed-by: Stephen Boyd --- Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH v7 2/4] dt-bindings: phy: qcom,qmp-usb3-dp: Add dt bindings for USB3 DP PHY

2020-05-14 Thread Sandeep Maheswaram
Split out the dt bindings for USB3 DP PHY from qcom,qmp bindings for modularity. Signed-off-by: Sandeep Maheswaram --- .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 51 +++- .../bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 135 + 2 files changed, 150

[PATCH v7 1/4] dt-bindings: phy: qcom,qmp: Convert QMP PHY bindings to yaml

2020-05-14 Thread Sandeep Maheswaram
Convert QMP PHY bindings to DT schema format using json-schema. Signed-off-by: Sandeep Maheswaram --- .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 334 + .../devicetree/bindings/phy/qcom-qmp-phy.txt | 247 --- 2 files changed, 334 insertions(+), 247

[PATCH v7 4/4] phy: qcom-qmp: Add QMP V3 USB3 PHY support for SC7180

2020-05-14 Thread Sandeep Maheswaram
Adding QMP v3 USB3 PHY support for SC7180. Adding only usb phy reset in the list to avoid reset of DP block. Signed-off-by: Sandeep Maheswaram Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 38 + 1 file

[PATCH v7 0/4] Add QMP V3 USB3 PHY support for SC7180

2020-05-14 Thread Sandeep Maheswaram
Matthias and Rob in yaml file. changes in v3: *Addressed Rob's comments in yaml file. *Sepearated the SC7180 support in yaml patch. *corrected the phy reset entries in device tree. changes in v2: *Remove global phy reset in QMP PHY. *Convert QMP PHY bindings to yaml. Sandeep Maheswaram (4): dt

[PATCH v7 3/4] dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SC7180

2020-05-14 Thread Sandeep Maheswaram
Add compatible for SC7180 in QMP USB3 DP PHY bindings. Signed-off-by: Sandeep Maheswaram --- Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml

Re: [PATCH v7 0/4] ADD interconnect support for Qualcomm DWC3 driver

2020-05-08 Thread Sandeep Maheswaram (Temp)
at 10:45:41AM +0530, Sandeep Maheswaram wrote: This path series aims to add interconnect support in dwc3-qcom driver on SDM845 and SC7180 SoCs. Changes from v6 -> v7 > [PATCH 2/4] Fixed review comments from Matthias in DWC3 driver. > Other patches remain unchanged. Changes from

[PATCH v6 1/4] dt-bindings: phy: qcom,qmp: Convert QMP PHY bindings to yaml

2020-04-28 Thread Sandeep Maheswaram
Convert QMP PHY bindings to DT schema format using json-schema. Signed-off-by: Sandeep Maheswaram Reviewed-by: Rob Herring --- .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 311 + .../devicetree/bindings/phy/qcom-qmp-phy.txt | 242 2 files

[PATCH v6 4/4] phy: qcom-qmp: Add QMP V3 USB3 PHY support for SC7180

2020-04-28 Thread Sandeep Maheswaram
Adding QMP v3 USB3 PHY support for SC7180. Adding only usb phy reset in the list to avoid reset of DP block. Signed-off-by: Sandeep Maheswaram Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- drivers/phy/qualcomm/phy-qcom-qmp.c | 38 + 1 file

[PATCH v6 3/4] dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SC7180

2020-04-28 Thread Sandeep Maheswaram
Add compatible for SC7180 in QMP USB3 DP PHY bindings. Signed-off-by: Sandeep Maheswaram --- Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml

[PATCH v6 0/4] Add QMP V3 USB3 PHY support for SC7180

2020-04-28 Thread Sandeep Maheswaram
from Matthias and Rob in yaml file. changes in v3: *Addressed Rob's comments in yaml file. *Sepearated the SC7180 support in yaml patch. *corrected the phy reset entries in device tree. changes in v2: *Remove global phy reset in QMP PHY. *Convert QMP PHY bindings to yaml. Sandeep Maheswaram (4

[PATCH v6 2/4] dt-bindings: phy: qcom,qmp-usb3-dp: Add dt bindings for USB3 DP PHY

2020-04-28 Thread Sandeep Maheswaram
Split out the dt bindings for USB3 DP PHY from qcom,qmp bindings for modularity. Signed-off-by: Sandeep Maheswaram --- .../bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 135 + 1 file changed, 135 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy