From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753114AbcFFXui (ORCPT ); Mon, 6 Jun 2016 19:50:38 -0400 Received: from anholt.net ([50.246.234.109]:48530 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752457AbcFFXuf (ORCPT ); Mon, 6 Jun 2016 19:50:35 -0400 From: Eric Anholt To: Gerd Hoffmann , linux-rpi-kernel@lists.infradead.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" Subject: Re: [PATCH 27/32] gpio: Add support for the FXL6408 GPIO expander. In-Reply-To: <1464817421-8519-28-git-send-email-kraxel@redhat.com> References: <1464817421-8519-1-git-send-email-kraxel@redhat.com> <1464817421-8519-28-git-send-email-kraxel@redhat.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Mon, 06 Jun 2016 16:50:31 -0700 Message-ID: <87port98s8.fsf@eliezer.anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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----- --=-=-=--