qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Dmitriy Sharikhin <d.sharikhin@yadro.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: Igor Kononenko <i.kononenko@yadro.com>,
	"Alexander A. Filippov" <a.filippov@yadro.com>,
	Alexander Amelkin <a.amelkin@yadro.com>
Subject: Re: [PATCH v2] hw: gpio: introduce pcf8574 driver
Date: Mon, 11 Mar 2024 09:43:08 +0100	[thread overview]
Message-ID: <2217f2c6-cc91-4f6b-ab5c-644c604c51a9@linaro.org> (raw)
In-Reply-To: <56678f4f0c1e526b7b5a04104171e4feb372e7c2.camel@yadro.com>

On 11/3/24 08:09, 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

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Unfortunately your patch doesn't apply anymore:

Total patches: 1 (cherrypicked: 
<56678f4f0c1e526b7b5a04104171e4feb372e7c2.camel@yadro.com>)
Applying: hw: gpio: introduce pcf8574 driver
Patch failed at 0001 hw: gpio: introduce pcf8574 driver
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
error: patch failed: hw/gpio/Kconfig:16
error: hw/gpio/Kconfig: patch does not apply
error: patch failed: hw/gpio/meson.build:15
error: hw/gpio/meson.build: patch does not apply

Also please don't reply as v3, I almost missed v2, see
https://www.qemu.org/docs/master/devel/submitting-a-patch.html#use-git-format-patch:
"Patches are easier to find if they start a new top-level thread, rather 
than being buried in-reply-to another existing thread."

Regards,

Phil.


      reply	other threads:[~2024-03-11  8:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-01  7:36 [PATCH] hw: gpio: introduce pcf8574 driver Dmitriy Sharikhin
2024-03-08 20:44 ` Philippe Mathieu-Daudé
2024-03-11  7:09   ` [PATCH v2] " Dmitriy Sharikhin
2024-03-11  8:43     ` Philippe Mathieu-Daudé [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2217f2c6-cc91-4f6b-ab5c-644c604c51a9@linaro.org \
    --to=philmd@linaro.org \
    --cc=a.amelkin@yadro.com \
    --cc=a.filippov@yadro.com \
    --cc=d.sharikhin@yadro.com \
    --cc=i.kononenko@yadro.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).