[PATCH v8 10/12] ARM: dts: ipq8074: Add peripheral nodes

2018-05-25 Thread Sricharan R
Add serial, i2c, bam, spi, qpic peripheral nodes. While here, fix the PMU node's irq trigger to avoid the boot warnings from GIC. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 12 --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 156

[PATCH v8 05/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file

2018-05-25 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Tested-by: Varadarajan Narayanan <var...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 19

[PATCH v8 05/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file

2018-05-25 Thread Sricharan R
Reviewed-by: Abhishek Sahu Tested-by: Varadarajan Narayanan Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 19 +++ 2 files changed, 20 insertions(+) create mode 100644 arch/arm/boot/dts

[PATCH v8 06/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk04.1-c3 board file

2018-05-25 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts | 9 + 2 files changed, 10 insertions(+) create mode 100644 a

[PATCH v8 07/12] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data

2018-05-25 Thread Sricharan R
Add the common data for all dk07 based boards. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi | 75 +++ 1 file changed, 75 insertions(+) create mode

[PATCH v8 06/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk04.1-c3 board file

2018-05-25 Thread Sricharan R
Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts | 9 + 2 files changed, 10 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts diff --git

[PATCH v8 07/12] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data

2018-05-25 Thread Sricharan R
Add the common data for all dk07 based boards. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi | 75 +++ 1 file changed, 75 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi diff

[PATCH v8 04/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-05-25 Thread Sricharan R
Add the common parts for the dk04 boards. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 111 ++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 2

[PATCH v8 03/12] ARM: dts: ipq4019: Change the max opp frequency

2018-05-25 Thread Sricharan R
The max opp frequency is 716MHZ. So update that. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/

[PATCH v8 04/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-05-25 Thread Sricharan R
Add the common parts for the dk04 boards. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 111 ++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2 files changed, 112 insertions(+), 1 deletion(-) create

[PATCH v8 03/12] ARM: dts: ipq4019: Change the max opp frequency

2018-05-25 Thread Sricharan R
The max opp frequency is 716MHZ. So update that. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index

[PATCH v8 01/12] ARM: dts: ipq4019: Add a default chosen node

2018-05-25 Thread Sricharan R
Add a 'chosen' node to select the serial console. This is needed when bootloaders do not pass the 'console=' bootargs. Acked-by: Bjorn Andersson <bjorn.anders...@linaro.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 ++

[PATCH v8 01/12] ARM: dts: ipq4019: Add a default chosen node

2018-05-25 Thread Sricharan R
Add a 'chosen' node to select the serial console. This is needed when bootloaders do not pass the 'console=' bootargs. Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2

[PATCH v8 02/12] ARM: dts: ipq4019: Add a few peripheral nodes

2018-05-25 Thread Sricharan R
Now with the driver updates for some peripherals being there, add i2c, spi, pcie, bam, qpic-nand, scm nodes to enhance the available peripheral support. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/

[PATCH v8 02/12] ARM: dts: ipq4019: Add a few peripheral nodes

2018-05-25 Thread Sricharan R
Now with the driver updates for some peripherals being there, add i2c, spi, pcie, bam, qpic-nand, scm nodes to enhance the available peripheral support. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 2 +- arch/arm/boot/dts/qcom

[PATCH v8 00/12] ARM: dts: ipq: updates to enable a few peripherals

2018-05-25 Thread Sricharan R
review tags [v2] * Addressed all comments from Abhishek * Removed dk01-c2 and dk04-c5 spinand based boards as support for spinand is not complete * Based all patches on top of Andy's for-next branch [V1] * https://www.spinics.net/lists/arm-kernel/msg631318.html Sricharan R (12

[PATCH v8 00/12] ARM: dts: ipq: updates to enable a few peripherals

2018-05-25 Thread Sricharan R
review tags [v2] * Addressed all comments from Abhishek * Removed dk01-c2 and dk04-c5 spinand based boards as support for spinand is not complete * Based all patches on top of Andy's for-next branch [V1] * https://www.spinics.net/lists/arm-kernel/msg631318.html Sricharan R (12

Re: [PATCH v9 01/15] ARM: Add Krait L2 register accessor functions

2018-05-24 Thread Sricharan R
Hi Bjorn, On 5/24/2018 11:09 PM, Bjorn Andersson wrote: > On Tue 06 Mar 06:38 PST 2018, Sricharan R wrote: > >> From: Stephen Boyd <sb...@codeaurora.org> >> >> Krait CPUs have a handful of L2 cache controller registers that >> live behind a cp15 based ind

Re: [PATCH v9 01/15] ARM: Add Krait L2 register accessor functions

2018-05-24 Thread Sricharan R
Hi Bjorn, On 5/24/2018 11:09 PM, Bjorn Andersson wrote: > On Tue 06 Mar 06:38 PST 2018, Sricharan R wrote: > >> From: Stephen Boyd >> >> Krait CPUs have a handful of L2 cache controller registers that >> live behind a cp15 based indirection register. First

Re: [PATCH v9 02/15] clk: mux: Split out register accessors for reuse

2018-05-24 Thread Sricharan R
Hi Bjorn, On 5/24/2018 10:20 PM, Bjorn Andersson wrote: > On Tue 06 Mar 06:38 PST 2018, Sricharan R wrote: > >> From: Stephen Boyd <sb...@codeaurora.org> >> >> We want to reuse the logic in clk-mux.c for other clock drivers >> that don't use read

Re: [PATCH v9 02/15] clk: mux: Split out register accessors for reuse

2018-05-24 Thread Sricharan R
Hi Bjorn, On 5/24/2018 10:20 PM, Bjorn Andersson wrote: > On Tue 06 Mar 06:38 PST 2018, Sricharan R wrote: > >> From: Stephen Boyd >> >> We want to reuse the logic in clk-mux.c for other clock drivers >> that don't use readl as register accessors. Fortunate

Re: [RFC PATCH 5/5] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver

2018-05-23 Thread Sricharan R
these operations ended >> up being line wrapped and harder to read using some modify(reg, mask, >> val) helper. That said, the function isn't very pretty in it's current >> state either... > > Agreed :) and i thought modify make help it make better > >> One of the

Re: [RFC PATCH 5/5] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver

2018-05-23 Thread Sricharan R
these operations ended >> up being line wrapped and harder to read using some modify(reg, mask, >> val) helper. That said, the function isn't very pretty in it's current >> state either... > > Agreed :) and i thought modify make help it make better > >> One of the

Re: [PATCH V6 5/5] remoteproc: qcom: Add q6v5-wcss rproc ops

2018-05-22 Thread Sricharan R
Hi, On 5/18/2018 5:59 PM, Vinod wrote: > On 14-05-18, 16:16, Sricharan R wrote: > >> +static int q6v5_wcss_start(struct rproc *rproc) >> +{ >> +struct q6v5 *qproc = rproc->priv; >> +int ret = 0; > > Superfluous initialization > ok. >

Re: [PATCH V6 5/5] remoteproc: qcom: Add q6v5-wcss rproc ops

2018-05-22 Thread Sricharan R
Hi, On 5/18/2018 5:59 PM, Vinod wrote: > On 14-05-18, 16:16, Sricharan R wrote: > >> +static int q6v5_wcss_start(struct rproc *rproc) >> +{ >> +struct q6v5 *qproc = rproc->priv; >> +int ret = 0; > > Superfluous initialization > ok. >

Re: [PATCH V6 3/5] remoteproc: qcom: Split the head and tail of the q5v5-pil rproc reset function

2018-05-22 Thread Sricharan R
Hi Vinod, Thanks for the review. On 5/18/2018 5:52 PM, Vinod wrote: > On 14-05-18, 16:16, Sricharan R wrote: > >> +static int q6v5_reset(struct q6v5 *qproc) >> +{ >> +u32 ret; >> +int val, i; >> + >> +/* Assert resets, stop c

Re: [PATCH V6 3/5] remoteproc: qcom: Split the head and tail of the q5v5-pil rproc reset function

2018-05-22 Thread Sricharan R
Hi Vinod, Thanks for the review. On 5/18/2018 5:52 PM, Vinod wrote: > On 14-05-18, 16:16, Sricharan R wrote: > >> +static int q6v5_reset(struct q6v5 *qproc) >> +{ >> +u32 ret; >> +int val, i; >> + >> +/* Assert resets, stop c

[PATCH V7 00/12] ARM: dts: ipq: updates to enable a few peripherals

2018-05-18 Thread Sricharan R
from Abhishek * Removed dk01-c2 and dk04-c5 spinand based boards as support for spinand is not complete * Based all patches on top of Andy's for-next branch [V1] * https://www.spinics.net/lists/arm-kernel/msg631318.html Sricharan R (12): ARM: dts: ipq4019: Add a default chosen

[PATCH V7 00/12] ARM: dts: ipq: updates to enable a few peripherals

2018-05-18 Thread Sricharan R
from Abhishek * Removed dk01-c2 and dk04-c5 spinand based boards as support for spinand is not complete * Based all patches on top of Andy's for-next branch [V1] * https://www.spinics.net/lists/arm-kernel/msg631318.html Sricharan R (12): ARM: dts: ipq4019: Add a default chosen

[PATCH V7 01/12] ARM: dts: ipq4019: Add a default chosen node

2018-05-18 Thread Sricharan R
Add a 'chosen' node to select the serial console. This is needed when bootloaders do not pass the 'console=' bootargs. Acked-by: Bjorn Andersson <bjorn.anders...@linaro.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 ++

[PATCH V7 01/12] ARM: dts: ipq4019: Add a default chosen node

2018-05-18 Thread Sricharan R
Add a 'chosen' node to select the serial console. This is needed when bootloaders do not pass the 'console=' bootargs. Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2

[PATCH V7 03/12] ARM: dts: ipq4019: Change the max opp frequency

2018-05-18 Thread Sricharan R
The max opp frequency is 716MHZ. So update that. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/

[PATCH V7 03/12] ARM: dts: ipq4019: Change the max opp frequency

2018-05-18 Thread Sricharan R
The max opp frequency is 716MHZ. So update that. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index

[PATCH V7 02/12] ARM: dts: ipq4019: Add a few peripheral nodes

2018-05-18 Thread Sricharan R
Now with the driver updates for some peripherals being there, add i2c, spi, pcie, bam, qpic-nand, scm nodes to enhance the available peripheral support. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/

[PATCH V7 02/12] ARM: dts: ipq4019: Add a few peripheral nodes

2018-05-18 Thread Sricharan R
Now with the driver updates for some peripherals being there, add i2c, spi, pcie, bam, qpic-nand, scm nodes to enhance the available peripheral support. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 2 +- arch/arm/boot/dts/qcom

[PATCH V7 04/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-05-18 Thread Sricharan R
Add the common parts for the dk04 boards. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 111 ++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 2

[PATCH V7 04/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-05-18 Thread Sricharan R
Add the common parts for the dk04 boards. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 111 ++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2 files changed, 112 insertions(+), 1 deletion(-) create

[PATCH V7 06/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk04.1-c3 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts | 9 + 2 files changed, 10 insertions(+) create mode 100644 a

[PATCH V7 06/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk04.1-c3 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts | 9 + 2 files changed, 10 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts diff --git

[PATCH V7 08/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c1 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts | 64 + 2 files changed, 65 insertions(+)

[PATCH V7 08/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c1 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts | 64 + 2 files changed, 65 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts

[PATCH V7 07/12] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data

2018-05-18 Thread Sricharan R
Add the common data for all dk07 based boards. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi | 75 +++ 1 file changed, 75 insertions(+) create mode

[PATCH V7 07/12] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data

2018-05-18 Thread Sricharan R
Add the common data for all dk07 based boards. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi | 75 +++ 1 file changed, 75 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi diff

[PATCH V7 09/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c2 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.anders...@linaro.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.

[PATCH V7 09/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c2 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c2.dts | 25 + 2 files changed, 26 insertions(+) create mode 100644 arch/arm/boot/dts

[PATCH V7 11/12] ARM: dts: ipq8074: Add pcie nodes

2018-05-18 Thread Sricharan R
The driver/phy support for ipq8074 is available now. So enabling the nodes in DT. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.anders...@linaro.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm64/boot/dts/qcom/

[PATCH V7 11/12] ARM: dts: ipq8074: Add pcie nodes

2018-05-18 Thread Sricharan R
The driver/phy support for ipq8074 is available now. So enabling the nodes in DT. Reviewed-by: Abhishek Sahu Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 157 +- 1 file changed, 156 insertions(+), 1 deletion

[PATCH V7 12/12] ARM: dts: ipq8074: Enable few peripherals for hk01 board

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.anders...@linaro.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 54 +++ 1 file changed, 54 insertions(+)

[PATCH V7 12/12] ARM: dts: ipq8074: Enable few peripherals for hk01 board

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 54 +++ 1 file changed, 54 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts b/arch/arm64/boot/dts/qcom/ipq8074-hk01

[PATCH V7 10/12] ARM: dts: ipq8074: Add peripheral nodes

2018-05-18 Thread Sricharan R
Add serial, i2c, bam, spi, qpic peripheral nodes. While here, fix the PMU node's irq trigger to avoid the boot warnings from GIC. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm64/boot/dts/qcom/ipq8074-hk

[PATCH V7 10/12] ARM: dts: ipq8074: Add peripheral nodes

2018-05-18 Thread Sricharan R
Add serial, i2c, bam, spi, qpic peripheral nodes. While here, fix the PMU node's irq trigger to avoid the boot warnings from GIC. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 12 --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 156

[PATCH V7 05/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Tested-by: Varadarajan Narayanan <var...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 19

[PATCH V7 05/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu Tested-by: Varadarajan Narayanan Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 19 +++ 2 files changed, 20 insertions(+) create mode 100644 arch/arm/boot/dts

[PATCH V6 03/12] ARM: dts: ipq4019: Change the max opp frequency

2018-05-16 Thread Sricharan R
The max opp frequency is 716MHZ. So update that. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/

[PATCH V6 03/12] ARM: dts: ipq4019: Change the max opp frequency

2018-05-16 Thread Sricharan R
The max opp frequency is 716MHZ. So update that. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index

[PATCH V6 05/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file

2018-05-16 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Tested-by: Varadarajan Narayanan <var...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 19

[PATCH V6 05/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file

2018-05-16 Thread Sricharan R
Reviewed-by: Abhishek Sahu Tested-by: Varadarajan Narayanan Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 19 +++ 2 files changed, 20 insertions(+) create mode 100644 arch/arm/boot/dts

[PATCH V6 08/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c1 board file

2018-05-16 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts | 64 + 2 files changed, 65 insertions(+)

[PATCH V6 08/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c1 board file

2018-05-16 Thread Sricharan R
Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts | 64 + 2 files changed, 65 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts

[PATCH V6 07/12] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data

2018-05-16 Thread Sricharan R
Add the common data for all dk07 based boards. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi | 75 +++ 1 file changed, 75 insertions(+) create mode

[PATCH V6 07/12] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data

2018-05-16 Thread Sricharan R
Add the common data for all dk07 based boards. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi | 75 +++ 1 file changed, 75 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi diff

[PATCH V6 09/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c2 board file

2018-05-16 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.anders...@linaro.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.

[PATCH V6 09/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c2 board file

2018-05-16 Thread Sricharan R
Reviewed-by: Abhishek Sahu Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c2.dts | 25 + 2 files changed, 26 insertions(+) create mode 100644 arch/arm/boot/dts

[PATCH V6 11/12] ARM: dts: ipq8074: Add pcie nodes

2018-05-16 Thread Sricharan R
The driver/phy support for ipq8074 is available now. So enabling the nodes in DT. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.anders...@linaro.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm64/boot/dts/qcom/

[PATCH V6 11/12] ARM: dts: ipq8074: Add pcie nodes

2018-05-16 Thread Sricharan R
The driver/phy support for ipq8074 is available now. So enabling the nodes in DT. Reviewed-by: Abhishek Sahu Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 157 +- 1 file changed, 156 insertions(+), 1 deletion

[PATCH V6 12/12] ARM: dts: ipq8074: Enable few peripherals for hk01 board

2018-05-16 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.anders...@linaro.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 62 ++- 1 file changed, 52 insertion

[PATCH V6 12/12] ARM: dts: ipq8074: Enable few peripherals for hk01 board

2018-05-16 Thread Sricharan R
Reviewed-by: Abhishek Sahu Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 62 ++- 1 file changed, 52 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts b/arch/arm64/boot/dts

[PATCH V6 10/12] ARM: dts: ipq8074: Add peripheral nodes

2018-05-16 Thread Sricharan R
Add serial, i2c, bam, spi, qpic peripheral nodes. While here, fix the PMU node's irq trigger to avoid the boot warnings from GIC. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm64/boot/dts/qcom/ipq807

[PATCH V6 10/12] ARM: dts: ipq8074: Add peripheral nodes

2018-05-16 Thread Sricharan R
Add serial, i2c, bam, spi, qpic peripheral nodes. While here, fix the PMU node's irq trigger to avoid the boot warnings from GIC. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 156 +- 1 file changed, 155

[PATCH V6 06/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk04.1-c3 board file

2018-05-16 Thread Sricharan R
Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts | 9 + 2 files changed, 10 insertions(+) create mode 100644 a

[PATCH V6 06/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk04.1-c3 board file

2018-05-16 Thread Sricharan R
Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts | 9 + 2 files changed, 10 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts diff --git

[PATCH V6 04/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-05-16 Thread Sricharan R
Add the common parts for the dk04 boards. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 111 ++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 2

[PATCH V6 04/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-05-16 Thread Sricharan R
Add the common parts for the dk04 boards. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 111 ++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2 files changed, 112 insertions(+), 1 deletion(-) create

[PATCH V6 02/12] ARM: dts: ipq4019: Add a few peripheral nodes

2018-05-16 Thread Sricharan R
Now with the driver updates for some peripherals being there, add i2c, spi, pcie, bam, qpic-nand, scm nodes to enhance the available peripheral support. Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/

[PATCH V6 00/12] ARM: dts: ipq: updates to enable a few peripherals

2018-05-16 Thread Sricharan R
spinand based boards as support for spinand is not complete * Based all patches on top of Andy's for-next branch [V1] * https://www.spinics.net/lists/arm-kernel/msg631318.html Sricharan R (12): ARM: dts: ipq4019: Add a default chosen node ARM: dts: ipq4019: Add a few peripheral

[PATCH V6 02/12] ARM: dts: ipq4019: Add a few peripheral nodes

2018-05-16 Thread Sricharan R
Now with the driver updates for some peripherals being there, add i2c, spi, pcie, bam, qpic-nand, scm nodes to enhance the available peripheral support. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 2 +- arch/arm/boot/dts/qcom

[PATCH V6 00/12] ARM: dts: ipq: updates to enable a few peripherals

2018-05-16 Thread Sricharan R
spinand based boards as support for spinand is not complete * Based all patches on top of Andy's for-next branch [V1] * https://www.spinics.net/lists/arm-kernel/msg631318.html Sricharan R (12): ARM: dts: ipq4019: Add a default chosen node ARM: dts: ipq4019: Add a few peripheral

[PATCH V6 01/12] ARM: dts: ipq4019: Add a default chosen node

2018-05-16 Thread Sricharan R
Add a 'chosen' node to select the serial console. This is needed when bootloaders do not pass the 'console=' bootargs. Acked-by: Bjorn Andersson <bjorn.anders...@linaro.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 ++

[PATCH V6 01/12] ARM: dts: ipq4019: Add a default chosen node

2018-05-16 Thread Sricharan R
Add a 'chosen' node to select the serial console. This is needed when bootloaders do not pass the 'console=' bootargs. Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2

[PATCH V6 4/5] remoteproc: qcom: Add support for q6v5-wcss pil

2018-05-14 Thread Sricharan R
t;r...@kernel.org> Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 7 +++- drivers/remoteproc/Kconfig | 1 + drivers/remoteproc/qcom_q6v5_pil.c | 37 +- 3 files changed, 43 inse

[PATCH V6 4/5] remoteproc: qcom: Add support for q6v5-wcss pil

2018-05-14 Thread Sricharan R
-by: Sricharan R --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 7 +++- drivers/remoteproc/Kconfig | 1 + drivers/remoteproc/qcom_q6v5_pil.c | 37 +- 3 files changed, 43 insertions(+), 2 deletions(-) diff --git a/Documentation

[PATCH V6 5/5] remoteproc: qcom: Add q6v5-wcss rproc ops

2018-05-14 Thread Sricharan R
q6v5-wcss core's start function is mostly common with the q6v5 of msm8996. So reuse that and add the stop function. Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- drivers/remoteproc/qcom_q6v5_pil.c | 227 + 1 file changed, 227 insertions(+)

[PATCH V6 5/5] remoteproc: qcom: Add q6v5-wcss rproc ops

2018-05-14 Thread Sricharan R
q6v5-wcss core's start function is mostly common with the q6v5 of msm8996. So reuse that and add the stop function. Signed-off-by: Sricharan R --- drivers/remoteproc/qcom_q6v5_pil.c | 227 + 1 file changed, 227 insertions(+) diff --git a/drivers/remoteproc

[PATCH V6 3/5] remoteproc: qcom: Split the head and tail of the q5v5-pil rproc reset function

2018-05-14 Thread Sricharan R
Most of the q6v5-wcss reset function is same as MSM8996 reset sequence that will be added later. So split and move out the common pieces so that the same code can be reused. Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- drivers/remoteproc/qcom_q6v5_pil.c

[PATCH V6 1/5] remoteproc: qcom: mdt_loader: Make the firmware authentication optional

2018-05-14 Thread Sricharan R
ed-off-by: Sricharan R <sricha...@codeaurora.org> --- drivers/soc/qcom/mdt_loader.c | 87 ++--- include/linux/soc/qcom/mdt_loader.h | 4 ++ 2 files changed, 66 insertions(+), 25 deletions(-) diff --git a/drivers/soc/qcom/mdt_loader.c b/drivers/soc/qcom/

[PATCH V6 2/5] remoteproc: qcom: Push reset ops, rproc ops in to of_match data

2018-05-14 Thread Sricharan R
Instead of directly assigning reset and rproc ops, put them in to of_match data and get from that. Currently same ops are used for all compatibles, but that will change when we add q6v5-wcss support. Signed-off-by: Sricharan R <sricha...@codeaurora.org> --- drivers/remoteproc/qcom_q6v5

[PATCH V6 1/5] remoteproc: qcom: mdt_loader: Make the firmware authentication optional

2018-05-14 Thread Sricharan R
qcom_mdt_load function loads the mdt type firmware and initialises the secure memory as well. Make the initialisation only when requested by the caller, so that the function can be used by self-authenticating remoteproc as well. Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- drivers

[PATCH V6 2/5] remoteproc: qcom: Push reset ops, rproc ops in to of_match data

2018-05-14 Thread Sricharan R
Instead of directly assigning reset and rproc ops, put them in to of_match data and get from that. Currently same ops are used for all compatibles, but that will change when we add q6v5-wcss support. Signed-off-by: Sricharan R --- drivers/remoteproc/qcom_q6v5_pil.c | 38

[PATCH V6 3/5] remoteproc: qcom: Split the head and tail of the q5v5-pil rproc reset function

2018-05-14 Thread Sricharan R
Most of the q6v5-wcss reset function is same as MSM8996 reset sequence that will be added later. So split and move out the common pieces so that the same code can be reused. Signed-off-by: Sricharan R --- drivers/remoteproc/qcom_q6v5_pil.c | 169 - 1 file

[PATCH V6 0/5] Add support for Hexagon q6v5-wcss integrated core

2018-05-14 Thread Sricharan R
: Last time introduced this a new rproc driver, but there is lot of code that can be shared if it is added to the q6v5-mpss pil driver. Sricharan R (5): remoteproc: qcom: mdt_loader: Make the firmware authentication optional remoteproc: qcom: Push reset ops, rproc ops

[PATCH V6 0/5] Add support for Hexagon q6v5-wcss integrated core

2018-05-14 Thread Sricharan R
: Last time introduced this a new rproc driver, but there is lot of code that can be shared if it is added to the q6v5-mpss pil driver. Sricharan R (5): remoteproc: qcom: mdt_loader: Make the firmware authentication optional remoteproc: qcom: Push reset ops, rproc ops

Re: [v5,05/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-04-18 Thread Sricharan R
Hi Sven, On 4/18/2018 1:08 PM, Sven Eckelmann wrote: > Hi, > > On Mittwoch, 18. April 2018 12:45:20 CEST Sricharan R wrote: >> Right, will add the above change to soc.dtsi in V6. Does that sound ok for >> you ? > > I have submitted a patch for this now [1] beca

Re: [v5,05/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-04-18 Thread Sricharan R
Hi Sven, On 4/18/2018 1:08 PM, Sven Eckelmann wrote: > Hi, > > On Mittwoch, 18. April 2018 12:45:20 CEST Sricharan R wrote: >> Right, will add the above change to soc.dtsi in V6. Does that sound ok for >> you ? > > I have submitted a patch for this now [1] beca

Re: [v5,05/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-04-18 Thread Sricharan R
bove change to soc.dtsi in V6. Does that sound ok for you ? Regards, Sricharan -- "QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation

Re: [v5,05/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-04-18 Thread Sricharan R
bove change to soc.dtsi in V6. Does that sound ok for you ? Regards, Sricharan -- "QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation

Re: [v5,08/13] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data

2018-04-18 Thread Sricharan R
Hi Sven, On 4/18/2018 12:29 PM, Sven Eckelmann wrote: > On Freitag, 23. März 2018 15:48:51 CEST Sricharan R wrote: >> Add the common data for all dk07 based boards. >> >> Reviewed-by: Abhishek Sahu <abs...@codeaurora.org> >> Signed-off-by: Sricharan R <srich

Re: [v5,08/13] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data

2018-04-18 Thread Sricharan R
Hi Sven, On 4/18/2018 12:29 PM, Sven Eckelmann wrote: > On Freitag, 23. März 2018 15:48:51 CEST Sricharan R wrote: >> Add the common data for all dk07 based boards. >> >> Reviewed-by: Abhishek Sahu >> Signed-off-by: Sricharan R >> --- >> arch/arm/bo

Re: [PATCH v3 04/13] ARM: dts: ipq4019: Update ipq4019-dk01.1 board data

2018-04-06 Thread sricharan
. I'll double check it. Do you have any out-of-tree patches or special jumper settings? No out of tree patches or special jumper settings. I am booting the mainline kernel, ap148.dtb + ramfs. Regards, Sricharan

Re: [PATCH v3 04/13] ARM: dts: ipq4019: Update ipq4019-dk01.1 board data

2018-04-06 Thread sricharan
. I'll double check it. Do you have any out-of-tree patches or special jumper settings? No out of tree patches or special jumper settings. I am booting the mainline kernel, ap148.dtb + ramfs. Regards, Sricharan

Re: [PATCH v3 04/13] ARM: dts: ipq4019: Update ipq4019-dk01.1 board data

2018-04-06 Thread sricharan
20170109 (Linaro GCC 6.3-2017.02)) #1691 SMP PREEMPT Fri Apr 6 15:30:45 IST 2018 root@(none):/# Regards, Sricharan

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