[PATCH v2] clk: qcom: qcs404: Fix gpll0_out_main parent

2018-12-07 Thread Vinod Koul
From: Srinivas Kandagatla gpll0_out_main parent is cxo so fix it. Fixes: 652f1813c113 ("clk: qcom: gcc: Add global clock controller driver for QCS404") Signed-off-by: Srinivas Kandagatla Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- v2: add qc404 in title and

[PATCH] clk: qcom: Fix gpll0_out_main parent

2018-12-06 Thread Vinod Koul
From: Srinivas Kandagatla gpll0_out_main parent is cxo so fix it. Fixes: 652f1813c113 ("clk: qcom: gcc: Add global clock controller driver for QCS404") Signed-off-by: Srinivas Kandagatla Signed-off-by: Vinod Koul --- drivers/clk/qcom/gcc-qcs404.c | 2 +- 1 file changed, 1 inser

[GIT PULL]: dmaengine fixes for v4.20-rc6

2018-12-06 Thread Vinod Koul
Hi Linus, Here is another PULL request for dmaengine. We got bunch of fixes early this week and all are tagged to stable. Hope this is last fix for this cycle. Please pull to receive fixes for imx-sdma, cppi and dw controllers. The following changes since commit

Re: [PATCH v2 0/4] add uart DMA function

2018-12-05 Thread Vinod Koul
Hi Greg, On 05-12-18, 11:03, Greg Kroah-Hartman wrote: > On Wed, Dec 05, 2018 at 04:42:56PM +0800, Long Cheng wrote: > > In Mediatek SOCs, the uart can support DMA function. > > Base on DMA engine formwork, we add the DMA code to support uart. And put > > the code under drivers/dma. > > > >

Re: [PATCH] dmaengine: remove DBGFS_FUNC_DECL()

2018-12-05 Thread Vinod Koul
On 05-12-18, 23:49, Frank Lee wrote: > On Wed, Dec 5, 2018 at 4:27 PM Vinod Koul wrote: > > > > On 30-11-18, 10:42, Yangtao Li wrote: > > > We already have the DEFINE_SHOW_ATTRIBUTE,There is no need to define > > > such a macro,so remove DBGFS_FUNC_DECL.Also use

Re: [RESEND PATCH 0/7] Add some fixes and new feature for SPRD DMA

2018-12-05 Thread Vinod Koul
On 06-11-18, 13:01, Baolin Wang wrote: > This patchset removes the direction usage from struct dma_slave_config, > and add one new field to save the direction. It also fixes some issues > for link-list transfer. Moreover this patchset adds new 2-stage transfer > support for our DMA. Applied,

Re: [PATCH] dmaengine: remove DBGFS_FUNC_DECL()

2018-12-05 Thread Vinod Koul
On 30-11-18, 10:42, Yangtao Li wrote: > We already have the DEFINE_SHOW_ATTRIBUTE,There is no need to define > such a macro,so remove DBGFS_FUNC_DECL.Also use macro to simplify some > code. Spaces after full stop and comma please > > Signed-off-by: Yangtao Li > --- > drivers/dma/amba-pl08x.c

Re: [PATCH v3 0/4] Correct dma pool for imx-sdma

2018-12-05 Thread Vinod Koul
On 06-11-18, 03:40, Robin Gong wrote: > This patch set to correct dma pool used in the commit fe5b85c656bc > ("dmaengine: imx-sdma: alloclate bd memory from dma pool") > because all bds should be contiguous in memory in multi bds case > for sdma, but dma pool can't statify it and cause transfer

Re: [PATCH] dmaengine: dmatest: fix a small memory leak in dmatest_func()

2018-12-05 Thread Vinod Koul
On 03-12-18, 17:49, Dan Carpenter wrote: > We recently moved the test size tests around but it means we need to > adjust the error handling as well or we leak the "pq_coefs" memory. I > updated the label name to reflect that we're freeing coefs. Applied, thanks -- ~Vinod

Re: [PATCH] arm64: dts: qcom: qcs404: Add pshold node

2018-12-03 Thread Vinod Koul
On 29-11-18, 23:34, Bjorn Andersson wrote: > The pshold block is used to drive pshold towards the PMIC, which is used > to trigger a configurable event, such as reboot or poweroff of the > QCS404 platform. Add the necessary node to enable this functionality. Reviewed-by: Vinod Kou

