rv1126-uboot/include/dm
Joseph Chen 4388deca72 dm: add amp uclass and rockchip amp driver support
- add amp uclass;
- add a simple rockchip amp driver.

An example for amps dts node configure:
amps {
	compatible = "uboot,rockchip-amp";
	status = "okay";

	amp@0 {
		description  = "mcu-os1";
		partition    = "mcu1";
		cpu          = <0x1>; // this is mpidr!
		load         = <0x800000>;
		entry        = <0x800000>;
		memory       = <0x800000 0x400000>;
	};

	amp@1 {
		......
	};

	......
};

U-Boot loads "mcu-os1" firmware to "0x800000" address from partiton
"mcu1" for cpu[1], the cpu[1] entry address is 0x800000. And
U-Boot reserve memory from 0x800000 with 0x400000 size in order
to make it invisible for kernel.

Please use rockchip tool "mkkrnlimg" to pack firmware binary, example:
./scripts/mkkrnlimg mcu-os1.bin mcu-os1.img

Change-Id: I127d5d9f460ec0c1812a76fb4c3702e82f21c9a6
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-04-08 20:53:44 +08:00
..
platform_data serial: stm32x7: migrate serial struct to driver 2017-07-26 11:26:54 -04:00
device-internal.h dm: core: Add a comment about the device_remove() flags 2017-08-17 16:44:16 +09:00
device.h UPSTREAM: dm: define dev_*() log functions in DM header 2018-01-17 15:27:28 +08:00
fdtaddr.h dm: core: Add livetree address functions 2017-06-01 07:03:07 -06:00
lists.h dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
of.h dm: Add more livetree helpers and definitions 2017-06-01 07:03:12 -06:00
of_access.h dm: of_access: add ofnode_read_u64() support 2018-11-28 14:09:47 +08:00
of_addr.h dm: core: Add livetree address functions 2017-06-01 07:03:07 -06:00
of_extra.h dm: core: Add a place to put extra device-tree reading functions 2017-06-01 07:03:07 -06:00
ofnode.h dm: of_access: add ofnode_read_u64() support 2018-11-28 14:09:47 +08:00
pinctrl.h dm: pinctrl: Add a way for a GPIO driver to obtain a pin function 2016-01-21 20:42:35 -07:00
platdata.h UPSTREAM: dm: core: remove orphaned parameter description in platdata.h 2018-01-17 15:27:28 +08:00
read.h core: read: fix some device may not have of node 2018-01-26 08:37:05 +08:00
root.h UPSTREAM: dm: core: add clocks node scan 2018-01-16 18:13:59 +08:00
test.h dm: core: Run tests with both livetree and flat tree 2017-06-01 07:03:10 -06:00
uclass-id.h dm: add amp uclass and rockchip amp driver support 2019-04-08 20:53:44 +08:00
uclass-internal.h dm: core: Add a way to find a device by ofnode 2017-06-01 07:03:08 -06:00
uclass.h UPSTREAM: dm: core: Add a function to look up a uclass by name 2018-02-11 19:58:01 +08:00
util.h UPSTREAM: dm: replace dm_dbg() with pr_debug() 2018-01-17 15:27:28 +08:00