Re: [PATCH v4 3/7] phy: qcom-qmp: Fix phy pipe clock name

2017-07-26 Thread Vivek Gautam
On 07/21/2017 05:06 PM, Varadarajan Narayanan wrote: Presently, the phy pipe clock's name is assumed to be either usb3_phy_pipe_clk_src or pcie_XX_pipe_clk_src (where XX is the phy lane's number). However, this will not work if an SoC has more than one instance of the phy. Hence, instead of ass

Re: [PATCH v4 2/7] dt-bindings: phy: qmp: Add support for QMP phy in IPQ8074

2017-07-26 Thread Vivek Gautam
On Fri, Jul 21, 2017 at 5:06 PM, Varadarajan Narayanan wrote: > IPQ8074 uses QMP phy controller that provides support to PCIe and > USB. Adding dt binding information for the same. > > Signed-off-by: Varadarajan Narayanan > --- > Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 8 +++

Re: [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node

2017-07-25 Thread Vivek Gautam
On Tue, Jul 25, 2017 at 12:00 PM, Bjorn Andersson wrote: > On Mon 24 Jul 23:09 PDT 2017, Vivek Gautam wrote: > >> Hi Bjorn, >> >> >> On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson >> wrote: >> > From: Vivek Gautam >> > >> > S

Re: [PATCH 5/5] arm64: dts: msm8996: Add QFPROM node

2017-07-24 Thread Vivek Gautam
Hi Bjorn, On Tue, Jul 25, 2017 at 11:17 AM, Bjorn Andersson wrote: > From: Vivek Gautam > > Signed-off-by: Vivek Gautam > Signed-off-by: Bjorn Andersson > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++ > 1 file changed, 11 insertions(+) > > diff

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-24 Thread Vivek Gautam
M -0400, Rob Clark wrote: >>>>>>>>>>> On Thu, Jul 13, 2017 at 9:53 AM, Sricharan R >>>>>>>>>>> wrote: >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>

Re: [PATCH v3 3/8] phy: qcom-qmp: Fix phy pipe clock name

2017-07-21 Thread Vivek Gautam
e, instead of assuming the name of the clock, fetch it from the DT. Acked-by: Vivek Gautam Signed-off-by: Varadarajan Narayanan --- drivers/phy/qualcomm/phy-qcom-qmp.c | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qco

Re: [PATCH 7/7] PCI: dwc: qcom: Add support for IPQ8074 PCIe controller

2017-07-19 Thread Vivek Gautam
Hi, On 07/19/2017 02:59 PM, Varadarajan Narayanan wrote: Stan, On Wed, Jul 19, 2017 at 10:12:45AM +0300, Stanimir Varbanov wrote: Hi, On 07/19/2017 09:49 AM, Varadarajan Narayanan wrote: On Tue, Jul 18, 2017 at 09:44:38AM -0700, Bjorn Andersson wrote: On Tue 18 Jul 02:58 PDT 2017, Varadara

Re: [PATCH 3/7] phy: qcom-qmp: Fix phy pipe clock name

2017-07-18 Thread Vivek Gautam
ne instance of the phy. Hence, instead of assuming > the name of the clock, fetch it from the DT. > > Signed-off-by: Varadarajan Narayanan > --- Looks good. Acked-by: Vivek Gautam > drivers/phy/qualcomm/phy-qcom-qmp.c | 28 > 1 file changed, 16

Re: [PATCH 3/7] phy: qcom-qmp: Fix phy pipe clock name

2017-07-18 Thread Vivek Gautam
On Tue, Jul 18, 2017 at 10:26 PM, Bjorn Andersson wrote: > On Tue 18 Jul 01:54 PDT 2017, Varadarajan Narayanan wrote: >> On Mon, Jul 17, 2017 at 03:30:47PM -0700, Bjorn Andersson wrote: > [..] >> > >> > This would be the case for any existing dts files, so you're not allowed >> > to treat this as

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-13 Thread Vivek Gautam
On Thu, Jul 13, 2017 at 7:27 PM, Vivek Gautam wrote: > On Thu, Jul 13, 2017 at 11:05 AM, Sricharan R > wrote: >> Hi Vivek, >> >> On 7/13/2017 10:43 AM, Vivek Gautam wrote: >>> Hi Stephen, >>> >>> >>> On 07/13/2017 04:

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-13 Thread Vivek Gautam
On Thu, Jul 13, 2017 at 11:05 AM, Sricharan R wrote: > Hi Vivek, > > On 7/13/2017 10:43 AM, Vivek Gautam wrote: >> Hi Stephen, >> >> >> On 07/13/2017 04:24 AM, Stephen Boyd wrote: >>> On 07/06, Vivek Gautam wrote: >>>> @@ -1231,12 +

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-12 Thread Vivek Gautam
Hi Stephen, On 07/13/2017 04:24 AM, Stephen Boyd wrote: On 07/06, Vivek Gautam wrote: @@ -1231,12 +1237,18 @@ static int arm_smmu_map(struct iommu_domain *domain, unsigned long iova, static size_t arm_smmu_unmap(struct iommu_domain *domain, unsigned long iova

Re: [PATCH V4 4/6] iommu/arm-smmu: Add the device_link between masters and smmu

2017-07-12 Thread Vivek Gautam
On 07/13/2017 04:25 AM, Stephen Boyd wrote: On 07/06, Vivek Gautam wrote: diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index ddbfa8ab69e6..75567d9698ab 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c @@ -1348,6 +1348,7 @@ static int arm_smmu_add_device

Re: [PATCH V4 2/6] iommu/arm-smmu: Add pm_runtime/sleep ops

2017-07-12 Thread Vivek Gautam
On 07/13/2017 04:31 AM, Stephen Boyd wrote: On 07/12, Stephen Boyd wrote: On 07/06, Vivek Gautam wrote: From: Sricharan R The smmu needs to be functional only when the respective master's using it are active. The device_link feature helps to track such functional dependencies, so tha

Re: [PATCH V4 5/6] iommu/arm-smmu: Add support for MMU40x/500 clocks

2017-07-10 Thread Vivek Gautam
Hi Rob, On 07/10/2017 09:07 AM, Rob Herring wrote: On Thu, Jul 06, 2017 at 03:07:04PM +0530, Vivek Gautam wrote: From: Sricharan R The MMU400x/500 is the implementation of the SMMUv2 arch specification. It is split in to two blocks TBU, TCU. TBU caches the page table, instantiated for each

Re: [PATCH V4 6/6] iommu/arm-smmu: Add support for qcom,msm8996-smmu-v2 clocks

2017-07-09 Thread Vivek Gautam
Hi Rob, On Mon, Jul 10, 2017 at 9:10 AM, Rob Herring wrote: > On Thu, Jul 06, 2017 at 03:07:05PM +0530, Vivek Gautam wrote: >> qcom,msm8996-smmu-v2 is an arm,smmu-v2 implementation with >> specific clock and power requirements. This smmu core is used >> with multiple ma

[PATCH V4 5/6] iommu/arm-smmu: Add support for MMU40x/500 clocks

2017-07-06 Thread Vivek Gautam
] Signed-off-by: Vivek Gautam --- .../devicetree/bindings/iommu/arm,smmu.txt | 24 ++ drivers/iommu/arm-smmu.c | 12 ++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt

[PATCH V4 6/6] iommu/arm-smmu: Add support for qcom,msm8996-smmu-v2 clocks

2017-07-06 Thread Vivek Gautam
qcom,msm8996-smmu-v2 is an arm,smmu-v2 implementation with specific clock and power requirements. This smmu core is used with multiple masters on msm8996, viz. mdss, video, etc. Add bindings for the same. Signed-off-by: Vivek Gautam --- Documentation/devicetree/bindings/iommu/arm,smmu.txt | 18

[PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-06 Thread Vivek Gautam
pm in .unmap iommu op] Signed-off-by: Stanimir Varbanov [vivek: Cleanup pm runtime calls] Signed-off-by: Vivek Gautam --- drivers/iommu/arm-smmu.c | 54 ++-- 1 file changed, 48 insertions(+), 6 deletions(-) diff --git a/drivers/iommu/arm-smmu.c b

[PATCH V4 0/6] iommu/arm-smmu: Add runtime pm/sleep support

2017-07-06 Thread Vivek Gautam
ng probe, add/remove device iommu/arm-smmu: Add the device_link between masters and smmu iommu/arm-smmu: Add support for MMU40x/500 clocks Vivek Gautam (2): iommu/arm-smmu: Fix the error path in arm_smmu_add_device iommu/arm-smmu: Add support for qcom,msm8996-smmu-v2 clocks .../devicetre

[PATCH V4 2/6] iommu/arm-smmu: Add pm_runtime/sleep ops

2017-07-06 Thread Vivek Gautam
over clock names data] Signed-off-by: Vivek Gautam --- drivers/iommu/arm-smmu.c | 95 +++- 1 file changed, 94 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index 61b1f8729a7c..bfe613f8939c 100644 --- a/dr

[PATCH V4 1/6] iommu/arm-smmu: Fix the error path in arm_smmu_add_device

2017-07-06 Thread Vivek Gautam
fwspec->iommu_priv is available only after arm_smmu_master_cfg instance has been allocated. We shouldn't free it before that. Also it's logical to free the master cfg itself without checking for fwspec. Signed-off-by: Vivek Gautam --- drivers/iommu/arm-smmu.c | 6 +++--- 1 fi

[PATCH V4 4/6] iommu/arm-smmu: Add the device_link between masters and smmu

2017-07-06 Thread Vivek Gautam
From: Sricharan R Finally add the device link between the master device and smmu, so that the smmu gets runtime enabled/disabled only when the master needs it. This is done from add_device callback which gets called once when the master is added to the smmu. Signed-off-by: Sricharan R --- driv

Re: [PATCH] phy: brcm-sata: fix a timeout test in init

2017-06-20 Thread Vivek Gautam
On 06/20/2017 02:12 PM, Dan Carpenter wrote: On Tue, Jun 20, 2017 at 01:56:35PM +0530, Vivek Gautam wrote: On 06/19/2017 04:26 PM, Dan Carpenter wrote: We want to timeout with try set to zero so this should be a pre-op instead of post-op. Signed-off-by: Dan Carpenter diff --git a/drivers

Re: [PATCH] phy: brcm-sata: fix a timeout test in init

2017-06-20 Thread Vivek Gautam
On 06/19/2017 04:26 PM, Dan Carpenter wrote: We want to timeout with try set to zero so this should be a pre-op instead of post-op. Signed-off-by: Dan Carpenter diff --git a/drivers/phy/broadcom/phy-brcm-sata.c b/drivers/phy/broadcom/phy-brcm-sata.c index ccbc3d994998..48fb016ce689 100644 -

[PATCH] phy: qcom-qmp: Fix failure path in phy_init functions

2017-06-19 Thread Vivek Gautam
Fixing the clk enable failure path in qcom_qmp_phy_init() and cleanup the reset control deassertion failure path in qcom_qmp_phy_com_init(). Fixes: e78f3d15e115 ("phy: qcom-qmp: new qmp phy driver for qcom-chipsets") Cc: Kishon Vijay Abraham I Signed-off-by: Vivek Gautam --- d

Re: [PATCH v5 3/6] reset: hide reset control arrays behind struct reset_control

2017-06-19 Thread Vivek Gautam
Hi Philipp, On 06/19/2017 05:48 PM, Philipp Zabel wrote: Hi Vivek, On Tue, 2017-06-13 at 12:16 +0530, Vivek Gautam wrote: [...] @@ -102,18 +94,6 @@ static inline struct reset_control *__devm_reset_control_get( return optional ? NULL : ERR_PTR(-ENOTSUPP); } -static inline

Re: [PATCH v5 0/6] reset: APIs to manage a list of resets

2017-06-13 Thread Vivek Gautam
of APIs for reset control array. - Added a patch for soc/tegra/pmc driver to use the new set of reset control array APIs. Philipp Zabel (2): reset: use kref for reference counting reset: hide reset control arrays behind struct reset_control Vivek Gautam (4): reset: Add APIs to m

Re: [PATCH v5 3/6] reset: hide reset control arrays behind struct reset_control

2017-06-12 Thread Vivek Gautam
struct reset_control to avoid having to introduce new API functions for array (de)assert/reset. Cc: Vivek Gautam Cc: Jon Hunter Signed-off-by: Philipp Zabel --- drivers/reset/core.c | 225 ++ include/linux/reset.h | 44 +++--- 2 files changed

Re: [PATCH v4 4/4] soc/tegra: pmc: Use the new reset APIs to manage reset controllers

2017-05-31 Thread Vivek Gautam
Hi, On Wed, May 31, 2017 at 7:53 PM, Jon Hunter wrote: > > On 22/05/17 12:23, Vivek Gautam wrote: >> Make use of reset_control_array_*() set of APIs to manage >> an array of reset controllers available with the device. >> >> Cc: Jon Hunter >> Cc: Thierry Red

[PATCH v4 2/4] reset: Add APIs to manage array of resets

2017-05-22 Thread Vivek Gautam
particular order. Cc: Felipe Balbi Cc: Jon Hunter Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- drivers/reset/core.c | 204 ++ include/linux/reset.h | 93 +++ 2 files changed, 297 insertions(+) diff --git a/drivers/rese

[PATCH v4 0/4] reset: APIs to manage a list of resets

2017-05-22 Thread Vivek Gautam
ol array. - Added a patch for soc/tegra/pmc driver to use the new set of reset control array APIs. Vivek Gautam (4): usb: dwc3: of-simple: Re-order resource handling in remove reset: Add APIs to manage array of resets usb: dwc3: of-simple: Add support to get resets for the devic

[PATCH v4 1/4] usb: dwc3: of-simple: Re-order resource handling in remove

2017-05-22 Thread Vivek Gautam
Move clock handling after of_platform_depopulate to achieve a sequence that is reverse of the probe sequence. Cc: Felipe Balbi Signed-off-by: Vivek Gautam --- - new patch in this series. drivers/usb/dwc3/dwc3-of-simple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v4 3/4] usb: dwc3: of-simple: Add support to get resets for the device

