Re: [PATCH] clk: qcom: Fix gpll0_out_main parent

2018-12-06 Thread Bjorn Andersson
gned-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > drivers/clk/qcom/gcc-qcs404.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/qcom/gcc-qcs404.c b/drivers/clk/qcom/gcc-qcs404.c > index ef1b267cb058..64da032bb9ed

Re: [PATCH v2 3/3] arm64: dts: qcom: sdm845: Add SD nodes for sdm845-mtp

2018-12-06 Thread Bjorn Andersson
On Thu 06 Dec 10:45 PST 2018, Evan Green wrote: > Enable support for one of the micro SD slots on the MTP. > > Signed-off-by: Evan Green Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > > Changes in v2: > - Fixed alphabetization of node placement in sdm845-mtp.d

Re: [PATCH v2 2/3] arm64: dts: qcom: sdm845: Add SD node

2018-12-06 Thread Bjorn Andersson
On Thu 06 Dec 10:45 PST 2018, Evan Green wrote: > Add one of the two SD controllers to SDM845. > > Signed-off-by: Evan Green > Reviewed-by: Douglas Anderson Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > > Changes in v2: > - Reworded commit message to note th

Re: [PATCH] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5

2018-12-06 Thread Bjorn Andersson
On Tue 20 Nov 13:08 PST 2018, Sibi Sankar wrote: > Add power-domain bindings for Q6V5 MSS on SDM845 SoCs. > Thanks Sibi, > Signed-off-by: Sibi Sankar > --- > > Add dt-binding corresponding to https://patchwork.kernel.org/patch/10586893/ > (remoteproc: q6v5: Add support to vote for rpmh power

Re: [RFC PATCH] clk: qcom: clk-rpmh: Add IPA clock support

2018-12-05 Thread Bjorn Andersson
On Tue 04 Dec 23:15 PST 2018, Stephen Boyd wrote: > Quoting David Dai (2018-12-04 17:14:10) > > > > On 12/4/2018 2:34 PM, Stephen Boyd wrote: > > > Quoting Alex Elder (2018-12-04 13:41:47) > > >> On 12/4/18 1:24 PM, Stephen Boyd wrote: > > >>> Quoting David Dai (2018-12-03 19:50:13) > > Add

Re: [PATCH 2/2] remoteproc: sysmon: Wait for shutdown-ack/ind on sysmon shutdown

2018-12-05 Thread Bjorn Andersson
On Tue 20 Nov 13:02 PST 2018, Sibi Sankar wrote: > After sending a sysmon shutdown request to the SSCTL service on the > subsystem, wait for the service to send shutdown-ack interrupt or > an indication message back. > So we get a reply immediate on the shutdown request, and then some time

Re: [PATCH v4 0/4] Add support of STM32 hwspinlock

2018-12-05 Thread Bjorn Andersson
On Fri 30 Nov 06:45 PST 2018, Benjamin Gaignard wrote: > Le mer. 14 nov. 2018 à 10:00, Benjamin Gaignard > a écrit : > > > > This serie adds the support of the hardware semaphore block for stm32mp1 > > SoC. > > > > version 4: > > - add Linaro SoB > > Gentle ping on this series > Sorry about

Re: [PATCH] firmware: qcom: scm: fix compilation error when disabled

2018-12-05 Thread Bjorn Andersson
+ linux-arm-msm On Wed 21 Nov 18:32 PST 2018, Jonathan Marek wrote: > This fixes the case when CONFIG_QCOM_SCM is not enabled, and linux/errno.h > has not been included previously. > > Signed-off-by: Jonathan Marek Reviewed-by: Bjorn Andersson Regards, Bjorn > --- >

Re: [PATCH v2 1/3] clk: qcom: gcc-msm8998: Drop hmss_dvm and lpass_at

2018-12-04 Thread Bjorn Andersson
On Tue 04 Dec 06:37 PST 2018, Marc Gonzalez wrote: > On 03/12/2018 19:33, Bjorn Andersson wrote: > > > Disabling gcc_hmss_dvm_bus_clk and gcc_lpass_at_clk causes the board to > > lock up, and by that preventing the kernel to boot without > > clk_ignore_unused. >

Re: [PATCH] clk: qcom: Enumerate remaining msm8998 resets

2018-12-04 Thread Bjorn Andersson
On Tue 04 Dec 07:13 PST 2018, Jeffrey Hugo wrote: > The current list of defined resets is incomplete compared to what the > hardware implements. Enumerate the remaining resets according to the > hardware documentation. > > Signed-off-by: Jeffrey Hugo Acked-by: Bjorn Andersson

[PATCH v2 0/3] clk: qcom: gcc-msm8998: Fixes and clkref clocks

2018-12-03 Thread Bjorn Andersson
Drop clocks preventing the platform from booting, don't halt-check UFS clocks and add clkref branches. Bjorn Andersson (3): clk: qcom: gcc-msm8998: Drop hmss_dvm and lpass_at clk: qcom: gcc-msm8998: Disable halt check of UFS clocks clk: qcom: gcc-msm8998: Add clkref clocks drivers/clk

