28502669 | 16-Feb-2019 |
Simon Glass <sjg@chromium.org> |
sound: Add uclass operations for beeping
Some audio codecs such as Intel HDA do not need to use digital data to play sounds, but instead have a way to emit beeps. Add this interface as an option. If
sound: Add uclass operations for beeping
Some audio codecs such as Intel HDA do not need to use digital data to play sounds, but instead have a way to emit beeps. Add this interface as an option. If the beep interface is not supported, then the sound uclass falls back to the I2S interface.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
e96fa6c9 | 10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: sound: Create a uclass for i2s
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 thi
dm: sound: Create a uclass for i2s
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: Simon Glass <sjg@chromium.org>
show more ...
|
d66ddafa | 15-Nov-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Add a new 'sb' command
The old 'sb' command was deprecated in 2015 and replaced with 'host'. It is useful to be able to access some internal sandbox state, particularly for testing.
Resurr
sandbox: Add a new 'sb' command
The old 'sb' command was deprecated in 2015 and replaced with 'host'. It is useful to be able to access some internal sandbox state, particularly for testing.
Resurrect the old command and provide a way to print some basic state information (currently just the arguments to sandbox).
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
72ff0042 | 26-Sep-2018 |
Joe Hershberger <joe.hershberger@ni.com> |
test: eth: Add a test for the target being pinged
The target will respond to pings while doing other network handling. Make sure that the response happens and is correct.
This currently corrupts th
test: eth: Add a test for the target being pinged
The target will respond to pings while doing other network handling. Make sure that the response happens and is correct.
This currently corrupts the ongoing operation of the device if it happens to be awaiting an ARP reply of its own to whatever serverip it is attempting to communicate with. In the test, add an expectation that the user operation (ping, in this case) will fail. A later patch will address this problem.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
45988dae | 26-Sep-2018 |
Joe Hershberger <joe.hershberger@ni.com> |
test: eth: Add a test for ARP requests
This tests that ARP requests made to this target's IP address are responded-to by the target when it is doing other networking operations.
This currently corr
test: eth: Add a test for ARP requests
This tests that ARP requests made to this target's IP address are responded-to by the target when it is doing other networking operations.
This currently corrupts the ongoing operation of the device if it happens to be awaiting an ARP reply of its own to whatever serverip it is attempting to communicate with. In the test, add an expectation that the user operation (ping, in this case) will fail. A later patch will address this problem.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
9cbe5972 | 26-Sep-2018 |
Joe Hershberger <joe.hershberger@ni.com> |
net: sandbox: Add a priv ptr for tests to use
Tests need to be able to pass their "unit test state" to the handlers where asserts are evaluated. Add a function that allows the tests to set this priv
net: sandbox: Add a priv ptr for tests to use
Tests need to be able to pass their "unit test state" to the handlers where asserts are evaluated. Add a function that allows the tests to set this private data on the sandbox eth device.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
c67a4207 | 26-Sep-2018 |
Joe Hershberger <joe.hershberger@ni.com> |
net: sandbox: Allow fake eth to handle more than 1 packet response
Use up to the max allocated receive buffers so as to be able to test more complex situations.
Signed-off-by: Joe Hershberger <joe.
net: sandbox: Allow fake eth to handle more than 1 packet response
Use up to the max allocated receive buffers so as to be able to test more complex situations.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
76a50343 | 26-Sep-2018 |
Joe Hershberger <joe.hershberger@ni.com> |
net: sandbox: Share the priv structure with tests
If tests want to implement tx handlers, they will likely need access to the details in the priv structure.
Signed-off-by: Joe Hershberger <joe.hers
net: sandbox: Share the priv structure with tests
If tests want to implement tx handlers, they will likely need access to the details in the priv structure.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
c7eb733d | 26-Sep-2018 |
Joe Hershberger <joe.hershberger@ni.com> |
net: sandbox: Make the fake eth driver response configurable
Make the send handler registerable so tests can check for different things.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Revi
net: sandbox: Make the fake eth driver response configurable
Make the send handler registerable so tests can check for different things.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|