From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Tue, 21 May 2019 23:27:05 -0500 Subject: [U-Boot] [PATCH 0/8] arm: k3: Allow for exclusive and shared device requests Message-ID: <20190522042713.14102-1-lokeshvutla@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Sysfw provides an option for requesting exclusive access for a device using the flags MSG_FLAG_DEVICE_EXCLUSIVE. If this flag is not used, the device is meant to be shared across hosts. Once a device is requested from a host with this flag set, any request to this device from a different host will be nacked by sysfw. Current tisci firmware and pm drivers always requests for device with exclusive permissions set. But this is not be true for certain devices that are expcted to be shared across different host contexts. So add support for getting the shared or exclusive permissions from DT and request firmware accordingly. Same bindings are acked in kernel: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=103447 Also this series adds support for shutting down cores so that R5 cores can be shutdown right after jumping to ATF. Andreas Dannenberg (2): firmware: ti_sci: Add processor shutdown API method armv7R: K3: am654: Shut down R5 core after ATF startup on A53 Lokesh Vutla (6): firmware: ti_sci: Allow for device shared and exclusive requests power-domain: Add private data to power domain dt-bindings: ti_sci_pm_domains: Add support for exclusive and shared access power: domain: ti_sci_power_domains: Add support for exclusive and shared access armv7R: dts: k3-am654: Update power-domains property for each node cmd: remoteproc: Add support for initializing devices individually arch/arm/dts/k3-am65-wakeup.dtsi | 2 +- arch/arm/dts/k3-am65.dtsi | 1 + arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 2 +- arch/arm/dts/k3-am654-ddr.dtsi | 4 +- arch/arm/dts/k3-am654-r5-base-board.dts | 8 +- arch/arm/mach-k3/am6_init.c | 62 +++++ arch/arm/mach-k3/common.c | 6 +- arch/arm/mach-k3/include/mach/sys_proto.h | 1 + cmd/remoteproc.c | 23 +- .../power/ti,sci-pm-domain.txt | 11 +- drivers/firmware/ti_sci.c | 216 +++++++++++++++++- drivers/firmware/ti_sci.h | 50 ++++ drivers/power/domain/ti-sci-power-domain.c | 31 ++- include/dt-bindings/soc/ti,sci_pm_domain.h | 9 + include/linux/soc/ti/ti_sci_protocol.h | 7 + include/power-domain.h | 15 +- 16 files changed, 411 insertions(+), 37 deletions(-) create mode 100644 include/dt-bindings/soc/ti,sci_pm_domain.h -- 2.17.1