| #
1afcdfc6 |
| 09-Sep-2020 |
Etienne Carriere <etienne.carriere@linaro.org> |
UPSTREAM: firmware: add SCMI agent uclass
This change introduces SCMI agent uclass to interact with a firmware using the SCMI protocols [1].
SCMI agent uclass currently supports a single method to
UPSTREAM: firmware: add SCMI agent uclass
This change introduces SCMI agent uclass to interact with a firmware using the SCMI protocols [1].
SCMI agent uclass currently supports a single method to request processing of the SCMI message by an identified server. A SCMI message is made of a byte payload associated to a protocol ID and a message ID, all defined by the SCMI specification [1]. On return from process_msg() method, the caller gets the service response.
SCMI agent uclass defines a post bind generic sequence for all devices. The sequence binds all the SCMI protocols listed in the FDT for that SCMI agent device. Currently none, but later change will introduce protocols.
This change implements a simple sandbox device for the SCMI agent uclass. The sandbox nicely answers SCMI_NOT_SUPPORTED to SCMI messages. To prepare for further test support, the sandbox exposes a architecture function for test application to read the sandbox emulated devices state. Currently supports 2 SCMI agents, identified by an ID in the FDT device name. The simplistic DM test does nothing yet.
SCMI agent uclass is designed for platforms that embed a SCMI server in a firmware hosted somewhere, for example in a companion co-processor or in the secure world of the executing processor. SCMI protocols allow an SCMI agent to discover and access external resources as clock, reset controllers and more. SCMI agent and server communicate following the SCMI specification [1]. This SCMI agent implementation complies with the DT bindings defined in the Linux kernel source tree regarding SCMI agent description since v5.8.
Links: [1] https://developer.arm.com/architectures/system-architectures/software-standards/scmi Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Cc: Simon Glass <sjg@chromium.org> Cc: Peng Fan <peng.fan@nxp.com> Cc: Sudeep Holla <sudeep.holla@arm.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Conflicts: arch/sandbox/dts/test.dts configs/sandbox_defconfig drivers/firmware/Kconfig drivers/firmware/Makefile test/dm/Makefile
(cherry picked from commit 358599efd827b0ee48af864537cc86facc9167c0) Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I251bf48c2bb60af041e71c5904e0eb73f0243439
show more ...
|
| #
342662e9 |
| 31-Jan-2018 |
David Wu <david.wu@rock-chips.com> |
defconfig: rockchip: Clean the unused pinctrl config
If we used the pinctrl-rockchip driver, these config is not needed, so remove them.
Change-Id: I606b706dd7d45a947a9aeb32c0ca61d44cef0651 Signed-
defconfig: rockchip: Clean the unused pinctrl config
If we used the pinctrl-rockchip driver, these config is not needed, so remove them.
Change-Id: I606b706dd7d45a947a9aeb32c0ca61d44cef0651 Signed-off-by: David Wu <david.wu@rock-chips.com>
show more ...
|
| #
115142ea |
| 13-Sep-2017 |
Bin Meng <bmeng.cn@gmail.com> |
UPSTREAM: usb: kbd: Set a default polling mechanism for USB keyboard
The choice of "USB keyboard polling" cannot be optional as without one mechanism being set, it just doesn't work. Set the default
UPSTREAM: usb: kbd: Set a default polling mechanism for USB keyboard
The choice of "USB keyboard polling" cannot be optional as without one mechanism being set, it just doesn't work. Set the default one to CONFIG_SYS_USB_EVENT_POLL.
Fixes: ecad7051 ("configs: Migrate all of the existing USB symbols, except fastboot") Change-Id: I9c54076edba03ca9fc10801f9f4bebb54ffd0ef9 Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 2e5026a2f022f1c5ab5e879684a895ccdca7690c)
show more ...
|
| #
0608812d |
| 04-Sep-2017 |
Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
UPSTREAM: config: sandbox: Add unit tests
Add unit tests for sandbox default config.
Change-Id: Icf7b645fd561eca1f702a42f2b0b72dd1bb38722 Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulk
UPSTREAM: config: sandbox: Add unit tests
Add unit tests for sandbox default config.
Change-Id: Icf7b645fd561eca1f702a42f2b0b72dd1bb38722 Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 1e9c4393fd0bc70b53d8159591043732acfb2bf3)
show more ...
|
| #
135b53be |
| 10-Sep-2017 |
Alison Chaiken <alison@peloton-tech.com> |
UPSTREAM: add pytests for 'gpt rename' and 'gpt swap'
Add unit tests for the 'gpt rename' and 'gpt swap' commands that rely on the block device created by test/py/make_test_disk.py. Add CONFIG_CMD_G
UPSTREAM: add pytests for 'gpt rename' and 'gpt swap'
Add unit tests for the 'gpt rename' and 'gpt swap' commands that rely on the block device created by test/py/make_test_disk.py. Add CONFIG_CMD_GPT_RENAME to the sandbox_defconfig. Remove the testdisk.raw test device at the end of the tests.
Change-Id: I1c5b963a1f84168d4979ad1591f68a5f2a259935 Signed-off-by: Alison Chaiken <alison@peloton-tech.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit c5772188ede914b0e67c2a58ae179039a582afe0)
show more ...
|
| #
48f6232e |
| 25-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Kconfig: Migrate all of cmd/fastboot/Kconfig to defconfigs
- Move ANDROID_IMAGE_SUPPORT to top level Kconfig under images as it's not strictly part of fastboot. - Add some defaults for the fastboo
Kconfig: Migrate all of cmd/fastboot/Kconfig to defconfigs
- Move ANDROID_IMAGE_SUPPORT to top level Kconfig under images as it's not strictly part of fastboot. - Add some defaults for the fastboot buffer location and size - Migrate all options listed in cmd/fastboot/Kconfig - Cleanup the README
Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
dd027dde |
| 22-Aug-2017 |
Bin Meng <bmeng.cn@gmail.com> |
sandbox: Enable NVMe driver for build testing
This enables NVMe driver on sandbox for build testing.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
| #
5dc4dfd2 |
| 28-Aug-2017 |
Tom Rini <trini@konsulko.com> |
configs: Resync with savedefconfig
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini <trini@konsulko.com>
|
| #
88663126 |
| 14-Aug-2017 |
Tom Rini <trini@konsulko.com> |
configs: Resync with savedefconfig
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini <trini@konsulko.com>
|
| #
719d36ee |
| 04-Aug-2017 |
Simon Glass <sjg@chromium.org> |
Convert CONFIG_CMD_SF_TEST to Kconfig
This converts the following to Kconfig: CONFIG_CMD_SF_TEST
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed
Convert CONFIG_CMD_SF_TEST to Kconfig
This converts the following to Kconfig: CONFIG_CMD_SF_TEST
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|
| #
b75dfd2d |
| 04-Aug-2017 |
Simon Glass <sjg@chromium.org> |
Kconfig: Convert CMD_READ to Kconfig
Convert this option and enable it in sandbox. Also correct a bug which was introduced with the block-device driver model conversion.
Signed-off-by: Simon Glass
Kconfig: Convert CMD_READ to Kconfig
Convert this option and enable it in sandbox. Also correct a bug which was introduced with the block-device driver model conversion.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|
| #
6500ec7a |
| 04-Aug-2017 |
Simon Glass <sjg@chromium.org> |
Convert CONFIG_CMD_PCI to Kconfig
This converts the following to Kconfig: CONFIG_CMD_PCI
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Phi
Convert CONFIG_CMD_PCI to Kconfig
This converts the following to Kconfig: CONFIG_CMD_PCI
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|
| #
cb70e6cb |
| 04-Aug-2017 |
Simon Glass <sjg@chromium.org> |
Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig
This converts the following to Kconfig: CONFIG_CMD_MTDPARTS_SPREAD
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gma
Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig
This converts the following to Kconfig: CONFIG_CMD_MTDPARTS_SPREAD
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> [trini: Make this a bool not a string] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
2be29653 |
| 24-Jul-2017 |
Simon Glass <sjg@chromium.org> |
Convert CONFIG_ENV_IS_IN_MMC/NAND/UBI and NOWHERE to Kconfig
This converts the following to Kconfig: CONFIG_ENV_IS_IN_MMC CONFIG_ENV_IS_IN_NAND CONFIG_ENV_IS_IN_UBI CONFIG_ENV_IS_NOWHERE
Convert CONFIG_ENV_IS_IN_MMC/NAND/UBI and NOWHERE to Kconfig
This converts the following to Kconfig: CONFIG_ENV_IS_IN_MMC CONFIG_ENV_IS_IN_NAND CONFIG_ENV_IS_IN_UBI CONFIG_ENV_IS_NOWHERE
In fact this already exists for sunxi as a 'choice' config. However not all the choices are available in Kconfig yet so we cannot use that. It would lead to more than one option being set.
In addition, one purpose of this series is to allow the environment to be stored in more than one place. So the existing choice is converted to a normal config allowing each option to be set independently.
There are not many opportunities for Kconfig updates to reduce the size of this patch. This was tested with
./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC
And then manual updates. This is because for CHAIN_OF_TRUST boards they can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic now.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
8d3a2568 |
| 12-Jul-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
d63b5b4f |
| 16-Jun-2017 |
Simon Glass <sjg@chromium.org> |
sandbox: Enable more console options
Enable the pre-console buffer, displaying the model and post-relocation console announce on sandbox. Also add a model name to the device tree. This allows testin
sandbox: Enable more console options
Enable the pre-console buffer, displaying the model and post-relocation console announce on sandbox. Also add a model name to the device tree. This allows testing of these features.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| #
fb82fe38 |
| 19-Jun-2017 |
Tom Rini <trini@konsulko.com> |
configs: Resync defconfigs
Signed-off-by: Tom Rini <trini@konsulko.com>
|
| #
5a0e275c |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Change CONFIG_BOOTSTAGE_USER_COUNT to an int
There is no good read to make this hex, and integer is more natural for this type of setting. Update it.
Signed-off-by: Simon Glass <sjg@chro
bootstage: Change CONFIG_BOOTSTAGE_USER_COUNT to an int
There is no good read to make this hex, and integer is more natural for this type of setting. Update it.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
46bac66b |
| 19-May-2017 |
Simon Glass <sjg@chromium.org> |
sandbox: Move to use live tree
This updates sandbox to use a live device tree. This means that after relocation (from board_init_r() onwards) it no-longer uses flat device tree.
Signed-off-by: Simo
sandbox: Move to use live tree
This updates sandbox to use a live device tree. This means that after relocation (from board_init_r() onwards) it no-longer uses flat device tree.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
75eb9976 |
| 17-May-2017 |
Simon Glass <sjg@chromium.org> |
Convert CONFIG_CMD_IDE to Kconfig
This converts the following to Kconfig: CONFIG_CMD_IDE
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
51f29370 |
| 17-May-2017 |
Simon Glass <sjg@chromium.org> |
Convert CONFIG_CMD_FUSE to Kconfig
This converts the following to Kconfig: CONFIG_CMD_FUSE
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
ef072200 |
| 17-May-2017 |
Simon Glass <sjg@chromium.org> |
Convert CONFIG_CMD_ETHSW to Kconfig
This converts the following to Kconfig: CONFIG_CMD_ETHSW
Also enable it for sandbox to increase build coverage.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
ffc76589 |
| 17-May-2017 |
Simon Glass <sjg@chromium.org> |
Convert CONFIG_CMD_ENV_FLAGS to Kconfig
This converts the following to Kconfig: CONFIG_CMD_ENV_FLAGS
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
a55d29d2 |
| 17-May-2017 |
Simon Glass <sjg@chromium.org> |
Convert CONFIG_CMD_ENV_CALLBACK to Kconfig
This converts the following to Kconfig: CONFIG_CMD_ENV_CALLBACK
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
1f5541c8 |
| 10-May-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-rockchip
This adds a new firefly-rk3399 board, MIPI support for rk3399 and rk3288, rk818 pmic support, mkimage improvements for rockchip and a few other things.
|