All of lore.kernel.org
 help / color / mirror / Atom feed
* GPIO request failures for Renesas rcar-gen3
@ 2020-06-18 20:33 Adam Ford
  2020-06-18 21:00 ` Marek Vasut
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Ford @ 2020-06-18 20:33 UTC (permalink / raw)
  To: u-boot

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.

The gpio regulator node looks like:

vccq_sdhi0: regulator-vccq-sdhi0 {
     compatible = "regulator-gpio";

     regulator-name = "SDHI0 VccQ";
     regulator-min-microvolt = <1800000>;
     regulator-max-microvolt = <3300000>;

     gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
     gpios-states = <1>;
     states = <3300000 1>, <1800000 0>;
     regulator-always-on;
};

Log Below with some debugging turned on.

U-Boot 2020.07-rc4-00060-g9cb895203a-dirty (Jun 18 2020 - 15:27:00 -0500)

CPU: Renesas Electronics R8A7796 rev 2.1
Model: Beacon Embedded Works RZ/G2M Development Kit
DRAM:  3.9 GiB
Bank #0: 0x048000000 - 0x0bfffffff, 1.9 GiB
Bank #1: 0x600000000 - 0x67fffffff, 2 GiB

MMC:   gpio_request_tail: dm_gpio_requestf failed
gpio_request_tail: Node 'regulator-vccq-sdhi0', property 'gpios',
failed to request GPIO index 0: -19
regulator gpio - not found! Error: -19gpio_request_tail: Node
'regulator-vccq-sdhi0', property 'enable-gpios', failed to request
GPIO index 0: -2
gpio at e6055400: set_value: error: gpio gpio at e605540030 not reserved
Can't set regulator-gpio : regulator-vccq-sdhi0 gpio to: 1
gpio_request_tail: Node 'regulator0', property 'gpio', failed to
request GPIO index 0: -2
sd at ee100000: 0, sd at ee160000: 1
Loading Environment from MMC... gpio_request_tail: Node 'regulator1',
property 'gpio', failed to request GPIO index 0: -2
OK
In:    serial at e6e88000
Out:   serial at e6e88000
Err:   serial at e6e88000
Net:   gpio_request_tail: dm_gpio_requestf failed
gpio_request_tail: Node 'ethernet-phy at 0', property 'reset-gpios',
failed to request GPIO index 0: -19
gpio at e6052000: set_value: error: gpio gpio at e605200010 not reserved
gpio at e6052000: set_value: error: gpio gpio at e605200010 not reserved

Error: ethernet at e6800000 address not set.
No ethernet found.

Hit any key to stop autoboot:  0
=>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* GPIO request failures for Renesas rcar-gen3
  2020-06-18 20:33 GPIO request failures for Renesas rcar-gen3 Adam Ford
@ 2020-06-18 21:00 ` Marek Vasut
  2020-06-18 21:20   ` Adam Ford
  0 siblings, 1 reply; 7+ messages in thread
From: Marek Vasut @ 2020-06-18 21:00 UTC (permalink / raw)
  To: u-boot

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 ?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* GPIO request failures for Renesas rcar-gen3
  2020-06-18 21:00 ` Marek Vasut
