From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH 27/32] gpio: Add support for the FXL6408 GPIO expander. Date: Mon, 06 Jun 2016 16:50:31 -0700 Message-ID: <87port98s8.fsf@eliezer.anholt.net> References: <1464817421-8519-1-git-send-email-kraxel@redhat.com> <1464817421-8519-28-git-send-email-kraxel@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: In-Reply-To: <1464817421-8519-28-git-send-email-kraxel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Gerd Hoffmann , linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Florian Fainelli , Ray Jui , Scott Branden , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Linus Walleij , Alexandre Courbot , "open list:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE..." , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" , open list , "open list:GPIO SUBSYSTEM" List-Id: devicetree@vger.kernel.org --=-=-= Content-Type: text/plain Gerd Hoffmann writes: > From: Eric Anholt > > This commit needs to be split up and cleaned up. Also we should add > interrupt support before pushing upstream. > > Signed-off-by: Eric Anholt OK, I've confirmed with the firmware maintainers: We really can't drive this natively from Linux. The firmware is polling one of the fxl6408's pins 10 times a second for detecting under-voltage, so if we also try to drive it we'll end up smashing each others' I2C transactions. We'll need to do a GPIO driver using the GET/SET_GPIO_STATE firmware calls, instead. Unfortunately, we don't have a direction-setting API for that at the moment, but it'll at least let us read the HDMI HPD signal. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXVgxIAAoJELXWKTbR/J7oiOUP/iCUKM2ALetrzGMef5oPyWRw iBh/BAo0aPbYCN1ISB3/uL92QFEIo6HqirK/Xcn4adzUiMO6Vlqa9KLZEtgkATlu VdsZO5pktTv4RUHw0oCMUm1UO7wp/3StbdcwgPl5kHBQIggvD3C4zbuM2BN/xlvR mw+n0Drp3mTJJ0/6hLORBhceCuqg0D8OwB4/cCNCnb/splZDpNxWHNDdJNCxTKzP N9nkeX2cJ2YFBF8vziL880AjSle2ktVFrMPg/EZ/TwwxSwfdm0rKUH1FFn3BbG/K 40c5jx8sKGBRX+bAZNYeAS12o9ChQDqXCka4UVWqal6uhuQoKTZCIuFfrR+eKpSy bR0MG9yh+vOmAZxRehgCi8bhrvm3uYgu9f/VlijdNLxUw/lxN3u+Lw+JoyZo9LDY MZb9QdT3sXAKCVnzfxbyppHX6M6emZDlj6WrYSZQLo+1hQxzcIo1hCSZd2/db8Wb uJV7aes1hnHEBfP8LbxHSqQ5vmEKXTfrqDkjTEqWDbxx1jiIuyMBm80YB1OF/qeZ NlS/B8awjgl6ShSCI160YYaAb4gr1U3aLGiT7HiOHJIcNZW71oxSTmaHbyPo3dQu 6nHPTAdzC7qtTC2JWlvFQ/8i3lnQRgdummUDkREkq/1dSG03ElgWR6dhI3g2S0wb RNfxNK0s0gm/OSbv2g9U =UGRD -----END PGP SIGNATURE----- --=-=-=-- -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html