2017-05-22 Thread Vivek Gautam
Add support to get a list of resets available for the device. These resets must be kept de-asserted until the device is in use. Cc: Felipe Balbi Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-of-simple.c | 27 +-- 1 file changed, 25 insertions

[PATCH v4 4/4] soc/tegra: pmc: Use the new reset APIs to manage reset controllers

2017-05-22 Thread Vivek Gautam
Make use of reset_control_array_*() set of APIs to manage an array of reset controllers available with the device. Cc: Jon Hunter Cc: Thierry Reding Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- drivers/soc/tegra/pmc.c | 91 + 1 file

Re: [PATCH v5 3/3] phy: Group vendor specific phy drivers

2017-05-16 Thread Vivek Gautam
On 05/16/2017 03:40 PM, Kishon Vijay Abraham I wrote: Hi Vivek, On Thursday 11 May 2017 12:17 PM, Vivek Gautam wrote: Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella. Also updated the MAINTAINERS file to reflect the correct directory

Re: [PATCH v5 3/3] phy: Group vendor specific phy drivers

2017-05-12 Thread Vivek Gautam
On 05/12/2017 02:15 PM, Kishon Vijay Abraham I wrote: Hi Vivek, On Thursday 11 May 2017 12:17 PM, Vivek Gautam wrote: Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella. Also updated the MAINTAINERS file to reflect the correct directory