@ 2020-06-18 21:20   ` Adam Ford
  2020-06-18 21:29     ` Adam Ford
  2020-06-18 21:33     ` Marek Vasut
  0 siblings, 2 replies; 7+ messages in thread
From: Adam Ford @ 2020-06-18 21:20 UTC (permalink / raw)
  To: u-boot

On Thu, Jun 18, 2020 at 4:00 PM Marek Vasut <marek.vasut@gmail.com> wrote:
>
> 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.

I just sent a series [1] for review for porting the PFC, clock drivers
and MMC over.

[1] - https://patchwork.ozlabs.org/project/uboot/patch/20200618211444.391556-2-aford173 at gmail.com/

It looks to me like the gpio driver looks for "rcar-gen3-gpio" which
is included in the SoC's DTSI file. I looked in Renesas' upstream
repo, but I didn't find anything unique in the gpio driver, but maybe
there is something in the gpio driver I missed.

>
> Can you provide 'dm tree' output ?

=> dm tree
 Class     Index  Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 clk           0  [   ]   fixed_rate_clock      |-- audio_clk_a
 clk           1  [   ]   fixed_rate_clock      |-- audio_clk_b
 clk           2  [   ]   fixed_rate_clock      |-- audio_clk_c
 clk           3  [   ]   fixed_rate_clock      |-- can
 clk           4  [ + ]   fixed_rate_clock      |-- extal
 clk           5  [ + ]   fixed_rate_clock      |-- extalr
 clk           6  [   ]   fixed_rate_clock      |-- pcie_bus
 firmware      0  [   ]   psci                  |-- psci
 clk           7  [   ]   fixed_rate_clock      |-- scif
 simple_bus    0  [ + ]   generic_simple_bus    |-- soc
 gpio          0  [   ]   rcar-gpio             |   |-- gpio at e6050000
 gpio          1  [   ]   rcar-gpio             |   |-- gpio at e6051000
 gpio          2  [ + ]   rcar-gpio             |   |-- gpio at e6052000
 gpio          3  [   ]   rcar-gpio             |   |-- gpio at e6053000
 gpio          4  [   ]   rcar-gpio             |   |-- gpio at e6054000
 gpio          5  [   ]   rcar-gpio             |   |-- gpio at e6055000
 gpio          6  [ + ]   rcar-gpio             |   |-- gpio at e6055400
 gpio          7  [   ]   rcar-gpio             |   |-- gpio at e6055800
 clk           8  [ + ]   clk_r8a774a1          |   |--
clock-controller at e6150000
 i2c           0  [   ]   i2c_rcar              |   |-- i2c at e6500000
 i2c           1  [   ]   i2c_rcar              |   |-- i2c at e6510000
 i2c           2  [   ]   i2c_rcar              |   |-- i2c at e66d8000
 i2c           3  [   ]   i2c_rcar              |   |-- i2c at e66e0000
 eth           0  [   ]   ravb                  |   |-- ethernet at e6800000
 serial        0  [   ]   serial_sh             |   |-- serial at e6e60000
 serial        1  [ + ]   serial_sh             |   |-- serial at e6e88000
 serial        2  [   ]   serial_sh             |   |-- serial at e6f30000
 usb           0  [   ]   ehci_generic          |   |-- usb at ee080100
 usb           1  [   ]   ehci_generic          |   |-- usb at ee0a0100
 phy           0  [   ]   rcar-gen3-phy         |   |-- usb-phy at ee080200
 phy           1  [   ]   rcar-gen3-phy         |   |-- usb-phy at ee0a0200
 mmc           0  [ + ]   renesas-sdhi          |   |-- sd at ee100000
 blk           0  [   ]   mmc_blk               |   |   `-- sd at ee100000.blk
 mmc           1  [ + ]   renesas-sdhi          |   |-- sd at ee160000
 blk           1  [ + ]   mmc_blk               |   |   `-- sd at ee160000.blk
 pci           0  [   ]   rcar_gen3_pcie        |   |-- pcie at fe000000
 pci           1  [   ]   rcar_gen3_pcie        |   `-- pcie at ee800000
 clk           9  [   ]   fixed_rate_clock      |-- usb3s0
 clk          10  [   ]   fixed_rate_clock      |-- usb_extal
 clk          11  [   ]   fixed_rate_clock      |-- osc_32k
 regulator     0  [ + ]   fixed regulator       |-- regulator0
 regulator     1  [ + ]   fixed regulator       |-- regulator1
 regulator     2  [   ]   fixed regulator       |-- regulator_audio
 regulator     3  [   ]   fixed regulator       |-- regulator-lcd
 regulator     4  [   ]   fixed regulator       |-- regulator-lcd-reset
 regulator     5  [   ]   fixed regulator       |-- regulator_camera
 regulator     6  [ + ]   gpio regulator        |-- regulator-vccq-sdhi0
 clk          12  [   ]   fixed_rate_clock      |-- x302-clock
 clk          13  [   ]   fixed_rate_clock      `-- x304-clock
=>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* GPIO request failures for Renesas rcar-gen3
  2020-06-18 21:20   ` Adam Ford
@ 2020-06-18 21:29     ` Adam Ford
  2020-06-18 21:33     ` Marek Vasut
  1 sibling, 0 replies; 7+ messages in thread
From: Adam Ford @ 2020-06-18 21:29 UTC (permalink / raw)
  To: u-boot

