From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [patch v15 4/4] Documentation: jtag: Add ABI documentation Date: Thu, 18 Jan 2018 22:27:21 +0100 Message-ID: <20180118212720.GA17196@amd> References: <1514202808-29747-1-git-send-email-oleksandrs@mellanox.com> <1514202808-29747-5-git-send-email-oleksandrs@mellanox.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Return-path: Content-Disposition: inline In-Reply-To: <1514202808-29747-5-git-send-email-oleksandrs-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Oleksandr Shamray Cc: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, arnd-r2nGTMty4D4@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, openbmc-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org, jiri-rHqAuBHg3fBzbRFIqnYvSA@public.gmane.org, tklauser-93Khv+1bN0NyDzI6CaY1VQ@public.gmane.org, linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, vadimp-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org, system-sw-low-level-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, openocd-devel-owner-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org, mchehab-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org List-Id: devicetree@vger.kernel.org --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2017-12-25 13:53:28, Oleksandr Shamray wrote: > Added document that describe the ABI for JTAG class drivrer >=20 > Signed-off-by: Oleksandr Shamray > Acked-by: Arnd Bergmann > --- > v14->v15 > v13->v14 > v12->v13 > v11->v12 > Tobias Klauser > - rename /Documentation/ABI/testing/jatg-dev -> jtag-dev > - Typo: s/interfase/interface > v10->v11 > v9->v10 > Fixes added by Oleksandr: > - change jtag-cdev to jtag-dev in documentation > - update Kernel Version and Date in jtag-dev documentation; > v8->v9 > v7->v8 > v6->v7 > Comments pointed by Pavel Machek > - Added jtag-cdev documentation to Documentation/ABI/testing folder > --- > Documentation/ABI/testing/jtag-dev | 27 +++++++++++++++++++++++++++ > 1 files changed, 27 insertions(+), 0 deletions(-) > create mode 100644 Documentation/ABI/testing/jtag-dev >=20 > diff --git a/Documentation/ABI/testing/jtag-dev b/Documentation/ABI/testi= ng/jtag-dev > new file mode 100644 > index 0000000..cab867d > --- /dev/null > +++ b/Documentation/ABI/testing/jtag-dev > @@ -0,0 +1,27 @@ > +What: /dev/jtag[0-9]+ > +Date: October 2017 > +KernelVersion: 4.15 > +Contact: oleksandrs-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org > +Description: > + The misc device files /dev/jtag* are the interface > + between JTAG master interface and userspace. > + > + The ioctl(2)-based ABI is defined and documented in > + [include/uapi]. > + > + The following file operations are supported: > + > + open(2) > + The argument flag currently support only one access > + mode O_RDWR. > + > + ioctl(2) > + Initiate various actions. > + See the inline documentation in [include/uapi] > + for descriptions of all ioctls. Sorry, can we have real docs? I tried to decipher it from jtag.h, but its not easy. We should have API docs... --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlphETgACgkQMOfwapXb+vIdlgCgmALuEMnT/Z0QjMoTW0PROYpU cvsAoKjf0/vYF2UTD7vKwoJE1m/4b9Im =AJrt -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--