Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25592fc7 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Merge commit 'fce66d6e' into dev/msm-4.14-display_11Nov"

parents afd3c658 c68d1e79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ to be reset.

Required Properties:
- compatible:	The bus devices need to be compatible with
		"qcom,ext-mdm9x55", qcom,ext-sdx50m.
		"qcom,ext-mdm9x55", qcom,ext-sdx50m, qcom,ext-sdxprairie.

Required named gpio properties:
- qcom,mdm2ap-errfatal-gpio: gpio for the external modem to indicate to the apps processor
+3 −0
Original line number Diff line number Diff line
@@ -175,6 +175,9 @@ compatible = "qcom,qcs403-iot"
compatible = "qcom,sa8155-adp-star"
compatible = "qcom,sa8155p-adp-star"
compatible = "qcom,adp-star"
compatible = "qcom,sa8155-v2-adp-air"
compatible = "qcom,sa8155p-v2-adp-air"
compatible = "qcom,adp-air"
compatible = "qcom,sdxprairie-rumi"
compatible = "qcom,sdxprairie-mtp"
compatible = "qcom,sdxprairie-cdp"
+0 −5
Original line number Diff line number Diff line
@@ -291,11 +291,6 @@ MHI netdev properties
  Value type: <string>
  Definition: Interface name to be given so clients can identify it

- mhi,recycle-buf
  Usage: optional
  Value type: <bool>
  Definition: Set true if interface support recycling buffers.

- aliases
  Usage: required
  Value type: <string>
+2 −1
Original line number Diff line number Diff line
@@ -5,7 +5,8 @@ Required properties :
- compatible: Shall contain "qcom,debugcc-sm8150",
		"qcom,debugcc-qcs405",
		"qcom,debugcc-sm6150",
		"qcom,debugcc-sdmmagpie".
		"qcom,debugcc-sdmmagpie"
		"qcom,debugcc-sdxprairie".
- qcom,gcc: phandle to the GCC device node.
- qcom,videocc: phandle to the Video CC device node.
- qcom,camcc: phandle to the Camera CC device node.
+0 −63
Original line number Diff line number Diff line
QTI PDC interrupt controller

PDC is QTI's platform parent interrupt controller that serves as wakeup source.

Newer QTI SOCs are replacing MPM (MSM sleep Power Manager) with PDC (Power
Domain Controller) to manage subsystem wakeups and resources during sleep.
This driver marks the wakeup interrupts in APSS PDC such that it monitors the
interrupts when the system is asleep, wakes up the APSS when one of these
interrupts occur and replays it to the subsystem interrupt controller after it
becomes operational.

Earlier MPM architecture used arch-extension of GIC interrupt
controller to mark enabled wake-up interrupts and monitor these when the
system goes to sleep. Since the arch-extensions are no-longer available
on newer kernel versions, this driver is implemented as hierarchical irq
domain.  GIC is parent interrupt controller at the highest level.
Platform interrupt controller PDC is next in hierarchy, followed by others.
This driver only configures the interrupts, does not handle them.

PDC interrupt configuration involves programming of 2 set of registers:
IRQ_ENABLE_BANK    - Enable the irq
IRQ_i_CFG          - Configure the interrupt i

Properties:

- compatible:
	Usage: required
	Value type: <string>
	Definition: Should contain "qcom,pdc-<target>"

- reg:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: Specifies the base physical address for PDC hardware
			block for DRV2.

- interrupt-cells:
	Usage: required
	Value type: <u32>
	Definition: Specifies the number of cells needed to encode an interrupt source.
			Value must be 3.
			The encoding of these cells are same as described in
			Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt

- interrupt-parent:
	Usage: required
	Value type: <phandle>
	Definition: Specifies the interrupt parent necessary for hierarchical domain to operate.

- interrupt-controller:
	Usage: required
	Value type: <bool>
	Definition: Identifies the node as an interrupt controller.

Example:

pdcgic: interrupt-controller@0xb220000{
	compatible = "qcom,pdc-sdmmagpie";
	reg = <0xb220000 0x30000>;
	#interrupt-cells = <3>;
	interrupt-parent = <&intc>;
	interrupt-controller;
};
Loading