[PATCH v3 12/35] acpi: Support generation of SPI descriptor
Wolfgang Wallner
wolfgang.wallner at br-automation.com
Tue Jun 16 13:31:31 CEST 2020
Hi Simon,
-----"Simon Glass" <sjg at chromium.org> schrieb: -----
> Betreff: [PATCH v3 12/35] acpi: Support generation of SPI descriptor
>
> Add a function to write a SPI descriptor to the generated ACPI code.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3:
> - Make acpi_device_write_spi() static
> - Add an extra comment about scope to acpi_device_set_spi()
> - Use BIT() in a few places
> - Resist the temptation to go to >80 characters
>
> Changes in v2:
> - Fix memset of SPI descriptor
>
> drivers/spi/sandbox_spi.c | 11 ++++
> include/acpi/acpi_device.h | 36 +++++++++++
> include/spi.h | 4 +-
> lib/acpi/acpi_device.c | 124 +++++++++++++++++++++++++++++++++++++
> test/dm/acpigen.c | 36 +++++++++++
> 5 files changed, 209 insertions(+), 2 deletions(-)
Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
More information about the U-Boot
mailing list