[PULL REQUEST] dmaengine fixes for v4.20-rc5

2018-12-02 Thread Vinod Koul
Hi Linus, Here is the pull request for v4.20-rc5. It contains two fixes (cced stable) to fix serial dma memory leak on at_hdmac dma The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at:

Re: [PATCH v3 0/5] ASoC: qdsp6: add compress offload support

2018-11-30 Thread Vinod Koul
codec support should be trivial w.r.t qdsp6 side, however > there are other dependencies like compress UAPI header changes and > FastRPC which are being worked in parallel. Once ready will post them! Thanks Srini, with this we will have compress support upstream for a public board. Acked-by: Vinod Koul -- ~Vinod

Re: [PATCH] dmaengine: at_hdmac: fix module unloading

2018-11-29 Thread Vinod Koul
On 27-11-18, 17:06, Richard Genoud wrote: > of_dma_controller_free() was not called on module onloading. > This lead to a soft lockup: > watchdog: BUG: soft lockup - CPU#0 stuck for 23s! > Modules linked in: at_hdmac [last unloaded: at_hdmac] > when of_dma_request_slave_channel() tried to call

Re: [PATCH 0/3] arm64: dts: qcom: QCS404 BLSP nodes

2018-11-29 Thread Vinod Koul
On 18-11-18, 12:01, Bjorn Andersson wrote: > This finalizes the definition of the BLSP UART, I2C and SPI devices found in > the QCS404 SoC. Reviewed-by: Vinod Koul -- ~Vinod

Re: [PATCH] dmaengine: at_hdmac: fix memory leak in at_dma_xlate()

2018-11-29 Thread Vinod Koul
On 27-11-18, 17:06, Richard Genoud wrote: > The leak was found when opening/closing a serial port a great number of > time, increasing kmalloc-32 in slabinfo. > > Each time the port was opened, dma_request_slave_channel() was called. > Then, in at_dma_xlate(), atslave was allocated with

Re: [PATCH v2] arm64: dts: qcom: qcs404: Add WCN3990 WLAN module device node

2018-11-27 Thread Vinod Koul
om/qcs404-evb.dtsi > index 0767389c68c1..36905524b0ff 100644 > --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi > +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi > @@ -310,6 +310,10 @@ > status = "okay"; > }; > > + { > + status = "okay"; > +}; I am assuming this is common to both evb variants, so: Reviewed-by: Vinod Koul -- ~Vinod

Re: [PATCH v4 0/2] dmaengine: add UniPhier MIO DMAC driver

2018-11-27 Thread Vinod Koul
On 25-11-18, 22:53, Masahiro Yamada wrote: > On Sat, Nov 24, 2018 at 11:16 PM Vinod Koul wrote: > > > > On 12-10-18, 01:41, Masahiro Yamada wrote: > > > 1/2: DT-binding > > > 2/2: driver > > > > Applied this series, thanks > > > Thanks. &g

Re: [PATCH] arm64: dts: qcom: qcs404: Add WCN3990 WLAN module device node

2018-11-26 Thread Vinod Koul
Hi Govind, On 26-11-18, 22:28, Govind Singh wrote: > On 2018-11-26 20:14, Vinod Koul wrote: > > On 26-11-18, 19:51, Govind Singh wrote: > > Lastly, I am not sure, but should the wifi node be always enabled? > > Should it not be enabled in the board dts file? Bjorn..? >

Re: [PATCH] arm64: dts: qcom: qcs404: Add WCN3990 WLAN module device node

2018-11-26 Thread Vinod Koul
Hi Govind, On 26-11-18, 19:51, Govind Singh wrote: > Add device node for the ath10k SNOC platform driver probe > and add resources required for WCN3990 on qcs404 soc. > Optional clock and regulator controls are not yet available in > upstream, hence add them once available. > > Signed-off-by:

Re: linux-next: build warning after merge of the slave-dma tree

2018-11-26 Thread Vinod Koul
>From fbbdec195155b4497cb83be37788865f98f31dca Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Mon, 26 Nov 2018 13:34:15 +0530 Subject: [PATCH] dmaengine: coh901318: Remove unused variable Commit 627469e4445b ("dmaengine: coh901318: Fix a double-lock bug") left flags variab