[PATCH v5 1/3] phy: qcom-usb: Remove unused ulpi phy header

2017-05-10 Thread Vivek Gautam
Ulpi phy header is not used for anything. Remove the same from qcom-hs and qcom-hsic phy drivers. Signed-off-by: Vivek Gautam Suggested-by: Stephen Boyd Cc: Kishon Vijay Abraham I Cc: linux-arm-ker...@lists.infradead.org Cc: linux-arm-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc

[PATCH v5 3/3] phy: Group vendor specific phy drivers

2017-05-10 Thread Vivek Gautam
Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella. Also updated the MAINTAINERS file to reflect the correct directory structure for phy drivers. Signed-off-by: Vivek Gautam Acked-by: Heiko Stuebner Acked-by: Viresh Kumar Acked-by: Krzysztof

[PATCH v5 2/3] phy: Move ULPI phy header out of drivers to include path

2017-05-10 Thread Vivek Gautam
Although ULPI phy is currently being used by tusb1210, there can be other consumers too in future. So move this to the includes path for phy. Signed-off-by: Vivek Gautam Cc: Stephen Boyd Cc: Heikki Krogerus Cc: Kishon Vijay Abraham I Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel

Re: [PATCH V3 4/4] soc/tegra: pmc: Use the new reset APIs to manage reset controllers

