a1b17e4f | 10-Dec-2018 |
Simon Glass <sjg@chromium.org> |
dm: core: Add a function to read into a unsigned int
The current dev_read...() functions use s32 and u32 which are convenient for device tree but not so useful for normal code, which often wants to
dm: core: Add a function to read into a unsigned int
The current dev_read...() functions use s32 and u32 which are convenient for device tree but not so useful for normal code, which often wants to use normal integers for values.
Add a helper which supports returning an unsigned int. Also add signed versions of the unsigned readers.
Signed-off-by: Simon Glass <sjg@chromium.org>
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 ...
|
82744c20 | 04-Oct-2018 |
Mario Six <mario.six@gdsys.cc> |
test: regmap: Increase size of syscon0 memory
The upcoming changes to the regmap interface will contain a proper check for plausibility when reading/writing from/to a register map. To still have the
test: regmap: Increase size of syscon0 memory
The upcoming changes to the regmap interface will contain a proper check for plausibility when reading/writing from/to a register map. To still have the current tests pass, increase the size of the memory region for the syscon0 device, since one of the tests reads and writes beyond this range.
Reviewed-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
show more ...
|