Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755145AbdHYI4m (ORCPT ); Fri, 25 Aug 2017 04:56:42 -0400 Received: from eth2015.qld.adsl.internode.on.net ([150.101.176.226]:50652 "EHLO atomos.longlandclan.id.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755018AbdHYI4k (ORCPT ); Fri, 25 Aug 2017 04:56:40 -0400 X-Greylist: delayed 362 seconds by postgrey-1.27 at vger.kernel.org; Fri, 25 Aug 2017 04:56:39 EDT Subject: Re: [patch v6 0/3] JTAG driver introduction To: Linus Walleij , Rick Altherr References: <1503418256-5215-1-git-send-email-oleksandrs@mellanox.com> Cc: Oleksandr Shamray , "devicetree@vger.kernel.org" , =?UTF-8?B?SmnFmcOtIFDDrXJrbw==?= , Arnd Bergmann , system-sw-low-level@mellanox.com, Greg KH , OpenBMC Maillist , "linux-kernel@vger.kernel.org" , openocd-devel-owner@lists.sourceforge.net, mec@shout.net, Rob Herring , "linux-serial@vger.kernel.org" , Tobias Klauser , "linux-api@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" From: Stuart Longland Openpgp: id=BCA11879F4F93BE3DB0DEE72F954BBBB7948D546; url=https://stuartl.longlandclan.id.au/key.asc Message-ID: <593cd0d3-8e06-0992-c155-1322014c0477@longlandclan.id.au> Date: Fri, 25 Aug 2017 18:50:23 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="14jdK5JVTNEEBgGWobCjMLbpSGuOqeIbc" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3534 Lines: 81 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --14jdK5JVTNEEBgGWobCjMLbpSGuOqeIbc Content-Type: multipart/mixed; boundary="G4ojsckFeEJJiAK0j3vAe59BPUDr6Q1GF" From: Stuart Longland To: Linus Walleij , Rick Altherr Cc: Oleksandr Shamray , "devicetree@vger.kernel.org" , =?UTF-8?B?SmnFmcOtIFDDrXJrbw==?= , Arnd Bergmann , system-sw-low-level@mellanox.com, Greg KH , OpenBMC Maillist , "linux-kernel@vger.kernel.org" , openocd-devel-owner@lists.sourceforge.net, mec@shout.net, Rob Herring , "linux-serial@vger.kernel.org" , Tobias Klauser , "linux-api@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Message-ID: <593cd0d3-8e06-0992-c155-1322014c0477@longlandclan.id.au> Subject: Re: [patch v6 0/3] JTAG driver introduction References: <1503418256-5215-1-git-send-email-oleksandrs@mellanox.com> In-Reply-To: --G4ojsckFeEJJiAK0j3vAe59BPUDr6Q1GF Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable [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. --=20 Stuart Longland (aka Redhatter, VK4MSL) I haven't lost my mind... ...it's backed up on a tape somewhere. --G4ojsckFeEJJiAK0j3vAe59BPUDr6Q1GF-- --14jdK5JVTNEEBgGWobCjMLbpSGuOqeIbc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJZn+TPAAoJEPlUu7t5SNVG67kP/j8MgSUNySU8dWR/Xm22ACvo kRwGWNLrKlMnWiPxGhZlRTTSrewT6jeuCQLueY2CPMmH0omtLJCNm6ZiG5B/xa9d 8lJ/+D9MmrPAsqdArCRXyiakZlNU20IvyFl8loN+DgRnVzpx1UOjVWGkcwnhei1D /Qo3XF/wcR5gLHkCsC9j7NCN+hsOwwRPlM+NO9lQvYuRb/pAQ9JlWczrR5kC2NK+ Ln3Aqqesbv4tQ28S3pfR+AoQi/qKM2IHJXl4K4kM1C4wW6aajls2jZZ/8r6xWC9u DIVXv6R7WpSUPxeHNlmn9TzJPTCFd1CV7tMkP9ACiS++rZurXQsS/Bu5EwKvbkrV xnox6io+SQD0mn/nXpi7N/6NPUugeLIv47fsi2NKXs+nm97soL+6dliFOLDsR5G9 4JKRUQkhrq0o+0qWWnRdALrEj0FgGbaF5oJDWkDeEp89UIzbzPcVHXQElCcznDXZ YNBwa+5V9XhXiPkilOgI/qQ0iAJaG9bM2HpALQaCrHRbvsD6/0IWHxjw4KRx2S7j k43T1LkrvtIfQb1fFpZVPD19Noybgl7y1CMmi+5bZOHzUwaeUYe/pF4DETBhy6yh sgvc9J/I/ChtfYm8TQeX7+RdrAdhebMrvP6uWDpbNrYEIyScpg9xgn9DcCSCi+sO a8kIjjqlfdI797Zeclxm =GgQT -----END PGP SIGNATURE----- --14jdK5JVTNEEBgGWobCjMLbpSGuOqeIbc--