From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755518AbaAVMjT (ORCPT ); Wed, 22 Jan 2014 07:39:19 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:58022 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755128AbaAVMjO (ORCPT ); Wed, 22 Jan 2014 07:39:14 -0500 Date: Wed, 22 Jan 2014 12:38:19 +0000 From: Mark Brown To: Arnd Bergmann Cc: Alexandre Courbot , "linux-arm-kernel@lists.infradead.org" , Linus Walleij , "devicetree@vger.kernel.org" , Heikki Krogerus , netdev , linux-wireless , linux-sunxi , linux-kernel , Maxime Ripard , Chen-Yu Tsai , Johannes Berg , Mika Westerberg , "David S. Miller" , "linux-gpio@vger.kernel.org" Message-ID: <20140122123819.GH17314@sirena.org.uk> Mail-Followup-To: Arnd Bergmann , Alexandre Courbot , "linux-arm-kernel@lists.infradead.org" , Linus Walleij , "devicetree@vger.kernel.org" , Heikki Krogerus , netdev , linux-wireless , linux-sunxi , linux-kernel , Maxime Ripard , Chen-Yu Tsai , Johannes Berg , Mika Westerberg , "David S. Miller" , "linux-gpio@vger.kernel.org" References: <1389941251-32692-1-git-send-email-wens@csie.org> <201401211335.16885.arnd@arndb.de> <201401211950.07011.arnd@arndb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qGF5p/tMraZs2sto" Content-Disposition: inline In-Reply-To: <201401211950.07011.arnd@arndb.de> X-Cookie: We have DIFFERENT amounts of HAIR -- User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 94.175.92.69 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH RFC 4/6] net: rfkill: gpio: add device tree support X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --qGF5p/tMraZs2sto Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 21, 2014 at 07:50:06PM +0100, Arnd Bergmann wrote: > I should have another look at the debugfs representation, but isn't > there a global namespace that gets used for all gpios? Neither the > con_id nor the name that the driver picks would be globally unique > and stable across kernel versions, so they don't make a good user > interface. Currently the globally unique name is the GPIO number but that's not stable since it gets dynamically assigned. =20 > I think what we want here is a system-wide unique identifier for > each gpio line that may get represented in debugfs, and use a new > DT mechanism to communicate that. We've mostly been using things based off dev_name() for stability. --qGF5p/tMraZs2sto Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJS37u4AAoJELSic+t+oim9G+MQAJErIQGqQz6x1HTjAObSjhOE CuL1qSxTNyzHD4QvUc9PJ15IEvqe2TK+1AUgYDEGIkZ2kwwGBZAhYPpA0eIzecrO 9u0ZMNvoq+Nw85NjA6/CZCBTJ+fo3vX9E2STkddxez6SE4O21cyRxLJ03QKIuR/5 CsAP2Y7Z4el7aaSeQc/6Aoc1/0Hc93rMYOCNyCou7tWX5HjC+uA+zXaYLh8XetM+ 2AlnhqMTl03q6F32t7YxeGcnMxWkV2CaPVEuh1F8oMsSCXTzwOFtOE49N395C8ES 5swiFcL1Z/X6BrfJ7GvMPOrkGFSeEetVzUSUoaHSW1KXtsZfGXxEM2eIX2YnYkbw olt+eAuQ0HsjKg6iC9SzKa6ykZtdza8owmXVJAyjW+i5l3y+3KNWIO0K1X64lMZA SJdyoJ77nNtZET6UWF65WvRx8oXK80vdrltWDJ8sHfc0FZ7cPCTeZrZ4QjXcpBMp lmXCXgKdXhmSQin24V+bdZFj1bwYEOjhrtqgIqVsqJLIHNpqyob+7ik2vv1h4Dzw U/yQnVdpbns7WELoAzlslQW3t+FVwbeRyhrIRc8cZY4LTKTjfQHfN5bq4z/qgCuN kA/9NUZpmgpsxAJnEo0iv0b9zE7JEbX/Z38I40E7VurzH65sn9w/kCtGf7G0ffCY 44oDEnRbgyAscMd4tDlQ =Hgls -----END PGP SIGNATURE----- --qGF5p/tMraZs2sto--