2017-04-25 Thread Vivek Gautam
On Tue, Apr 25, 2017 at 4:41 PM, Jon Hunter wrote: > > On 25/04/17 12:06, Vivek Gautam wrote: >> On 04/25/2017 04:24 PM, Jon Hunter wrote: >>> On 25/04/17 11:33, Philipp Zabel wrote: >>>> On Tue, 2017-04-25 at 11:05 +0100, Jon Hunter wrote: >>>>>

Re: [PATCH V3 4/4] soc/tegra: pmc: Use the new reset APIs to manage reset controllers

2017-04-25 Thread Vivek Gautam
On 04/25/2017 04:24 PM, Jon Hunter wrote: On 25/04/17 11:33, Philipp Zabel wrote: On Tue, 2017-04-25 at 11:05 +0100, Jon Hunter wrote: On 25/04/17 05:15, Vivek Gautam wrote: On 04/24/2017 06:15 PM, Jon Hunter wrote: On 18/04/17 12:21, Vivek Gautam wrote: Make use of reset_control_array_

Re: [PATCH -next] phy: qcom-qmp: fix invalid use of sizeof in qcom_qmp_phy_vreg_init()

2017-04-25 Thread Vivek Gautam
Hi, On 04/25/2017 12:27 PM, Wei Yongjun wrote: From: Wei Yongjun sizeof() when applied to a pointer typed expression gives the size of the pointer, not that of the pointed data. Signed-off-by: Wei Yongjun --- Apparently Kbuild had caught this and sent a similar patch. But I missed that.

Re: [PATCH] phy: qcom-qmp: fix noderef.cocci warnings

2017-04-25 Thread Vivek Gautam
Hi Kishon, On 04/06/2017 09:28 PM, kbuild test robot wrote: drivers/phy/phy-qcom-qmp.c:847:37-43: ERROR: application of sizeof to pointer sizeof when applied to a pointer typed expression gives the size of the pointer Generated by: scripts/coccinelle/misc/noderef.cocci CC: Vivek Gautam

Re: [PATCH -next] phy: qcom-qmp: fix return value check in qcom_qmp_phy_create()

2017-04-24 Thread Vivek Gautam
psets") Signed-off-by: Wei Yongjun Reviewed-by: Vivek Gautam --- drivers/phy/phy-qcom-qmp.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/phy/phy-qcom-qmp.c b/drivers/phy/phy-qcom-qmp.c index 727e23b..a25c29d 100644 --- a/drivers/phy/phy-

Re: [PATCH V3 4/4] soc/tegra: pmc: Use the new reset APIs to manage reset controllers

2017-04-24 Thread Vivek Gautam
On 04/24/2017 06:15 PM, Jon Hunter wrote: On 18/04/17 12:21, Vivek Gautam wrote: Make use of reset_control_array_*() set of APIs to manage an array of reset controllers available with the device. Before we apply this patch, I need to check to see if the order of the resets managed by the PMC

Re: [PATCH V3 3/4] usb: dwc3: of-simple: Add support to get resets for the device

2017-04-19 Thread Vivek Gautam
On 04/19/2017 04:02 PM, Philipp Zabel wrote: On Tue, 2017-04-18 at 16:51 +0530, Vivek Gautam wrote: Add support to get a list of resets available for the device. These resets must be kept de-asserted until the device is in use. Cc: Felipe Balbi Cc: Philipp Zabel Signed-off-by: Vivek Gautam

