linux/Documentation/devicetree/bindings
Suzuki K. Poulose 772742a6c7 arm-cci: Get rid of secure transactions for PMU driver
Avoid secure transactions while probing the CCI PMU. The
existing code makes use of the Peripheral ID2 (PID2) register
to determine the revision of the CCI400, which requires a
secure transaction. This puts a limitation on the usage of the
driver on systems running non-secure Linux(e.g, ARM64).

Updated the device-tree binding for cci pmu node to add the explicit
revision number for the compatible field.

The supported strings are :
	arm,cci-400-pmu,r0
	arm,cci-400-pmu,r1
	arm,cci-400-pmu - DEPRECATED. See NOTE below

NOTE: If the revision is not mentioned, we need to probe the cci revision,
which could be fatal on a platform running non-secure. We need a reliable way
to know if we can poke the CCI registers at runtime on ARM32. We depend on
'mcpm_is_available()' when it is available. mcpm_is_available() returns true
only when there is a registered driver for mcpm. Otherwise, we assume that we
don't have secure access, and skips probing the revision number(ARM64 case).

The MCPM should figure out if it is safe to access the CCI. Unfortunately
there isn't a reliable way to indicate the same via dtb. This patch doesn't
address/change the current situation. It only deals with the CCI-PMU, leaving
the assumptions about the secure access as it has been, prior to this patch.