On Thu, Jun 18, 2020 at 4:20 PM Adam Ford <aford173@gmail.com> wrote:
>
> On Thu, Jun 18, 2020 at 4:00 PM Marek Vasut <marek.vasut@gmail.com> wrote:
> >
> > 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.
>
> I just sent a series [1] for review for porting the PFC, clock drivers
> and MMC over.
>
> [1] - https://patchwork.ozlabs.org/project/uboot/patch/20200618211444.391556-2-aford173 at gmail.com/
>

I already submitted the board device tree stuff to the Linux community
and I am waiting for feedback to finalize it before attempting to post
here.  If it's helpful, I can post the rest of my series with the
board device tree and board files instead of waiting.


> It looks to me like the gpio driver looks for "rcar-gen3-gpio" which
> is included in the SoC's DTSI file. I looked in Renesas' upstream
> repo, but I didn't find anything unique in the gpio driver, but maybe
> there is something in the gpio driver I missed.
>
> >
> > Can you provide 'dm tree' output ?
>
> => dm tree
>  Class     Index  Probed  Driver                Name
> -----------------------------------------------------------
>  root          0  [ + ]   root_driver           root_driver
>  clk           0  [   ]   fixed_rate_clock      |-- audio_clk_a
>  clk           1  [   ]   fixed_rate_clock      |-- audio_clk_b
>  clk           2  [   ]   fixed_rate_clock      |-- audio_clk_c
>  clk           3  [   ]   fixed_rate_clock      |-- can
>  clk           4  [ + ]   fixed_rate_clock      |-- extal
>  clk           5  [ + ]   fixed_rate_clock      |-- extalr
>  clk           6  [   ]   fixed_rate_clock      |-- pcie_bus
>  firmware      0  [   ]   psci                  |-- psci
>  clk           7  [   ]   fixed_rate_clock      |-- scif
>  simple_bus    0  [ + ]   generic_simple_bus    |-- soc
>  gpio          0  [   ]   rcar-gpio             |   |-- gpio at e6050000
>  gpio          1  [   ]   rcar-gpio             |   |-- gpio at e6051000
>  gpio          2  [ + ]   rcar-gpio             |   |-- gpio at e6052000
>  gpio          3  [   ]   rcar-gpio             |   |-- gpio at e6053000
>  gpio          4  [   ]   rcar-gpio             |   |-- gpio at e6054000
>  gpio          5  [   ]   rcar-gpio             |   |-- gpio at e6055000
>  gpio          6  [ + ]   rcar-gpio             |   |-- gpio at e6055400
>  gpio          7  [   ]   rcar-gpio             |   |-- gpio at e6055800
>  clk           8  [ + ]   clk_r8a774a1          |   |--
> clock-controller at e6150000
>  i2c           0  [   ]   i2c_rcar              |   |-- i2c at e6500000
>  i2c           1  [   ]   i2c_rcar              |   |-- i2c at e6510000
>  i2c           2  [   ]   i2c_rcar              |   |-- i2c at e66d8000
>  i2c           3  [   ]   i2c_rcar              |   |-- i2c at e66e0000
>  eth           0  [   ]   ravb                  |   |-- ethernet at e6800000
>  serial        0  [   ]   serial_sh             |   |-- serial at e6e60000
>  serial        1  [ + ]   serial_sh             |   |-- serial at e6e88000
>  serial        2  [   ]   serial_sh             |   |-- serial at e6f30000
>  usb           0  [   ]   ehci_generic          |   |-- usb at ee080100
>  usb           1  [   ]   ehci_generic          |   |-- usb at ee0a0100
>  phy           0  [   ]   rcar-gen3-phy         |   |-- usb-phy at ee080200
>  phy           1  [   ]   rcar-gen3-phy         |   |-- usb-phy at ee0a0200
>  mmc           0  [ + ]   renesas-sdhi          |   |-- sd at ee100000
>  blk           0  [   ]   mmc_blk               |   |   `-- sd at ee100000.blk
>  mmc           1  [ + ]   renesas-sdhi          |   |-- sd at ee160000
>  blk           1  [ + ]   mmc_blk               |   |   `-- sd at ee160000.blk
>  pci           0  [   ]   rcar_gen3_pcie        |   |-- pcie at fe000000
>  pci           1  [   ]   rcar_gen3_pcie        |   `-- pcie at ee800000
>  clk           9  [   ]   fixed_rate_clock      |-- usb3s0
>  clk          10  [   ]   fixed_rate_clock      |-- usb_extal
>  clk          11  [   ]   fixed_rate_clock      |-- osc_32k
>  regulator     0  [ + ]   fixed regulator       |-- regulator0
>  regulator     1  [ + ]   fixed regulator       |-- regulator1
>  regulator     2  [   ]   fixed regulator       |-- regulator_audio
>  regulator     3  [   ]   fixed regulator       |-- regulator-lcd
>  regulator     4  [   ]   fixed regulator       |-- regulator-lcd-reset
>  regulator     5  [   ]   fixed regulator       |-- regulator_camera
>  regulator     6  [ + ]   gpio regulator        |-- regulator-vccq-sdhi0
>  clk          12  [   ]   fixed_rate_clock      |-- x302-clock
>  clk          13  [   ]   fixed_rate_clock      `-- x304-clock
> =>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* GPIO request failures for Renesas rcar-gen3
  2020-06-18 21:20   ` Adam Ford
  2020-06-18 21:29     ` Adam Ford
