Date   

Re: [PATCH 4.4.y-cip 00/10] Renesas RZ/G1N extend peripherals supported by platform

Pavel Machek
 

Hi!

Lad Prabhakar (1):
usb: host: xhci-plat: Add r8a7744 support

Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 +-
arch/arm/boot/dts/r8a7744-iwg20m.dtsi | 26 +++
arch/arm/boot/dts/r8a7744.dtsi | 219
+++++++++++++++++++++
drivers/usb/host/xhci-plat.c | 7 +-
4 files changed, 252 insertions(+), 3 deletions(-)
Looks good to me.
I will apply this series if there is no objection.
Looks good to me, too.

Thanks,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


Re: [PATCH 4.4.y-cip 00/10] Renesas RZ/G1N extend peripherals supported by platform

Lad Prabhakar
 

Hi Nobuhiro,

-----Original Message-----
From: nobuhiro1.iwamatsu@toshiba.co.jp
<nobuhiro1.iwamatsu@toshiba.co.jp>
Sent: 26 January 2020 22:16
To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>;
cip-dev@lists.cip-project.org; pavel@denx.de
Cc: Chris Paterson <Chris.Paterson2@renesas.com>
Subject: RE: [PATCH 4.4.y-cip 00/10] Renesas RZ/G1N extend peripherals
supported by platform

Hi Lad,

-----Original Message-----
From: Lad Prabhakar [mailto:prabhakar.mahadev-lad.rj@bp.renesas.com]
Sent: Friday, January 24, 2020 6:08 PM
To: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 ○SW
C□OST) <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek
<pavel@denx.de>
Cc: Chris Paterson <chris.paterson2@renesas.com>
Subject: [PATCH 4.4.y-cip 00/10] Renesas RZ/G1N extend peripherals
supported by platform

This patch series adds support for following peripherals supported by
RZ/G1N:
1: VSP
2: PWM
3: TPU
4: QSPI
5: MSIOF
6: xHCI
7: PCiec
8: NOR flash for iwg20m

This patch series is based on linux-4.4.y-cip and all the patches in
this series are cherry-picked from upstream apart from "usb: host: xhci-
plat:
Add r8a7744 support"
patch.

Biju Das (9):
ARM: dts: r8a7744: Add VSP support
ARM: dts: r8a7744: Add PWM SoC support
ARM: dts: r8a7744: Add TPU support
ARM: dts: r8a7744: Add QSPI support
ARM: dts: r8a7744: Add MSIOF[012] support
ARM: dts: r8a7744-iwg20m: Add SPI NOR support
dt-bindings: usb-xhci: Document r8a7744 support
ARM: dts: r8a7744: Add xhci support
ARM: dts: r8a7744: Add PCIe Controller device node

Lad Prabhakar (1):
usb: host: xhci-plat: Add r8a7744 support

Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 +-
arch/arm/boot/dts/r8a7744-iwg20m.dtsi | 26 +++
arch/arm/boot/dts/r8a7744.dtsi | 219
+++++++++++++++++++++
drivers/usb/host/xhci-plat.c | 7 +-
4 files changed, 252 insertions(+), 3 deletions(-)
Looks good to me.
I will apply this series if there is no objection.
Thank you for the review.

Cheers,
--Prabhakar


Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647


Re: [PATCH 4.4.y-cip 07/10] usb: host: xhci-plat: Add r8a7744 support

Lad Prabhakar
 

Hi Nobuhiro,

-----Original Message-----
From: nobuhiro1.iwamatsu@toshiba.co.jp
<nobuhiro1.iwamatsu@toshiba.co.jp>
Sent: 26 January 2020 22:07
To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>;
cip-dev@lists.cip-project.org; pavel@denx.de
Cc: Chris Paterson <Chris.Paterson2@renesas.com>
Subject: RE: [cip-dev] [PATCH 4.4.y-cip 07/10] usb: host: xhci-plat: Add
r8a7744 support

Hi Prabhakar,

-----Original Message-----
From: Prabhakar Mahadev Lad
[mailto:prabhakar.mahadev-lad.rj@bp.renesas.com]
Sent: Friday, January 24, 2020 7:13 PM
To: Prabhakar Mahadev Lad <prabhakar.mahadev-
lad.rj@bp.renesas.com>;
cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 ○SWC□
OST) <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek
<pavel@denx.de>
Cc: Chris Paterson <Chris.Paterson2@renesas.com>
Subject: RE: [cip-dev] [PATCH 4.4.y-cip 07/10] usb: host: xhci-plat:
Add
r8a7744 support

Hi All,