Re: [PATCH] dmaengine: ep93xx_dma: fix misspell

2018-11-24 Thread Vinod Koul
On 19-11-18, 10:15, Yangtao Li wrote: > couln't -> couldn't Applied, thanks -- ~Vinod

Re: [PATCH] dma: coh901318: Fix a double-lock bug

2018-11-24 Thread Vinod Koul
On 06-11-18, 11:33, Jia-Ju Bai wrote: > The function coh901318_alloc_chan_resources() calls spin_lock_irqsave() > before calling coh901318_config(). > But coh901318_config() calls spin_lock_irqsave() again in its > definition, which may cause a double-lock bug. > > Because coh901318_config() is

Re: [PATCH v4 0/2] dmaengine: add UniPhier MIO DMAC driver

2018-11-24 Thread Vinod Koul
On 12-10-18, 01:41, Masahiro Yamada wrote: > 1/2: DT-binding > 2/2: driver Applied this series, thanks While building I noticed that we get few warns when compiling with C=1, I would prefer you fix them. Please send fixes on top of the applied patches. Thanks -- ~Vinod

Re: [PATCH] dmaengine: xilinx_dma: Remove __aligned attribute on zynqmp_dma_desc_ll

2018-11-24 Thread Vinod Koul
On 25-10-18, 11:05, Nathan Chancellor wrote: > Clang warns: > > drivers/dma/xilinx/zynqmp_dma.c:166:4: warning: attribute 'aligned' is > ignored, place it after "struct" to apply attribute to type declaration > [-Wignored-attributes] > }; __aligned(64) >^ >

Re: [PATCH v6 0/2] arm64: dts: add prng-ee nodes

2018-11-15 Thread Vinod Koul
On 15-11-18, 11:20, Andy Gross wrote: > On Thu, Nov 15, 2018 at 09:15:18AM +0530, Vinod Koul wrote: > > On 01-10-18, 11:51, Vinod Koul wrote: > > > This adds prng-ee nodes for msm8996 and sdm845 > > > > Ping Andy, would appreciate if you can pick these up. >

Re: [PATCH v6 0/2] arm64: dts: add prng-ee nodes

2018-11-14 Thread Vinod Koul
On 01-10-18, 11:51, Vinod Koul wrote: > This adds prng-ee nodes for msm8996 and sdm845 Ping Andy, would appreciate if you can pick these up. Thanks > > changes in v6: > - Fix comments given by Stan > > changes in v5: > - Add more description in patch logs > > c

Re: [PATCH 1/3] soundwire: intel: constify snd_soc_dai_ops structures

2018-11-12 Thread Vinod Koul
On 27-10-18, 15:34, Julia Lawall wrote: > The snd_soc_dai_ops structures are only stored in the ops field of a > snd_soc_dai_driver structure, so make the snd_soc_dai_ops structures > const as well. Applied, thanks -- ~Vinod

Re: [PATCH v2 0/4] dmaengine: xilinx_dma: Minor fix and refactoring

2018-11-11 Thread Vinod Koul
On 29-09-18, 11:17, Radhey Shyam Pandey wrote: > This patchset fixes 64-bit simple CDMA transfer. > It also does some trivial code refactoring. Applied except 2nd patch, thanks -- ~Vinod

Re: [PATCH v2 2/4] dmaengine: xilinx_dma: Refactor axidma channel validation

2018-11-11 Thread Vinod Koul
On 29-09-18, 11:17, Radhey Shyam Pandey wrote: > In axidma start_transfer, prefer checking channel states before > other params i.e pending_list. No functional change. There needs to be proper reason rather than a preference, can you explain why > > Signed-off-by: Radhey Shyam Pandey > --- >

Re: [PATCH 2/2] dmaengine: mediatek: Add MediaTek Command-Queue DMA controller for MT6765 SoC

2018-11-11 Thread Vinod Koul
On 18-10-18, 15:49, shun-chih...@mediatek.com wrote: > From: Shun-Chih Yu > > MediaTek Command-Queue DMA controller (CQDMA) on MT6765 SoC is dedicated > to memory-to-memory transfer through queue based descriptor management. > > There are only 3 physical channels inside CQDMA, while the driver

