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 ?