-----Original Message-----
From: cip-dev <cip-dev-bounces@lists.cip-project.org> On Behalf Of
Lad Prabhakar
Sent: 24 January 2020 09:08
To: cip-dev@lists.cip-project.org; Nobuhiro Iwamatsu
<nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>
Subject: [cip-dev] [PATCH 4.4.y-cip 07/10] usb: host: xhci-plat: Add
r8a7744 support

This patch adds xhci r8a7744 driver support.

Signed-off-by: Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com>
---
drivers/usb/host/xhci-plat.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Just a background wrt this patch as this isn't a backport from
mainline kernel, in mainline kernel for RZ/G1 the compatible string
defaults to "renesas,rcar-gen2-xhci" which isn't present in CIP, and
the way xhci-plat.c in cip handles compatibility is different compared
to mainline as a result this patch is added This is patch is similar to "
usb: host: xhci-plat: Add r8a7743 support"
(d09ccbb733864223402b541bdb9897cfe811881c) present in cip kernel.
Thanks for your additional information.
I will add the above comment to the commit message and commit.
Thank you.

Cheers,
--Prabhakar


Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647


Re: [cip-core] Package Proposal #2 (Minimum base packages in Debian)

Laurence Urhegyi
 

Hello Kazu-san,

I've been away for a while, and for that I do apologise.

+1 from Codethink for this.

Kind regards,
Laurence

