From: danilokrummrich@dk-develop.de
To: Randy Dunlap <rdunlap@infradead.org>
Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
dmitry.torokhov@gmail.com, linus.walleij@linaro.org
Subject: Re: [PATCH v2] serio: PS2 gpio bit banging driver for the serio bus
Date: Tue, 01 Aug 2017 06:11:56 +0200 [thread overview]
Message-ID: <f717e0d41127a3864c3a4cf27506b5d2@dk-develop.de> (raw)
In-Reply-To: <29d8794c-93ae-c609-8a24-38325a32fddd@infradead.org>
On 2017-08-01 01:34, Randy Dunlap wrote:
> On 07/31/2017 03:35 PM, Danilo Krummrich wrote:
>
>> diff --git a/Documentation/gpio/drivers-on-gpio.txt
>> b/Documentation/gpio/drivers-on-gpio.txt
>> index 3065132..b106e72 100644
>> --- a/Documentation/gpio/drivers-on-gpio.txt
>> +++ b/Documentation/gpio/drivers-on-gpio.txt
>> @@ -84,6 +84,11 @@ hardware descriptions such as device tree or ACPI:
>> NAND flash MTD subsystem and provides chip access and partition
>> parsing like
>> any other NAND driving hardware.
>>
>> +- ps2-gpio: drivers/input/serio/ps2-gpio.c is used to drive an PS2
>> serio bus,
>
> drive a PS2
> Is this PS2 as in IBM Micro Channel or PlayStation 2?
>
It's the PS/2 mouse/keyboard protocol introduced by IBM.
>> + data and clock line, by bit banging two GPIO lines. It will appear
>> as any
>> + other serio bus to the system and makes it possible to connect
>> drivers for
>> + e.g. keyboards and other PS2 protocol based devices.
>> +
>> Apart from this there are special GPIO drivers in subsystems like
>> MMC/SD to
>> read card detect and write protect GPIO lines, and in the TTY serial
>> subsystem
>> to emulate MCTRL (modem control) signals CTS/RTS by using two GPIO
>> lines. The
>> diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig
>> index c3d05b4..abca0e0 100644
>> --- a/drivers/input/serio/Kconfig
>> +++ b/drivers/input/serio/Kconfig
>> @@ -292,6 +292,16 @@ config SERIO_SUN4I_PS2
>> To compile this driver as a module, choose M here: the
>> module will be called sun4i-ps2.
>>
>> +config SERIO_GPIO_PS2
>> + tristate "GPIO PS/2 bit banging driver"
>
> depends on GPIO
> ??
>
Thank you, missed that.
>> + help
>> + Say Y here if you want PS/2 bit banging support via GPIO.
>> +
>> + To compile this driver as a module, choose M here: the
>> + module will be called gpio-ps2.
>> +
>> + If you are unsure, say N.
>> +
>> config USERIO
>> tristate "User space serio port driver support"
>> help
next prev parent reply other threads:[~2017-08-01 4:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-31 22:35 [PATCH v2] serio: PS2 gpio bit banging driver for the serio bus Danilo Krummrich
2017-07-31 23:34 ` Randy Dunlap
2017-08-01 4:11 ` danilokrummrich [this message]
2017-08-01 1:19 ` kbuild test robot
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=f717e0d41127a3864c3a4cf27506b5d2@dk-develop.de \
--to=danilokrummrich@dk-develop.de \
--cc=dmitry.torokhov@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.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).