[PATCH v2 1/3] clk: qcom: gcc-msm8998: Drop hmss_dvm and lpass_at

2018-12-03 Thread Bjorn Andersson
they are needed by some client. Signed-off-by: Bjorn Andersson --- Changes since v1: - Drop the clocks, rather than marking them critical. drivers/clk/qcom/gcc-msm8998.c | 28 1 file changed, 28 deletions(-) diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc

[PATCH v2 3/3] clk: qcom: gcc-msm8998: Add clkref clocks

2018-12-03 Thread Bjorn Andersson
Add clkref clocks for usb3, hdmi, ufs, pcie, and usb2. They are all sourced off CXO_IN, so parent them off "xo" until a proper link to the rpmcc can be described in DT. Signed-off-by: Bjorn Andersson --- Changes since v1: - None drivers/clk/qcom/gcc-msm8998.c

[PATCH v2 2/3] clk: qcom: gcc-msm8998: Disable halt check of UFS clocks

2018-12-03 Thread Bjorn Andersson
Drop the halt check of the UFS symbol clocks, in accordance with other platforms. This makes clk_disable_unused() happy and makes it possible to turn the clocks on again without an error. Signed-off-by: Bjorn Andersson --- Changes since v1: - None drivers/clk/qcom/gcc-msm8998.c | 6 +++--- 1

Re: [PATCH] clk: qcom: Fix MSM8998 resets

2018-12-03 Thread Bjorn Andersson
t; + [GCC_PDM_BCR] = { 0x33000 }, > + [GCC_SDCC2_BCR] = { 0x14000 }, > + [GCC_SDCC4_BCR] = { 0x16000 }, > + [GCC_TSIF_BCR] = { 0x36000 }, > + [GCC_UFS_BCR] = { 0x75000 }, > + [GCC_USB_30_BCR] = { 0xf000 }, > }; With this updated, you have my Reviewed-by: Bjorn Andersson Regards, Bjorn

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

2018-11-29 Thread Bjorn Andersson
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. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 5 + 1

Re: [PATCH 2/3] clk: qcom: gcc-msm8998: Disable halt check of UFS clocks

2018-11-29 Thread Bjorn Andersson
On Thu 29 Nov 23:06 PST 2018, Stephen Boyd wrote: > Quoting Bjorn Andersson (2018-11-29 22:52:58) > > Drop the halt check of the UFS symbol clocks, in accordance with other > > platforms. This makes clk_disable_unused() happy and makes it possible > > to turn the clocks on a

Re: [PATCH 1/3] clk: qcom: gcc-msm8998: Mark hmss_dvm and lpass_at critical

2018-11-29 Thread Bjorn Andersson
On Thu 29 Nov 23:05 PST 2018, Stephen Boyd wrote: > Quoting Bjorn Andersson (2018-11-29 22:52:57) > > Keep the two clocks enabled, so that the platform passes > > clk_disable_unused(). > > > > Signed-off-by: Bjorn Andersson > > --- > > drivers/clk/qcom/g