Re: [PATCH] dmaengine: fix some typo

2018-11-11 Thread Vinod Koul
On 01-11-18, 11:35, Yangtao Li wrote: > Signed-off-by: Yangtao Li While sending patches it is a good idea to see the convention of the tags used. git log will help you with that Applied after adding file tag to this -- ~Vinod

Re: [PATCH 06/17] dma: bcm2835: Switch to SPDX identifier

2018-11-11 Thread Vinod Koul
On 10-11-18, 16:34, Stefan Wahren wrote: > Adopt the SPDX license identifier headers to ease license compliance > management. Applied after fixing subsystem tags, thanks -- ~Vinod

Re: [PATCH] clk: qcom: gcc: Fix board clock node name

2018-11-09 Thread Vinod Koul
Fix Rob's email id... and looping him correctly :) On 09-11-18, 23:18, Vinod Koul wrote: > (Add Rob & Bjorn) > > Hi Steve, > > On 09-11-18, 09:12, Stephen Boyd wrote: > > Quoting Vinod Koul (2018-11-09 01:50:54) > > > Device tree node name are not s

Re: [PATCH] clk: qcom: gcc: Fix board clock node name

2018-11-09 Thread Vinod Koul
(Add Rob & Bjorn) Hi Steve, On 09-11-18, 09:12, Stephen Boyd wrote: > Quoting Vinod Koul (2018-11-09 01:50:54) > > Device tree node name are not supposed to have "_" in them so fix the > > node name use of xo_board to xo-board > > > > Fixes: 652f18

