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

Commit aea8d8cb authored by Satya Durga Srinivasu Prabhala's avatar Satya Durga Srinivasu Prabhala
Browse files

soc: qcom: pacman: Implement the Peripheral Access Control Manager (PACMan)



The Peripheral Access Control Manager (PACMan) is responsible for
managing and switching ownership of a peripheral from one
subsystem to another.

Change-Id: If0100999644163fb4b5d70d85667d881ece719ff
Acked-by: default avatarKevin Smith <smithk@qti.qualcomm.com>
Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent a65cf5a3
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
* msm-pacman - The MSM Peripheral Access Control Manager

Required Properties:

 - compatible:	"qcom,msm-pacman"

Aliases:

  An alias is required to properly map the i2c/SPI bus driver to a Qualcomm
  Universal Peripheral (QUP) ID. The alias is of the form 'qup<n>', where
  <n> is an integer specifying the QUP ID.

Example:

	aliases {
		i2c2 = &i2c_2;
		qup2 = &ic2_2;
	};

	qcom,msm-pacman {
		compatible = "qcom,msm-pacman";
	};
+5 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
		i2c2 = &i2c_2;
		i2c5 = &i2c_5;
		spi0 = &spi_0;
		qup2 = &i2c_2;
	};

	cpus {
@@ -1152,6 +1153,10 @@
		compatible = "qcom,msm-ssc-sensors";
	};

	qcom,msm-pacman {
		compatible = "qcom,msm-pacman";
	};

	wcd9xxx_intc: wcd9xxx-irq {
		compatible = "qcom,wcd9xxx-irq";
		interrupt-controller;
+7 −0
Original line number Diff line number Diff line
@@ -539,6 +539,13 @@ config QCOM_EARLY_RANDOM
	  may not be truly random. Select this option to make an early call
	  to get some random data to put in the pool. If unsure, say N.

config MSM_PACMAN
	bool "Enable the Peripheral Access Control Manager (PACMan)"
	help
	  Add support for the Peripheral Access Control Manager (PACMan)
	  This driver allows reconfiguration of the Bus Access Manager
	  Low Speed Peripheral (BLSP) ownership.

source "drivers/soc/qcom/memshare/Kconfig"

endif # ARCH_MSM
+1 −0
Original line number Diff line number Diff line
@@ -75,3 +75,4 @@ obj-$(CONFIG_MSM_SYSTEM_HEALTH_MONITOR) += system_health_monitor_v01.o
obj-$(CONFIG_MSM_SYSTEM_HEALTH_MONITOR) += system_health_monitor.o
obj-$(CONFIG_MSM_RTB) += msm_rtb-hotplug.o
obj-$(CONFIG_QCOM_EARLY_RANDOM)	+= early_random.o
obj-$(CONFIG_MSM_PACMAN)        += msm_pacman.o
Loading