Re: [RFC v3 2/3] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2018-11-29 Thread Bjorn Andersson
On Thu 29 Nov 13:45 PST 2018, Lina Iyer wrote: > On Wed, Nov 28 2018 at 17:25 -0700, Bjorn Andersson wrote: > > On Wed 28 Nov 09:39 PST 2018, Lina Iyer wrote: > > > > > On Tue, Nov 27 2018 at 14:45 -0700, Stephen Boyd wrote: > > > > Quoting Lina Iyer (2018-1

[PATCH] arm64: dts: qcom: msm8998: Fix compatible of scm node

2018-11-29 Thread Bjorn Andersson
The scm binding and driver was updated to rely on the fallback to the default qcom,scm for any modern SoC and as such both are required. Add the default compatible to make the scm instance probe. Fixes: d850156a226a ("arm64: dts: qcom: msm8998: Add firmware node") Signed-off-by: Bjorn

[PATCH] arm64: defconfig: Enable GCC and PINCTRL for MSM8998

2018-11-29 Thread Bjorn Andersson
Enable the GCC and PINCTRL for MSM8998 to make upstream boot to console. Signed-off-by: Bjorn Andersson --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 1f1f4eab89df..206f50d121ba 100644

[PATCH 2/3] clk: qcom: gcc-msm8998: Disable halt check of UFS clocks

2018-11-29 Thread Bjorn Andersson
Drop the halt check of the UFS symbol clocks, in accordance with other platforms. This makes clk_disable_unused() happy and makes it possible to turn the clocks on again without an error. Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/gcc-msm8998.c | 6 +++--- 1 file changed, 3 insertions

[PATCH 3/3] clk: qcom: gcc-msm8998: Add clkref clocks

2018-11-29 Thread Bjorn Andersson
Add clkref clocks for usb3, hdmi, ufs, pcie, and usb2. They are all sourced off CXO_IN, so parent them off "xo" until a proper link to the rpmcc can be described in DT. Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/gcc-msm8998.c | 75 include/d

[PATCH 1/3] clk: qcom: gcc-msm8998: Mark hmss_dvm and lpass_at critical

2018-11-29 Thread Bjorn Andersson
Keep the two clocks enabled, so that the platform passes clk_disable_unused(). Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/gcc-msm8998.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c index 9f0ae403d5f5..d89f8e7c2a59

[PATCH 0/3] clk: qcom: gcc-msm8998: Fixes and clkref clocks

2018-11-29 Thread Bjorn Andersson
Mark critical clocks critical, don't halt-check UFS clocks and add clkref branches. Bjorn Andersson (3): clk: qcom: gcc-msm8998: Mark hmss_dvm and lpass_at critical clk: qcom: gcc-msm8998: Disable halt check of UFS clocks clk: qcom: gcc-msm8998: Add clkref clocks drivers/clk/qcom/gcc

Re: [RFC v3 2/3] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2018-11-28 Thread Bjorn Andersson
On Wed 28 Nov 09:39 PST 2018, Lina Iyer wrote: > On Tue, Nov 27 2018 at 14:45 -0700, Stephen Boyd wrote: > > Quoting Lina Iyer (2018-11-27 10:21:23) > > > On Tue, Nov 27 2018 at 02:12 -0700, Stephen Boyd wrote: > > > > > > > >Two reasons. First, simplicity. The TLMM driver just needs to pass the

Re: [PATCH 2/2] arm64: dts: qcom: Add SoC-specific string for sdhci-msm-v4 nodes

2018-11-28 Thread Bjorn Andersson
s Anderson Acked-by: Bjorn Andersson Regards, Bjorn > --- > > arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++-- > arch/arm64/boot/dts/qcom/msm8992.dtsi | 2 +- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- > 3 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/

Re: [PATCH 1/2] ARM: dts: qcom: Add SoC-specific string for sdhci-msm-v4 nodes

2018-11-28 Thread Bjorn Andersson
s Anderson Acked-by: Bjorn Andersson Regards, Bjorn > --- > > arch/arm/boot/dts/qcom-apq8084.dtsi | 4 ++-- > arch/arm/boot/dts/qcom-msm8974.dtsi | 6 +++--- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi > b/a

Re: [RFC PATCH v3 3/4] irqchip: gic-v3: Add quirk for msm8996 secured registers

2018-11-28 Thread Bjorn Andersson
On Mon 12 Nov 02:33 PST 2018, Srinivas Kandagatla wrote: > Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor. > Its been more than 2+ years of wait for this to be fixed, which has > no hopes to be fixed. This change was introduced for the "lead device" > on msm8996 platform. It

Re: [PATCH] ARM: dts: qcom: msm8974-hammerhead: add WiFi support

2018-11-28 Thread Bjorn Andersson
-off-by: Brian Masney Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > .../qcom-msm8974-lge-nexus5-hammerhead.dts| 70 +++ > 1 file changed, 70 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts > b/arch/arm/boot/dts

Re: [RFC] mmc: host: sdhci-msm: Use the interconnect API

2018-11-28 Thread Bjorn Andersson
On Thu 11 Oct 05:03 PDT 2018, Georgi Djakov wrote: > The interconnect API provides an interface for consumer drivers to express > their bandwidth needs in the SoC. This data is aggregated and the on-chip > interconnect hardware is configured to the appropriate power/performance > profile. > >

Re: [PATCH v1] arm64: dts: msm8998: thermal: split address space into two

2018-11-22 Thread Bjorn Andersson
address space for msm8998 since it has a similar > register layout to other versions of the IP to allow for better code > sharing. > > Signed-off-by: Amit Kucheria Reviewed-by: Bjorn Andersson > --- > (Compile-tested only, since I don't have the hardware) You do have hardw

Re: [PATCH] arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks

2018-11-21 Thread Bjorn Andersson
On Wed 21 Nov 01:01 PST 2018, Stephen Boyd wrote: > Quoting Bjorn Andersson (2018-11-05 21:50:13) > > As of v4.20-rc1 probing the GCC driver on a SDM845 device with the > > standard security implementation causes an access violation and an > > immediate system restart. Use

Re: [PATCH] clk: qcom: Move to menuconfig and reduce lines

2018-11-21 Thread Bjorn Andersson
u and adding an if wrapper around the driver section. > > Cc: Taniya Das > Signed-off-by: Stephen Boyd Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > drivers/clk/qcom/Kconfig | 39 +-- > 1 file changed, 5 insertions(+), 34 deletions(-) >

Re: [PATCH v5 3/5] arm64: dts: qcom: sdm845: add UFS controller

2018-11-21 Thread Bjorn Andersson
reset-names = "rst"; I have this as well, but this is not used by the upstream driver nor is it mentioned in the dt-binding. > + > + status = "disabled"; > + }; > + > + ufsphy1: phy@1d87000 { With reservation for the "reset" issue: Reviewed-by: Bjorn Andersson Regards, Bjorn

Re: [PATCH v5 5/5] arm64: dts: qcom: sdm845: Add USB PHY lane two

2018-11-21 Thread Bjorn Andersson
viewed-by: Douglas Anderson Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: > - Removed erroneous fixup for USB UniPro PHY, which is not dual lane (Doug) > > Changes in v2: None > > arch/ar

Re: [PATCH v5 4/5] arm64: dts: qcom: sdm845: Add UFS nodes for sdm845-mtp

2018-11-21 Thread Bjorn Andersson
On Mon 19 Nov 11:42 PST 2018, Stephen Boyd wrote: > Quoting Doug Anderson (2018-11-19 11:25:08) > > On Mon, Nov 19, 2018 at 11:19 AM Stephen Boyd wrote: > > > > > > Quoting Evan Green (2018-10-26 10:35:43) > > > > > > > +}; > > > > + > > > > + { > > > > + status = "okay"; > > > > + > > > >

[PATCH 1/3] arm64: dts: qcom: qcs404: Specify pinctrl state for UART

2018-11-18 Thread Bjorn Andersson
BLSP1 UART2 is used as debug uart on the EVB development board, define pinmux state for the UART in the platform dtsi and pinconf state for it in the board dts. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 14 ++ arch/arm64/boot/dts/qcom/qcs404.dtsi

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

2018-11-18 Thread Bjorn Andersson
This finalizes the definition of the BLSP UART, I2C and SPI devices found in the QCS404 SoC. Bjorn Andersson (3): arm64: dts: qcom: qcs404: Specify pinctrl state for UART arm64: dts: qcom: qcs404: Define remaining UARTs arm64: dts: qcom: qcs404: Add QUP I2C and SPI nodes arch/arm64/boot

[PATCH 3/3] arm64: dts: qcom: qcs404: Add QUP I2C and SPI nodes

2018-11-18 Thread Bjorn Andersson
Define all six QUP controllers, both as SPI and I2C, allowing boards to enable these as needed. Associated pinmux states are also defined, to require only pinconf states to be specified by the boards, as they are enabled. Note that SPI has not been tested. Signed-off-by: Bjorn Andersson

[PATCH 2/3] arm64: dts: qcom: qcs404: Define remaining UARTs

2018-11-18 Thread Bjorn Andersson
Add the BLSP2 BAM and add the remaining four UARTs found on the QCS404 platform. Note that these has not been tested. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 84 1 file changed, 84 insertions(+) diff --git a/arch/arm64/boot/dts

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

2018-11-17 Thread Bjorn Andersson
On Fri 09 Nov 01:44 PST 2018, Vinod Koul wrote: > Add the GPIOs present on PMS405 chip. > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/pms405.dtsi | 19 +++ > 1 file changed, 19 insertions(+) >

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

2018-11-17 Thread Bjorn Andersson
04-evb-4000.dts for diffs > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/Makefile| 2 ++ > arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts | 11 +++ > arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts |

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

2018-11-17 Thread Bjorn Andersson
On Fri 09 Nov 01:44 PST 2018, Vinod Koul wrote: > Add base dts files for QCS404 chipset along with cpu, timer, > gcc and uart2 nodes. > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom

Re: [PATCH v2] pinctrl: msm: Add sleep pinctrl state transitions

2018-11-16 Thread Bjorn Andersson
ring suspend. > > Signed-off-by: Evan Green > Reviewed-by: Stephen Boyd Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > > Changes in v2: > - Moved dev_pm_ops structure to pinctrl-msm [Bjorn] > > drivers/pinctrl/qcom/pinctrl-msm.c| 19 +++ >

Re: [PATCH 4/4] arm64: dts: qcom: msm8998-mtp: Add external SD

2018-11-15 Thread Bjorn Andersson
mc-supply = <_l21a_2p95>; > +vqmmc-supply = <_l13a_2p95>; > + > +pinctrl-names = "default", "sleep"; > +pinctrl-0 = <_clk_on _cmd_on _data_on _cd_on>; > +pinctrl-1 = <_clk_off _cmd_off _data_off > _cd_off>; > +}; With that, Reviewed-by: Bjorn Andersson Regards, Bjorn

Re: [PATCH 3/4] arm64: dts: qcom: msm8998: Add SDC2 control pins

2018-11-15 Thread Bjorn Andersson
On Thu 15 Nov 09:18 PST 2018, Jeffrey Hugo wrote: > The SDC2 control pins are typically used to manage sleep. > > Signed-off-by: Jeffrey Hugo > --- > arch/arm64/boot/dts/qcom/msm8998-pins.dtsi | 78 > ++ Rather than adding a -pins file, add the pinctrl states the

Re: [PATCH 2/4] arm64: dts: qcom: msm8998: Add SDCC2

2018-11-15 Thread Bjorn Andersson
On Thu 15 Nov 09:18 PST 2018, Jeffrey Hugo wrote: > SDCC2 is typically used as the controller for an external SD card slot. > > Signed-off-by: Jeffrey Hugo > --- Reviewed-by: Bjorn Andersson Regards, Bjorn > arch/arm64/boot/dts/qcom/msm8998.dtsi | 19 ++- &g

Re: [PATCH 1/4] arm64: dts: qcom: msm8998: correct xo clock name

2018-11-15 Thread Bjorn Andersson
nd > unable to be manipulated. The end result is that we can't turn on clocks > for peripherals like SD, so init usually fails. > > Fixes: 4807c71cc688 (arm64: dts: Add msm8998 SoC and MTP board support) > Signed-off-by: Jeffrey Hugo > --- Reviewed-by: Bjorn Andersson >

Re: [PATCH v3 1/4] dt-bindings: hwlock: Document STM32 hwspinlock bindings

2018-11-13 Thread Bjorn Andersson
On Mon 12 Nov 18:13 PST 2018, Rob Herring wrote: > On Mon, Nov 12, 2018 at 04:23:39PM +0100, Benjamin Gaignard wrote: > > Add bindings for STM32 hardware spinlock device > > > > Signed-off-by: Benjamin Gaignard > > Linaro or ST? Please make the author email match. > Thanks for the review Rob

Re: [PATCH] pinctrl: sdm660: Set tile property for pingroups

2018-11-12 Thread Bjorn Andersson
for not spotting this in my previous review. Reviewed-by: Bjorn Andersson Regards, Bjorn > drivers/pinctrl/qcom/pinctrl-sdm660.c | 28 ++- > 1 file changed, 15 insertions(+), 13 deletions(-) > > diff --git a/drivers/pinctrl/qcom/pinctrl-sdm660.c > b/dr

[PATCH 2/3] soc: qcom: Add AOSS QMP communication driver

2018-11-12 Thread Bjorn Andersson
processed the message length is cleared and an interrupt is fired by the AOSS as acknowledgment. Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/Kconfig | 7 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/aoss-qmp.c | 313 ++ include/linux

[PATCH 1/3] dt-bindings: soc: qcom: Add AOSS QMP binding

2018-11-12 Thread Bjorn Andersson
Add binding for the QMP based side-channel communication mechanism to the AOSS, which is used to control resources not exposed through the RPMh interface. Signed-off-by: Bjorn Andersson --- .../bindings/soc/qcom/qcom,aoss-qmp.txt | 63 +++ include/dt-bindings/power/qcom

[PATCH 3/3] soc: qcom: Add AOSS QMP genpd provider

2018-11-12 Thread Bjorn Andersson
The AOSS QMP genpd provider implements control over power-related resources related to low-power state associated with the remoteprocs in the system as well as control over a set of clocks related to debug hardware in the SoC. Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/Kconfig

[PATCH 0/3] Qualcomm AOSS QMP side channel binding and driver

2018-11-12 Thread Bjorn Andersson
at a later point. Bjorn Andersson (3): dt-bindings: soc: qcom: Add AOSS QMP binding soc: qcom: Add AOSS QMP communication driver soc: qcom: Add AOSS QMP genpd provider .../bindings/soc/qcom/qcom,aoss-qmp.txt | 63 drivers/soc/qcom/Kconfig | 15 + drivers/soc

Re: [PATCH] pinctrl: qcom: ssbi-gpio: fix gpio-hog related boot issues

2018-11-10 Thread Bjorn Andersson
) phone. > > Signed-off-by: Brian Masney Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > For the patch and discussion regarding pinctrl-spmi-gpio.c, see > https://lore.kernel.org/lkml/20181101001149.13453-6-masn...@onstation.org/ > > drivers/pinctrl/qcom/pinctrl-