On 23/01/2020 20:52, kazuhiro3.hayashi@toshiba.co.jp wrote:
Hello CIP Core members,
Thank you for your replies.
I need to wait for replies of Codethink, Hitachi, and Moxa,
so would like to postpone the due date to
January 31th (Fri)
(Lunar New Year holiday until Jan 29th)
Codethink
Cybertrust (Agreed #2)
Hitachi
Moxa
Renesas (Agreed #2)
Siemens (Agreed #2)
Toshiba (Agreed #2)
Best regards,
Kazu

-----Original Message-----
From: cip-dev [mailto:cip-dev-bounces@lists.cip-project.org] On Behalf Of Takehisa Katayama
Sent: Thursday, January 23, 2020 5:07 PM
To: cip-dev@lists.cip-project.org
Subject: Re: [cip-dev] [cip-core] Package Proposal #2 (Minimum base packages in Debian)

Hi Kazu-san,

Please reply with you opinion, agree or disagree.
Renesas agree.

Thanks.

Best regards,
Takehisa Katayama.



On 2020/01/21 9:52, kazuhiro3.hayashi@toshiba.co.jp wrote:
Hello CIP Core members,

Due Date: January 20th (The next TSC meeting)
If you have not yet replied to this proposal, please send us your opinion by
January 23th (By the next IRC meeting)

Best regards,
Kazu


Hello CIP Core members,

I created a simple package proposal for the packages that are installed in the "minimum base system" of Debian.
These packages are installed by
$ debootstrap --variant=minbase buster ...

It consists of 58 source packages and 84 binary packages, including all run-time dependencies.

The common reason to propose:
"This package is included in the minimum base system of Debian (debootstrap --variant=minbase),
which is essential for all Debian binary package based systems"


I would like to start the "review" phase (Phase 2) of the attached package proposal.
https://gitlab.com/cip-project/cip-core/cip-pkglist/blob/master/doc/pdp.md#phase-2-proposal-review

Please reply with you opinion, agree or disagree.
If you cannot agree to add specific packages, please show the reasons as well.

Due Date: January 20th (The next TSC meeting)

We have only 2-3 working days for this review, but
I think it may be enough to agree or disagree the very simple reason above.
(We can extend this due date if more time required for reviews, please let me know if any requests)

Best regards,
Kazu
_______________________________________________
cip-dev mailing list
cip-dev@lists.cip-project.org
https://lists.cip-project.org/mailman/listinfo/cip-dev
.
_______________________________________________
cip-dev mailing list
cip-dev@lists.cip-project.org
https://lists.cip-project.org/mailman/listinfo/cip-dev
_______________________________________________
cip-dev mailing list
cip-dev@lists.cip-project.org
https://lists.cip-project.org/mailman/listinfo/cip-dev


Re: [PATCH 4.4.y-cip 00/10] Renesas RZ/G1N extend peripherals supported by platform

Nobuhiro Iwamatsu
 

Hi Lad,

-----Original Message-----
From: Lad Prabhakar [mailto:prabhakar.mahadev-lad.rj@bp.renesas.com]
Sent: Friday, January 24, 2020 6:08 PM
To: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 ○SW
C□OST) <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek
<pavel@denx.de>
Cc: Chris Paterson <chris.paterson2@renesas.com>
Subject: [PATCH 4.4.y-cip 00/10] Renesas RZ/G1N extend peripherals
supported by platform

This patch series adds support for following peripherals supported by
RZ/G1N:
1: VSP
2: PWM
3: TPU
4: QSPI
5: MSIOF
6: xHCI
7: PCiec
8: NOR flash for iwg20m

This patch series is based on linux-4.4.y-cip and all the patches in this
series are cherry-picked from upstream apart from "usb: host: xhci-plat:
Add r8a7744 support"
patch.

Biju Das (9):
ARM: dts: r8a7744: Add VSP support
ARM: dts: r8a7744: Add PWM SoC support
ARM: dts: r8a7744: Add TPU support
ARM: dts: r8a7744: Add QSPI support
ARM: dts: r8a7744: Add MSIOF[012] support
ARM: dts: r8a7744-iwg20m: Add SPI NOR support
dt-bindings: usb-xhci: Document r8a7744 support
ARM: dts: r8a7744: Add xhci support
ARM: dts: r8a7744: Add PCIe Controller device node

Lad Prabhakar (1):
usb: host: xhci-plat: Add r8a7744 support

Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 +-
arch/arm/boot/dts/r8a7744-iwg20m.dtsi | 26 +++
arch/arm/boot/dts/r8a7744.dtsi | 219
+++++++++++++++++++++
drivers/usb/host/xhci-plat.c | 7 +-
4 files changed, 252 insertions(+), 3 deletions(-)
Looks good to me.
I will apply this series if there is no objection.

Best regards,
Nobuhiro


Re: [PATCH 4.4.y-cip 07/10] usb: host: xhci-plat: Add r8a7744 support

Nobuhiro Iwamatsu
 

Hi Prabhakar,

-----Original Message-----
From: Prabhakar Mahadev Lad
[mailto:prabhakar.mahadev-lad.rj@bp.renesas.com]
Sent: Friday, January 24, 2020 7:13 PM
To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>;
cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 ○SWC□
OST) <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek
<pavel@denx.de>
Cc: Chris Paterson <Chris.Paterson2@renesas.com>
Subject: RE: [cip-dev] [PATCH 4.4.y-cip 07/10] usb: host: xhci-plat: Add
r8a7744 support

Hi All,

-----Original Message-----
From: cip-dev <cip-dev-bounces@lists.cip-project.org> On Behalf Of Lad
Prabhakar
Sent: 24 January 2020 09:08
To: cip-dev@lists.cip-project.org; Nobuhiro Iwamatsu
<nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>
Subject: [cip-dev] [PATCH 4.4.y-cip 07/10] usb: host: xhci-plat: Add
r8a7744 support

This patch adds xhci r8a7744 driver support.

Signed-off-by: Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com>
---
drivers/usb/host/xhci-plat.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Just a background wrt this patch as this isn't a backport from mainline
kernel, in mainline kernel for RZ/G1 the compatible string defaults to
"renesas,rcar-gen2-xhci" which isn't present in CIP, and the way
xhci-plat.c in cip handles compatibility is different compared to
mainline as a result this patch is added This is patch is similar to "
usb: host: xhci-plat: Add r8a7743 support"
(d09ccbb733864223402b541bdb9897cfe811881c) present in cip kernel.
Thanks for your additional information.
I will add the above comment to the commit message and commit.

Best regards,
Nobuhiro


[ANNOUNCE] Release v4.19.98-cip19

Nobuhiro Iwamatsu
 

Hi,

CIP kernel team has released Linux kernel v4.19.98-cip19.
The linux-4.19.y-cip tree has been updated base version from v4.19.94 to v4.19.98, and rcar_can and r8a774c0 fixes have been backported.

You can get this release via the git tree at:

v4.19.98-cip19:
repository:
https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git
branch:
linux-4.19.y-cip
commit hash:
d09ea3a7c812da413d827ff96dfe69ea42a5d144
added commits:
CIP: Bump version suffix to -cip19 after merge from stable
arm64: dts: renesas: r8a774c0: cat874: Sort nodes
arm64: dts: renesas: Use ip=on for bootargs
arm64: dts: renesas: r8a774c0: cat874: Add definition for 12V regulator
arm64: dts: renesas: Update 'vsps' properties for readability
arm64: dts: renesas: r8a774c0: Fix register range of display node
arm64: dts: renesas: r8a774c0: Add missing assigned-clocks for CAN[01]
arm64: dts: renesas: r8a774c0: Clean up CPU compatibles
arm64: dts: renesas: r8a774c0: Add dynamic power coefficient
arm64: dts: renesas: r8a774c0: Create thermal zone to support IPA
thermal: rcar_thermal: update calculation formula for R-Car Gen3 SoCs
dt-bindings: can: rcar_can: Complete documentation for RZ/G2[EM]
dt-bindings: can: rcar_can: document r8a77965 support

Best regards,
Nobuhiro


Audio Transcription Service Provider

Mew Andre <info@...>
 

Hello,

Do you need someone reliable to transcribe both your short term and long term projects? Or do you need an accurate transcript for your audio or video? 

Allow us to transcribe your audio and provide you accurate transcripts and let us help you reach your business/project goals through the help of our transcription services.

What are our goals with each transcript?
  • Speed
  • Accuracy
  • Confidentiality
Each transcript is properly formatted. Strict grammar and punctuation rules are adhered to and of course, file security is something we take very seriously. 

Have any transcription queries? Send me a message. Let's discuss what you need to get done. We will address any concerns you have. 
  • Professional transcription
  • Accurate and thorough
  • Beautifully transcribed documents.
  • Grammar, spelling and jargon thoroughly checked
We have transcribed audios & videos under various requirements such as :
  • Medical transcription
  • Technical
  • Academic
  • Lectures
  • Business
  • Groups
  • Legal
  • Research interviews
more...

Skilled with international accents and prompt response. Our pricing is better or comparable to individual service provider. In addition we also assist in APA Style formatting for research papers. Please note we don’t conduct research but assist only in formatting of the papers.

Regards,
Mew Andre



Re: [PATCH 4.4.y-cip 07/10] usb: host: xhci-plat: Add r8a7744 support

Lad Prabhakar
 

Hi All,

-----Original Message-----
From: cip-dev <cip-dev-bounces@lists.cip-project.org> On Behalf Of Lad
Prabhakar
Sent: 24 January 2020 09:08
To: cip-dev@lists.cip-project.org; Nobuhiro Iwamatsu
<nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>
Subject: [cip-dev] [PATCH 4.4.y-cip 07/10] usb: host: xhci-plat: Add r8a7744
support

This patch adds xhci r8a7744 driver support.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
drivers/usb/host/xhci-plat.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Just a background wrt this patch as this isn't a backport from mainline kernel, in mainline kernel for RZ/G1 the compatible string defaults to "renesas,rcar-gen2-xhci" which isn't present in CIP, and the way xhci-plat.c in cip handles compatibility is different compared to mainline as a result this patch is added
This is patch is similar to " usb: host: xhci-plat: Add r8a7743 support" (d09ccbb733864223402b541bdb9897cfe811881c) present in cip kernel.

Cheers,
--Prabhakar Lad

diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index
8f80da4..e7f00da 100644
--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -54,7 +54,8 @@ static int xhci_plat_setup(struct usb_hcd *hcd)

if (of_device_is_compatible(of_node, "renesas,xhci-r8a7790") ||
of_device_is_compatible(of_node, "renesas,xhci-r8a7791") ||
- of_device_is_compatible(of_node, "renesas,xhci-r8a7743")) {
+ of_device_is_compatible(of_node, "renesas,xhci-r8a7743") ||
+ of_device_is_compatible(of_node, "renesas,xhci-r8a7744")) {
ret = xhci_rcar_init_quirk(hcd);
if (ret)
return ret;
@@ -69,7 +70,8 @@ static int xhci_plat_start(struct usb_hcd *hcd)

if (of_device_is_compatible(of_node, "renesas,xhci-r8a7790") ||
of_device_is_compatible(of_node, "renesas,xhci-r8a7791") ||
- of_device_is_compatible(of_node, "renesas,xhci-r8a7743"))
+ of_device_is_compatible(of_node, "renesas,xhci-r8a7743") ||
+ of_device_is_compatible(of_node, "renesas,xhci-r8a7744"))
xhci_rcar_start(hcd);

return xhci_run(hcd);
@@ -270,6 +272,7 @@ static const struct of_device_id usb_xhci_of_match[]
= {
{ .compatible = "marvell,armada-375-xhci"},
{ .compatible = "marvell,armada-380-xhci"},
{ .compatible = "renesas,xhci-r8a7743"},
+{ .compatible = "renesas,xhci-r8a7744"},
{ .compatible = "renesas,xhci-r8a7790"},
{ .compatible = "renesas,xhci-r8a7791"},
{ },
--
2.7.4

_______________________________________________
cip-dev mailing list
cip-dev@lists.cip-project.org
https://lists.cip-project.org/mailman/listinfo/cip-dev

Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647


[PATCH 4.4.y-cip 10/10] ARM: dts: r8a7744: Add PCIe Controller device node

Lad Prabhakar
 

From: Biju Das <biju.das@bp.renesas.com>

commit 24035072999c5c175ac03ed2db2ef98cb339b319 upstream.

Add a device node for the PCIe controller on the Renesas
RZ/G1N (r8a7744) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(dropped resets property. changed clocks and power-domains properties.)
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm/boot/dts/r8a7744.dtsi | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 195d1d7..9e1885c 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -1469,6 +1469,33 @@
renesas,#wpf = <1>;
};

+ pciec: pcie@fe000000 {
+ compatible = "renesas,pcie-r8a7744",
+ "renesas,pcie-rcar-gen2";
+ reg = <0 0xfe000000 0 0x80000>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ bus-range = <0x00 0xff>;
+ device_type = "pci";
+ ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
+ 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
+ 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
+ 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
+ /* Map all possible DDR as inbound ranges */
+ dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
+ 0x43000000 2 0x00000000 2 0x00000000 1 0x00000000>;
+ interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
+ #interrupt-cells = <1>;
+ interrupt-map-mask = <0 0 0 0>;
+ interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp3_clks R8A7744_CLK_PCIEC>, <&pcie_bus_clk>;
+ clock-names = "pcie", "pcie_bus";
+ power-domains = <&cpg_clocks>;
+ status = "disabled";
+ };
+
du: display@feb00000 {
compatible = "renesas,du-r8a7744";
reg = <0 0xfeb00000 0 0x40000>,
--
2.7.4


[PATCH 4.4.y-cip 09/10] ARM: dts: r8a7744: Add xhci support

Lad Prabhakar
 

From: Biju Das <biju.das@bp.renesas.com>

commit 54234e80858cf3730917d71af80a13ac4b8f26dc upstream.

Add a device node for the xhci controller on the Renesas
RZ/G1N (r8a7744) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(dropped resets property. changed clocks and power-domains properties.
dropped "renesas,rcar-gen2-xhci" compatible string)
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm/boot/dts/r8a7744.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 12d698c..195d1d7 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -1274,6 +1274,24 @@
dma-channels = <13>;
};

+ /*
+ * pci1 and xhci share the same phy, therefore only one of them
+ * can be active at any one time. If both of them are enabled,
+ * a race condition will determine who'll control the phy.
+ * A firmware file is needed by the xhci driver in order for
+ * USB 3.0 to work properly.
+ */
+ xhci: usb@ee000000 {
+ compatible = "renesas,xhci-r8a7744";
+ reg = <0 0xee000000 0 0xc00>;
+ interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp3_clks R8A7744_CLK_SSUSB>;
+ power-domains = <&cpg_clocks>;
+ phys = <&usb2 1>;
+ phy-names = "usb";
+ status = "disabled";
+ };
+
pci0: pci@ee090000 {
compatible = "renesas,pci-r8a7744",
"renesas,pci-rcar-gen2";
--
2.7.4


[PATCH 4.4.y-cip 08/10] dt-bindings: usb-xhci: Document r8a7744 support

Lad Prabhakar
 

From: Biju Das <biju.das@bp.renesas.com>

commit 2cfe8f864d0e2504dc2f68f0b04668d877f7c7b4 upstream.

Document r8a7744 xhci support. The driver will use the fallback
compatible string "renesas,rcar-gen2-xhci", therefore no driver
change is needed.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt
index fce0320..bf5192b 100644
--- a/Documentation/devicetree/bindings/usb/usb-xhci.txt
+++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt
@@ -3,7 +3,8 @@ USB xHCI controllers
Required properties:
- compatible: should be one of "generic-xhci",
"marvell,armada-375-xhci", "marvell,armada-380-xhci",
- "renesas,xhci-r8a7790", "renesas,xhci-r8a7791", "renesas,xhci-r8a7743"
+ "renesas,xhci-r8a7790", "renesas,xhci-r8a7791", "renesas,xhci-r8a7743",
+ "renesas,xhci-r8a7744"
(deprecated: "xhci-platform").
- reg: should contain address and length of the standard XHCI
register set for the device.
--
2.7.4


[PATCH 4.4.y-cip 07/10] usb: host: xhci-plat: Add r8a7744 support

Lad Prabhakar
 

This patch adds xhci r8a7744 driver support.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
drivers/usb/host/xhci-plat.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index 8f80da4..e7f00da 100644
--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -54,7 +54,8 @@ static int xhci_plat_setup(struct usb_hcd *hcd)

if (of_device_is_compatible(of_node, "renesas,xhci-r8a7790") ||
of_device_is_compatible(of_node, "renesas,xhci-r8a7791") ||
- of_device_is_compatible(of_node, "renesas,xhci-r8a7743")) {
+ of_device_is_compatible(of_node, "renesas,xhci-r8a7743") ||
+ of_device_is_compatible(of_node, "renesas,xhci-r8a7744")) {
ret = xhci_rcar_init_quirk(hcd);
if (ret)
return ret;
@@ -69,7 +70,8 @@ static int xhci_plat_start(struct usb_hcd *hcd)

if (of_device_is_compatible(of_node, "renesas,xhci-r8a7790") ||
of_device_is_compatible(of_node, "renesas,xhci-r8a7791") ||
- of_device_is_compatible(of_node, "renesas,xhci-r8a7743"))
+ of_device_is_compatible(of_node, "renesas,xhci-r8a7743") ||
+ of_device_is_compatible(of_node, "renesas,xhci-r8a7744"))
xhci_rcar_start(hcd);

return xhci_run(hcd);
@@ -270,6 +272,7 @@ static const struct of_device_id usb_xhci_of_match[] = {
{ .compatible = "marvell,armada-375-xhci"},
{ .compatible = "marvell,armada-380-xhci"},
{ .compatible = "renesas,xhci-r8a7743"},
+ { .compatible = "renesas,xhci-r8a7744"},
{ .compatible = "renesas,xhci-r8a7790"},
{ .compatible = "renesas,xhci-r8a7791"},
{ },
--
2.7.4


[PATCH 4.4.y-cip 06/10] ARM: dts: r8a7744-iwg20m: Add SPI NOR support

Lad Prabhakar
 

From: Biju Das <biju.das@bp.renesas.com>

commit e259e04748e2798a747d9c363ded50514b15a7b9 upstream.

Add support for the SPI NOR device used to boot up the system
to the iWave RZ/G1N Qseven System On Module DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm/boot/dts/r8a7744-iwg20m.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744-iwg20m.dtsi b/arch/arm/boot/dts/r8a7744-iwg20m.dtsi
index 503583e..82ee3c1 100644
--- a/arch/arm/boot/dts/r8a7744-iwg20m.dtsi
+++ b/arch/arm/boot/dts/r8a7744-iwg20m.dtsi
@@ -36,6 +36,11 @@
function = "mmc";
};

+ qspi_pins: qspi {
+ groups = "qspi_ctrl", "qspi_data2";
+ function = "qspi";
+ };
+
sdhi0_pins: sd0 {
groups = "sdhi0_data4", "sdhi0_ctrl";
function = "sdhi0";
@@ -53,6 +58,27 @@
status = "okay";
};

+&qspi {
+ pinctrl-0 = <&qspi_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+
+ /* WARNING - This device contains the bootloader. Handle with care. */
+ flash: flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <50000000>;
+ spi-tx-bus-width = <2>;
+ spi-rx-bus-width = <2>;
+ m25p,fast-read;
+ spi-cpol;
+ spi-cpha;
+ };
+};
+
&sdhi0 {
pinctrl-0 = <&sdhi0_pins>;
pinctrl-names = "default";
--
2.7.4


[PATCH 4.4.y-cip 05/10] ARM: dts: r8a7744: Add MSIOF[012] support

Lad Prabhakar
 

From: Biju Das <biju.das@bp.renesas.com>

commit 491e70588805a8895bff6ac5a626c8bb481fea1c upstream.

Add the DT nodes needed by MSIOF[012] interfaces to the SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(changed clocks and power-domains properties, removed resets property)
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm/boot/dts/r8a7744.dtsi | 45 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index b6517c3..12d698c 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -934,6 +934,51 @@
status = "disabled";
};

+ msiof0: spi@e6e20000 {
+ compatible = "renesas,msiof-r8a7744",
+ "renesas,rcar-gen2-msiof";
+ reg = <0 0xe6e20000 0 0x0064>;
+ interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp0_clks R8A7744_CLK_MSIOF0>;
+ dmas = <&dmac0 0x51>, <&dmac0 0x52>,
+ <&dmac1 0x51>, <&dmac1 0x52>;
+ dma-names = "tx", "rx", "tx", "rx";
+ power-domains = <&cpg_clocks>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
+ msiof1: spi@e6e10000 {
+ compatible = "renesas,msiof-r8a7744",
+ "renesas,rcar-gen2-msiof";
+ reg = <0 0xe6e10000 0 0x0064>;
+ interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks R8A7744_CLK_MSIOF1>;
+ dmas = <&dmac0 0x55>, <&dmac0 0x56>,
+ <&dmac1 0x55>, <&dmac1 0x56>;
+ dma-names = "tx", "rx", "tx", "rx";
+ power-domains = <&cpg_clocks>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
+ msiof2: spi@e6e00000 {
+ compatible = "renesas,msiof-r8a7744",
+ "renesas,rcar-gen2-msiof";
+ reg = <0 0xe6e00000 0 0x0064>;
+ interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks R8A7744_CLK_MSIOF2>;
+ dmas = <&dmac0 0x41>, <&dmac0 0x42>,
+ <&dmac1 0x41>, <&dmac1 0x42>;
+ dma-names = "tx", "rx", "tx", "rx";
+ power-domains = <&cpg_clocks>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
can0: can@e6e80000 {
compatible = "renesas,can-r8a7744",
"renesas,rcar-gen2-can";
--
2.7.4


[PATCH 4.4.y-cip 04/10] ARM: dts: r8a7744: Add QSPI support

Lad Prabhakar
 

From: Biju Das <biju.das@bp.renesas.com>

commit 0faadd5a410533d3a75601b607ee5a4110b754f4 upstream.

Add the DT node for the QSPI interface to the SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(changed clocks and power-domains property, removed resets property)
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm/boot/dts/r8a7744.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 425915a..b6517c3 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -595,6 +595,21 @@
status = "disabled";
};

+ qspi: spi@e6b10000 {
+ compatible = "renesas,qspi-r8a7744", "renesas,qspi";
+ reg = <0 0xe6b10000 0 0x2c>;
+ interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp9_clks R8A7744_CLK_QSPI_MOD>;
+ dmas = <&dmac0 0x17>, <&dmac0 0x18>,
+ <&dmac1 0x17>, <&dmac1 0x18>;
+ dma-names = "tx", "rx", "tx", "rx";
+ power-domains = <&cpg_clocks>;
+ num-cs = <1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
scifa0: serial@e6c40000 {
compatible = "renesas,scifa-r8a7744",
"renesas,rcar-gen2-scifa", "renesas,scifa";
--
2.7.4


[PATCH 4.4.y-cip 03/10] ARM: dts: r8a7744: Add TPU support

Lad Prabhakar
 

From: Biju Das <biju.das@bp.renesas.com>

commit eb83d144978e9f21aaa1372d75b50f3eec22ed48 upstream.

Add TPU support to SoC DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(updated clock and power-domains property. removed resets property)
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm/boot/dts/r8a7744.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 79c71ef..425915a 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -260,6 +260,15 @@
reg = <0 0xe6060000 0 0x250>;
};

+ tpu: pwm@e60f0000 {
+ compatible = "renesas,tpu-r8a7744", "renesas,tpu";
+ reg = <0 0xe60f0000 0 0x148>;
+ clocks = <&mstp3_clks R8A7744_CLK_TPU0>;
+ power-domains = <&cpg_clocks>;
+ #pwm-cells = <3>;
+ status = "disabled";
+ };
+
apmu@e6152000 {
compatible = "renesas,r8a7744-apmu", "renesas,apmu";
reg = <0 0xe6152000 0 0x188>;
--
2.7.4


[PATCH 4.4.y-cip 02/10] ARM: dts: r8a7744: Add PWM SoC support

Lad Prabhakar
 

From: Biju Das <biju.das@bp.renesas.com>

commit cebc31e8b59445aaf84b8810ff76b2fcc246fea2 upstream.

Add the definitions for pwm[0123456] to the SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(updated clocks and power-domains property.removed resets property)
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm/boot/dts/r8a7744.dtsi | 63 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index cf7d8fe..79c71ef 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -847,6 +847,69 @@
status = "disabled";
};

+ pwm0: pwm@e6e30000 {
+ compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+ reg = <0 0xe6e30000 0 0x8>;
+ clocks = <&mstp5_clks R8A7744_CLK_PWM>;
+ power-domains = <&cpg_clocks>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm1: pwm@e6e31000 {
+ compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+ reg = <0 0xe6e31000 0 0x8>;
+ clocks = <&mstp5_clks R8A7744_CLK_PWM>;
+ power-domains = <&cpg_clocks>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm2: pwm@e6e32000 {
+ compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+ reg = <0 0xe6e32000 0 0x8>;
+ clocks = <&mstp5_clks R8A7744_CLK_PWM>;
+ power-domains = <&cpg_clocks>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm3: pwm@e6e33000 {
+ compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+ reg = <0 0xe6e33000 0 0x8>;
+ clocks = <&mstp5_clks R8A7744_CLK_PWM>;
+ power-domains = <&cpg_clocks>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm4: pwm@e6e34000 {
+ compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+ reg = <0 0xe6e34000 0 0x8>;
+ clocks = <&mstp5_clks R8A7744_CLK_PWM>;
+ power-domains = <&cpg_clocks>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm5: pwm@e6e35000 {
+ compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+ reg = <0 0xe6e35000 0 0x8>;
+ clocks = <&mstp5_clks R8A7744_CLK_PWM>;
+ power-domains = <&cpg_clocks>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
+ pwm6: pwm@e6e36000 {
+ compatible = "renesas,pwm-r8a7744", "renesas,pwm-rcar";
+ reg = <0 0xe6e36000 0 0x8>;
+ clocks = <&mstp5_clks R8A7744_CLK_PWM>;
+ power-domains = <&cpg_clocks>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
+
can0: can@e6e80000 {
compatible = "renesas,can-r8a7744",
"renesas,rcar-gen2-can";
--
2.7.4


[PATCH 4.4.y-cip 01/10] ARM: dts: r8a7744: Add VSP support

Lad Prabhakar
 

From: Biju Das <biju.das@bp.renesas.com>

commit eddcbe813dd3c8247840859bf4d04b3423d35f8f upstream.

Add VSP support to SoC DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(dropped resets property. changed clocks and power-domains properties.
added vsp device configuration)
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm/boot/dts/r8a7744.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 91e032a..cf7d8fe 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -1277,6 +1277,48 @@
power-domains = <&cpg_clocks>;
};

+ vsp@fe928000 {
+ compatible = "renesas,vsp1";
+ reg = <0 0xfe928000 0 0x8000>;
+ interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp1_clks R8A7744_CLK_VSP1_S>;
+ power-domains = <&cpg_clocks>;
+
+ renesas,has-lut;
+ renesas,has-sru;
+ renesas,#rpf = <5>;
+ renesas,#uds = <1>;
+ renesas,#wpf = <4>;
+ };
+
+ vsp@fe930000 {
+ compatible = "renesas,vsp1";
+ reg = <0 0xfe930000 0 0x8000>;
+ interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp1_clks R8A7744_CLK_VSP1_DU0>;
+ power-domains = <&cpg_clocks>;
+
+ renesas,has-lif;
+ renesas,has-lut;
+ renesas,#rpf = <4>;
+ renesas,#uds = <1>;
+ renesas,#wpf = <1>;
+ };
+
+ vsp@fe938000 {
+ compatible = "renesas,vsp1";
+ reg = <0 0xfe938000 0 0x8000>;
+ interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp1_clks R8A7744_CLK_VSP1_DU1>;
+ power-domains = <&cpg_clocks>;
+
+ renesas,has-lif;
+ renesas,has-lut;
+ renesas,#rpf = <4>;
+ renesas,#uds = <1>;
+ renesas,#wpf = <1>;
+ };
+
du: display@feb00000 {
compatible = "renesas,du-r8a7744";
reg = <0 0xfeb00000 0 0x40000>,
--
2.7.4


[PATCH 4.4.y-cip 00/10] Renesas RZ/G1N extend peripherals supported by platform

Lad Prabhakar
 

This patch series adds support for following peripherals supported by RZ/G1N:
1: VSP
2: PWM
3: TPU
4: QSPI
5: MSIOF
6: xHCI
7: PCiec
8: NOR flash for iwg20m

This patch series is based on linux-4.4.y-cip and all the patches in this
series are cherry-picked from upstream apart from "usb: host: xhci-plat: Add r8a7744 support"
patch.

Biju Das (9):
ARM: dts: r8a7744: Add VSP support
ARM: dts: r8a7744: Add PWM SoC support
ARM: dts: r8a7744: Add TPU support
ARM: dts: r8a7744: Add QSPI support
ARM: dts: r8a7744: Add MSIOF[012] support
ARM: dts: r8a7744-iwg20m: Add SPI NOR support
dt-bindings: usb-xhci: Document r8a7744 support
ARM: dts: r8a7744: Add xhci support
ARM: dts: r8a7744: Add PCIe Controller device node

Lad Prabhakar (1):
usb: host: xhci-plat: Add r8a7744 support

Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 +-
arch/arm/boot/dts/r8a7744-iwg20m.dtsi | 26 +++
arch/arm/boot/dts/r8a7744.dtsi | 219 +++++++++++++++++++++
drivers/usb/host/xhci-plat.c | 7 +-
4 files changed, 252 insertions(+), 3 deletions(-)

--
2.7.4

3241 - 3260 of 7474