Cc: devicetree@vger.kernel.org
Cc: Punit Agrawal <punit.agrawal@arm.com>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2015-03-27 13:44:35 +00:00
..
arc
arm arm-cci: Get rid of secure transactions for PMU driver 2015-03-27 13:44:35 +00:00
ata DeviceTree changes for 3.20: 2015-02-12 08:58:43 -08:00
bus dt: bindings: update mvebu-mbus DT binding with new compatible properties 2015-01-09 10:54:28 -06:00
c6x Documentation: devicetree: Fix double words in Doumentation/devicetree 2015-01-28 15:13:11 -07:00
clock The clock framework changes for 3.20 contain the usual driver additions, 2015-02-21 12:30:30 -08:00
cpufreq cpufreq: cpu0: rename driver and internals to 'cpufreq_dt' 2014-10-03 15:37:54 +02:00
crypto crypto: sahara - add support for i.MX53 2014-12-03 22:30:18 +08:00
devfreq/event PM / devfreq: event: Add documentation for exynos-ppmu devfreq-event driver 2015-01-30 17:56:42 +09:00
dma Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2015-02-18 08:49:20 -08:00
drm drm/msm/hdmi: rework hdmi configurations, using dt_match[] 2015-02-01 15:32:46 -05:00
extcon
fb
fpga doc: add bindings document for altera fpga manager 2015-01-13 13:58:01 -06:00
fuse Documentation: DT bindings: add more Tegra chip compatible strings 2015-02-03 20:37:31 -06:00
gpio Documentation changes for 3.20 2015-02-11 13:03:11 -08:00
gpu Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2015-02-16 15:48:00 -08:00
hid
hsi
hwmon hwmon: (ltc2978) device tree bindings documentation 2014-11-30 20:13:12 -08:00
hwrng hwrng: atmel - Add TRNG DT binding doc 2014-11-20 22:39:41 +08:00
i2c i2c: imx: add required clocks property to binding 2015-03-07 01:13:00 +01:00
iio Staging drivers patches for 3.20-rc1 2015-02-15 11:30:39 -08:00
input Input: ti_am335x_tsc - read charge delay from DT 2015-02-03 11:50:38 -08:00
interrupt-controller irqchip: Devicetree: document Conexant Digicolor irq binding 2015-01-26 11:38:23 +01:00
iommu ARM: SoC DT updates 2015-02-17 09:36:52 -08:00
leds DT: leds: Add led-sources property 2015-01-29 14:53:07 -08:00
lpddr2
mailbox mailbox: Add Altera mailbox driver 2015-02-06 10:58:27 +05:30
media ARM: SoC DT updates 2015-02-17 09:36:52 -08:00
memory-controllers ARM: shmobile: Add DT bindings for Renesas memory controllers 2015-01-15 08:53:50 +09:00
metag
mfd Changes to existing drivers: 2015-02-18 09:05:48 -08:00
mipi
mips MIPS: OCTEON: irq: add CIB and other fixes 2015-02-20 15:33:40 +01:00
misc ARM: SoC DT updates 2015-02-17 09:36:52 -08:00
mmc The clock framework changes for 3.20 contain the usual driver additions, 2015-02-21 12:30:30 -08:00
mtd MTD updates for 3.20-rc1 2015-02-18 08:01:44 -08:00
net Documentation: dts: Update compatible field description for APM X-Gene 2015-03-04 15:54:14 -05:00
nios2 nios2: Device tree support 2014-12-08 12:56:01 +08:00
nvec
panel drm/panel: simple: Add AVIC TM070DDH03 panel support 2015-01-28 08:45:39 +01:00
pci DeviceTree changes for 3.20: 2015-02-12 08:58:43 -08:00
phy phy: miphy365x: Pass sysconfig register offsets via syscfg dt property. 2015-01-30 18:12:05 +05:30
pinctrl DeviceTree changes for 3.20: 2015-02-12 08:58:43 -08:00
power dt-bindings: document a note about power domain subdomains 2015-02-27 05:26:57 +09:00
power_supply power: reset: imx-snvs-poweroff: add power off driver for i.mx6 2014-11-23 14:57:11 +08:00
powerpc Char / Misc patches for 3.20-rc1 2015-02-15 10:48:44 -08:00
pps
pwm pwm: Changes for v3.20-rc1 2015-02-18 09:00:53 -08:00
regmap
regulator Merge remote-tracking branches 'regulator/topic/max8649', 'regulator/topic/mode', 'regulator/topic/mt6397', 'regulator/topic/pfuze100' and 'regulator/topic/qcom-rpm' into regulator-next 2015-02-08 11:16:27 +08:00
reserved-memory
reset reset: sti: Document sti-picophyreset controllers bindings. 2014-10-31 13:00:38 +01:00
rng
rtc rtc: armada38x: add the device tree binding documentation 2015-02-13 21:21:43 -08:00
security/tpm tpm/tpm_i2c_stm_st33/dts/st33zp24-i2c: Rename st33zp24 dts documentation 2015-01-17 15:04:05 +01:00
serial Documentation: DT: Renamed of-serial.txt to 8250.txt 2015-03-10 10:34:32 -05:00
serio Input: serio - add support for Alwinner A10/A20 PS/2 controller 2015-01-26 23:10:13 -08:00
soc dt/bindings: b/qman: Add phandle to the portals 2015-01-29 22:57:44 -06:00
sound ARM: SoC DT updates 2015-02-17 09:36:52 -08:00
spi DeviceTree changes for 3.20: 2015-02-12 08:58:43 -08:00
spmi
staging/iio/adc First round of IIO new drivers, cleanups and functionality for the 3.20 cycle take 2 2015-01-21 10:13:37 +08:00
thermal Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal 2015-02-19 17:51:22 -08:00
timer Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-02-16 15:26:10 -08:00
ufs ufs: Add freq-table-hz property for UFS device 2014-10-01 13:11:25 +02:00
usb ARM: SoC driver updates 2015-02-17 09:38:59 -08:00
video ARM: SoC DT updates 2015-02-17 09:36:52 -08:00
virtio
w1 w1: omap-hdq: support device probing with device-tree 2014-11-10 15:58:47 -08:00
watchdog dts: Documentation: AT91 Watchdog, explain what atmel,idle-halt property really do 2015-03-04 11:19:46 +01:00
x86
xillybus
ABI.txt
btmrvl.txt Bluetooth: btmrvl: add DT-bindings for gpio-gap 2014-11-19 16:22:42 +01:00
chosen.txt of: Add bindings for chosen node, stdout-path 2014-12-03 23:12:35 +00:00
eeprom.txt
graph.txt Documentation: of: fix typo in graph bindings 2015-01-13 13:55:22 -06:00
marvell.txt
open-pic.txt
resource-names.txt
submitting-patches.txt dt: submitting-patches: clarify that DT maintainers are to be cced on bindings 2015-03-10 10:34:33 -05:00
unittest.txt of: unitest: Add I2C overlay unit tests. 2015-02-04 10:43:14 -06:00
vendor-prefixes.txt serial: add device tree binding documentation for ETRAX FS UART 2015-03-02 08:08:58 -06:00
xilinx.txt