Re: [PATCH] pinctrl: msm: Add sleep pinctrl state transitions

2018-11-09 Thread Bjorn Andersson
On Fri 09 Nov 14:28 PST 2018, Evan Green wrote: > Add PM suspend callbacks to the msm core driver that select the > sleep and default pinctrl states. Then wire those callbacks up > in the sdm845 driver, for those boards that may have GPIO hogs > that need to change state during suspend. > >

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

2018-11-08 Thread Bjorn Andersson
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 so should be enabled > across the board. > > Signed-off-by: Bjorn An

Re: [PATCH 5/5] hwspinlock: Add test module

2018-11-07 Thread Bjorn Andersson
On Wed 31 Oct 02:30 PDT 2018, Benjamin Gaignard wrote: > Create a test module to perform simple unitary tests on hwspinlock. > It doesn't cover all the possibles cases but at least allow to test > that very basic features are working. > I like the idea of making these things testable, but I

Re: [PATCH 3/5] ARM: dts: stm32: Add hwspinlock node for stm32mp157 SoC

2018-11-07 Thread Bjorn Andersson
On Wed 31 Oct 02:30 PDT 2018, Benjamin Gaignard wrote: > Declare hwspinlock device for stm32mp157 SoC > > Signed-off-by: Benjamin Gaignard Pending the clock-names question, Acked-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm/boot/dts/stm32mp157c.dtsi | 9 + &g

Re: [PATCH 1/5] dt-bindings: hwlock: Document STM32 hwspinlock bindings

2018-11-07 Thread Bjorn Andersson
On Wed 31 Oct 02:30 PDT 2018, Benjamin Gaignard wrote: > Add bindings for STM32 hardware spinlock device > > Signed-off-by: Benjamin Gaignard > --- > .../bindings/hwlock/st,stm32-hwspinlock.txt| 23 > ++ > 1 file changed, 23 insertions(+) > create mode 100644 >

Re: [PATCH 2/5] hwspinlock: add STM32 hwspinlock device

2018-11-07 Thread Bjorn Andersson
On Wed 31 Oct 02:30 PDT 2018, Benjamin Gaignard wrote: > diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig > index e895d29500ee..e1a20b460590 100644 > --- a/drivers/hwspinlock/Kconfig > +++ b/drivers/hwspinlock/Kconfig > @@ -59,3 +59,12 @@ config HSEM_U8500 > SoC. > >

Re: [PATCH 1/2] dt-bindings: clk: Introduce 'protected-clocks' property

2018-11-07 Thread Bjorn Andersson
On Mon 05 Nov 17:04 PST 2018, Bjorn Andersson wrote: > On Mon 05 Nov 11:40 PST 2018, Stephen Boyd wrote: > > > Add a generic clk property for clks which are not intended to be used by > > the OS due to security restrictions put in place by firmware. For > > example, on

[PATCH] arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks

2018-11-05 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- This depends on the acceptance of https://lore.kernel.org/lkml/20181105194011.43770-1-swb...@chromium.org/ arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot

Re: [PATCH 1/2] dt-bindings: clk: Introduce 'protected-clocks' property

2018-11-05 Thread Bjorn Andersson
t of clks that shouldn't be touched by the OS. This way > we never need to register the clks or use them in certain firmware > configurations. > > Cc: Rob Herring > Cc: Bjorn Andersson Reviewed-by: Bjorn Andersson Regards, Bjorn > Cc: Taniya Das > Signed-off-by: Stephen Boyd

Re: [PATCH 2/2] clk: qcom: Support 'protected-clocks' property

2018-11-05 Thread Bjorn Andersson
won't have the chance to ever read or write these > registers and take down the entire system. > > Cc: Taniya Das > Cc: Bjorn Andersson > Signed-off-by: Stephen Boyd Reviewed-by: Bjorn Andersson Tested-by: Bjorn Andersson Regards, Bjorn > --- > drivers/clk/qcom/common.c |

Re: [PATCH v2 17/17] arm64: dts: qcom: pms405: Add pon and pwrkey nodes

2018-11-05 Thread Bjorn Andersson
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote: > PMS405 also features PON block, so add PON and PWRKEY nodes > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/pms405.dtsi | 16 > 1 file chan

Re: [PATCH v2 16/17] arm64: dts: qcom: qcs404: Use BAM DMA for serial uart2

