28 Jan, 2018
17 commits
-
Add U-Boot DT extras for each SoC and board. This marks the required
nodes with u-boot,dm-pre-reloc to start clock and PRR early on while
avoiding modification of the DTs imported from Linux.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
The Stout board is not supported in Linux, so add a rudimentary DTS
for H2 Stout as a placeholder for when a proper DTS is available.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
NOTE: The Stout is already being shipped over, so proper DTS for both
U-Boot and Linux will happen once it's delivered :-) -
Import the Renesas R8A7794 DTS and headers from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import the Renesas R8A7793 DTS and headers from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import the Renesas R8A7792 DTS and headers from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import the Renesas R8A7791 DTS and headers from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import the Renesas R8A7790 DTS and headers from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Add DM capable code into the SH ethernet driver and support probing
both from DT and pdata. The legacy non-DM, non-DT support is retained
as there are still systems in the tree which are not DM or DT capable.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Joe Hershberger -
Move the legacy functions around, so that they can be wrapped in a
massive ifdef CONFIG_DM_ETH once DM support is added. No functional
change.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Joe Hershberger -
Split sh_eth_init() function into smaller chunks, which can
be called from both DM and non-DM code while handling the
specifics of both configurations.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Joe Hershberger -
Pull out the code for writing MAC address into the NIC into a
separate function, so it can be reused by both DM and non-DM
code. This is done in preparation for DM support, which handles
MAC address programming separately.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Joe Hershberger -
Split sh_eth_recv into two functions, one which checks whether
a packet was received and one which handles the received packet.
This is done in preparation for DM support, which handles these
two parts separately.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Joe Hershberger -
Pass sh_eth_dev structure around instead of eth_device, since the
later is specific to the legacy networking support. This change is
done in preparation for the DM addition.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Joe Hershberger -
Use the common RCAR_GEN2 config option instead of enumerating
each SoC and having a lengthy ifdef clause. No functional change.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Joe Hershberger -
Cosmetic fix, make ravb_start() static.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Joe Hershberger -
Add driver for the Renesas RCar PCIe controller present on Gen2 SoCs.
The PCIe on Gen2 is used both to connect external PCIe peripherals as
well as access the on-SoC USB EHCI controller.Signed-off-by: Marek Vasut
-
Add DT compatible string for RCar Gen2.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
25 Jan, 2018
23 commits
-
Import PFC tables for R8A7794 E2 SoC from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import PFC tables for R8A7792 V2H SoC from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import PFC tables for R8A7791 M2W and R8A7793 M2N SoC from upstream Linux
kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import PFC tables for R8A7790 H2 SoC from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import clock tables for R8A7794 E2 SoC from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import clock tables for R8A7792 V2H SoC from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import clock tables for R8A7791 M2W and R8A7793 M2N SoC from upstream Linux
kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import clock tables for R8A7790 H2 SoC from upstream Linux kernel v4.15-rc8,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 .Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Add common clock code for Renesas RCar Gen2 platforms.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Add macros for the DIV6P1 clock type, which is used on Gen2
and optionally also on Gen3.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Pull code which is common for RCar Gen2 and RCar Gen3 into
separate source file. No functional change.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Add Kconfig entries for each SoC clock table, so they can be
compiled in or out at build time. This can reduce the size of
the binary if desired.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
The Gen2 requires setting RMSTPCR before booting, while on Gen3 this
is thus far always zero. Split the tables so the RMSTPCR can be set
too.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Extract the macros specific to Gen3 clock into a separate header.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Not all SoCs have the same PLL configuration options,
so make those PLL configuraion tables per-SoC.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Not all drivers use the same IDs, so make those IDs per-driver.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Split the massive driver into smaller per-SoC drivers and pull the
common code into a separate file. This would allow configuring out
unnecessary clock drivers once the Kconfig changes are in and also
allow adding more clock tables easily.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Add support for RZ/A1 series SoCs.
Signed-off-by: Chris Brandt
-
Use the common RCAR_GEN2 config option instead of enumerating
each SoC and having a lengthy ifdef clause. No functional change.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Replace fdtdec_get_addr() with devfdt_get_addr() as the later one is
the current recommended practice.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Convert these configuration options to Kconfig, update board defconfigs
and drop them from whitelist.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Pull out u-boot extras into dtsi files to make synchronization of DTS
from Linux kernel as easy as a simple copy. All the U-Boot extras are
now in *-u-boot.dts* files instead.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Import the RCar Gen3 DTS and headers from upstream Linux kernel v4.14,
commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . This includes both M3
and H3 ULCB and Salvator-X boards.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu