[PATCH 4/4] dt-binding: remoteproc: Introduce Qualcomm WCNSS loader binding
The document defines the binding for a component that loads firmware for and boots the Qualcomm WCNSS core. Signed-off-by: Bjorn Andersson--- .../bindings/remoteproc/qcom,wcnss-pil.txt | 107 + 1 file changed, 107 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.txt diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.txt b/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.txt new file mode 100644 index ..9fbaf564662e --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.txt @@ -0,0 +1,107 @@ +Qualcomm WCNSS Peripheral Image Loader + +This document defines the binding for a component that loads and boots firmware +on the Qualcomm WCNSS core. + +- compatible: + Usage: required + Value type: + Definition: must be one of: + "qcom,riva-pil", + "qcom,pronto-v1-pil", + "qcom,pronto-v2-pil" + +- reg: + Usage: required + Value type: + Definition: base address and size of riva/pronto PMU registers + +- interrupts-extended: + Usage: required + Value type: + Definition: should specify the watchdog, fatal, ready, handover and + stop-ack IRQs, in order. + +- interrupt-names: + Usage: required + Value type: + Definition: should be "wdog", "fatal", "ready", "handover", "stop-ack" + +- clocks: + Usage: required + Value type: + Definition: should specify the xo clock and optionally the rf_clk + +- clock-names: + Usage: requireduired + Value type: + Definition: should be "xo", optionally followed by "rf" + +- qcom,firmware-name: + Usage: required + Value type: + Definition: name of the firmware to be loaded + +- qcom,crash-reason: + Usage: required + Value type: + Definition: SMEM item used by WCNSS for storing the error messages upon + a fatal exception + +- qcom,iris-vddxo-supply: +- qcom,iris-vddrfa-supply: +- qcom,iris-vddpa-supply: +- qcom,iris-vdddig-supply: +- qcom,pronto-vddmx-supply: +- qcom,pronto-vddcx-supply: +- qcom,pronto-vddpx-supply: + Usage: required + Value type: + Definition: reference to the regulators to be held on behalf of the + booting of the WCNSS core + +- qcom,state: + Usage: required + Value type: + Definition: reference to the SMEM state used to indicate to WCNSS that + it should shut down + +- qcom,state-names: + Usage: required + Value type: + Definition: should be "stop" + += EXAMPLE + +pronto_rproc@fb21b000 { + compatible = "qcom,pronto-v2-pil"; + reg = <0xfb21b000 0x3000>; + + interrupts-extended = < 0 149 1>, + <_smp2p_slave 0 0>, + <_smp2p_slave 1 0>, + <_smp2p_slave 2 0>, + <_smp2p_slave 3 0>; + interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; + + clocks = < RPM_CXO_CLK_SRC>, < RPM_CXO_A2>; + clock-names = "xo", "rf"; + + qcom,firmware-name = "wcnss"; + + qcom,crash-reason = <422>; + + qcom,iris-vddxo-supply = <_l6>; + qcom,iris-vddrfa-supply = <_l11>; + qcom,iris-vddpa-supply = <_l19>; + qcom,iris-vdddig-supply = <_s3>; + qcom,pronto-vddmx-supply = <_s1>; + qcom,pronto-vddcx-supply = <_s2>; + qcom,pronto-vddpx-supply = <_s3>; + + qcom,state = <_smp2p_out 0>; + qcom,state-names = "stop"; + + pinctrl-names = "default"; + pinctrl-0 = <_pin_a>; +}; -- 1.8.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 0/4] WCNSS Peripheral Image Loader
This series provides the minimum changes needed to use remotproc on the Qualcomm platform, it then introduces the Peripheral Image Loader for the WCNSS core. The implementation depends on https://lkml.org/lkml/2015/9/24/723 Bjorn Andersson (4): remoteproc: core: Make the loaded resource table optional remoteproc: Add additional crash reasons remoteproc: qcom: Introduce WCNSS peripheral image loader dt-binding: remoteproc: Introduce Qualcomm WCNSS loader binding .../bindings/remoteproc/qcom,wcnss-pil.txt | 107 drivers/remoteproc/Kconfig | 11 + drivers/remoteproc/Makefile| 2 + drivers/remoteproc/qcom_mdt_loader.c | 213 +++ drivers/remoteproc/qcom_mdt_loader.h | 8 + drivers/remoteproc/qcom_wcnss.c| 615 + drivers/remoteproc/remoteproc_core.c | 10 +- include/linux/remoteproc.h | 4 + 8 files changed, 964 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.txt create mode 100644 drivers/remoteproc/qcom_mdt_loader.c create mode 100644 drivers/remoteproc/qcom_mdt_loader.h create mode 100644 drivers/remoteproc/qcom_wcnss.c -- 1.8.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] gpio: msm: Remove unused driver
On Fri, Aug 28, 2015 at 2:48 PM, Stephen Boydwrote: > Remove this driver now that Bjorn has introduced a pinctrl driver > for msm8660 and the dts files have been updated with the pinctrl > compatibles. > > Cc: Bjorn Andersson > Cc: Andy Gross > Signed-off-by: Stephen Boyd Patch rebased and applied, thanks! This concludes the modernization of the MSM GPIO and pin control, awesome! Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 0/5] Support CPR on MSM8916
On Friday, September 18, 2015 05:52:04 PM Stephen Boyd wrote: > This patch series adds support for CPR on MSM8916. The first > patch exposes a corner voting API to the CPR driver so that we can > change the corner for the MX regulator. If possible I would > like to make this patch prettier, but I don't have any great > ideas right now. The next patch adds support to adjust voltages in the OPP > layer, and then hooks that up to cpufreq-dt so that we can adjust > the voltage in response to what CPR tells us to do. I've also thrown > in a patch to make RCU lockdep warnings go away, but I'm not sure if it's > right. There's still work to do. > > The final patch adds the CPR driver. This still has some rough edges. With > the OPPv2 bindings I'm thinking of moving the frequency tables into DT > and adding a custom vendor property to describe which fuse corner to use for > each frequency. > > Once you have these patches in place along with a CPU clock driver you > can eanble enable cpufreq-dt and add the cpufreq-dt device (maybe the > CPR driver should add the cpufreq-dt device?) and you'll see interrupts > for CPR and OPP voltage adjustments triggering CPUfreq to modify voltages. > > Andy Gross (1): > regulator: smd: Add floor and corner operations > > Stephen Boyd (4): > PM / OPP: Support adjusting OPP voltages at runtime > OPP: Allow notifiers to call dev_pm_opp_get_{voltage,freq} RCU-free > cpufreq-dt: Handle OPP voltage adjust events > power: avs: Add support for CPR (Core Power Reduction) >From the responses so far I gather there will be a v3? Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 09/14] ARM: dts: ifc6410: Add missing pinctrl to gsbi7 uart
Hi Srini, On Fri, Sep 18, 2015 at 5:31 AM, Srinivas Kandagatla <srinivas.kandaga...@linaro.org> wrote: > This patch adds missing 2pin uart pinctrl property to gsbi7 uart on > IFC6410. > > Signed-off-by: Srinivas Kandagatla <srinivas.kandaga...@linaro.org> kernelci.org found some new boot failures in -next on 8064[1]. I bisected it down to this patch, which landed in linux next in the form of commit d3a578ed4310 ARM: dts: ifc6410: Add missing pinctrl to gsbi7 uart. Kevin [1] http://kernelci.org/boot/qcom-apq8064-ifc6410/job/next/kernel/next-20150925/defconfig/multi_v7_defconfig/lab/lab-khilman/?_id=5605083c59b51466d26c3250 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [Patch v3 00/10] Add RPM/SMD Support for QCOM platforms
On Thu, Sep 24, 2015 at 02:18:49PM -0500, Andy Gross wrote: > This patch set cleans up the documentation that is currently in place for the > SMD, SMD-RPM, and SMD-RPM regulators. In addition, this patch set adds > support > for the PM8916 found on MSM8916 platforms and the PMA8084 found on APQ8084 > platforms. The regulator patches are fine but depend on the first patch moving the documentation around - I don't know how you want to handle this? signature.asc Description: Digital signature