2018-11-05 Thread Bjorn Andersson
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote: > We can use BAM DAM for serial UART data transfers, so add it > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 ++ > 1 file changed, 2 insertions(

Re: [PATCH v2 15/17] arm64: dts: qcom: qcs404: Add BAM DMA node

2018-11-05 Thread Bjorn Andersson
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote: > Add the BAM DMA instance found in BLSP1 node of the QCS404 What about blsp2 bam? > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/qcs404.dtsi | 13 + &g

Re: [PATCH v2 14/17] arm64: dts: qcom: qcs404: add prng-ee node

2018-11-05 Thread Bjorn Andersson
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote: > RNG hardware in QCS404 features (Execution Environment) EE for > HLOS to use, add the node for prng-ee for QCS404. > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qc

Re: [PATCH v2 13/17] arm64: dts: qcom: qcs404: Add remoteproc nodes

2018-11-05 Thread Bjorn Andersson
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote: > From: Bjorn Andersson > > Add the TrustZone based remoteproc nodes and their glink edges for > adsp, cdsp and wcss. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Vinod Koul > --- > arch/arm64/boo

Re: [PATCH v2 11/17] arm64: dts: qcom: pms405: add gpios

2018-11-05 Thread Bjorn Andersson
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote: > 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 >

Re: [PATCH v2 09/17] arm64: dts: qcom: qcs404: add spmi node

2018-11-05 Thread Bjorn Andersson
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote: > PMS405 is used in QCS405-EVB so include that with SPMI nodes > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/qcs404-evb.dts | 1 + > arch/arm64/boot/dts/qcom/q

Re: [PATCH v2 10/17] arm64: dts: qcom: pms405: add rtc node

2018-11-05 Thread Bjorn Andersson
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote: > RTC is found on PMIC PMS405 and is same as other PMIC used, so add the > rtc node with compatible as qcom,pm8941-rtc > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qc

Re: [PATCH v2 05/17] arm64: dts: qcom: qcs404: add smp2p nodes

2018-11-05 Thread Bjorn Andersson
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote: > Add the smp2p-adsp, smp2p-cdsp and smp2p-wcss nodes found in QCS404. > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/qcs404.dtsi | 60 > +++

Re: [PATCH v2 08/17] arm64: dts: qcom: pms405: add spmi node

2018-11-05 Thread Bjorn Andersson
GPL-2.0 > +// Copyright (c) 2018, Linaro Limited > + > +#include > + > +_bus { > + Please drop the empty line. Reviewed-by: Bjorn Andersson Regards, Bjorn > + pms405_0: pms405@0 { > + compatible = "qcom,spmi-pmic"; > + reg = &l

Re: [PATCH v2 01/17] arm64: dts: qcom: qcs404: add base dts files

2018-11-05 Thread Bjorn Andersson
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote: > diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dts > b/arch/arm64/boot/dts/qcom/qcs404-evb.dts > new file mode 100644 > index ..74dc09ddb0d2 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dts > @@ -0,0 +1,21 @@ > +//

[PATCH] clk: qcom: smd: Add support for QCS404 rpm clocks

2018-11-03 Thread Bjorn Andersson
From: Taniya Das Add rpm smd clocks, PMIC and bus clocks which are required on QCS404 for clients to vote on. Signed-off-by: Taniya Das Signed-off-by: Anu Ramanathan [bjorn: Dropped cxo, voter clocks and static initialization] Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/clock

Re: [PATCH] arm64: dts: msm8916: remove bogus argument to the cpu clock

2018-11-02 Thread Bjorn Andersson
; > Fixes: 65afdf458360 ("arm64: dts: qcom: msm8916: Add CPU frequency scaling > support") > Signed-off-by: Niklas Cassel Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/msm8916.dtsi | 8 > 1 file changed, 4 insertions(+), 4 del

[PATCH] arm64: defconfig: Enable core Qualcomm SDM845 options

2018-11-02 Thread Bjorn Andersson
he missing parent clocks later. RPMH depends on the COMMAND_DB. While we're enabling the others let's do RPMH regulators as well, as everything beyond this point depends on that. Signed-off-by: Bjorn Andersson --- arch/arm64/configs/defconfig | 9 + 1 file changed, 9 insertions(+) diff --

[PATCH] arm64: dts: sdm845-mtp: Reserve reserved gpios

2018-11-02 Thread Bjorn Andersson
s reserved. Signed-off-by: Bjorn Andersson --- Given that mainline has not yet booted on the SDM845 MTP or MSM8998 MTP (which seems to be the affected platform), I think it's better to pick this change than to rework the offending commit. arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 4 1 file

[PATCH] arm64: dts: qcom: msm8998: Reserve gpio ranges on MTP

2018-10-29 Thread Bjorn Andersson
GPIOs 0 through 3 and 81 through 84 are configured to not be accessible from the application CPUs. Mark them as reserved to allow the MSM8998 MTP to boot after the introduction of 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning"). Signed-off-by: Bjorn Andersson ---

[GIT PULL] rpmsg updates for v4.20

2018-10-29 Thread Bjorn Andersson
alignment requirements from glink, closes a potential memory leak in SMD and switches to %pOFn for printing device_node names. Arun Kumar Neelakantam (1): rpmsg: glink: smem: Support rx peak for size less than 4 bytes Bjorn Andersson

[GIT PULL] remoteproc updates for v4.20

2018-10-29 Thread Bjorn Andersson
of the drivers cleans up the naming situation. Finally support for custom coreudmp segment handlers is added and is used in the Qualcomm modem remoteproc driver to gather memory dumps of the firmware. Bjorn Andersson (6): remoteproc

Re: [PATCH] arm64: dts: qcom: sdm845: Add reserve-memory nodes

2018-10-28 Thread Bjorn Andersson
On Fri 26 Oct 05:27 PDT 2018, Sibi Sankar wrote: > Add reserve-memory nodes for mpss and mba required for > remoteproc mss pil. > > Signed-off-by: Sibi Sankar Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++ >

Re: [PATCH] arm64: dts: qcom: sdm845: Add PDC Global reset driver node

2018-10-28 Thread Bjorn Andersson
On Fri 26 Oct 05:26 PDT 2018, Sibi Sankar wrote: > This patch adds the node to support PDC Global reset driver on > SDM845 SoCs > > Signed-off-by: Sibi Sankar Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 7 +++ &g

Re: [PATCH] arm64: dts: qcom: sdm845: Add SCM DT node

2018-10-28 Thread Bjorn Andersson
On Fri 26 Oct 05:25 PDT 2018, Sibi Sankar wrote: > Add SCM DT node to enable SCM functionality on SDM845. > > Signed-off-by: Sibi Sankar Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ++ > 1 file changed, 6 insertions(

Re: [RFC PATCH v2] soc: qcom: rmtfs_mem: Control remoteproc from rmtfs_mem

2018-10-21 Thread Bjorn Andersson
On Sun 30 Sep 08:56 PDT 2018, Sibi Sankar wrote: > From: Bjorn Andersson > > rmtfs_mem provides access to physical storage and is crucial for the > operation of the Qualcomm modem subsystem. > > The rmtfs_mem implementation must be available before the modem >

Re: [PATCH v8 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ Firmware bindings

2018-10-21 Thread Bjorn Andersson
On Sun 23 Sep 03:33 PDT 2018, Taniya Das wrote: > diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt > b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt > new file mode 100644 > index 000..c06941c > --- /dev/null > +++

Re: [PATCH v5 0/5] Add coredump support for Q6v5 Modem remoteproc

2018-10-19 Thread Bjorn Andersson
On Wed 17 Oct 06:55 PDT 2018, Sibi Sankar wrote: > This patch series add coredump support for modem on SDM845, MSM8996 > and MSM8916 SoCs. Modem requires the mba to be loaded before a > coredump can be performed and this is achieved using a custom per > segment dump function. > > V5: > Add

Re: [PATCH v4 12/17] remoteproc: modify vring allocation to rely on centralized carveout allocator

2018-10-15 Thread Bjorn Andersson
On Wed 10 Oct 11:58 PDT 2018, Loic PALLARDY wrote: > > > > -Original Message- > > From: Bjorn Andersson [mailto:bjorn.anders...@linaro.org] > > Sent: mercredi 10 octobre 2018 07:32 > > To: Loic PALLARDY > > Cc: o...@wizery.com; linux-remote

Re: [PATCH] remoteproc: qcom: q6v5: shore up resource probe handling

2018-10-10 Thread Bjorn Andersson
On Tue 09 Oct 16:34 PDT 2018, Doug Anderson wrote: > Hi, > > On Tue, Oct 9, 2018 at 3:33 PM Brian Norris wrote: > > + if (q6v5->wdog_irq < 0) { > > + if (q6v5->wdog_irq != -EPROBE_DEFER) > > + dev_err(>dev, > > + "failed to

Re: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-10-09 Thread Bjorn Andersson
On Fri 27 Jul 06:14 PDT 2018, Loic Pallardy wrote: > This patch creates a dedicated vdev subdevice for each vdev declared > in firmware resource table and associates carveout named "vdev%dbuffer" > (with %d vdev index in resource table) if any as dma coherent memory pool. > > Then vdev subdevice

Re: [PATCH v4 12/17] remoteproc: modify vring allocation to rely on centralized carveout allocator

2018-10-09 Thread Bjorn Andersson
On Fri 27 Jul 06:14 PDT 2018, Loic Pallardy wrote: > int rproc_fw_sanity_check(struct rproc *rproc, const struct firmware *fw) > diff --git a/drivers/remoteproc/remoteproc_virtio.c > b/drivers/remoteproc/remoteproc_virtio.c [..] > @@ -114,6 +122,10 @@ static struct virtqueue *rp_find_vq(struct

Re: [PATCH V4 0/4] Add TIOCM Signals support for RPMSG char devices

2018-10-09 Thread Bjorn Andersson
On Tue 09 Oct 09:02 PDT 2018, Arnaud Pouliquen wrote: > hello Bjorn, > > On 10/08/2018 06:23 PM, Bjorn Andersson wrote: > > On Mon 08 Oct 06:08 PDT 2018, Arnaud Pouliquen wrote: > > > >> Hi Arun, Bjorn, > >> > >> On 10/08/2018 08:38 AM, Aru

Re: [PATCH 4.4 093/113] pinctrl: msm: Really mask level interrupts to prevent latching

2018-10-09 Thread Bjorn Andersson
fix this by clearing the raw status enable bit for level type > > > interrupts so that the hardware stops latching the status of the > > > interrupt after we ack it. We don't do this for edge type interrupts > > > because it seems that toggling the raw status ena

Re: [PATCH] remoteproc: qcom: q6v5-pil: add SCM probe dependency

2018-10-09 Thread Bjorn Andersson
On Mon 08 Oct 19:08 PDT 2018, Brian Norris wrote: > Similar to qcom_q6v5_pas and qcom_wcnss drivers, probe will fail if SCM > is not up. > Thanks Brian, this dependency was introduced with the memory ownership support. I applied it with an updated conditional to make it explicit that it

Re: [PATCH V4 0/4] Add TIOCM Signals support for RPMSG char devices

2018-10-08 Thread Bjorn Andersson
On Mon 08 Oct 06:08 PDT 2018, Arnaud Pouliquen wrote: > Hi Arun, Bjorn, > > On 10/08/2018 08:38 AM, Arun Kumar Neelakantam wrote: > > Glink transport support signals to exchange state notification between > > local and remote side clients. Adding support to send/receive the signal > > command

Re: [PATCH V3 0/4] Changes for SDCC5 version

2018-10-08 Thread Bjorn Andersson
On Sun 07 Oct 01:07 PDT 2018, Craig wrote: > Any updates on this? > FWIW I used qcom,sdhci-msm-v5 on QCS404 successfully. Regards, Bjorn > On 25 September 2018 16:39:33 BST, Craig wrote: > > > > > >On 25 September 2018 12:17:26 BST, Veerabhadrarao Badiganti > > wrote: > >> > >>On 9/25/2018

Re: [PATCH v3 6/6] remoteproc: qcom: q6v5-pil: Assign the relocated address

2018-10-08 Thread Bjorn Andersson
On Fri 27 Jul 08:20 PDT 2018, Sibi Sankar wrote: > Assign the relocated base of the modem image, as the offsets > from the virtual memory might not be based on the physical > address. > In order to get this merged before the first call to rproc_da_to_va() I applied this patch to rproc-next.

  1   2   3   4   5   6   7   8   9   10   >