qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/14] mps2: Add few more peripherals
@ 2020-06-17  7:25 Philippe Mathieu-Daudé
  2020-06-17  7:25 ` [PATCH v3 01/14] hw/watchdog/cmsdk-apb-watchdog: Add trace event for lock status Philippe Mathieu-Daudé
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-06-17  7:25 UTC (permalink / raw)
  To: qemu-devel
  Cc: Esteban Bosse, Joaquin de Andres, qemu-arm,
	Philippe Mathieu-Daudé, Peter Maydell

Few patches while playing with Zephyr on the MPS2:

- clean 'versatile_i2c' a bit,
- describe it as 'ARM SBCon two-wire serial bus interface'
  which is common on the ARM documentation,
- add watchdog
- added fpgaio with correct prescale clk
- added i2c and spi
- added gpio/i2s as unimp
- dropped the fpgaio push-button patch

Since v2:
- added missing Kconfig select
Since v1:
- addressed Peter review comments

Zephyr ressources used:
https://docs.zephyrproject.org/latest/boards/arm/mps2_an385/doc/index.html

$ git backport-diff -u v2
Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch
[down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/14:[----] [--] 'hw/watchdog/cmsdk-apb-watchdog: Add trace event for lock status'
002/14:[----] [--] 'hw/i2c/versatile_i2c: Add definitions for register addresses'
003/14:[----] [--] 'hw/i2c/versatile_i2c: Add SCL/SDA definitions'
004/14:[----] [--] 'hw/i2c: Add header for ARM SBCon two-wire serial bus interface'
005/14:[----] [--] 'hw/arm: Use TYPE_VERSATILE_I2C instead of hardcoded string'
006/14:[----] [--] 'hw/arm/mps2: Document CMSDK/FPGA APB subsystem sections'
007/14:[----] [--] 'hw/arm/mps2: Rename CMSDK AHB peripheral region'
008/14:[----] [--] 'hw/arm/mps2: Add CMSDK APB watchdog device'
009/14:[----] [--] 'hw/arm/mps2: Add CMSDK AHB GPIO peripherals as unimplemented devices'
010/14:[----] [--] 'hw/arm/mps2: Map the FPGA I/O block'
011/14:[0006] [FC] 'hw/arm/mps2: Add SPI devices'
012/14:[0001] [FC] 'hw/arm/mps2: Add I2C devices'
013/14:[----] [--] 'hw/arm/mps2: Add audio I2S interface as unimplemented device'
014/14:[----] [--] 'hw/arm/mps2-tz: Use the ARM SBCon two-wire serial bus interface'

Based-on: <20200617043757.1623337-1-richard.henderson@linaro.org>
fpu/softfloat: Silence 'bitwise negation of boolean expression' warning

Philippe Mathieu-Daudé (14):
  hw/watchdog/cmsdk-apb-watchdog: Add trace event for lock status
  hw/i2c/versatile_i2c: Add definitions for register addresses
  hw/i2c/versatile_i2c: Add SCL/SDA definitions
  hw/i2c: Add header for ARM SBCon two-wire serial bus interface
  hw/arm: Use TYPE_VERSATILE_I2C instead of hardcoded string
  hw/arm/mps2: Document CMSDK/FPGA APB subsystem sections
  hw/arm/mps2: Rename CMSDK AHB peripheral region
  hw/arm/mps2: Add CMSDK APB watchdog device
  hw/arm/mps2: Add CMSDK AHB GPIO peripherals as unimplemented devices
  hw/arm/mps2: Map the FPGA I/O block
  hw/arm/mps2: Add SPI devices
  hw/arm/mps2: Add I2C devices
  hw/arm/mps2: Add audio I2S interface as unimplemented device
  hw/arm/mps2-tz: Use the ARM SBCon two-wire serial bus interface

 include/hw/i2c/arm_sbcon_i2c.h   | 35 +++++++++++++++++
 hw/arm/mps2-tz.c                 | 23 ++++++++---
 hw/arm/mps2.c                    | 65 ++++++++++++++++++++++++++++++--
 hw/arm/realview.c                |  3 +-
 hw/arm/versatilepb.c             |  3 +-
 hw/arm/vexpress.c                |  3 +-
 hw/i2c/versatile_i2c.c           | 38 ++++++++++---------
 hw/watchdog/cmsdk-apb-watchdog.c |  1 +
 MAINTAINERS                      |  1 +
 hw/arm/Kconfig                   |  8 ++--
 hw/watchdog/trace-events         |  1 +
 11 files changed, 148 insertions(+), 33 deletions(-)
 create mode 100644 include/hw/i2c/arm_sbcon_i2c.h

-- 
2.21.3



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-06-23  7:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-17  7:25 [PATCH v3 00/14] mps2: Add few more peripherals Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 01/14] hw/watchdog/cmsdk-apb-watchdog: Add trace event for lock status Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 02/14] hw/i2c/versatile_i2c: Add definitions for register addresses Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 03/14] hw/i2c/versatile_i2c: Add SCL/SDA definitions Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 04/14] hw/i2c: Add header for ARM SBCon two-wire serial bus interface Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 05/14] hw/arm: Use TYPE_VERSATILE_I2C instead of hardcoded string Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 06/14] hw/arm/mps2: Document CMSDK/FPGA APB subsystem sections Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 07/14] hw/arm/mps2: Rename CMSDK AHB peripheral region Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 08/14] hw/arm/mps2: Add CMSDK APB watchdog device Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 09/14] hw/arm/mps2: Add CMSDK AHB GPIO peripherals as unimplemented devices Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 10/14] hw/arm/mps2: Map the FPGA I/O block Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 11/14] hw/arm/mps2: Add SPI devices Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 12/14] hw/arm/mps2: Add I2C devices Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 13/14] hw/arm/mps2: Add audio I2S interface as unimplemented device Philippe Mathieu-Daudé
2020-06-17  7:25 ` [PATCH v3 14/14] hw/arm/mps2-tz: Use the ARM SBCon two-wire serial bus interface Philippe Mathieu-Daudé
2020-06-17  8:17 ` [PATCH v3 00/14] mps2: Add few more peripherals no-reply
2020-06-22 17:08 ` Peter Maydell
2020-06-23  7:02   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).