Commit ef9df001 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull remoteproc updates from Bjorn Andersson:
 "This introduces support for controlling the TI PRU, adds hooks for
  remoteproc drivers to override the default ELF based coredump format,
  introduces a library function for coredumps using named sections (aka
  the Qualcomm "minidump" format).

  It also fixes a problem with inconsistent notifications sent by the
  Qualcomm sysmon driver to the remote processors and it migrates the
  Qualcomm MSS driver to use power-domains for resources that aren't
  actually regulators.

  Lastly it contains a number of fixes for minor bugs and build warnings
  throughout the drivers"

* tag 'rproc-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc: (47 commits)
  remoteproc/mediatek: read IPI buffer offset from FW
  remoteproc/mediatek: unprepare clk if scp_before_load fails
  remoteproc: qcom: Fix potential NULL dereference in adsp_init_mmio()
  remoteproc/mediatek: Fix kernel test robot warning
  remoteproc: k3-dsp: Fix return value check in k3_dsp_rproc_of_get_memories()
  remoteproc: qcom: pas: fix error handling in adsp_pds_enable
  remoteproc: qcom: fix reference leak in adsp_start
  remoteproc: q6v5-mss: fix error handling in q6v5_pds_enable
  remoteproc/mtk_scp: surround DT device IDs with CONFIG_OF
  remoteproc: qcom: Add minidump id for sm8150 modem
  remoteproc: qcom: Add capability to collect minidumps
  remoteproc: coredump: Add minidump functionality
  remoteproc: core: Add ops to enable custom coredump functionality
  remoteproc/mediatek: change MT8192 CFG register base
  remoteproc: pru: Add support for various PRU cores on K3 J721E SoCs
  remoteproc: pru: Add support for various PRU cores on K3 AM65x SoCs
  remoteproc: pru: Add pru-specific debugfs support
  remoteproc: pru: Add support for PRU specific interrupt configuration
  remoteproc: pru: Add a PRU remoteproc driver
  dt-bindings: remoteproc: Add binding doc for PRU cores in the PRU-ICSS
  ...
parents 489e9fea 3efa0ea7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ properties:
              - st,stm32mp151-pwr-mcu
              - st,stm32-syscfg
              - st,stm32-power-config
              - st,stm32-tamp
          - const: syscon

  reg:
+6 −6
Original line number Diff line number Diff line
@@ -113,8 +113,8 @@ should be referenced as follows:
For the compatible strings below the following supplies are required:
  "qcom,q6v5-pil"
  "qcom,msm8916-mss-pil",
- cx-supply:
- mx-supply:
- cx-supply: (deprecated, use power domain instead)
- mx-supply: (deprecated, use power domain instead)
- pll-supply:
	Usage: required
	Value type: <phandle>
@@ -123,9 +123,9 @@ For the compatible strings below the following supplies are required:

For the compatible string below the following supplies are required:
  "qcom,msm8974-mss-pil"
- cx-supply:
- cx-supply: (deprecated, use power domain instead)
- mss-supply:
- mx-supply:
- mx-supply: (deprecated, use power domain instead)
- pll-supply:
	Usage: required
	Value type: <phandle>
@@ -149,11 +149,11 @@ For the compatible string below the following supplies are required:
	Usage: required
	Value type: <stringlist>
	Definition: The power-domains needed depend on the compatible string:
	qcom,q6v5-pil:
	qcom,ipq8074-wcss-pil:
		    no power-domain names required
	qcom,q6v5-pil:
	qcom,msm8916-mss-pil:
	qcom,msm8974-mss-pil:
		    no power-domain names required
	qcom,msm8996-mss-pil:
	qcom,msm8998-mss-pil:
		    must be "cx", "mx"
+16 −4
Original line number Diff line number Diff line
@@ -34,14 +34,25 @@ on the Qualcomm WCNSS core.
	Definition: should be "wdog", "fatal", optionally followed by "ready",
		    "handover", "stop-ack"

- vddmx-supply:
- vddcx-supply:
- vddmx-supply: (deprecated for qcom,pronto-v1/2-pil)
- vddcx-supply: (deprecated for qcom,pronto-v1/2-pil)
- vddpx-supply:
	Usage: required
	Value type: <phandle>
	Definition: reference to the regulators to be held on behalf of the
		    booting of the WCNSS core

- power-domains:
	Usage: required (for qcom,pronto-v1/2-pil)
	Value type: <phandle>
	Definition: reference to the power domains to be held on behalf of the
		    booting of the WCNSS core

- power-domain-names:
	Usage: required (for qcom,pronto-v1/2-pil)
	Value type: <stringlist>
	Definition: must be "cx", "mx"

- qcom,smem-states:
	Usage: optional
	Value type: <prop-encoded-array>
@@ -111,8 +122,9 @@ pronto@fb204000 {
			      <&wcnss_smp2p_slave 3 0>;
	interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";

	vddmx-supply = <&pm8841_s1>;
	vddcx-supply = <&pm8841_s2>;
	power-domains = <&rpmpd MSM8974_VDDCX>, <&rpmpd MSM8974_VDDMX>;
	power-domain-names = "cx", "mx";

	vddpx-supply = <&pm8941_s3>;

	qcom,smem-states = <&wcnss_smp2p_out 0>;
+15 −6
Original line number Diff line number Diff line
@@ -38,9 +38,6 @@ properties:
  st,syscfg-tz:
    description:
      Reference to the system configuration which holds the RCC trust zone mode
      - Phandle of syscon block.
      - The offset of the RCC trust zone mode register.
      - The field mask of the RCC trust zone mode.
    $ref: "/schemas/types.yaml#/definitions/phandle-array"
    maxItems: 1

@@ -91,9 +88,19 @@ properties:
    $ref: "/schemas/types.yaml#/definitions/phandle-array"
    description: |
      Reference to the system configuration which holds the remote
        1st cell: phandle to syscon block
        2nd cell: register offset containing the deep sleep setting
        3rd cell: register bitmask for the deep sleep bit
    maxItems: 1

  st,syscfg-m4-state:
    $ref: "/schemas/types.yaml#/definitions/phandle-array"
    description: |
      Reference to the tamp register which exposes the Cortex-M4 state.
    maxItems: 1

  st,syscfg-rsc-tbl:
    $ref: "/schemas/types.yaml#/definitions/phandle-array"
    description: |
      Reference to the tamp register which references the Cortex-M4
      resource table address.
    maxItems: 1

  st,auto-boot:
@@ -122,6 +129,8 @@ examples:
      resets = <&rcc MCU_R>;
      st,syscfg-holdboot = <&rcc 0x10C 0x1>;
      st,syscfg-tz = <&rcc 0x000 0x1>;
      st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
      st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>;
    };

...
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ properties:
    enum:
      - ti,am654-r5fss
      - ti,j721e-r5fss
      - ti,j7200-r5fss

  power-domains:
    description: |
@@ -95,6 +96,7 @@ patternProperties:
        enum:
          - ti,am654-r5f
          - ti,j721e-r5f
          - ti,j7200-r5f

      reg:
        items:
Loading