linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stuart Longland <stuartl@longlandclan.id.au>
To: Linus Walleij <linus.walleij@linaro.org>,
	Rick Altherr <raltherr@google.com>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"Jiří Pírko" <jiri@resnulli.us>, "Arnd Bergmann" <arnd@arndb.de>,
	system-sw-low-level@mellanox.com,
	"Greg KH" <gregkh@linuxfoundation.org>,
	"OpenBMC Maillist" <openbmc@lists.ozlabs.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	openocd-devel-owner@lists.sourceforge.net, mec@shout.net,
	"Rob Herring" <robh+dt@kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
	"linux-api@vger.kernel.org" <linux-api@vger.kernel.org>,
	"Tobias Klauser" <tklauser@distanz.ch>,
	"Oleksandr Shamray" <oleksandrs@mellanox.com>
Subject: Re: [patch v6 0/3] JTAG driver introduction
Date: Fri, 25 Aug 2017 18:50:23 +1000	[thread overview]
Message-ID: <593cd0d3-8e06-0992-c155-1322014c0477@longlandclan.id.au> (raw)
In-Reply-To: <CACRpkdbozWaL0RXyZXjzxYK3JHiqYziSkTGSgGORdptX-rwR8A@mail.gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 848 bytes --]

[Note: dropping vadimp@maellanox.com as SMTP server complained about the
DNS server returning NXDOMAIN.  Apologies.]
On 25/08/17 18:32, Linus Walleij wrote:
> Gnah!
> Whoever writes a slot-in replacement making the character device
> take precendence wins lots of karma.

What would such a replacement look like though?

Some sort of system whereby you can read/write single-line commands as
if talking to a GPIO expander over a UART?

Would you access the GPIOs one by one, or would you perhaps map them
into a bitmap (maybe arbitrarily, up to 64-bits wide) and perform masked
operations on the bitmap?

I'm no fan of the sysfs GPIO interface, but it beats poking around at
registers behind the kernel's back.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2017-08-25  8:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 16:10 [patch v6 0/3] JTAG driver introduction Oleksandr Shamray
2017-08-22 16:10 ` [patch v6 2/3] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver Oleksandr Shamray
2017-08-22 16:10 ` [patch v6 3/3] Doccumentation: jtag: Add bindings for " Oleksandr Shamray
2017-08-28  8:36   ` Tobias Klauser
     [not found] ` <1503418256-5215-1-git-send-email-oleksandrs-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2017-08-22 16:10   ` [patch v6 1/3] drivers: jtag: Add JTAG core driver Oleksandr Shamray
2017-08-24 21:07   ` [patch v6 0/3] JTAG driver introduction Linus Walleij
     [not found]     ` <CACRpkdZePXyo8Q36mBH7OnJU3E=yWPWSGkGUOH=zJFMjM=Yrhw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-24 21:37       ` Rick Altherr
2017-08-25  8:32         ` Linus Walleij
2017-08-25  8:50           ` Stuart Longland [this message]
     [not found]             ` <593cd0d3-8e06-0992-c155-1322014c0477-3e+Fe6x+DsgJbe36r25VNhCuuivNXqWP@public.gmane.org>
2017-08-25 16:53               ` Rick Altherr
2017-08-27 22:25               ` Linus Walleij
     [not found]           ` <CACRpkdbozWaL0RXyZXjzxYK3JHiqYziSkTGSgGORdptX-rwR8A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-25 16:52             ` Rick Altherr
     [not found]               ` <CAPLgG=mv1p98e4Vzso1N-VU=1MSotkTmnF+DcDTXPcd3q-n8HA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-27 22:30                 ` Linus Walleij
     [not found]                   ` <CACRpkdb75L5BrYN+V-BMwzrRm8_Wtymr3d08eMWt43FiBpH5Qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-28  2:55                     ` Rick Altherr

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=593cd0d3-8e06-0992-c155-1322014c0477@longlandclan.id.au \
    --to=stuartl@longlandclan.id.au \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jiri@resnulli.us \
    --cc=linus.walleij@linaro.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=mec@shout.net \
    --cc=oleksandrs@mellanox.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=openocd-devel-owner@lists.sourceforge.net \
    --cc=raltherr@google.com \
    --cc=robh+dt@kernel.org \
    --cc=system-sw-low-level@mellanox.com \
    --cc=tklauser@distanz.ch \
    /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).