- 16 12月, 2018 1 次提交
-
-
由 Tom Rini 提交于
The "dm" command under CONFIG_CMD_DM should live under cmd/ rather than test/dm/ so move it. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 14 12月, 2018 4 次提交
-
-
由 Simon Glass 提交于
All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The sound driver pulls together the audio codec and i2s drivers in order to actually make sounds. It supports setup() and play() methods. The sound_find_codec_i2s() function allows locating the linked codec and i2s devices. They can be referred to from uclass-private data. Add a uclass and a test for sound. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The i2s bus is commonly used with audio codecs. It provides a way to stream digital data sychronously in both directions. U-Boot only supports audio output, so this uclass is very simple, with a single tx_data() method. Add a uclass and a test for i2s. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
An audio codec provides a way to convert digital data to sound and vice versa. Add a simple uclass which just supports setting the parameters for the codec. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 07 12月, 2018 2 次提交
-
-
由 Grygorii Strashko 提交于
Add a sandbox DMA driver implementation (provider) and corresponding DM test. Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NGrygorii Strashko <grygorii.strashko@ti.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Acked-by: NÁlvaro Fernández Rojas <noltari@gmail.com>
-
由 Benjamin Gaignard 提交于
This is uclass for Hardware Spinlocks. It implements two mandatory operations: lock and unlock and one optional relax operation. Signed-off-by: NBenjamin Gaignard <benjamin.gaignard@linaro.org> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
-
- 15 11月, 2018 1 次提交
-
-
由 Bin Meng 提交于
Now that we have a sandbox virtio transport driver, add some test cases to test virtio uclass driver. Signed-off-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 09 10月, 2018 1 次提交
-
-
由 Simon Glass 提交于
At present this uclass has no tests. Add a simple one which checks the PWM configuration, regulator and GPIO. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 07 10月, 2018 1 次提交
-
-
由 Jens Wiklander 提交于
Tests the TEE uclass with a sandbox tee driver. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NJens Wiklander <jens.wiklander@linaro.org> [trini: initialize session to 0 in dm_test_tee] Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 30 9月, 2018 2 次提交
-
-
由 Rajan Vaja 提交于
Add a test which verifies that all subnodes under "/firmware" nodes are scanned. Signed-off-by: NRajan Vaja <rajan.vaja@xilinx.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Added 'imply FIRMWARE' to sandbox Kconfig to fix test failures, fixed ordering of lines in arch/sandbox/dts/test.dts and test/dm/Makefile, updated #if condition in drivers/firmware/firmware-uclass.c: Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Mario Six 提交于
Add tests for the new board uclass. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
- 29 9月, 2018 1 次提交
-
-
由 Mario Six 提交于
Add sandbox driver and tests for the new OSD uclass. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 18 9月, 2018 1 次提交
-
-
由 Mario Six 提交于
Add a sandbox CPU driver, and some tests for the CPU uclass. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
- 11 9月, 2018 1 次提交
-
-
由 Patrice Chotard 提交于
Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 11 8月, 2018 2 次提交
-
-
由 Mario Six 提交于
Add a set of tests for the misc uclass. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Mario Six 提交于
Add tests for the AXI uclass. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
- 20 7月, 2018 1 次提交
-
-
由 Ramon Fried 提交于
Add basic smem sandbox testing. Signed-off-by: NRamon Fried <ramon.fried@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 08 5月, 2018 1 次提交
-
-
由 Masahiro Yamada 提交于
Test ofnode_device_is_compatible(), and also ofnode_path(). Requested-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 07 5月, 2018 1 次提交
-
-
由 Tom Rini 提交于
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 10 5月, 2017 1 次提交
-
-
由 Jean-Jacques Hiblot 提交于
Those tests check: - the ability for a phy-user to get a phy based on its name or its index - the ability of a phy device (provider) to manage multiple ports - the ability to perform operations on the phy (init,deinit,on,off) - the behavior of the uclass when optional operations are not implemented Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 08 5月, 2017 1 次提交
-
-
由 maxims@google.com 提交于
This is a simple uclass for Watchdog Timers. It has four operations: start, restart, reset, stop. Drivers must implement start, restart and stop operations, while implementing reset is optional: It's default implementation expires watchdog timer in one clock tick. Signed-off-by: NMaxim Sloyko <maxims@google.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 28 4月, 2017 1 次提交
-
-
由 Simon Glass 提交于
Unfortunately a test for the PWM uclass was not included when it was submitted. This was noticed when trying to add more functionality: http://patchwork.ozlabs.org/patch/748172/ Add a simple test to get us started. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 28 7月, 2016 1 次提交
-
-
由 Stephen Warren 提交于
Many SoCs allow power to be applied to or removed from portions of the SoC (power domains). This may be used to save power. This API provides the means to control such power management hardware. Signed-off-by: NStephen Warren <swarren@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 20 6月, 2016 1 次提交
-
-
由 Stephen Warren 提交于
This adds a sandbox reset implementation (provider), a test client device, instantiates them both from Sandbox's DT, and adds a DM test that excercises everything. Signed-off-by: NStephen Warren <swarren@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 27 5月, 2016 2 次提交
-
-
由 Stephen Warren 提交于
This adds a sandbox mailbox implementation (provider), a test client device, instantiates them both from Sandbox's DT, and adds a DM test that excercises everything. Signed-off-by: NStephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> # v1
-
由 Stephen Warren 提交于
The current reset API implements a method to reset the entire system. In the near future, I'd like to introduce code that implements the device tree reset bindings; i.e. the equivalent of the Linux kernel's reset API. This controls resets to individual HW blocks or external chips with reset signals. It doesn't make sense to merge the two APIs into one since they have different semantic purposes. Resolve the naming conflict by renaming the existing reset API to sysreset instead, so the new reset API can be called just reset. Signed-off-by: NStephen Warren <swarren@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 17 5月, 2016 2 次提交
-
-
由 Simon Glass 提交于
Add a simple test which checks that a sandbox-emulated SD card can be used correctly. This tests plumbing through the MMC stack's block-device implementaion. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This driver will require generic MMC and block-device support in a future commit. To avoid test errors, make this change now. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 02 4月, 2016 1 次提交
-
-
由 Mateusz Kulikowski 提交于
This patch adds emulated spmi bus controller with part of pm8916 pmic on it to sandbox and tests validating SPMI uclass. Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 18 3月, 2016 1 次提交
-
-
由 Simon Glass 提交于
Add some tests to check that block devices work as expected. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NStephen Warren <swarren@nvidia.com>
-
- 26 2月, 2016 1 次提交
-
-
由 Simon Glass 提交于
These are working correctly again, so re-enable them. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NJagan Teki <jteki@openedev.com> Tested-by: NJagan Teki <jteki@openedev.com>
-
- 21 1月, 2016 1 次提交
-
-
由 Simon Glass 提交于
Add tests that check that the video console is working correcty. Also check that text output produces the expected result. Test coverage includes character output, wrapping and scrolling. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NAnatolij Gustschin <agust@denx.de>
-
- 08 1月, 2016 1 次提交
-
-
由 Simon Glass 提交于
This subsystem has been broken since commit: 4efad20a sf: Update status reg check in spi_flash_cmd_wait_ready There has so far been no response from the maintainer, and a release is imminent. For now, let's just disable the tests. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 20 11月, 2015 1 次提交
-
-
由 Thomas Chou 提交于
Add a sandbox timer which get time from host os and a basic test. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 02 11月, 2015 1 次提交
-
-
由 Przemyslaw Marczak 提交于
This commit adds unit tests for ADC uclass's methods using sandbox ADC. Testing proper ADC binding: - dm_test_adc_bind() - device binding - dm_test_adc_wrong_channel_selection() - checking wrong channel selection Testing ADC supply operations: - dm_test_adc_supply(): - Vdd/Vss values validating - Vdd regulator updated value validating - Vdd regulator's auto enable state validating Testing ADC operations results: - dm_test_adc_single_channel_conversion() - single channel start/data - dm_test_adc_single_channel_shot() - single channel shot - dm_test_adc_multi_channel_conversion() - multi channel start/data - dm_test_adc_multi_channel_shot() - multi channel single shot Signed-off-by: NPrzemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 23 10月, 2015 1 次提交
-
-
由 Nishanth Menon 提交于
Use the sandbox environment for the basic tests. Reviewed-by: NSimon Glass <sjg@chromium.org> Tested-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NNishanth Menon <nm@ti.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 22 7月, 2015 3 次提交
-
-
由 Simon Glass 提交于
We use syscon to test that the regmap functions work as expected. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Add a test to confirm that we can access system controllers and find their driver data. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Add a test to confirm that we can adjust LEDs using the led_gpio driver. Signed-off-by: NSimon Glass <sjg@chromium.org>
-