From: Johan Hovold <johan@kernel.org>
To: Icenowy Zheng <icenowy@aosc.io>
Cc: Johan Hovold <johan@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Karoly Pados <pados@pados.hu>
Subject: USB: serial: cp210x: add GPIO support for CP2104
Date: Mon, 4 Feb 2019 17:27:52 +0100 [thread overview]
Message-ID: <20190204162752.GI4686@localhost> (raw)
On Mon, Jan 28, 2019 at 01:57:17PM +0800, Icenowy Zheng wrote:
> The CP2104 chips feature 4 controllable GPIO pins, which are similar to
> the ones on CP2102N chip (output-only when push-pull, output or
> simulated input mode when open-drain).
>
> Add support for the GPIO pins for cp210x driver. The pin get/set routine
> is shared with CP2102N, but the pinconf initialization code is not
> shared because the acquisition of GPIO configuration in OTP ROM is
> similar to CP2105, not CP2102N.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Thanks for the patch, all nice and clean.
Now applied.
Johan
WARNING: multiple messages have this Message-ID (diff)
From: Johan Hovold <johan@kernel.org>
To: Icenowy Zheng <icenowy@aosc.io>
Cc: Johan Hovold <johan@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Karoly Pados <pados@pados.hu>
Subject: Re: [PATCH] USB: serial: cp210x: add GPIO support for CP2104
Date: Mon, 4 Feb 2019 17:27:52 +0100 [thread overview]
Message-ID: <20190204162752.GI4686@localhost> (raw)
In-Reply-To: <20190128055717.31162-1-icenowy@aosc.io>
On Mon, Jan 28, 2019 at 01:57:17PM +0800, Icenowy Zheng wrote:
> The CP2104 chips feature 4 controllable GPIO pins, which are similar to
> the ones on CP2102N chip (output-only when push-pull, output or
> simulated input mode when open-drain).
>
> Add support for the GPIO pins for cp210x driver. The pin get/set routine
> is shared with CP2102N, but the pinconf initialization code is not
> shared because the acquisition of GPIO configuration in OTP ROM is
> similar to CP2105, not CP2102N.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Thanks for the patch, all nice and clean.
Now applied.
Johan
next reply other threads:[~2019-02-04 16:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-04 16:27 Johan Hovold [this message]
2019-02-04 16:27 ` [PATCH] USB: serial: cp210x: add GPIO support for CP2104 Johan Hovold
-- strict thread matches above, loose matches on Subject: below --
2019-01-28 5:57 Icenowy Zheng
2019-01-28 5:57 ` [PATCH] " Icenowy Zheng
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=20190204162752.GI4686@localhost \
--to=johan@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=icenowy@aosc.io \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=pados@pados.hu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.