Re: [PATCH V3 2/4] reset: Add APIs to manage array of resets

2017-04-19 Thread Vivek Gautam
Hi Philipp, On 04/19/2017 04:01 PM, Philipp Zabel wrote: On Tue, 2017-04-18 at 16:51 +0530, Vivek Gautam wrote: Many devices may want to request a bunch of resets and control them. So it's better to manage them as an array. Add APIs to _get(), _assert(), and _deassert() an arr

Re: [PATCH V3 1/4] reset: Add API to count number of reset available with device

2017-04-19 Thread Vivek Gautam
On 04/19/2017 03:55 PM, Philipp Zabel wrote: On Tue, 2017-04-18 at 16:51 +0530, Vivek Gautam wrote: Count number of reset phandles available with the device node to know the resets a given device has. Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- drivers/reset/core.c | 23

[PATCH V3 1/4] reset: Add API to count number of reset available with device

2017-04-18 Thread Vivek Gautam
Count number of reset phandles available with the device node to know the resets a given device has. Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- drivers/reset/core.c | 23 +++ include/linux/reset.h | 6 ++ 2 files changed, 29 insertions(+) diff --git a/drivers

[PATCH V3 4/4] soc/tegra: pmc: Use the new reset APIs to manage reset controllers

2017-04-18 Thread Vivek Gautam
Make use of reset_control_array_*() set of APIs to manage an array of reset controllers available with the device. Cc: Thierry Reding Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- drivers/soc/tegra/pmc.c | 99 ++--- 1 file changed, 36 insertions

[PATCH V3 3/4] usb: dwc3: of-simple: Add support to get resets for the device

2017-04-18 Thread Vivek Gautam
Add support to get a list of resets available for the device. These resets must be kept de-asserted until the device is in use. Cc: Felipe Balbi Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-of-simple.c | 36 1 file changed, 36

[PATCH V3 2/4] reset: Add APIs to manage array of resets

2017-04-18 Thread Vivek Gautam
Many devices may want to request a bunch of resets and control them. So it's better to manage them as an array. Add APIs to _get(), _assert(), and _deassert() an array of reset_control. Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- drivers/reset/core.c

[PATCH V3 0/4] reset: APIs to manage a list of resets

2017-04-18 Thread Vivek Gautam
for reset control array. - Added a patch for soc/tegra/pmc driver to use the new set of reset control array APIs. Vivek Gautam (4): reset: Add API to count number of reset available with device reset: Add APIs to manage array of resets usb: dwc3: of-simple: Add support to get resets for

Re: [PATCH] phy: qcom-qmp: Add dependency on COMMON_CLK

2017-04-10 Thread Vivek Gautam
On 2017-04-10 10:52, Kishon Vijay Abraham I wrote: On Friday 07 April 2017 01:37 AM, Vivek Gautam wrote: The driver uses clock provider interface, and therefore it fails to build when enabled for COMPILE_TEST, since COMMON_CLK is not enabled at that time. So, make PHY_QCOM_QMP depend on

[PATCH] phy: qcom-qmp: Add dependency on COMMON_CLK

2017-04-06 Thread Vivek Gautam
The driver uses clock provider interface, and therefore it fails to build when enabled for COMPILE_TEST, since COMMON_CLK is not enabled at that time. So, make PHY_QCOM_QMP depend on COMMON_CLK as well. Cc: Fengguang Wu Cc: Kishon Vijay Abraham I Signed-off-by: Vivek Gautam --- Hi Kishon

Re: [PATCH V8 0/4] phy: USB and PCIe phy drivers for Qcom chipsets

2017-04-06 Thread Vivek Gautam
On 04/06/2017 03:41 PM, Kishon Vijay Abraham I wrote: On Thursday 06 April 2017 11:21 AM, Vivek Gautam wrote: Hi Kishon, Here's the series with fixed checkpatch warnings/checks. Please pick it for phy/next. This patch series adds couple of PHY drivers for Qualcomm chipsets. a) qcom-

