From mboxrd@z Thu Jan 1 00:00:00 1970 From: timur@codeaurora.org (Timur Tabi) Date: Sun, 15 Oct 2017 16:09:19 -0500 Subject: [PATCH 0/2] [v5] pinctrl: qcom: add support for sparse GPIOs In-Reply-To: <20171015201811.GA13063@mithrandir> References: <1ecdf6ee-5098-15d3-f85e-66b39a6c25f9@codeaurora.org> <619f48d2-59c7-c090-4ace-9e8db9f92064@codeaurora.org> <255ad0dc-2d16-ae7f-0b45-500e23cff1a4@codeaurora.org> <20171003220311.GU457@codeaurora.org> <4f067c09-9ecf-9266-baa0-18575bca94eb@codeaurora.org> <20171015201811.GA13063@mithrandir> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 10/15/17 3:18 PM, Thierry Reding wrote: > This confuses me. Why would you even want to register pins that don't > exist? It sounds to me like you're lying to gpiolib and then try to work > around it trying to access the GPIOs that don't exist but which you told > it were there. > > Why not just tell gpiolib about only the GPIOs that exist? Please look at my patches. That's exactly what they do, but no one else likes that approach. -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.