From: Magnus Damm
Add a temporary FCPCS device that also includes VDPB for testing
purpose. This prototype level code is not intended for upstream merge.
Not-Signed-off-by: Magnus Damm
---
arch/arm64/boot/dts/renesas/r8a77990.dtsi |9 +
1 file changed, 9 insertions(+)
--- 0001
From: Magnus Damm
Add a temporary FCPCS device that also includes VDPB for testing
purpose. This prototype level code is not intended for upstream merge.
Not-Signed-off-by: Magnus Damm
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi |9 +
1 file changed, 9 insertions(+)
--- 0001
From: Magnus Damm
Add a temporary FCPCS device that also includes VDPB for testing
purpose. This prototype level code is not intended for upstream merge.
Not-Signed-off-by: Magnus Damm
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi |9 +
1 file changed, 9 insertions(+)
--- 0001
From: Magnus Damm
Hack up the FCP driver to test the power domains and dump registers.
This prototype level code is not intended for upstream merge.
Not-Signed-off-by: Magnus Damm
---
drivers/media/platform/rcar-fcp.c | 42 -
drivers/soc/renesas/rcar
From: Magnus Damm
Add a temporary FCPCS device that also includes VDPB for testing
purpose. This prototype level code is not intended for upstream merge.
Not-Signed-off-by: Magnus Damm
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi |9 +
1 file changed, 9 insertions(+)
--- 0001
proach to test IPMMU power domain support in the future.
Not-Signed-off-by: Magnus Damm
---
Developed on top of renesas-devel-20181119-v4.20-rc3
arch/arm64/boot/dts/renesas/r8a7795.dtsi |9 ++
arch/arm64/boot/dts/renesas/r8a7796.dtsi |9 ++
arch/arm64/boot/dts/renesas/r8a7796
From: Magnus Damm
Update the SH-Mobile AG5 DTSI to include product name.
Signed-off-by: Magnus Damm
---
arch/arm/boot/dts/sh73a0.dtsi |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0001/arch/arm/boot/dts/sh73a0.dtsi
+++ work/arch/arm/boot/dts/sh73a0.dtsi 2018-10-22 02:59
From: Magnus Damm
Update the R-Mobile A1 DTSI to include product name.
Signed-off-by: Magnus Damm
---
arch/arm/boot/dts/r8a7740.dtsi |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0001/arch/arm/boot/dts/r8a7740.dtsi
+++ work/arch/arm/boot/dts/r8a7740.dtsi 2018-10-22 02:56
From: Magnus Damm
Update the Emma Mobile EV2 DTSI to include product name.
Signed-off-by: Magnus Damm
---
arch/arm/boot/dts/emev2.dtsi |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0001/arch/arm/boot/dts/emev2.dtsi
+++ work/arch/arm/boot/dts/emev2.dtsi 2018-10-22 03:00
is
matching the DT binding documentation.
Signed-off-by: Magnus Damm
---
Applies on top of renesas-devel-20181019-v4.19-rc8
arch/arm/boot/dts/emev2.dtsi |2 +-
arch/arm/boot/dts/r8a7740.dtsi |2 +-
arch/arm/boot/dts/sh73a0.dtsi |2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
From: Magnus Damm
For testing purpose enable IPMMU for Ethernet-AVB on R-Car M3-N/V3H/E3.
Not for upstream merge.
Not-Yet-Signed-off-by: Magnus Damm
---
Applies on top of renesas-devel-20181019-v4.19-rc8
drivers/iommu/ipmmu-vmsa.c |4
1 file changed, 4 insertions(+)
--- 0001
From: Magnus Damm
Hook up the R-Car M3-N AVB device to IPMMU-DS0 16 as described in
the data sheet.
Signed-off-by: Magnus Damm
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi |1 +
1 file changed, 1 insertion(+)
--- 0001/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ work/arch/arm64/boot
From: Magnus Damm
Hook up the R-Car V3H AVB device to IPMMU-DS1 33 as described in
the data sheet.
Signed-off-by: Magnus Damm
---
arch/arm64/boot/dts/renesas/r8a77980.dtsi |1 +
1 file changed, 1 insertion(+)
--- 0001/arch/arm64/boot/dts/renesas/r8a77980.dtsi
+++ work/arch/arm64/boot
Ethernet-AVB to IPMMU hardware connection in the
Device Tree. This series affects R-Car M3-N, V3H and E3. Other members
of the R-Car Gen3 family such as H3, M3-W, V3M and D3 already includes
this information in their DT files.
Signed-off-by: Magnus Damm
---
Developed on top of renesas-devel-20181019
From: Magnus Damm
Hook up the R-Car E3 AVB device to IPMMU-DS0 16 as described in
the data sheet.
Signed-off-by: Magnus Damm
---
arch/arm64/boot/dts/renesas/r8a77990.dtsi |1 +
1 file changed, 1 insertion(+)
--- 0001/arch/arm64/boot/dts/renesas/r8a77990.dtsi
+++ work/arch/arm64/boot/dts
From: Magnus Damm
For testing purpose enable IPMMU for SYS-DMAC1 and SYS-DMAC2 on R-Car V3H.
Not for upstream merge.
Not-Yet-Signed-off-by: Magnus Damm
---
Applies on top of renesas-devel-20180914-v4.19-rc3
drivers/iommu/ipmmu-vmsa.c |8
1 file changed, 8 insertions
From: Magnus Damm
For R-Car V3H hook up SYS-DMAC1 and SYS-DMAC2 to IPMMU-DS1 to match
information in the R-Car Gen3 Rev.1.00 (April 2018) datasheet.
Signed-off-by: Magnus Damm
---
Developed on top of renesas-devel-20180914-v4.19-rc3
arch/arm64/boot/dts/renesas/r8a77980.dtsi | 16
From: Magnus Damm
For testing purpose enable IPMMU for SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2
on R-Car E3. Not for upstream merge.
Not-Yet-Signed-off-by: Magnus Damm
---
Applies on top of renesas-devel-20180914-v4.19-rc3
drivers/iommu/ipmmu-vmsa.c | 12
1 file changed, 12
From: Magnus Damm
Include R-Car Gen1 product names for Bock-W and Marzen.
The product names are taken from:
Documentation/devicetree/bindings/arm/shmobile.txt
Signed-off-by: Magnus Damm
---
Developed on top of renesas-devel-20180914-v4.19-rc3
arch/arm/boot/dts/r8a7778-bockw.dts |2
From: Magnus Damm
Improve the user friendliness of the DTS code base by including the
R-Car product name in each R-Car Gen2 DTSI file.
The product names are taken from:
Documentation/devicetree/bindings/arm/shmobile.txt
Signed-off-by: Magnus Damm
---
Developed on top of renesas-devel
documentation.
Signed-off-by: Magnus Damm
---
Developed on top of renesas-devel-20180914-v4.19-rc3
Documentation/devicetree/bindings/arm/shmobile.txt |2 +-
arch/arm/boot/dts/r8a7778-bockw.dts|2 +-
arch/arm/boot/dts/r8a7779-marzen.dts |2 +-
arch/arm/boot
From: Magnus Damm
Update the description of the AG5 entry to follow same style as other SoCs.
The actual DT binding remains unchanged.
Signed-off-by: Magnus Damm
---
Developed on top of renesas-devel-20180914-v4.19-rc3
Documentation/devicetree/bindings/arm/shmobile.txt |2 +-
1 file
From: Magnus Damm
For R-Car E3 hook up SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2 to
IPMMU-DS0 and IPMMU-DS1 in same way as for R-Car H3.
This follows the R-Car Gen3 Rev.1.00 (April 2018) datasheet.
Signed-off-by: Magnus Damm
---
Developed on top of renesas-devel-20180914-v4.19-rc3
arch/arm64
From: Magnus Damm
Since only full-duplex operation is supported by the
hardware, remove duplex handling code and keep the
register setting of ECMR.DM fixed at 1.
This updates the driver implementation to follow the
data sheet text "This bit should always be set to 1."
Not-Yet-
From: Magnus Damm
According to the data sheet the Ethernet-AVB hardware in R-Car Gen3
and R-Car Gen2 SoCs do not support half duplex operation. So update
the driver to mark 100Mbit and 1Gbps HDX as unsupported.
Not-Yet-Signed-off-by: Magnus Damm
Fixes: c156633f1353 ("Renesas Etherne
Sergei and Geert - thanks!
Getting closer to be suitable for upstream merge?
Not-Yet-Signed-off-by: Magnus Damm
---
Written on top of next-20180820
drivers/net/ethernet/renesas/ravb.h |1 -
drivers/net/ethernet/renesas/ravb_main.c | 24
2 files changed, 4
From: Magnus Damm
For R-Car M3-N hook up SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2 to
IPMMU-DS0 and IPMMU-DS1 in same way as for R-Car M3-W.
This follows the R-Car Gen3 Rev.1.00 (April 2018) datasheet.
Signed-off-by: Magnus Damm
---
Developed on top of renesas-devel-20180810-v4.18-rc7
arch/arm64
From: Magnus Damm
Browsing the DTS for all the R-Car SoCs with similar part numbers
still makes my head hurt, so to improve the user friendliness of
the 32-bit ARM DTS code base include R-Car Gen1 product names for
each DTSI file.
Signed-off-by: Magnus Damm
---
Based on renesas-devel
Hi Geert,
On Fri, Jul 20, 2018 at 2:42 AM, Geert Uytterhoeven
wrote:
> Hi Magnus,
>
> On Thu, Jul 19, 2018 at 7:25 PM Magnus Damm wrote:
>> On Thu, Jul 19, 2018 at 11:32 PM, Sergei Shtylyov
>> wrote:
>> > On 07/19/2018 02:51 PM, Magnus Damm wrote:
>> >>
Hi Geert,
On Fri, Jul 20, 2018 at 5:09 AM, Geert Uytterhoeven
wrote:
> On Thu, Jul 19, 2018 at 7:56 PM Sergei Shtylyov
> wrote:
>> On 07/19/2018 08:42 PM, Geert Uytterhoeven wrote:
>> >>>> From: Magnus Damm
>> >>>> According to the da
Hi Geert,
On Fri, Jul 20, 2018 at 2:37 AM, Geert Uytterhoeven
wrote:
> Hi Magnus,
>
> On Thu, Jul 19, 2018 at 7:16 PM Magnus Damm wrote:
>> On Thu, Jul 19, 2018 at 9:59 PM, Niklas Söderlund
>> wrote:
>> > On 2018-07-19 20:19:50 +0900, Magnus Damm wrote:
>
Hi Sergei,
On Fri, Jul 20, 2018 at 12:44 AM, Sergei Shtylyov
wrote:
> On 07/19/2018 02:51 PM, Magnus Damm wrote:
>
>> From: Magnus Damm
>>
>> Since only full-duplex operation is supported by the
>> hardware, remove duplex handling code and keep the
>> re
Hi Sergei,
Thanks for your reply!
On Thu, Jul 19, 2018 at 11:32 PM, Sergei Shtylyov
wrote:
> Hello!
>
> On 07/19/2018 02:51 PM, Magnus Damm wrote:
>
>> From: Magnus Damm
>>
>> According to the data sheet the Ethernet-AVB hardware in R-Car Gen3
>> and R-Car
Hi Niklas,
On Thu, Jul 19, 2018 at 9:59 PM, Niklas Söderlund
wrote:
> Hi Magnus,
>
> Thanks for your patch.
>
> On 2018-07-19 20:19:50 +0900, Magnus Damm wrote:
>> From: Magnus Damm
>>
>> Browsing the DTS for all the R-Car SoCs with similar part numbers
>
From: Magnus Damm
According to the data sheet the Ethernet-AVB hardware in R-Car Gen3
and R-Car Gen2 SoCs do not support half duplex operation. So update
the driver to mark 100Mbit HDX as unsupported.
Not-Yet-Signed-off-by: Magnus Damm
---
Written on top of renesas-drivers-2018-07-17-v4.18
From: Magnus Damm
Since only full-duplex operation is supported by the
hardware, remove duplex handling code and keep the
register setting of ECMR.DM fixed at 1.
This updates the driver implementation to follow the
data sheet text "This bit should always be set to 1."
Not-Yet-
discussion.
Not-Yet-Signed-off-by: Magnus Damm
---
Written on top of renesas-drivers-2018-07-17-v4.18-rc5
drivers/net/ethernet/renesas/ravb.h |1 -
drivers/net/ethernet/renesas/ravb_main.c | 30 +++---
2 files changed, 3 insertions(+), 28 deletions(-)
From: Magnus Damm
Hook up SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2 to IPMMU-DS0 and IPMMU-DS1
following the R-Car Gen3 Rev.1.00 (April 2018) datasheet.
Signed-off-by: Magnus Damm
---
Based on renesas-drivers-2018-07-17-v4.18-rc5
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 12
1
From: Magnus Damm
Browsing the DTS for all the R-Car SoCs with similar part numbers
makes my head hurt, so to improve the user friendliness of the
DTS code base include R-Car product name in each DTSI file.
Signed-off-by: Magnus Damm
---
Based on renesas-drivers-2018-07-17-v4.18-rc5
arch
On Fri, Jul 13, 2018 at 1:08 AM, Geert Uytterhoeven
wrote:
> R-Mobile APE6, R-Car Gen2, and RZ/G1 SoCs have Cortex-A7 and/or
> Cortex-A15 CPU cores, all of which have ARM architectured timers.
>
> Force use of the ARM architectured timer on these SoCs.
> This allows to:
> - Remove the calls to
From: Magnus Damm
A hack to add I2C0 on r8a77990. This is needed to hook up the video decoder.
Not-Signed-off-by: Magnus Damm
---
arch/arm64/boot/dts/renesas/r8a77990.dtsi | 14 ++
1 file changed, 14 insertions(+)
--- 0003/arch/arm64/boot/dts/renesas/r8a77990.dtsi
+++ work
From: Magnus Damm
Add VIN and CSI device nodes to the r8a77990 dtsi file.
Not-Signed-off-by: Magnus Damm
---
arch/arm64/boot/dts/renesas/r8a77990.dtsi | 89 +
1 file changed, 89 insertions(+)
--- 0001/arch/arm64/boot/dts/renesas/r8a77990.dtsi
+++ work/arch
From: Magnus Damm
Extend the VIN driver with experimental r8a77990 support.
Not-Signed-off-by: Magnus Damm
---
drivers/media/platform/rcar-vin/rcar-core.c | 21 +
drivers/media/platform/rcar-vin/rcar-csi2.c |8
2 files changed, 29 insertions(+)
--- 0001
Hi Laurent,
[dropped u-boot list]
On Tue, Jun 19, 2018 at 2:56 PM, Laurent Pinchart
wrote:
> Hi Magnus,
>
> On Tuesday, 19 June 2018 08:43:31 EEST Magnus Damm wrote:
>> On Tue, Jun 19, 2018 at 11:15 AM, Laurent Pinchart wrote:
>> > On Sunday, 17 June 2018 03:08:0
From: Magnus Damm
Here's my local modification to test IPMMU with SYS-DMAC and the SCIF
console on r8a7795 H3ULCB. The dmac1 and dmac2 devices together with
audio dmacs are added to the IPMMU white list. The dmac0 device is
disabled in DT to easily be able to associate the /proc/interrupt
From: Magnus Damm
Add IPMMU device nodes for the R-Car V3H SoC aka r8a77980.
The r8a77980 IPMMU is quite similar to r8a77970 however VC0
has been added. The IMSSTR bit assignment has also been
reworked. Power domains are also quite different however the
the documentation is rather unclear about
From: Magnus Damm
Add IPMMU device nodes for the R-Car E3 SoC aka r8a77990.
The r8a77990 IPMMU is similar to r8a77995. Power domains are
however different and the public documentation is still unclear.
Based on preliminary information from the hardware team the R-Car E3
SoC comes with an IPMMU
From: Magnus Damm
Add IPMMU device nodes for the R-Car M3-N SoC aka r8a77965.
The r8a77965 IPMMU is quite similar to r8a7796 however VP0
has been added and PV1 has been removed. Also the IMSSTR
bit assignment has been reworked.
Signed-off-by: Magnus Damm
Reviewed-by: Simon Horman
and E3 IPMMU DT bindings
Please see each individual patch for list of changes.
Signed-off-by: Magnus Damm
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 89 +
arch/arm64/boot/dts/renesas/r8a77980.dtsi | 63
arch/arm64/boot/dts/renesas
Hi Geert,
On Thu, May 24, 2018 at 5:24 PM, Geert Uytterhoeven
<ge...@linux-m68k.org> wrote:
> Hi Magnus,
>
> On Thu, May 24, 2018 at 10:18 AM, Magnus Damm <magnus.d...@gmail.com> wrote:
>> On Thu, May 24, 2018 at 4:25 PM, Geert Uytterhoeven
>> <ge...@linux
Hi Geert,
On Thu, May 24, 2018 at 4:25 PM, Geert Uytterhoeven
<ge...@linux-m68k.org> wrote:
> Hi Magnus,
>
> On Thu, May 24, 2018 at 4:23 AM, Magnus Damm <magnus.d...@gmail.com> wrote:
>> On Tue, May 22, 2018 at 10:10 PM, Simon Horman <ho...@verge.net.au> wrote:
Hi Simon,
On Tue, May 22, 2018 at 10:10 PM, Simon Horman <ho...@verge.net.au> wrote:
> On Mon, May 21, 2018 at 11:45:01PM +0900, Magnus Damm wrote:
>> From: Magnus Damm <damm+rene...@opensource.se>
>>
>> Add IPMMU device nodes for the R-Car V3H SoC aka r8a77980.
From: Magnus Damm <damm+rene...@opensource.se>
Add IPMMU device nodes for the R-Car E3 SoC aka r8a77990.
The r8a77990 IPMMU is similar to r8a77995. Power domains are
however different but the documentation seems unclear.
As expected VC0 belongs to R8A77990_PD_A3VC however VP0
is f
From: Magnus Damm <damm+rene...@opensource.se>
Add IPMMU device nodes for the R-Car V3H SoC aka r8a77980.
The r8a77980 IPMMU is quite similar to r8a77970 however VC0
has been added. The IMSSTR bit assignment has also been
reworked. Power domains are also quite different h
M3-N, V3H and E3 SoCs.
The IPMMU DT binding changes are not yet merged upstream however they
have been documented by the following patches:
[PATCH] iommu/ipmmu-vmsa: Document R-Car M3-N IPMMU DT bindings
[PATCH] iommu/ipmmu-vmsa: Document R-Car V3H and E3 IPMMU DT bindings
Signed-off-by: Magnus
From: Magnus Damm <damm+rene...@opensource.se>
Add IPMMU device nodes for the R-Car M3-N SoC aka r8a77965.
The r8a77965 IPMMU is quite similar to r8a7796 however VP0
has been added and PV1 has been removed. Also the IMSSTR
bit assignment has been reworked.
Signed-off-by: Magnus Damm <
From: Magnus Damm <damm+rene...@opensource.se>
Update the IPMMU DT binding documentation to include the compat strings
for the IPMMU devices included in the R-Car V3H and E3 SoCs.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Developed on top of renesas-drivers-2018
From: Magnus Damm <damm+rene...@opensource.se>
Add power domain information to the R-Car D3 IPMMU device nodes.
As specified by the data sheet, all the IPMMU devices are always on.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Developed on top of renesas-devel-201805
Hi Gilad,
Thanks for your email.
On Thu, May 10, 2018 at 5:12 PM, Gilad Ben-Yossef wrote:
> Hi there,
>
> I am trying to add support for the CryptoCell security IP in the
> R-Rcar boards to mainline but I've run into some trouble.
>
> I have an R-Car 3rd gen Salvator-X ES1
From: Magnus Damm <damm+rene...@opensource.se>
Remove 'status = "disabled"' to make sure all IPMMU devices are enabled
in DT on the r8a77995 SoC.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 10
From: Magnus Damm <damm+rene...@opensource.se>
Remove 'status = "disabled"' to make sure all IPMMU devices are enabled
in DT on the r8a7796 SoC.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi |5 -
1 fil
From: Magnus Damm <damm+rene...@opensource.se>
Remove 'status = "disabled"' to make sure all IPMMU devices are enabled
in DT on the r8a77970 SoC.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
arch/arm64/boot/dts/renesas/r8a77970.dtsi |2 --
1 fil
From: Magnus Damm <damm+rene...@opensource.se>
Remove 'status = "disabled"' to make sure all IPMMU devices are enabled
in DT on the r8a7795 SoC.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 12 --
devices
Following the policy of using DT to describe the hardware and not software
support state, this series makes sure all IPMMU devices are enabled in DT
for SoCs such as r8a7795, r8a7796, r8a77970 and r8a77995.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Developed
Hi Geert,
On Wed, Apr 18, 2018 at 5:55 PM, Geert Uytterhoeven
<ge...@linux-m68k.org> wrote:
> Hi Magnus,
>
> On Wed, Apr 18, 2018 at 10:33 AM, Magnus Damm <magnus.d...@gmail.com> wrote:
>> From: Magnus Damm <damm+rene...@opensource.se>
>>
>> This is
From: Magnus Damm <damm+rene...@opensource.se>
This is a back port to v4.16 of the following commits merged in v4.17-rc1:
ff938cd14d67 ARM: shmobile: stout: enable R-Car Gen2 regulator quirk
92bcfdb334ca ARM: dts: stout: Initial r8a7790 Stout board support
Thanks to Marek, Wolfram and
for their efforts with the upstreaming.
Not-Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Fits on top of v4.16 mainline
Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt |1
arch/arm/boot/dts/Makefile|1
arch/ar
From: Magnus Damm <damm+rene...@opensource.se>
This is a back port to v4.16 of the following commits merged in v4.17-rc1:
5c3d0fd4b2c0 ravb: remove erroneous comment
75efa06f457b ravb: add support for changing MTU
Thanks to Niklas, Sergei and Dave Miller for the upstreaming efforts.
Not-
Hi Geert,
On Thu, Mar 22, 2018 at 6:55 PM, Geert Uytterhoeven
<ge...@linux-m68k.org> wrote:
> Hi Magnus,
>
> On Wed, Mar 21, 2018 at 11:34 AM, Geert Uytterhoeven
> <ge...@linux-m68k.org> wrote:
>> On Tue, Mar 20, 2018 at 9:20 AM, Magnus Damm <magnus.d...@gmail.
Hi Simon,
On Wed, Mar 21, 2018 at 6:57 PM, Simon Horman <ho...@verge.net.au> wrote:
> On Wed, Mar 21, 2018 at 09:51:33AM +0100, Simon Horman wrote:
>> On Tue, Mar 20, 2018 at 04:51:07PM +0900, Magnus Damm wrote:
>> > From: Magnus Damm <damm+rene...@opensource.se>
&g
be happy to see someone else fixing these if possible.
Not-Yet-Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Developed on top of renesas-drivers-2018-03-13-v4.16-rc5
arch/arm/boot/dts/r8a7778-bockw.dts | 12
arch/arm/boot/dts/r8a7778.dtsi
From: Magnus Damm <damm+rene...@opensource.se>
The on-board ethernet on r8a7778 Bock-W does not work out of the
box. Booting with initramfs and trying to do ifconfig up/down will
show that something is busted.
Judging by the board schematics the IRQ signal from the LAN89218
chip gets
From: Magnus Damm <damm+rene...@opensource.se>
Booting sh73a0 KZM9G results in the following on the console:
[0.03] renesas_intc_irqpin e690.interrupt-controller: driving 8 irqs
[0.04] random: crng init done
[0.12] irq 35: nobody cared (try booting with the &q
From: Magnus Damm <damm+rene...@opensource.se>
Judging by "R-Car-Gen3-rev0.80" IPMMU IMSSTR register documentation
for [R-Car V3M] the DS1 bit field should be bit 0.
Update the ipmmu-main property to make it match the data sheet.
Signed-off-by: Magnus Damm <damm+re
From: Magnus Damm <damm+rene...@opensource.se>
Adjust the R8A77980-specific #ifdefs to use CLK instead of ARCH
to follow same style as other SoCs.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Noticed in renesas-drivers-2018-03-13-v4.16-rc5
drivers/clk/renesas
From: Magnus Damm <damm+rene...@opensource.se>
Update the IPMMU DT binding documentation to include the r8a77965 compat
string for the IPMMU devices included in the R-Car M3-N SoC.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Documentation/devicetree/bindings/iommu/r
From: Magnus Damm <damm+rene...@opensource.se>
Add support for the on-board voltage regulator hooked up to GPIO3_20
on r8a7779 Marzen. The board schematics describes the regulator as U4
TPS2110A. Input wise, U4 has D0 fixed to ground, D1 tied to GPIO3_20
while IN1 is fixed to 3.3V a
nce this is prototype code and not suitable for mainline merge as-is:
Not-Yet-Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Documentation/devicetree/bindings/arm/shmobile.txt |4
Documentation/devicetree/bindings/clock/renesas,cpg-mssr.txt |
From: Magnus Damm <damm+rene...@opensource.se>
Extend the Silk board support to include U14 which is an I2C based EEPROM
hooked up to the I2C1 bus.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
arch/arm/boot/dts/r8a7794-silk.dts |6 ++
1 file changed,
on the Gose
board support and adjusted to fit the board schematics.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Developed on top of renesas-devel-20180215-v4.16-rc1
arch/arm/boot/dts/r8a7794-silk.dts | 61
1 file changed, 61 insertions(+)
From: Magnus Damm <damm+rene...@opensource.se>
Extend the Silk board support to include SW3, SW4, SW6 and SW12. They
are all connected via GPIO lines and handled by the gpio-keys driver.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
arch/arm/boot/dts/r8a7794-sil
From: Magnus Damm <damm+rene...@opensource.se>
Add GPIO device nodes for the r8a77970 SoC. Each GPIO device is
currently assumed to have 32 pins.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
arch/arm64/boot/dts/renesas/r8a77970.dtsi | 96 +
This series gives the R-Car V3M SoC and the Eagle board an update when
it comes to PFC and GPIO support. Also to test the two QSPI channels are
configured as GPIOs and via SPI bitbang the SPI NOR flash chips are probed.
Patch 1 and 2 are rather ready for upstream merge:
Signed-off-by: Magnus Damm
From: Magnus Damm <damm+rene...@opensource.se>
Drive the NOR flash chips via SPI bitbang instead of via the two
channels of QSPI hardware. This is useful to test the on-chip GPIO
devices.
Not-Yet-Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
arch/arm64/boot/dts/rene
From: Magnus Damm <damm+rene...@opensource.se>
Add DT nodes for the PFC on the r8a77970 SoC and hook up the SCIF
console to make use of the PFC to configure the pins.
Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Depends on r8a77970 PFC support - included in la
From: Magnus Damm <damm+rene...@opensource.se>
Here's V2 of a simple prototype hack to get the R-Car M3-N SoC working with
the r8a77965 Salvator-X. This version has been updated to fit on top of
"renesas-drivers-2018-01-09-v4.15-rc7".
The following patches are picked
From: Magnus Damm <damm+rene...@opensource.se>
Test code for r8a77964 IPMMU in a special 2-stage translation mode
where PMB entries and page tables are used together.
The goal is to experiment with the SYS-DMAC and IPMMU to figure out
the number of address bits hooked up between them. I
From: Magnus Damm <damm+rene...@opensource.se>
For testing purpose add a list of allowed SYS-DMAC devices to
the IPMMU driver. These may be used together with SCIF serial
ports to validate some basic operation.
Not-Yet-Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
d
From: Magnus Damm <damm+rene...@opensource.se>
Match on the r8a77965 SoC in the IPMMU driver. Software wise the same
IPMMU driver can be used as for other R-Car Gen3 SoCs, however the
hardware contains certain changes so using separate SoC compat strings
will allow us more fine grained c
and the IPMMU patches.
Not-Yet-Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
Built on top of "renesas-drivers-next-2017-11-14-v4.14" and
[PATCH/RFC] arm64: r8a77965 Salvator-X SoC/board support prototype
[PATCH/RFC] arm64: r8a77965 Salvator-X IPMMU environment
From: Magnus Damm <damm+rene...@opensource.se>
Enable the IPMMU-MM, IPMMU-DS0 and IPMMU-DS1 devices on r8a77965.
Not-Yet-Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
arch/arm64/boot/dts/renesas/r8a77965.dtsi |3 ---
1 file changed, 3 deletions(-)
--- 0021/arc
From: Magnus Damm <damm+rene...@opensource.se>
Here's a simple prototype to get a basic IPMMU environment going on
the R-Car M3-N SoC on the r8a77965 Salvator-X board. IPMMU-MM and DS0/DS1
are used with SYS-DMAC that in turn may be used with SCIF for testing.
As based "renesas-driver
From: Magnus Damm <damm+rene...@opensource.se>
Hack up the IPMMU driver to enable VM64 mode with 30-bit IOVA.
For this configuration the IPMMU hardware is configured with IMTTBCR.SL=0
and TSZ0 bits set to 0x22. This will enable a 30-bit IOVA space and use
"Initial lookup level 2"
future my plan is to continue this activity on
more recent hardware such as the r8a77965 SoC (R-Car M3-N).
Not-Yet-Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
drivers/iommu/io-pgtable-arm.c | 12
drivers/iommu/io-pgtable.c |4 +
drivers/iommu/ipmmu-v
From: Magnus Damm <damm+rene...@opensource.se>
Hack up the IPMMU driver to enable VM64 mode with 31-bit IOVA.
For this configuration the IPMMU hardware is configured with IMTTBCR.SL=1
and TSZ0 bits set to 0x21. This will enable a 31-bit IOVA space and use
"Initial lookup level 1"
From: Magnus Damm <damm+rene...@opensource.se>
Adjust code to output page table configuration on boot. Not for upstream merge.
Not-Yet-Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---
drivers/iommu/io-pgtable-arm.c | 12
drivers/iommu/io-pgtable.c |
From: Magnus Damm <damm+rene...@opensource.se>
Hack up the IPMMU driver to enable VM64 mode with 32-bit IOVA.
For this configuration the IPMMU hardware is configured with IMTTBCR.SL=1
and TSZ0 bits set to 0x20. This will enable a 32-bit IOVA space and use
"Initial lookup level 1"
From: Magnus Damm <damm+rene...@opensource.se>
Here's a simple prototype hack to get the R-Car M3-N SoC working with
the r8a77965 Salvator-X that is available in my remote access rack.
This code will allow me to test and development IPMMU features on
latest mainline together with new ha
Hi Robin,
On Tue, Jun 20, 2017 at 2:19 AM, Robin Murphy <robin.mur...@arm.com> wrote:
> On 19/06/17 10:14, Magnus Damm wrote:
>> From: Magnus Damm <damm+rene...@opensource.se>
>>
>> Add root device handling to the IPMMU driver by allowing certa
From: Magnus Damm <damm+rene...@opensource.se>
The r8a7795 IPMMU supports 40-bit bus mastering. Both
the coherent DMA mask and the streaming DMA mask are
set to unlock the 40-bit address space for coherent
allocations and streaming operations.
Signed-off-by: Magnus Damm <
1 - 100 of 347 matches
Mail list logo