[PATCH V8 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2017-04-05 Thread Vivek Gautam
PHY transceiver driver for QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller present on Qualcomm chipsets. Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd --- Changes since v7: - Fixed 'checkpatch --strict' alignment warnings/checks. Change

[PATCH V8 4/4] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2017-04-05 Thread Vivek Gautam
Qualcomm SOCs have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Add a new driver, based on generic phy framework, for this phy controller. Signed-off-by: Vivek Gautam Tested-by: Srinivas Kandagatla Reviewed-by: Stephen Boyd --- Changes since v7

[PATCH V8 1/4] dt-bindings: phy: Add support for QUSB2 phy

2017-04-05 Thread Vivek Gautam
Qualcomm chipsets have QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd Acked-by: Rob Herring --- Changes since v7: - None, just added Stephen's Reviewed-b

[PATCH V8 3/4] dt-bindings: phy: Add support for QMP phy

2017-04-05 Thread Vivek Gautam
Qualcomm chipsets have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd Acked-by: Rob Herring --- Changes since v7: - None, just added Stephen&#

[PATCH V8 0/4] phy: USB and PCIe phy drivers for Qcom chipsets

2017-04-05 Thread Vivek Gautam
for detailed changelogs. [1] https://patchwork.kernel.org/patch/9567767/ [2] https://patchwork.kernel.org/patch/9567779/ [3] https://github.com/vivekgautam1/linux/tree/linux-v4.11-rc5-qmp-phy-db820c [4] https://lkml.org/lkml/2017/3/20/407 Vivek Gautam (4): dt-bindings: phy: Add support for QUSB2 ph

Re: [PATCH V7 0/4] phy: USB and PCIe phy drivers for Qcom chipsets

2017-04-05 Thread Vivek Gautam
Hi Kishon, On Wed, Apr 5, 2017 at 7:08 PM, Kishon Vijay Abraham I wrote: > Hi Vivek, > > On Wednesday 05 April 2017 06:02 PM, Vivek Gautam wrote: >> This patch series adds couple of PHY drivers for Qualcomm chipsets. >> a) qcom-qusb2 phy driver: that provides High Speed US

[PATCH V7 4/4] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2017-04-05 Thread Vivek Gautam
Qualcomm SOCs have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Add a new driver, based on generic phy framework, for this phy controller. Signed-off-by: Vivek Gautam Tested-by: Srinivas Kandagatla --- Changes since v6: - Rebased on phy/next and

[PATCH V7 3/4] dt-bindings: phy: Add support for QMP phy

2017-04-05 Thread Vivek Gautam
Qualcomm chipsets have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Acked-by: Rob Herring --- Changes since v6: - none. Changes since v5: - Added Rob's 'Ack&#x

[PATCH V7 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2017-04-05 Thread Vivek Gautam
PHY transceiver driver for QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller present on Qualcomm chipsets. Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd --- Changes since v6: - Dropped 'vdd-phy' from list of regulators. - Rebased on phy/nex

[PATCH V7 1/4] dt-bindings: phy: Add support for QUSB2 phy

2017-04-05 Thread Vivek Gautam
Qualcomm chipsets have QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Acked-by: Rob Herring --- Changes since v6: - Dropped 'vdd-phy-supply' that used pm8994_s2 regulator, fro

[PATCH V7 0/4] phy: USB and PCIe phy drivers for Qcom chipsets

2017-04-05 Thread Vivek Gautam
[4] https://lkml.org/lkml/2017/3/20/407 Vivek Gautam (4): dt-bindings: phy: Add support for QUSB2 phy phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips dt-bindings: phy: Add support for QMP phy phy: qcom-qmp: new qmp phy driver for qcom-chipsets .../devicetree/bindings/phy/qcom-q

Re: [PATCH v6 1/4] dt-bindings: phy: Add support for QUSB2 phy

2017-04-05 Thread Vivek Gautam
On 04/04/2017 11:58 PM, Stephen Boyd wrote: On 03/20, Vivek Gautam wrote: diff --git a/Documentation/devicetree/bindings/phy/qcom-qusb2-phy.txt b/Documentation/devicetree/bindings/phy/qcom-qusb2-phy.txt new file mode 100644 index ..a6d19acde9e0 --- /dev/null +++ b/Documentation

Re: [PATCH v2 2/4] reset: Add APIs to manage array of resets

2017-04-04 Thread Vivek Gautam
Hi Philipp, On 04/04/2017 06:17 PM, Philipp Zabel wrote: Hi Vivek, On Tue, 2017-04-04 at 16:09 +0530, Vivek Gautam wrote: [...] I'd prefer to mirror the gpiod API a little, and to have the number contained in the array structure, similar to struct gpio_descs: [...] Alright, i can u

Re: [PATCH v2 2/4] reset: Add APIs to manage array of resets

2017-04-04 Thread Vivek Gautam
find my comments inline. On Mon, 2017-04-03 at 19:12 +0530, Vivek Gautam wrote: Many devices may want to request a bunch of resets and control them. So it's better to manage them as an array. Add APIs to _get(), _assert(), and _deassert() an array of reset_control. Cc: Philipp Zabel Sig

Re: [PATCH v2 2/4] reset: Add APIs to manage array of resets

2017-04-03 Thread Vivek Gautam
: https://github.com/0day-ci/linux/commits/Vivek-Gautam/reset-APIs-to-manage-a-list-of-resets/20170404-111639 base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next config: x86_64-randconfig-x004-201714 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901

[PATCH v2 3/4] usb: dwc3: of-simple: Add support to get resets for the device

2017-04-03 Thread Vivek Gautam
Add support to get a list of resets available for the device. These resets must be kept de-asserted until the device is in use. Cc: Felipe Balbi Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- Changes since v1: - Using new APIs for reset control array. - Using the *_get_exclusive() API

[PATCH v2 1/4] reset: Add API to count number of reset available with device

2017-04-03 Thread Vivek Gautam
Count number of reset phandles available with the device node to know the resets a given device has. Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- Changes since v1: - Handling the error path by returning error code for failures and ENODEV for count equal to 0. - Moved the function to

[PATCH v2 0/4] reset: APIs to manage a list of resets

2017-04-03 Thread Vivek Gautam
b820c target for dwc3-of-simple driver. -- Build tested for tegra/pmc driver. Needs testing. [1] https://lkml.org/lkml/2017/2/22/12 [2] https://lkml.org/lkml/2017/2/22/11 Vivek Gautam (4): reset: Add API to count number of reset available with device reset: Add APIs to manage array of resets

[PATCH v2 4/4] soc/tegra: pmc: Use the new reset APIs to manage reset controllers

2017-04-03 Thread Vivek Gautam
Make use of reset_control_array_*() set of APIs to manage an array of reset controllers available with the device. Cc: Thierry Reding Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- Changes since v1: - New patch added to the series to enable this driver use the newer set of APIs that

[PATCH v2 2/4] reset: Add APIs to manage array of resets

2017-04-03 Thread Vivek Gautam
Many devices may want to request a bunch of resets and control them. So it's better to manage them as an array. Add APIs to _get(), _assert(), and _deassert() an array of reset_control. Cc: Philipp Zabel Signed-off-by: Vivek Gautam --- Changes since v1: - New patch added to the s

Re: [PATCH v6 0/4] phy: USB and PCIe phy drivers for Qcom chipsets

2017-04-02 Thread Vivek Gautam
On 03/20/2017 07:24 PM, Vivek Gautam wrote: This patch series adds couple of PHY drivers for Qualcomm chipsets. a) qcom-qusb2 phy driver: that provides High Speed USB functionality. b) qcom-qmp phy driver: that is a combo phy providing support for USB3, PCIe, UFS and few other controllers