@ 2020-06-18 21:33     ` Marek Vasut
  2020-06-18 21:46       ` Adam Ford
  1 sibling, 1 reply; 7+ messages in thread
From: Marek Vasut @ 2020-06-18 21:33 UTC (permalink / raw)
  To: u-boot

On 6/18/20 11:20 PM, Adam Ford wrote:

Hi,

[...]

>> Can you provide 'dm tree' output ?
> 
> => dm tree
>  Class     Index  Probed  Driver                Name
> -----------------------------------------------------------
>  root          0  [ + ]   root_driver           root_driver
>  clk           0  [   ]   fixed_rate_clock      |-- audio_clk_a
>  clk           1  [   ]   fixed_rate_clock      |-- audio_clk_b
>  clk           2  [   ]   fixed_rate_clock      |-- audio_clk_c
>  clk           3  [   ]   fixed_rate_clock      |-- can
>  clk           4  [ + ]   fixed_rate_clock      |-- extal
>  clk           5  [ + ]   fixed_rate_clock      |-- extalr
>  clk           6  [   ]   fixed_rate_clock      |-- pcie_bus
>  firmware      0  [   ]   psci                  |-- psci
>  clk           7  [   ]   fixed_rate_clock      |-- scif
>  simple_bus    0  [ + ]   generic_simple_bus    |-- soc
>  gpio          0  [   ]   rcar-gpio             |   |-- gpio at e6050000
>  gpio          1  [   ]   rcar-gpio             |   |-- gpio at e6051000
>  gpio          2  [ + ]   rcar-gpio             |   |-- gpio at e6052000
>  gpio          3  [   ]   rcar-gpio             |   |-- gpio at e6053000
>  gpio          4  [   ]   rcar-gpio             |   |-- gpio at e6054000
>  gpio          5  [   ]   rcar-gpio             |   |-- gpio at e6055000
>  gpio          6  [ + ]   rcar-gpio             |   |-- gpio at e6055400
>  gpio          7  [   ]   rcar-gpio             |   |-- gpio at e6055800
>  clk           8  [ + ]   clk_r8a774a1          |   |--
> clock-controller at e6150000
>  i2c           0  [   ]   i2c_rcar              |   |-- i2c at e6500000
>  i2c           1  [   ]   i2c_rcar              |   |-- i2c at e6510000
>  i2c           2  [   ]   i2c_rcar              |   |-- i2c at e66d8000
>  i2c           3  [   ]   i2c_rcar              |   |-- i2c at e66e0000
>  eth           0  [   ]   ravb                  |   |-- ethernet at e6800000
>  serial        0  [   ]   serial_sh             |   |-- serial at e6e60000
>  serial        1  [ + ]   serial_sh             |   |-- serial at e6e88000
>  serial        2  [   ]   serial_sh             |   |-- serial at e6f30000
>  usb           0  [   ]   ehci_generic          |   |-- usb at ee080100
>  usb           1  [   ]   ehci_generic          |   |-- usb at ee0a0100
>  phy           0  [   ]   rcar-gen3-phy         |   |-- usb-phy at ee080200
>  phy           1  [   ]   rcar-gen3-phy         |   |-- usb-phy at ee0a0200
>  mmc           0  [ + ]   renesas-sdhi          |   |-- sd at ee100000
>  blk           0  [   ]   mmc_blk               |   |   `-- sd at ee100000.blk
>  mmc           1  [ + ]   renesas-sdhi          |   |-- sd at ee160000
>  blk           1  [ + ]   mmc_blk               |   |   `-- sd at ee160000.blk
>  pci           0  [   ]   rcar_gen3_pcie        |   |-- pcie at fe000000
>  pci           1  [   ]   rcar_gen3_pcie        |   `-- pcie at ee800000
>  clk           9  [   ]   fixed_rate_clock      |-- usb3s0
>  clk          10  [   ]   fixed_rate_clock      |-- usb_extal
>  clk          11  [   ]   fixed_rate_clock      |-- osc_32k
>  regulator     0  [ + ]   fixed regulator       |-- regulator0
>  regulator     1  [ + ]   fixed regulator       |-- regulator1
>  regulator     2  [   ]   fixed regulator       |-- regulator_audio
>  regulator     3  [   ]   fixed regulator       |-- regulator-lcd
>  regulator     4  [   ]   fixed regulator       |-- regulator-lcd-reset
>  regulator     5  [   ]   fixed regulator       |-- regulator_camera
>  regulator     6  [ + ]   gpio regulator        |-- regulator-vccq-sdhi0
>  clk          12  [   ]   fixed_rate_clock      |-- x302-clock
>  clk          13  [   ]   fixed_rate_clock      `-- x304-clock

