qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3] hw: gpio: introduce pcf8574 driver


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3] hw: gpio: introduce pcf8574 driver
Date: Tue, 12 Mar 2024 09:16:10 +0100
User-agent: Mozilla Thunderbird

On 11/3/24 10:58, Dmitriy Sharikhin wrote:
NXP PCF8574 and compatible ICs are simple I2C GPIO expanders.
PCF8574 incorporates quasi-bidirectional IO, and simple
communication protocol, when IO read is I2C byte read, and
IO write is I2C byte write. User can think of it as
open-drain port, when line high state is input and line low
state is output.

Signed-off-by: Dmitrii Sharikhin <d.sharikhin@yadro.com>
---
  MAINTAINERS               |   6 ++
  hw/gpio/Kconfig           |   4 +
  hw/gpio/meson.build       |   1 +
  hw/gpio/pcf8574.c         | 162 ++++++++++++++++++++++++++++++++++++++
  include/hw/gpio/pcf8574.h |  15 ++++
  5 files changed, 188 insertions(+)
  create mode 100644 hw/gpio/pcf8574.c
  create mode 100644 include/hw/gpio/pcf8574.h

Patch queued, thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]