[PATCH v6 0/4] phy: USB and PCIe phy drivers for Qcom chipsets

2017-03-20 Thread Vivek Gautam
/lists/arm-kernel/msg569990.html [2] https://patchwork.kernel.org/patch/9567767/ [3] https://patchwork.kernel.org/patch/9567779/ [4] https://github.com/vivekgautam1/linux/tree/linux-phy-next-qcom-phy-db820c Vivek Gautam (4): dt-bindings: phy: Add support for QUSB2 phy phy: qcom-qusb2: New driver for

[PATCH v6 1/4] dt-bindings: phy: Add support for QUSB2 phy

2017-03-20 Thread Vivek Gautam
Qualcomm chipsets have QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Acked-by: Rob Herring --- Changes since v5: - Removed leading 0 from the address in 'reg' property. Change

[PATCH v6 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2017-03-20 Thread Vivek Gautam
PHY transceiver driver for QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller present on Qualcomm chipsets. Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd --- Changes since v5: - Rebased on top of phy grouping series. So the driver now sits in drivers/phy

[PATCH v6 3/4] dt-bindings: phy: Add support for QMP phy

2017-03-20 Thread Vivek Gautam
Qualcomm chipsets have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Acked-by: Rob Herring --- Changes since v5: - Added Rob's 'Ack' for the new child nodes

[PATCH v6 4/4] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2017-03-20 Thread Vivek Gautam
Qualcomm SOCs have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Add a new driver, based on generic phy framework, for this phy controller. Signed-off-by: Vivek Gautam Tested-by: Srinivas Kandagatla --- Changes since v5: - Rebased on top of phy

[PATCH v4 1/3] phy: qcom-usb: Remove unused ulpi phy header

2017-03-20 Thread Vivek Gautam
Ulpi phy header is not used for anything. Remove the same from qcom-hs and qcom-hsic phy drivers. Signed-off-by: Vivek Gautam Suggested-by: Stephen Boyd Cc: Kishon Vijay Abraham I Cc: linux-arm-ker...@lists.infradead.org Cc: linux-arm-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc

[PATCH v4 0/3] phy: Group phy drivers based on vendor listing

2017-03-20 Thread Vivek Gautam
inux-phy/next branch. [1] https://www.spinics.net/lists/arm-kernel/msg568370.html Signed-off-by: Vivek Gautam Cc: Kishon Vijay Abraham I Cc: linux-arm-ker...@lists.infradead.org Cc: linux-arm-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org -- Vivek Gautam (3)

[PATCH v4 3/3] phy: Group vendor specific phy drivers

2017-03-20 Thread Vivek Gautam
Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella. Also updated the MAINTAINERS file to reflect the correct directory structure for phy drivers. Signed-off-by: Vivek Gautam Acked-by: Heiko Stuebner Acked-by: Viresh Kumar Acked-by: Krzysztof

[PATCH v4 2/3] phy: Move ULPI phy header out of drivers to include path

2017-03-20 Thread Vivek Gautam
Although ULPI phy is currently being used by tusb1210, there can be other consumers too in future. So move this to the includes path for phy. Signed-off-by: Vivek Gautam Cc: Stephen Boyd Cc: Heikki Krogerus Cc: Kishon Vijay Abraham I Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel

Re: [PATCH v5 3/4] dt-bindings: phy: Add support for QMP phy

2017-03-20 Thread Vivek Gautam
Hi Rob, On Thu, Mar 16, 2017 at 2:04 AM, Rob Herring wrote: > On Thu, Mar 09, 2017 at 02:37:20PM +0530, Vivek Gautam wrote: >> Qualcomm chipsets have QMP phy controller that provides >> support to a number of controller, viz. PCIe, UFS, and USB. >> Adding dt binding inf

Re: [PATCH] usb: dwc3 dwc3_exynos_probe() change goto labels to meaningful names

2017-03-16 Thread Vivek Gautam
On Tue, Jan 31, 2017 at 12:55 AM, Shuah Khan wrote: > Change goto labels to meaningful names from a series of errNs. > > Signed-off-by: Shuah Khan > --- > > Rebased to usb-next > > drivers/usb/dwc3/dwc3-exynos.c | 22 +++--- > 1 file changed, 11 insertions(+), 11 deletions(-) > >

Re: [PATCH 2/2] usb; dwc3: of-simple: Add support to get resets for the device

2017-03-15 Thread Vivek Gautam
Hi, On 03/15/2017 04:15 PM, Philipp Zabel wrote: On Wed, 2017-02-22 at 10:54 +0530, Vivek Gautam wrote: Add support to get a list of resets available for the device. These resets must be kept de-asserted until the device is in use. Cc: Felipe Balbi Signed-off-by: Vivek Gautam --- Based on

Re: [PATCH 1/2] reset: Add API to count number of reset available with device

2017-03-15 Thread Vivek Gautam
Hi Philipp, On Wed, Mar 15, 2017 at 4:10 PM, Philipp Zabel wrote: > Hi Vivek, > > On Fri, 2017-03-10 at 20:10 +0530, Vivek Gautam wrote: >> Hi Philipp, >> >> >> On Wed, Feb 22, 2017 at 10:54 AM, Vivek Gautam >> wrote: >> > Count number of reset

Re: [RESEND PATCH v3 2/2] phy: Group vendor specific phy drivers

2017-03-15 Thread Vivek Gautam
On Wed, Mar 15, 2017 at 1:38 PM, Heiko Stübner wrote: > Am Dienstag, 14. März 2017, 11:52:50 CET schrieb Vivek Gautam: >> Adding vendor specific directories in phy to group >> phy drivers under their respective vendor umbrella. >> >> Also updated the MAINTAINERS

Re: [RESEND PATCH v3 2/2] phy: Group vendor specific phy drivers

2017-03-14 Thread Vivek Gautam
Hi Krzysztof, On 03/14/2017 12:14 PM, Krzysztof Kozlowski wrote: On Tue, Mar 14, 2017 at 8:22 AM, Vivek Gautam wrote: Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella. Also updated the MAINTAINERS file to reflect the correct directory

[RESEND PATCH v3 2/2] phy: Group vendor specific phy drivers

2017-03-13 Thread Vivek Gautam
Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella. Also updated the MAINTAINERS file to reflect the correct directory structure for phy drivers. Signed-off-by: Vivek Gautam Acked-by: Heiko Stuebner Acked-by: Viresh Kumar Cc: Kishon Vijay

[PATCH v3 2/2] phy: Group vendor specific phy drivers

2017-03-13 Thread Vivek Gautam
Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella. Also updated the MAINTAINERS file to reflect the correct directory structure for phy drivers. Signed-off-by: Vivek Gautam Acked-by: Heiko Stuebner Acked-by: Viresh Kumar Cc: Kishon Vijay

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-13 Thread Vivek Gautam
Hi Jaehoon, On Mon, Mar 13, 2017 at 4:48 AM, Jaehoon Chung wrote: > Hi Vivek, > > On 03/12/2017 06:18 PM, Vivek Gautam wrote: >> Hi Kishon, >> >> >> On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thu

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-13 Thread Vivek Gautam
Hi Kishon, On Mon, Mar 13, 2017 at 10:51 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Sunday 12 March 2017 02:48 PM, Vivek Gautam wrote: >> Hi Kishon, >> >> >> On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> &g

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-12 Thread Vivek Gautam
On Sun, Mar 12, 2017 at 2:53 PM, Krzysztof Kozlowski wrote: > On Sun, Mar 12, 2017 at 11:18 AM, Vivek Gautam > wrote: >> Hi Kishon, >> >> >> On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thursday 0

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-12 Thread Vivek Gautam
Hi Kishon, On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 09 March 2017 05:03 PM, Jaehoon Chung wrote: >> Make the "samsung" directory and move the Samsung specific files to >> there for maintaining the files relevant to Samsung. > > The number of phy drivers

Re: [PATCH 1/2] reset: Add API to count number of reset available with device

2017-03-10 Thread Vivek Gautam
Hi Philipp, On Wed, Feb 22, 2017 at 10:54 AM, Vivek Gautam wrote: > Count number of reset phandles available with the device node > to know the resets a given device has. > > Cc: Philipp Zabel > Signed-off-by: Vivek Gautam > --- Any thoughts on this change? A small addition

<    1   2   3   4   5   6   7   8   9   10   >