On 23.12.19 16:13, 'Nikhil Devshatwar' via Jailhouse wrote:
Add the linux demo cell config for j721e-evm board.
Also add the required device tree for booting Linux kernel
in the inmate cell.

This cell config acts as a reference for partitioning
devices across the 2 Linux cells.
This will be updated as support for more devices get added.

Signed-off-by: Lokesh Vutla <[email protected]>
Signed-off-by: Nikhil Devshatwar <[email protected]>
---

Notes:
     Changes from v3:
     * Add gpio, emmc and USB device in the DTS with upstream bindings
     * Describe the irqmap for easy understanding and verification
     * Update power-domains properties

     Changes from v2:
     * Only add the DT entries for devices with stable bindings
     * Organize the DTS to match the bus topology with upstream kernel

     Changes from v1:
     * Split up the peripheral mem_region to match with kernel dts
     * Add GPU, multimedia decoder and display devices

  configs/arm64/dts/inmate-k3-j721e-evm.dts | 433 ++++++++++++++++++++++
  configs/arm64/k3-j721e-evm-linux-demo.c   | 262 +++++++++++++
  2 files changed, 695 insertions(+)
  create mode 100644 configs/arm64/dts/inmate-k3-j721e-evm.dts
  create mode 100644 configs/arm64/k3-j721e-evm-linux-demo.c

diff --git a/configs/arm64/dts/inmate-k3-j721e-evm.dts 
b/configs/arm64/dts/inmate-k3-j721e-evm.dts
new file mode 100644
index 00000000..51470a57
--- /dev/null
+++ b/configs/arm64/dts/inmate-k3-j721e-evm.dts
@@ -0,0 +1,433 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Source for J721E Jailhouse inmate kernel
+ *
+ * Copyright (C) 2016-2019 Texas Instruments Incorporated - http://www.ti.com/
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/pinctrl/k3.h>

This is too recent for "older" kernels, even 4.19. We are building this
unconditional, though, so we need to avoid breaking such builds. I'm
importing the needed defines into this file.

Jan

--
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/fbc3620e-2e7b-ccf5-bfe7-39fd61d0af11%40web.de.

Reply via email to