From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 18 Jun 2020 23:00:39 +0200 Subject: GPIO request failures for Renesas rcar-gen3 In-Reply-To: References: Message-ID: <6c86fb41-bb62-cf4e-1339-4e20d806e22b@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 6/18/20 10:33 PM, Adam Ford wrote: > I am trying to port U-Boot to a new product based on a Renesas RZ/G2M > (rcar-gen3). We're have this working with Renesas' version from > 2018.09, but I am trying to integrate it with U-Boot 2020.07-rc4 > > What's happening is that it seems like all GPIO are failing to be > requested, so things like regulator-gpio fail, reset-gpios, etc. all > return errors. > > The dm tree and gpio status commands all appear to show gpio banks are > enumerating, but since nothing can use the GPIO's it seems like the > common thread is the gpio driver for the rcar3. > > I was hoping someone might have some thoughts of things I could try or > investigate. In order to properly set the voltage for the MMC card, I > need "regulator-gpio" to operate correctly. Note that RZ/G2M is not supported by mainline U-Boot. Also note that the GPIO driver and PFC drivers are working together, grep for sh_pfc_config_mux_for_gpio(), so unless both work and probed, the GPIO driver will likely not work. Can you provide 'dm tree' output ?