Isn't the PFC driver missing here ?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* GPIO request failures for Renesas rcar-gen3
  2020-06-18 21:33     ` Marek Vasut
@ 2020-06-18 21:46       ` Adam Ford
  2020-06-18 21:49         ` Marek Vasut
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Ford @ 2020-06-18 21:46 UTC (permalink / raw)
  To: u-boot

On Thu, Jun 18, 2020 at 4:33 PM Marek Vasut <marek.vasut@gmail.com> wrote:
>
> On 6/18/20 11:20 PM, Adam Ford wrote:
>
> Hi,
>
> [...]
>
> >> Can you provide 'dm tree' output ?
> >
> > => dm tree
> >  Class     Index  Probed  Driver                Name
> > -----------------------------------------------------------
> >  root          0  [ + ]   root_driver           root_driver
> >  clk           0  [   ]   fixed_rate_clock      |-- audio_clk_a
> >  clk           1  [   ]   fixed_rate_clock      |-- audio_clk_b
> >  clk           2  [   ]   fixed_rate_clock      |-- audio_clk_c
> >  clk           3  [   ]   fixed_rate_clock      |-- can
> >  clk           4  [ + ]   fixed_rate_clock      |-- extal
> >  clk           5  [ + ]   fixed_rate_clock      |-- extalr
> >  clk           6  [   ]   fixed_rate_clock      |-- pcie_bus
> >  firmware      0  [   ]   psci                  |-- psci
> >  clk           7  [   ]   fixed_rate_clock      |-- scif
> >  simple_bus    0  [ + ]   generic_simple_bus    |-- soc
> >  gpio          0  [   ]   rcar-gpio             |   |-- gpio at e6050000
> >  gpio          1  [   ]   rcar-gpio             |   |-- gpio at e6051000
> >  gpio          2  [ + ]   rcar-gpio             |   |-- gpio at e6052000
> >  gpio          3  [   ]   rcar-gpio             |   |-- gpio at e6053000
> >  gpio          4  [   ]   rcar-gpio             |   |-- gpio at e6054000
> >  gpio          5  [   ]   rcar-gpio             |   |-- gpio at e6055000
> >  gpio          6  [ + ]   rcar-gpio             |   |-- gpio at e6055400
> >  gpio          7  [   ]   rcar-gpio             |   |-- gpio at e6055800
> >  clk           8  [ + ]   clk_r8a774a1          |   |--
> > clock-controller at e6150000
> >  i2c           0  [   ]   i2c_rcar              |   |-- i2c at e6500000
> >  i2c           1  [   ]   i2c_rcar              |   |-- i2c at e6510000
> >  i2c           2  [   ]   i2c_rcar              |   |-- i2c at e66d8000
> >  i2c           3  [   ]   i2c_rcar              |   |-- i2c at e66e0000
> >  eth           0  [   ]   ravb                  |   |-- ethernet at e6800000
> >  serial        0  [   ]   serial_sh             |   |-- serial at e6e60000
> >  serial        1  [ + ]   serial_sh             |   |-- serial at e6e88000
> >  serial        2  [   ]   serial_sh             |   |-- serial at e6f30000
> >  usb           0  [   ]   ehci_generic          |   |-- usb at ee080100
> >  usb           1  [   ]   ehci_generic          |   |-- usb at ee0a0100
> >  phy           0  [   ]   rcar-gen3-phy         |   |-- usb-phy at ee080200
> >  phy           1  [   ]   rcar-gen3-phy         |   |-- usb-phy at ee0a0200
> >  mmc           0  [ + ]   renesas-sdhi          |   |-- sd at ee100000
> >  blk           0  [   ]   mmc_blk               |   |   `-- sd at ee100000.blk
> >  mmc           1  [ + ]   renesas-sdhi          |   |-- sd at ee160000
> >  blk           1  [ + ]   mmc_blk               |   |   `-- sd at ee160000.blk
> >  pci           0  [   ]   rcar_gen3_pcie        |   |-- pcie at fe000000
> >  pci           1  [   ]   rcar_gen3_pcie        |   `-- pcie at ee800000
> >  clk           9  [   ]   fixed_rate_clock      |-- usb3s0
> >  clk          10  [   ]   fixed_rate_clock      |-- usb_extal
> >  clk          11  [   ]   fixed_rate_clock      |-- osc_32k
> >  regulator     0  [ + ]   fixed regulator       |-- regulator0
> >  regulator     1  [ + ]   fixed regulator       |-- regulator1
> >  regulator     2  [   ]   fixed regulator       |-- regulator_audio
> >  regulator     3  [   ]   fixed regulator       |-- regulator-lcd
> >  regulator     4  [   ]   fixed regulator       |-- regulator-lcd-reset
> >  regulator     5  [   ]   fixed regulator       |-- regulator_camera
> >  regulator     6  [ + ]   gpio regulator        |-- regulator-vccq-sdhi0
> >  clk          12  [   ]   fixed_rate_clock      |-- x302-clock
> >  clk          13  [   ]   fixed_rate_clock      `-- x304-clock
>
> Isn't the PFC driver missing here ?

That was it.  Thank you!

I'll have to fix the pfc and submit patch V2 to fix that.

I appreciate your quick response.  It's working now

adam

^ permalink raw reply	[flat|nested] 7+ messages in thread

* GPIO request failures for Renesas rcar-gen3
  2020-06-18 21:46       ` Adam Ford
