Hao Wu 94e7787939 hw/i2c: Implement NPCM7XX SMBus Module Single Mode
This commit implements the single-byte mode of the SMBus.

Each Nuvoton SoC has 16 System Management Bus (SMBus). These buses
compliant with SMBus and I2C protocol.

This patch implements the single-byte mode of the SMBus. In this mode,
the user sends or receives a byte each time. The SMBus device transmits
it to the underlying i2c device and sends an interrupt back to the QEMU
guest.

Reviewed-by: Doug Evans<dje@google.com>
Reviewed-by: Tyrong Ting<kfting@nuvoton.com>
Signed-off-by: Hao Wu <wuhaotsh@google.com>
Reviewed-by: Corey Minyard <cminyard@mvista.com>
Message-id: 20210210220426.3577804-2-wuhaotsh@google.com
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-02-16 13:49:28 +00:00
..
2021-01-12 21:19:02 +00:00
2020-10-27 11:10:44 +00:00
2020-12-10 17:16:44 +01:00
2021-02-11 11:50:14 +00:00
2020-09-22 21:11:10 +01:00
2021-01-19 10:20:29 +11:00
2021-02-11 11:50:14 +00:00
2021-02-10 15:42:20 +00:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2020-10-12 11:50:51 -04:00
2020-09-09 09:27:09 -04:00
2021-02-11 11:50:14 +00:00
2019-08-16 13:31:52 +02:00
2020-12-15 12:53:13 -05:00
2019-08-16 13:31:52 +02:00
2020-09-09 09:27:09 -04:00
2019-08-16 13:31:52 +02:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2020-09-18 14:12:32 -04:00
2019-06-12 13:20:21 +02:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2021-01-22 14:51:35 +01:00
2020-09-09 09:27:09 -04:00