Re: [PATCH 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-11-09 Thread Vinod Koul
On 09-11-18, 14:52, Shawn Guo wrote: > On Fri, Nov 09, 2018 at 10:52:17AM +0530, Vinod Koul wrote: > > On 08-11-18, 15:04, Shawn Guo wrote: > > > +static int qcom_snps_hsphy_config_regulators(struct hsphy_priv *priv, > > > int high) > > > +{ > > > + in

Re: [PATCH 1/2] dt-bindings: phy: Add Qualcomm Synopsys High-Speed USB PHY binding

2018-11-09 Thread Vinod Koul
On 09-11-18, 14:31, Shawn Guo wrote: > On Fri, Nov 09, 2018 at 10:38:19AM +0530, Vinod Koul wrote: > > On 08-11-18, 15:04, Shawn Guo wrote: > > > + > > > +- #phy-cells: > > > +Value type: > > > +Definition: Should be 0. > > > > I

[PATCH 1/2] arm64: defconfig: Enable QCS404 configs

2018-11-09 Thread Vinod Koul
From: Bjorn Andersson Enable GCC and pin control configs to make it possible to boot the QCS404 EVBs. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- no change in v2 arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig

[PATCH 2/2] arm64: defconfig: Enable some qcom remoteproc configs

2018-11-09 Thread Vinod Koul
From: Bjorn Andersson Enable remoteproc configs to boot the remoteprocs on QC chipsets. These are common configs and not specific to a specific SoC so should be enabled across the board. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- v2: fixed the change of config names arch

[PATCH] clk: qcom: gcc: Fix board clock node name

2018-11-09 Thread Vinod Koul
Device tree node name are not supposed to have "_" in them so fix the node name use of xo_board to xo-board Fixes: 652f1813c113 ("clk: qcom: gcc: Add global clock controller driver for QCS404") Signed-off-by: Vinod Koul --- Steve: RobH pointed this on DTS patches, would

[PATCH v5 10/18] arm64: dts: qcom: qcs404: add spmi node

2018-11-09 Thread Vinod Koul
PMS405 is used in QCS405-EVB so include that with SPMI nodes Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 1 + arch/arm64/boot/dts/qcom/qcs404.dtsi | 18 ++ 2 files changed, 19 insertions(+) diff --git a/arch/arm64

[PATCH v5 17/18] arm64: dts: qcom: qcs404: Use BAM DMA for serial uart2

2018-11-09 Thread Vinod Koul
We can use BAM DAM for serial UART data transfers, so add it Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index

[PATCH v5 18/18] arm64: dts: qcom: pms405: Add pon and pwrkey nodes

2018-11-09 Thread Vinod Koul
PMS405 also features PON block, so add PON and PWRKEY nodes Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom

[PATCH v5 11/18] arm64: dts: qcom: pms405: add rtc node

2018-11-09 Thread Vinod Koul
RTC is found on PMIC PMS405 and is same as other PMIC used, so add the rtc node with compatible as qcom,pm8941-rtc Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom

[PATCH v5 15/18] arm64: dts: qcom: qcs404: add prng-ee node

2018-11-09 Thread Vinod Koul
RNG hardware in QCS404 features (Execution Environment) EE for HLOS to use, add the node for prng-ee for QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom

[PATCH v5 16/18] arm64: dts: qcom: qcs404: Add BAM DMA node

2018-11-09 Thread Vinod Koul
Add the BAM DMA instance found in BLSP1 node of the QCS404 Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404

[PATCH v5 14/18] arm64: dts: qcom: qcs404: Add remoteproc nodes

2018-11-09 Thread Vinod Koul
From: Bjorn Andersson Add the TrustZone based remoteproc nodes and their glink edges for adsp, cdsp and wcss. Enable them for EVB common DTS. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 12 + arch/arm64/boot/dts/qcom/qcs404.dtsi

[PATCH v5 13/18] arm64: dts: qcom: qcs404: Add scm firmware node

2018-11-09 Thread Vinod Koul
From: Bjorn Andersson Add the scm firmware node to QCS404 Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi

[PATCH v5 12/18] arm64: dts: qcom: pms405: add gpios

2018-11-09 Thread Vinod Koul
Add the GPIOs present on PMS405 chip. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 2b275bbdafa3..8e5a8573430e 100644

[PATCH v5 06/18] arm64: dts: qcom: qcs404: add smp2p nodes

2018-11-09 Thread Vinod Koul
Add the smp2p-adsp, smp2p-cdsp and smp2p-wcss nodes found in QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 60 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b

[PATCH v5 05/18] arm64: dts: qcom: qcs404: Add PMS405 RPM regulators

2018-11-09 Thread Vinod Koul
From: Bjorn Andersson Add the RPM regulators found in PMS405 which is used in qcs404-evb Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 97 1 file changed, 97 insertions(+) diff --git a/arch/arm64/boot

[PATCH v5 08/18] arm64: dts: qcom: qcs404: Add sdcc1 node

2018-11-09 Thread Vinod Koul
From: Bjorn Andersson Add the sdcc1 node and enable it for the QCS404-EVB. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 64 arch/arm64/boot/dts/qcom/qcs404.dtsi | 17 + 2 files changed, 81

[PATCH v5 04/18] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes

2018-11-09 Thread Vinod Koul
From: Bjorn Andersson Add RPM GLINK node and the RPM message ram, hwspinlock, APCS apps global and smem nodes it depends on. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 44 1 file changed, 44

[PATCH v5 09/18] arm64: dts: qcom: pms405: add spmi node

2018-11-09 Thread Vinod Koul
Add the pms405 DT file with spmi node. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pms405.dtsi diff --git a/arch/arm64/boot/dts/qcom/pms405

[PATCH v5 07/18] arm64: dts: qcom: qcs404: Add TLMM pinctrl node

2018-11-09 Thread Vinod Koul
From: Bjorn Andersson Add the QCS404 TLMM pinctrl node with its three tiles. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch

[PATCH v5 02/18] arm64: dts: qcom: qcs404-evb: add dts files for EVBs

2018-11-09 Thread Vinod Koul
QCS404 has two EVBs, EVB-1000 and EVB-4000. These boards are mostly similar with few differences in the peripherals used. So use a common qcs404-evb.dtsi which contains the common parts and use qcs404-evb-1000.dts and qcs404-evb-4000.dts for diffs Signed-off-by: Vinod Koul --- arch/arm64/boot

[PATCH v5 03/18] arm64: dts: qcom: qcs404: Add reserved-memory regions

2018-11-09 Thread Vinod Koul
From: Bjorn Andersson Add the reserved memory regions in QCS404 Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 41 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b

[PATCH v5 01/18] arm64: dts: qcom: qcs404: add base dts files

2018-11-09 Thread Vinod Koul
Add base dts files for QCS404 chipset along with cpu, timer, gcc and uart2 nodes. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 175 +++ 1 file changed, 175 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs404.dtsi diff --git

[PATCH v5 00/18] arm64: dts: qcom: qcs404: Add Device tree nodes

2018-11-09 Thread Vinod Koul
arm64: dts: qcom: qcs404: Add PMS405 RPM regulators arm64: dts: qcom: qcs404: Add TLMM pinctrl node arm64: dts: qcom: qcs404: Add sdcc1 node arm64: dts: qcom: qcs404: Add scm firmware node arm64: dts: qcom: qcs404: Add remoteproc nodes Vinod Koul (11): arm64: dts: qcom: qcs404: add base

Re: [PATCH v4 01/18] arm64: dts: qcom: qcs404: add base dts files

2018-11-09 Thread Vinod Koul
On 09-11-18, 10:30, Vinod Koul wrote: > > > + clocks { > > > + xo_board: xo_board { > > > > Build your dtbs with "W=12" and fix any warnings. You should get a > > warning about '_'. > > I did built it with

Re: [PATCH 2/2] arm64: defconfig: Enable some qcom remoteproc configs

2018-11-08 Thread Vinod Koul
On 08-11-18, 22:27, Bjorn Andersson wrote: > On Thu 08 Nov 22:16 PST 2018, Vinod Koul wrote: > > > From: Bjorn Andersson > > > > Enable remoteproc configs to boot the remoteprocs on QC chipsets. These > > are common configs and not specific to a specific SoC s

[PATCH 1/2] arm64: defconfig: Enable QCS404 configs

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Enable GCC and pin control configs to make it possible to boot the QCS404 EVBs. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64

[PATCH 2/2] arm64: defconfig: Enable some qcom remoteproc configs

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Enable remoteproc configs to boot the remoteprocs on QC chipsets. These are common configs and not specific to a specific SoC so should be enabled across the board. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/configs/defconfig | 6 ++ 1

Re: [PATCH 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:04, Shawn Guo wrote: > +static int qcom_snps_hsphy_config_regulators(struct hsphy_priv *priv, int > high) > +{ > + int min, ret, i; > + > + min = high ? 1 : 0; /* low or none? */ > + > + for (i = 0; i < VREG_NUM; i++) { > + ret =

Re: [PATCH 1/2] dt-bindings: phy: Add Qualcomm Synopsys High-Speed USB PHY binding

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:04, Shawn Guo wrote: > From: Sriharsha Allenki > > It adds bindings for Synopsys 28nm femto phy controller that supports > LS/FS/HS usb connectivity on Qualcomm chipsets. > > Signed-off-by: Sriharsha Allenki > Signed-off-by: Anu Ramanathan > Signed-off-by: Bjorn Andersson >

Re: [PATCH v4 12/18] arm64: dts: qcom: pms405: add gpios

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:42, Rob Herring wrote: > On Thu, Nov 8, 2018 at 12:41 PM Vinod Koul wrote: > > > > Add the GPIOs present on PMS405 chip. > > > > Signed-off-by: Vinod Koul > > --- > > arch/arm64/boot/dts/qcom/pms405.dtsi | 19 +++ > >

Re: [PATCH v4 01/18] arm64: dts: qcom: qcs404: add base dts files

2018-11-08 Thread Vinod Koul
On 08-11-18, 15:45, Rob Herring wrote: > > +/ { > > + interrupt-parent = <>; > > + > > + #address-cells = <2>; > > + #size-cells = <2>; > > + > > + chosen { }; > > + > > + clocks { > > + xo_board: xo_board { > > Build your dtbs with "W=12" and fix any

[PATCH v4 18/18] arm64: dts: qcom: pms405: Add pon and pwrkey nodes

2018-11-08 Thread Vinod Koul
PMS405 also features PON block, so add PON and PWRKEY nodes Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom

[PATCH v4 15/18] arm64: dts: qcom: qcs404: add prng-ee node

2018-11-08 Thread Vinod Koul
RNG hardware in QCS404 features (Execution Environment) EE for HLOS to use, add the node for prng-ee for QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom

[PATCH v4 16/18] arm64: dts: qcom: qcs404: Add BAM DMA node

2018-11-08 Thread Vinod Koul
Add the BAM DMA instance found in BLSP1 node of the QCS404 Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404

[PATCH v4 17/18] arm64: dts: qcom: qcs404: Use BAM DMA for serial uart2

2018-11-08 Thread Vinod Koul
We can use BAM DAM for serial UART data transfers, so add it Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index

[PATCH v4 14/18] arm64: dts: qcom: qcs404: Add remoteproc nodes

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add the TrustZone based remoteproc nodes and their glink edges for adsp, cdsp and wcss. Enable them for EVB common DTS. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 12 + arch/arm64/boot/dts/qcom/qcs404.dtsi

[PATCH v4 12/18] arm64: dts: qcom: pms405: add gpios

2018-11-08 Thread Vinod Koul
Add the GPIOs present on PMS405 chip. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 2b275bbdafa3..85a3228abaf9 100644

[PATCH v4 10/18] arm64: dts: qcom: qcs404: add spmi node

2018-11-08 Thread Vinod Koul
PMS405 is used in QCS405-EVB so include that with SPMI nodes Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 1 + arch/arm64/boot/dts/qcom/qcs404.dtsi | 18 ++ 2 files changed, 19 insertions(+) diff --git a/arch/arm64

[PATCH v4 08/18] arm64: dts: qcom: qcs404: Add sdcc1 node

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add the sdcc1 node and enable it for the QCS404-EVB. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 64 arch/arm64/boot/dts/qcom/qcs404.dtsi | 17 + 2 files changed, 81

[PATCH v4 06/18] arm64: dts: qcom: qcs404: add smp2p nodes

2018-11-08 Thread Vinod Koul
Add the smp2p-adsp, smp2p-cdsp and smp2p-wcss nodes found in QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 60 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b

[PATCH v4 11/18] arm64: dts: qcom: pms405: add rtc node

2018-11-08 Thread Vinod Koul
RTC is found on PMIC PMS405 and is same as other PMIC used, so add the rtc node with compatible as qcom,pm8941-rtc Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom

[PATCH v4 09/18] arm64: dts: qcom: pms405: add spmi node

2018-11-08 Thread Vinod Koul
Add the pms405 DT file with spmi node. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pms405.dtsi diff --git a/arch/arm64/boot/dts/qcom/pms405

[PATCH v4 13/18] arm64: dts: qcom: qcs404: Add scm firmware node

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add the scm firmware node to QCS404 Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi

[PATCH v4 07/18] arm64: dts: qcom: qcs404: Add TLMM pinctrl node

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add the QCS404 TLMM pinctrl node with its three tiles. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch

[PATCH v4 03/18] arm64: dts: qcom: qcs404: Add reserved-memory regions

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add the reserved memory regions in QCS404 Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 41 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b

[PATCH v4 01/18] arm64: dts: qcom: qcs404: add base dts files

2018-11-08 Thread Vinod Koul
Add base dts files for QCS404 chipset along with cpu, timer, gcc and uart2 nodes. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 175 +++ 1 file changed, 175 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs404.dtsi diff --git

[PATCH v4 04/18] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add RPM GLINK node and the RPM message ram, hwspinlock, APCS apps global and smem nodes it depends on. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 44 1 file changed, 44

[PATCH v4 00/18] arm64: dts: qcom: qcs404: Add Device tree nodes

2018-11-08 Thread Vinod Koul
: qcs404: Add TLMM pinctrl node arm64: dts: qcom: qcs404: Add sdcc1 node arm64: dts: qcom: qcs404: Add scm firmware node arm64: dts: qcom: qcs404: Add remoteproc nodes Vinod Koul (11): arm64: dts: qcom: qcs404: add base dts files arm64: dts: qcom: qcs404-evb: add dts files for EVBs arm64

[PATCH v4 05/18] arm64: dts: qcom: qcs404: Add PMS405 RPM regulators

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add the RPM regulators found in PMS405 which is used in qcs404-evb Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 97 1 file changed, 97 insertions(+) diff --git a/arch/arm64/boot

[PATCH v4 02/18] arm64: dts: qcom: qcs404-evb: add dts files for EVBs

2018-11-08 Thread Vinod Koul
QCS404 has two EVBs, EVB-1000 and EVB-4000. These boards are mostly similar with few differences in the peripherals used. So use a common qcs404-evb.dtsi which contains the common parts and use qcs404-evb-1000.dts and qcs404-evb-4000.dts for diffs Signed-off-by: Vinod Koul --- arch/arm64/boot

Re: [PATCH v3 00/18] arm64: dts: qcom: qcs404: Add Device tree nodes

2018-11-08 Thread Vinod Koul
On 08-11-18, 23:20, Vinod Koul wrote: > This series adds support for various nodes for QCS404-EVB. > > Based on v4.20-rc1 > > Changes in v3: > - Make the DTS files sorted alphabetcially and by node addresses > - Add reviewed by from Bjorn > - Split out the DTS files f

[PATCH v3 17/18] arm64: dts: qcom: qcs404: Use BAM DMA for serial uart2

2018-11-08 Thread Vinod Koul
We can use BAM DAM for serial UART data transfers, so add it Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index

[PATCH v3 15/18] arm64: dts: qcom: qcs404: add prng-ee node

2018-11-08 Thread Vinod Koul
RNG hardware in QCS404 features (Execution Environment) EE for HLOS to use, add the node for prng-ee for QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom

[PATCH v3 16/18] arm64: dts: qcom: qcs404: Add BAM DMA node

2018-11-08 Thread Vinod Koul
Add the BAM DMA instance found in BLSP1 node of the QCS404 Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404

[PATCH v3 14/18] arm64: dts: qcom: qcs404: Add remoteproc nodes

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add the TrustZone based remoteproc nodes and their glink edges for adsp, cdsp and wcss. Enable them for EVB common DTS. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 12 + arch/arm64/boot/dts/qcom/qcs404.dtsi

[PATCH v3 18/18] arm64: dts: qcom: pms405: Add pon and pwrkey nodes

2018-11-08 Thread Vinod Koul
PMS405 also features PON block, so add PON and PWRKEY nodes Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom

[PATCH v3 11/18] arm64: dts: qcom: pms405: add rtc node

2018-11-08 Thread Vinod Koul
RTC is found on PMIC PMS405 and is same as other PMIC used, so add the rtc node with compatible as qcom,pm8941-rtc Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom

[PATCH v3 13/18] arm64: dts: qcom: qcs404: Add scm firmware node

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add the scm firmware node to QCS404 Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi

[PATCH v3 04/18] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add RPM GLINK node and the RPM message ram, hwspinlock, APCS apps global and smem nodes it depends on. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 44 1 file changed, 44

[PATCH v3 10/18] arm64: dts: qcom: qcs404: add spmi node

2018-11-08 Thread Vinod Koul
PMS405 is used in QCS405-EVB so include that with SPMI nodes Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 1 + arch/arm64/boot/dts/qcom/qcs404.dtsi | 18 ++ 2 files changed, 19 insertions(+) diff --git a/arch/arm64

[PATCH v3 07/18] arm64: dts: qcom: qcs404: Add TLMM pinctrl node

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add the QCS404 TLMM pinctrl node with its three tiles. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch

[PATCH v3 08/18] arm64: dts: qcom: qcs404: Add sdcc1 node

2018-11-08 Thread Vinod Koul
From: Bjorn Andersson Add the sdcc1 node and enable it for the QCS404-EVB. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 64 arch/arm64/boot/dts/qcom/qcs404.dtsi | 17 + 2 files changed, 81

[PATCH v3 02/18] arm64: dts: qcom: qcs404-evb: add dts files for EVBs

2018-11-08 Thread Vinod Koul
QCS404 has two EVBs, EVB-1000 and EVB-4000. These boards are mostly similar with few differences in the peripherals used. So use a common qcs404-evb.dtsi which contains the common parts and use qcs404-evb-1000.dts and qcs404-evb-4000.dts for diffs Signed-off-by: Vinod Koul --- arch/arm64/boot

[PATCH v3 12/18] arm64: dts: qcom: pms405: add gpios

2018-11-08 Thread Vinod Koul
Add the GPIOs present on PMS405 chip. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 2b275bbdafa3..02b758cfd758 100644

[PATCH v3 01/18] arm64: dts: qcom: qcs404: add base dts files

2018-11-08 Thread Vinod Koul
Add base dts files for QCS404 chipset along with cpu, timer, gcc and uart2 nodes. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 175 +++ 1 file changed, 175 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs404.dtsi diff --git

  1   2   3   4   5   6   7   8   9   10   >