Re: [PATCH 1/7] clk: qcom: clk-alpha-pll: Add support for Stromer PLLs

2021-01-05 Thread Varadarajan Narayanan
On Sat, Dec 26, 2020 at 01:51:28AM +0100, Konrad Dybcio wrote: Konrad, > Hi, are you going to resubmit this patch? Looks like > MDM9607 uses Stromer PLL for its CPU clocks and could > benefit from it. Yes. But will take some time since we are held up with additional activities. Thanks Varada

Re: [PATCH 4/7] dt-bindings: pinctrl: qcom: Add ipq5018 pinctrl bindings

2020-09-29 Thread Varadarajan Narayanan
On Mon, Sep 28, 2020 at 01:10:18PM -0500, Rob Herring wrote: > On Mon, 28 Sep 2020 10:45:37 +0530, Varadarajan Narayanan wrote: > > Add device tree binding Documentation details for ipq5018 > > pinctrl driver. > > > > Signed-off-by: Varadarajan Narayanan > > -

Re: [PATCH 5/7] pinctrl: qcom: Add IPQ5018 pinctrl driver

2020-09-29 Thread Varadarajan Narayanan
On Mon, Sep 28, 2020 at 01:43:22PM -0500, Bjorn Andersson wrote: > On Mon 28 Sep 00:15 CDT 2020, Varadarajan Narayanan wrote: > > diff --git a/drivers/pinctrl/qcom/pinctrl-ipq5018.c > > b/drivers/pinctrl/qcom/pinctrl-ipq5018.c > [..] > > +static const struct msm_fu

[PATCH 6/7] arm64: dts: Add ipq5018 SoC and MP03 board support

2020-09-27 Thread Varadarajan Narayanan
Add initial device tree support for the Qualcomm IPQ5018 SoC and MP03.1-C2 board. Signed-off-by: Varadarajan Narayanan --- Documentation/devicetree/bindings/arm/qcom.yaml | 7 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/ipq5018-mp03.1-c2.dts | 30

[PATCH 2/7] dt-bindings: arm64: ipq5018: Add binding descriptions for clock and reset

2020-09-27 Thread Varadarajan Narayanan
This patch adds support for the global clock controller found on the IPQ5018 based devices. Signed-off-by: Varadarajan Narayanan --- .../devicetree/bindings/clock/qcom,gcc.yaml| 3 + include/dt-bindings/clock/qcom,gcc-ipq5018.h | 183 + include/dt-bindings

[PATCH 7/7] arm64: defconfig: Enable IPQ5018 SoC base configs

2020-09-27 Thread Varadarajan Narayanan
Enables clk & pinctrl related configs Signed-off-by: Varadarajan Narayanan --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6d04b95..ca25f79 100644 --- a/arch/arm64/configs/defconfig +

[PATCH 1/7] clk: qcom: clk-alpha-pll: Add support for Stromer PLLs

2020-09-27 Thread Varadarajan Narayanan
Add programming sequence support for managing the Stromer PLLs. Signed-off-by: Varadarajan Narayanan --- drivers/clk/qcom/clk-alpha-pll.c | 156 ++- drivers/clk/qcom/clk-alpha-pll.h | 5 ++ 2 files changed, 160 insertions(+), 1 deletion(-) diff --git

[PATCH 4/7] dt-bindings: pinctrl: qcom: Add ipq5018 pinctrl bindings

2020-09-27 Thread Varadarajan Narayanan
Add device tree binding Documentation details for ipq5018 pinctrl driver. Signed-off-by: Varadarajan Narayanan --- .../bindings/pinctrl/qcom,ipq5018-pinctrl.yaml | 143 + 1 file changed, 143 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl

[PATCH 5/7] pinctrl: qcom: Add IPQ5018 pinctrl driver

2020-09-27 Thread Varadarajan Narayanan
This adds the pinctrl definitions for the TLMM of IPQ5018. Signed-off-by: Varadarajan Narayanan --- drivers/pinctrl/qcom/Kconfig | 10 + drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-ipq5018.c | 903 + 3 files changed

[PATCH 0/7] Add minimal boot support for IPQ5018

