All of lore.kernel.org
 help / color / mirror / Atom feed
* R-Car3: PFC: Where to do the pinmux/drvctrl?
@ 2016-06-09  6:56 Dirk Behme
  2016-06-09  8:22 ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Dirk Behme @ 2016-06-09  6:56 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Keshavarzi Pooya (CM/ESO1)

Hi,

with the R-Car3, the pinmux/drvctrl is done at 3 places:

1. ARM trusted firmware / IPL:

https://github.com/renesas-rcar/meta-renesas/blob/jethro/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware/0001-add-bl2-bl31-R-Car-support.patch#L8428


2. U-Boot:

https://github.com/renesas-rcar/u-boot/blob/v2015.04/rcar-3.2.x/board/renesas/salvator-x/salvator-x.c#L116


3. Linux kernel

https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git/tree/drivers/pinctrl/sh-pfc/pfc-r8a7795.c?h=topic/gen3-latest


Now, the issue we see is that (of course?) this is not necessarily 
consistent.

Therefore: What's supposed to be the correct place to do this (once)?


Any opinions?


The example is the RAVB ethernet: We found that on the Salvator-X the 
kernel's ethernet doesn't work without being initialized by U-Boot. I.e. 
without running U-Boot doing the drvctrl [1] ethernet fails in the Linux 
kernel.

Best regards

Dirk

[1] 
https://github.com/renesas-rcar/u-boot/blob/v2015.04/rcar-3.2.x/board/renesas/salvator-x/salvator-x.c#L152

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

end of thread, other threads:[~2016-06-09 11:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09  6:56 R-Car3: PFC: Where to do the pinmux/drvctrl? Dirk Behme
2016-06-09  8:22 ` Geert Uytterhoeven
2016-06-09  8:58   ` Dirk Behme
2016-06-09  9:16     ` Laurent Pinchart
2016-06-09  9:20     ` Geert Uytterhoeven
2016-06-09 11:12       ` Dirk Behme

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.