@ 2020-06-18 21:49         ` Marek Vasut
  0 siblings, 0 replies; 7+ messages in thread
From: Marek Vasut @ 2020-06-18 21:49 UTC (permalink / raw)
  To: u-boot

On 6/18/20 11:46 PM, Adam Ford wrote:
[...]
>>>  regulator     0  [ + ]   fixed regulator       |-- regulator0
>>>  regulator     1  [ + ]   fixed regulator       |-- regulator1
>>>  regulator     2  [   ]   fixed regulator       |-- regulator_audio
>>>  regulator     3  [   ]   fixed regulator       |-- regulator-lcd
>>>  regulator     4  [   ]   fixed regulator       |-- regulator-lcd-reset
>>>  regulator     5  [   ]   fixed regulator       |-- regulator_camera
>>>  regulator     6  [ + ]   gpio regulator        |-- regulator-vccq-sdhi0
>>>  clk          12  [   ]   fixed_rate_clock      |-- x302-clock
>>>  clk          13  [   ]   fixed_rate_clock      `-- x304-clock
>>
>> Isn't the PFC driver missing here ?
> 
> That was it.  Thank you!
> 
> I'll have to fix the pfc and submit patch V2 to fix that.
> 
> I appreciate your quick response.  It's working now

That's good to hear.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-18 21:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-18 20:33 GPIO request failures for Renesas rcar-gen3 Adam Ford
2020-06-18 21:00 ` Marek Vasut
2020-06-18 21:20   ` Adam Ford
2020-06-18 21:29     ` Adam Ford
2020-06-18 21:33     ` Marek Vasut
2020-06-18 21:46       ` Adam Ford
2020-06-18 21:49         ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.