2020-09-27 Thread Varadarajan Narayanan
The IPQ5018 is Qualcomm's 802.11ax SoC for Routers, Gateways and Access Points. This series adds minimal board boot support for ipq5018-mp03.1-c2 board. Varadarajan Narayanan (7): clk: qcom: clk-alpha-pll: Add support for Stromer PLLs dt-bindings: arm64: ipq5018: Add binding descriptions

[PATCH 3/7] clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018

2020-09-27 Thread Varadarajan Narayanan
Add support for the global clock controller found on IPQ5018 based devices. Signed-off-by: Varadarajan Narayanan --- drivers/clk/qcom/Kconfig |8 + drivers/clk/qcom/Makefile |1 + drivers/clk/qcom/gcc-ipq5018.c | 3833 include/linux

Re: [PATCH v5 06/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file

2018-04-02 Thread Varadarajan Narayanan
q4019-ap.dk04.1-c1.dts | 20 > 2 files changed, 21 insertions(+) > create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts > NAND, BAM and SPI work fine. Tested-by: Varadarajan Narayanan <var...@codeaurora.org> -Varada > diff --git a/arch/arm/boot/dts/

Re: [PATCH v5 06/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file

2018-04-02 Thread Varadarajan Narayanan
ged, 21 insertions(+) > create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts > NAND, BAM and SPI work fine. Tested-by: Varadarajan Narayanan -Varada > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index ade7a38..b6c62c6 100644 > --- a/arch/a

Re: [PATCH v9 0/3] Add support for IPQ8074 PCIe phy and controller

2017-08-18 Thread Varadarajan Narayanan
On Fri, Aug 18, 2017 at 12:59:50PM +0530, Varadarajan Narayanan wrote: > v9: > Incorporate Stanimir's feedback for > PCI: dwc: qcom: Add support for IPQ8074 PCIe controller Forgot to mention that the patches were rebased against Bjorn's pci.git/next. Thanks Varada > Add St

Re: [PATCH v9 0/3] Add support for IPQ8074 PCIe phy and controller

2017-08-18 Thread Varadarajan Narayanan
On Fri, Aug 18, 2017 at 12:59:50PM +0530, Varadarajan Narayanan wrote: > v9: > Incorporate Stanimir's feedback for > PCI: dwc: qcom: Add support for IPQ8074 PCIe controller Forgot to mention that the patches were rebased against Bjorn's pci.git/next. Thanks Varada > Add St

[PATCH v9 2/3] dt-bindings: pci: qcom: Add support for IPQ8074

2017-08-18 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Varadarajan Narayana

[PATCH v9 2/3] dt-bindings: pci: qcom: Add support for IPQ8074

2017-08-18 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Acked-by: Rob Herring Signed-off-by: Varadarajan Narayanan --- .../devicetree/bindings/pci

[PATCH v9 3/3] PCI: dwc: qcom: Add support for IPQ8074 PCIe controller

2017-08-18 Thread Varadarajan Narayanan
. Acked-by: Stanimir Varbanov <svarba...@mm-sol.com> Signed-off-by: smuthayy <smuth...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/pci/dwc/pcie-qcom.c | 210 +++- 1 file changed, 209 inserti

[PATCH v9 3/3] PCI: dwc: qcom: Add support for IPQ8074 PCIe controller

2017-08-18 Thread Varadarajan Narayanan
. Acked-by: Stanimir Varbanov Signed-off-by: smuthayy Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 210 +++- 1 file changed, 209 insertions(+), 1 deletion(-) diff --git a/drivers/pci/dwc/pcie-qcom.c b/drivers/pci/dwc/pcie-qcom.c

[PATCH v9 1/3] PCI: dwc: qcom: Use block IP version for operations

2017-08-18 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Acked-by: Stanimir Varbanov <svarba...@mm-sol.com> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> ---

[PATCH v9 1/3] PCI: dwc: qcom: Use block IP version for operations

2017-08-18 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Acked-by: Stanimir Varbanov Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 138

[PATCH v9 0/3] Add support for IPQ8074 PCIe phy and controller

2017-08-18 Thread Varadarajan Narayanan
nitions required to enable QMP phy support for IPQ8074. Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Varadarajan Narayanan (3): PCI: dwc: qc

[PATCH v9 0/3] Add support for IPQ8074 PCIe phy and controller

2017-08-18 Thread Varadarajan Narayanan
hy support for IPQ8074. Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Varadarajan Narayanan (3): PCI: dwc: qcom: Use block IP version for opera

[PATCH v8 1/3] PCI: dwc: qcom: Use block IP version for operations

2017-08-17 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/pci/dwc/pcie-qcom.c

[PATCH v8 0/3] Add support for IPQ8074 PCIe phy and controller

2017-08-17 Thread Varadarajan Narayanan
port for IPQ8074. Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Varadarajan Narayanan (3): PCI: dwc: qcom: Use block IP version for operatio

[PATCH v8 1/3] PCI: dwc: qcom: Use block IP version for operations

2017-08-17 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 132 +++- 1 file

[PATCH v8 0/3] Add support for IPQ8074 PCIe phy and controller

2017-08-17 Thread Varadarajan Narayanan
he IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Varadarajan Narayanan (3): PCI: dwc: qcom: Use block IP version for operations dt-bindings: pci: qcom: A

[PATCH v8 2/3] dt-bindings: pci: qcom: Add support for IPQ8074

2017-08-17 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- .../devicetree/bindin

[PATCH v8 3/3] PCI: dwc: qcom: Add support for IPQ8074 PCIe controller

2017-08-17 Thread Varadarajan Narayanan
. Signed-off-by: smuthayy <smuth...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/pci/dwc/pcie-qcom.c | 208 1 file changed, 208 insertions(+) diff --git a/drivers/pci/dwc/pcie-qcom.c b/drivers/

[PATCH v8 2/3] dt-bindings: pci: qcom: Add support for IPQ8074

2017-08-17 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Signed-off-by: Varadarajan Narayanan --- .../devicetree/bindings/pci/qcom,pcie.txt

[PATCH v8 3/3] PCI: dwc: qcom: Add support for IPQ8074 PCIe controller

2017-08-17 Thread Varadarajan Narayanan
. Signed-off-by: smuthayy Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 208 1 file changed, 208 insertions(+) diff --git a/drivers/pci/dwc/pcie-qcom.c b/drivers/pci/dwc/pcie-qcom.c index c4cd039..1cb03dd 100644 --- a/drivers

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

2017-08-17 Thread Varadarajan Narayanan
Stanimir, > Hi, > > Thanks for the patch. > > On 31.07.2017 09:34, Varadarajan Narayanan wrote: > >Add support for the IPQ8074 PCIe controller. IPQ8074 supports > >Gen 1/2, one lane, two PCIe root complex with support for MSI and > >legacy interrupts, and it

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

2017-08-17 Thread Varadarajan Narayanan
Stanimir, > Hi, > > Thanks for the patch. > > On 31.07.2017 09:34, Varadarajan Narayanan wrote: > >Add support for the IPQ8074 PCIe controller. IPQ8074 supports > >Gen 1/2, one lane, two PCIe root complex with support for MSI and > >legacy interrupts, and it

[PATCH v7 3/3] PCI: dwc: qcom: Add support for IPQ8074 PCIe controller

2017-08-17 Thread Varadarajan Narayanan
. Signed-off-by: smuthayy <smuth...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/pci/dwc/pcie-qcom.c | 233 1 file changed, 233 insertions(+) diff --git a/drivers/pci/dwc/pcie-qcom.c b/drivers/

[PATCH v7 2/3] dt-bindings: pci: qcom: Add support for IPQ8074

2017-08-17 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- .../devicetree/bindin

[PATCH v7 3/3] PCI: dwc: qcom: Add support for IPQ8074 PCIe controller

2017-08-17 Thread Varadarajan Narayanan
. Signed-off-by: smuthayy Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 233 1 file changed, 233 insertions(+) diff --git a/drivers/pci/dwc/pcie-qcom.c b/drivers/pci/dwc/pcie-qcom.c index c4cd039..5bfbbd3 100644 --- a/drivers

[PATCH v7 2/3] dt-bindings: pci: qcom: Add support for IPQ8074

2017-08-17 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Signed-off-by: Varadarajan Narayanan --- .../devicetree/bindings/pci/qcom,pcie.txt

[PATCH v7 1/3] PCI: dwc: qcom: Use block IP version for operations

2017-08-17 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/pci/dwc/pcie-qcom.c

[PATCH v7 1/3] PCI: dwc: qcom: Use block IP version for operations

2017-08-17 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 132 +++- 1 file

[PATCH v7 0/3] Add support for IPQ8074 PCIe phy and controller

2017-08-17 Thread Varadarajan Narayanan
CIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Varadarajan Narayanan (3): PCI: dwc: qcom: Use block IP version for operations dt-bindings: pci: qcom: Add support for IPQ8074 PCI: dwc: qcom: Add support for IPQ8074

[PATCH v7 0/3] Add support for IPQ8074 PCIe phy and controller

2017-08-17 Thread Varadarajan Narayanan
and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Varadarajan Narayanan (3): PCI: dwc: qcom: Use block IP version for operations dt-bindings: pci: qcom: Add support for IPQ8074 PCI: dwc: qcom: Add support for IPQ8074 PCIe controller .../devicetree/bindings/pci/qco

[PATCH v6 0/7] Add support for IPQ8074 PCIe phy and controller

2017-07-31 Thread Varadarajan Narayanan
PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Varadarajan Narayanan (7): dt-bindings: phy: qmp: Add output-clock-names dt-bindings: phy: qmp: Add support for QMP phy in IPQ

[PATCH v6 0/7] Add support for IPQ8074 PCIe phy and controller

2017-07-31 Thread Varadarajan Narayanan
, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Varadarajan Narayanan (7): dt-bindings: phy: qmp: Add output-clock-names dt-bindings: phy: qmp: Add support for QMP phy in IPQ8074 phy: qcom-qmp: Fix phy pipe

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

2017-07-31 Thread Varadarajan Narayanan
. Reviewed-by: Vivek Gautam <vivek.gau...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/phy/qualcomm/phy-qcom-qmp.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b

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

2017-07-31 Thread Varadarajan Narayanan
. Reviewed-by: Vivek Gautam Signed-off-by: Varadarajan Narayanan --- drivers/phy/qualcomm/phy-qcom-qmp.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 78ca628..3dd7891 100644

[PATCH v6 4/7] phy: qcom-qmp: Add support for IPQ8074

2017-07-31 Thread Varadarajan Narayanan
Add definitions required to enable QMP phy support for IPQ8074. Signed-off-by: smuthayy <smuth...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/phy/qualcomm/phy-qcom-qmp.c | 124 1 file changed, 12

[PATCH v6 4/7] phy: qcom-qmp: Add support for IPQ8074

2017-07-31 Thread Varadarajan Narayanan
Add definitions required to enable QMP phy support for IPQ8074. Signed-off-by: smuthayy Signed-off-by: Varadarajan Narayanan --- drivers/phy/qualcomm/phy-qcom-qmp.c | 124 1 file changed, 124 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c

[PATCH v6 5/7] PCI: dwc: qcom: Use block IP version for operations

2017-07-31 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/pci/dwc/pcie-qcom.c

[PATCH v6 5/7] PCI: dwc: qcom: Use block IP version for operations

2017-07-31 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 133 +++- 1 file

[PATCH v6 1/7] dt-bindings: phy: qmp: Add output-clock-names

2017-07-31 Thread Varadarajan Narayanan
The phy outputs a clock that will act as the parent for the phy's pipe clock. Add the name of this clock to the lane's DT node. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- Documentation/devicetree/bindings/phy/qcom-qmp

[PATCH v6 1/7] dt-bindings: phy: qmp: Add output-clock-names

2017-07-31 Thread Varadarajan Narayanan
The phy outputs a clock that will act as the parent for the phy's pipe clock. Add the name of this clock to the lane's DT node. Acked-by: Rob Herring Signed-off-by: Varadarajan Narayanan --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 3 +++ 1 file changed, 3 insertions(+) diff

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

2017-07-31 Thread Varadarajan Narayanan
. Signed-off-by: smuthayy <smuth...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/pci/dwc/pcie-qcom.c | 245 1 file changed, 245 insertions(+) diff --git a/drivers/pci/dwc/pcie-qcom.c b/drivers/

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

2017-07-31 Thread Varadarajan Narayanan
. Signed-off-by: smuthayy Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 245 1 file changed, 245 insertions(+) diff --git a/drivers/pci/dwc/pcie-qcom.c b/drivers/pci/dwc/pcie-qcom.c index 6525f2f..b2ea953 100644 --- a/drivers

[PATCH v6 6/7] dt-bindings: pci: qcom: Add support for IPQ8074

2017-07-31 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- .../devicetree/bindin

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

2017-07-31 Thread Varadarajan Narayanan
IPQ8074 uses QMP phy controller that provides support to PCIe and USB. Adding dt binding information for the same. Reviewed-by: Vivek Gautam <vivek.gau...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- Documentation/devicetree/bindings/phy/qcom-qmp

[PATCH v6 6/7] dt-bindings: pci: qcom: Add support for IPQ8074

2017-07-31 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Signed-off-by: Varadarajan Narayanan --- .../devicetree/bindings/pci/qcom,pcie.txt

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

2017-07-31 Thread Varadarajan Narayanan
IPQ8074 uses QMP phy controller that provides support to PCIe and USB. Adding dt binding information for the same. Reviewed-by: Vivek Gautam Signed-off-by: Varadarajan Narayanan --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 8 1 file changed, 8 insertions(+) diff --git

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

2017-07-30 Thread Varadarajan Narayanan
. Signed-off-by: smuthayy <smuth...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/pci/dwc/pcie-qcom.c | 245 1 file changed, 245 insertions(+) diff --git a/drivers/pci/dwc/pcie-qcom.c b/drivers/

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

2017-07-30 Thread Varadarajan Narayanan
. Signed-off-by: smuthayy Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 245 1 file changed, 245 insertions(+) diff --git a/drivers/pci/dwc/pcie-qcom.c b/drivers/pci/dwc/pcie-qcom.c index 6525f2f..b2ea953 100644 --- a/drivers

[PATCH v5 4/7] phy: qcom-qmp: Add support for IPQ8074

2017-07-30 Thread Varadarajan Narayanan
Add definitions required to enable QMP phy support for IPQ8074. Signed-off-by: smuthayy <smuth...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/phy/qualcomm/phy-qcom-qmp.c | 124 1 file changed, 12

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

2017-07-30 Thread Varadarajan Narayanan
IPQ8074 uses QMP phy controller that provides support to PCIe and USB. Adding dt binding information for the same. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 8 1 file changed, 8 insertions(+) diff

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

2017-07-30 Thread Varadarajan Narayanan
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 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree

[PATCH v5 4/7] phy: qcom-qmp: Add support for IPQ8074

2017-07-30 Thread Varadarajan Narayanan
Add definitions required to enable QMP phy support for IPQ8074. Signed-off-by: smuthayy Signed-off-by: Varadarajan Narayanan --- drivers/phy/qualcomm/phy-qcom-qmp.c | 124 1 file changed, 124 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c

[PATCH v5 6/7] dt-bindings: pci: qcom: Add support for IPQ8074

2017-07-30 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- .../devicetree/bindin

[PATCH v5 0/7] Add support for IPQ8074 PCIe phy and controller

2017-07-30 Thread Varadarajan Narayanan
hy support for IPQ8074. Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Varadarajan Narayanan (7): dt-bindings: phy: qmp: Add output-clock-

[PATCH v5 6/7] dt-bindings: pci: qcom: Add support for IPQ8074

2017-07-30 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Signed-off-by: Varadarajan Narayanan --- .../devicetree/bindings/pci/qcom,pcie.txt

[PATCH v5 0/7] Add support for IPQ8074 PCIe phy and controller

2017-07-30 Thread Varadarajan Narayanan
hy support for IPQ8074. Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Varadarajan Narayanan (7): dt-bindings: phy: qmp: Add output-clock-

[PATCH v5 5/7] PCI: dwc: qcom: Use block IP version for operations

2017-07-30 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/pci/dwc/pcie-qcom.c

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

2017-07-30 Thread Varadarajan Narayanan
. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/phy/qualcomm/phy-qcom-qmp.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 78ca628..4

[PATCH v5 1/7] dt-bindings: phy: qmp: Add output-clock-names

2017-07-30 Thread Varadarajan Narayanan
The phy outputs a clock that will act as the parent for the phy's pipe clock. Add the name of this clock to the lane's DT node. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- Documentation/devicetree/bindings/phy/qcom-qmp

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

2017-07-30 Thread Varadarajan Narayanan
. Signed-off-by: Varadarajan Narayanan --- drivers/phy/qualcomm/phy-qcom-qmp.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 78ca628..464049c 100644 --- a/drivers/phy

[PATCH v5 1/7] dt-bindings: phy: qmp: Add output-clock-names

2017-07-30 Thread Varadarajan Narayanan
The phy outputs a clock that will act as the parent for the phy's pipe clock. Add the name of this clock to the lane's DT node. Acked-by: Rob Herring Signed-off-by: Varadarajan Narayanan --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH v5 5/7] PCI: dwc: qcom: Use block IP version for operations

2017-07-30 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 133 +++- 1 file

[PATCH v6 02/14] spi: qup: Setup DMA mode correctly

2017-07-28 Thread Varadarajan Narayanan
ed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 118 +++--- 1 file changed, 55 insertions(+), 63 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index c0d4def..abe799b 100644 --- a/drivers/spi/spi

[PATCH v6 02/14] spi: qup: Setup DMA mode correctly

2017-07-28 Thread Varadarajan Narayanan
To operate in DMA mode, the buffer should be aligned and the size of the transfer should be a multiple of block size (for v1). And the no. of words being transferred should be programmed in the count registers appropriately. Signed-off-by: Andy Gross Signed-off-by: Varadarajan Narayanan

[PATCH v6 04/14] spi: qup: Place the QUP in run mode before DMA

2017-07-28 Thread Varadarajan Narayanan
Signed-off-by: Andy Gross <andy.gr...@linaro.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index fdd34c3..f1aa5c1 100644 -

[PATCH v6 04/14] spi: qup: Place the QUP in run mode before DMA

2017-07-28 Thread Varadarajan Narayanan
Signed-off-by: Andy Gross Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index fdd34c3..f1aa5c1 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c

[PATCH v6 06/14] spi: qup: Fix transaction done signaling

2017-07-28 Thread Varadarajan Narayanan
controller->xfer = NULL and restores it in the ISR. This looks to be some debug code which is not required. Signed-off-by: Andy Gross <andy.gr...@linaro.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 27 +-- 1

[PATCH v6 06/14] spi: qup: Fix transaction done signaling

2017-07-28 Thread Varadarajan Narayanan
controller->xfer = NULL and restores it in the ISR. This looks to be some debug code which is not required. Signed-off-by: Andy Gross Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 27 +-- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/driv

[PATCH v6 05/14] spi: qup: Fix error handling in spi_qup_prep_sg

2017-07-28 Thread Varadarajan Narayanan
Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index f1aa5c1..ef95294 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi

[PATCH v6 05/14] spi: qup: Fix error handling in spi_qup_prep_sg

2017-07-28 Thread Varadarajan Narayanan
Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index f1aa5c1..ef95294 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c @@ -311,8 +311,8 @@ static

[PATCH v6 09/14] spi: qup: call io_config in mode specific function

2017-07-28 Thread Varadarajan Narayanan
be no functional change Signed-off-by: Matthew McClintock <mmccl...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/drivers/spi/spi-qup

[PATCH v6 09/14] spi: qup: call io_config in mode specific function

2017-07-28 Thread Varadarajan Narayanan
be no functional change Signed-off-by: Matthew McClintock Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index ff5aa08..1aa6078 100644

[PATCH v6 12/14] spi: qup: allow multiple DMA transactions per spi xfer

2017-07-28 Thread Varadarajan Narayanan
Much like the block mode changes, we are breaking up DMA transactions into 64K chunks so we can reset the QUP engine. Signed-off-by: Matthew McClintock <mmccl...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/sp

[PATCH v6 12/14] spi: qup: allow multiple DMA transactions per spi xfer

2017-07-28 Thread Varadarajan Narayanan
Much like the block mode changes, we are breaking up DMA transactions into 64K chunks so we can reset the QUP engine. Signed-off-by: Matthew McClintock Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 92 --- 1 file changed, 66

[PATCH v6 14/14] spi: qup: Fix QUP version identify method

2017-07-28 Thread Varadarajan Narayanan
Use of_device_get_match_data to identify QUP version instead of of_device_is_compatible. Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi

[PATCH v6 10/14] spi: qup: allow block mode to generate multiple transactions

2017-07-28 Thread Varadarajan Narayanan
;mmccl...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 128 +++--- 1 file changed, 80 insertions(+), 48 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 1

[PATCH v6 14/14] spi: qup: Fix QUP version identify method

2017-07-28 Thread Varadarajan Narayanan
Use of_device_get_match_data to identify QUP version instead of of_device_is_compatible. Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 4c3c938..1364516

[PATCH v6 10/14] spi: qup: allow block mode to generate multiple transactions

2017-07-28 Thread Varadarajan Narayanan
ned-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 128 +++--- 1 file changed, 80 insertions(+), 48 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 1aa6078..707b1ec 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/

[PATCH v6 13/14] spi: qup: Ensure done detection

2017-07-28 Thread Varadarajan Narayanan
k Sahu <abs...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 3c2c2c0..4c3c938 100644 --- a/dri

[PATCH v6 11/14] spi: qup: refactor spi_qup_prep_sg

2017-07-28 Thread Varadarajan Narayanan
Take specific sgl and nent to be prepared. This is in preparation for splitting DMA into multiple transacations, this contains no code changes just refactoring. Signed-off-by: Matthew McClintock <mmccl...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org>

[PATCH v6 13/14] spi: qup: Ensure done detection

2017-07-28 Thread Varadarajan Narayanan
-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 3c2c2c0..4c3c938 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c @@ -266,7 +266,7 @@ static void

[PATCH v6 11/14] spi: qup: refactor spi_qup_prep_sg

2017-07-28 Thread Varadarajan Narayanan
Take specific sgl and nent to be prepared. This is in preparation for splitting DMA into multiple transacations, this contains no code changes just refactoring. Signed-off-by: Matthew McClintock Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 23 ++- 1

[PATCH v6 07/14] spi: qup: Do block sized read/write in block mode

2017-07-28 Thread Varadarajan Narayanan
This patch corrects the behavior of the BLOCK transactions. During block transactions, the controller must be read/written to in block size transactions. Signed-off-by: Andy Gross <andy.gr...@linaro.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/s

[PATCH v6 07/14] spi: qup: Do block sized read/write in block mode

2017-07-28 Thread Varadarajan Narayanan
This patch corrects the behavior of the BLOCK transactions. During block transactions, the controller must be read/written to in block size transactions. Signed-off-by: Andy Gross Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 151

[PATCH v6 08/14] spi: qup: refactor spi_qup_io_config into two functions

2017-07-28 Thread Varadarajan Narayanan
refactoring, there should be no functional change Signed-off-by: Matthew McClintock <mmccl...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 91 +++ 1 file changed, 62 insertions(+),

[PATCH v6 03/14] spi: qup: Add completion timeout

2017-07-28 Thread Varadarajan Narayanan
Add i/o completion timeout for DMA and PIO modes. Signed-off-by: Andy Gross <andy.gr...@linaro.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/s

[PATCH v6 08/14] spi: qup: refactor spi_qup_io_config into two functions

2017-07-28 Thread Varadarajan Narayanan
refactoring, there should be no functional change Signed-off-by: Matthew McClintock Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 91 +++ 1 file changed, 62 insertions(+), 29 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers

[PATCH v6 03/14] spi: qup: Add completion timeout

2017-07-28 Thread Varadarajan Narayanan
Add i/o completion timeout for DMA and PIO modes. Signed-off-by: Andy Gross Signed-off-by: Varadarajan Narayanan --- drivers/spi/spi-qup.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index abe799b..fdd34c3

[PATCH v6 01/14] spi: qup: Enable chip select support

2017-07-28 Thread Varadarajan Narayanan
t versions of QUP, re-enabling it for QUP versions later than v1. Signed-off-by: Sham Muthayyan <smuth...@codeaurora.org> Signed-off-by: Varadarajan Narayanan <var...@codeaurora.org> --- drivers/spi/spi-qup.c | 21 + 1 file changed, 21 insertions(+) diff --git a/d

  1   2   3   4   5   6   >