Date   

Re: Moxa: Join CIP Kernel maintenance team

Jan Kiszka
 

On 2018-03-09 11:17, Zoran S wrote:
https://www.cip-project.org/
https://wiki.linuxfoundation.org/civilinfrastructureplatform/start
https://wiki.linuxfoundation.org/civilinfrastructureplatform/ciptesting
https://wiki.linuxfoundation.org/civilinfrastructureplatform/ciptestingboardatdeskdingledevdeployment#b-d-standalone-virtual-machine-box

Etc (pages 2/5 through 5/5].
And more specifically
https://wiki.linuxfoundation.org/civilinfrastructureplatform/cipkernelmaintenance

SZ Lin, will you or one of your colleagues interested in supporting the
maintenance be in Portland next week? Daniel will, and he can likely
share some further information regarding the RT side.

Jan


Zoran
_______

On Fri, Mar 9, 2018 at 10:54 AM, SZ Lin (林上智) <SZ.Lin@...
<mailto:SZ.Lin@...>> wrote:

Hi all,

We are highly interested in joining CIP {standard, rt} kernel
maintenance team; therefore, I would like to ask how to get started
with it.

Is there any guidance?

SZ Lin
_______________________________________________
cip-dev mailing list
cip-dev@... <mailto:cip-dev@...>
https://lists.cip-project.org/mailman/listinfo/cip-dev
<https://lists.cip-project.org/mailman/listinfo/cip-dev>




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


[ANNOUNCE] 4.4.120-cip20-rt13

Daniel Wagner <wagi@...>
 

Hello CIP RT Folks!

I'm pleased to announce the 4.4.120-cip20-rt13 stable release.

This release is just an update to the new stable 4.4.120-cip20 version
and no RT specific changes have been made.

You can get this release via the git tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/wagi/linux-cip-rt.git

branch: linux-4.4.y-cip-rt
Head SHA1: e716c559d17b43bbf1c6b803040597a97d9c3767

Enjoy!
Daniel


Re: Moxa: Join CIP Kernel maintenance team

Zoran
 

On Fri, Mar 9, 2018 at 10:54 AM, SZ Lin (林上智) <SZ.Lin@...> wrote:
Hi all,

We are highly interested in joining CIP {standard, rt} kernel maintenance team; therefore, I would like to ask how to get started with it.

Is there any guidance?

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


[PATCH 4/4] ARM: shmobile: enable XHCI_RCAR in defconfig

Fabrizio Castro <fabrizio.castro@...>
 

From: Simon Horman <horms+renesas@...>

Signed-off-by: Simon Horman <horms+renesas@...>
(cherry picked from commit ae6b99bc6928d13856172f287ee21be2eac39673)
Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
---
arch/arm/configs/shmobile_defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig
index 2e79332..30a3424 100644
--- a/arch/arm/configs/shmobile_defconfig
+++ b/arch/arm/configs/shmobile_defconfig
@@ -162,6 +162,8 @@ CONFIG_SND_SOC_RSRC_CARD=y
CONFIG_SND_SOC_AK4642=y
CONFIG_SND_SOC_WM8978=y
CONFIG_USB=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_XHCI_RCAR=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_R8A66597_HCD=y
--
2.7.4


[PATCH 3/4] ARM: dts: r8a7743: Add xhci support to SoC dtsi

Fabrizio Castro <fabrizio.castro@...>
 

Add node for xhci. Boards DT files will enable it if needed.

Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...>
Signed-off-by: Simon Horman <horms+renesas@...>
(cherry picked from commit b6d3b649441936621c87b79bff8dd436e2397e3c)
(modified clocks and power-domains properties, removed resets property)
Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
---
arch/arm/boot/dts/r8a7743.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index a6f953b..822757e 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -843,6 +843,24 @@
status = "disabled";
};

+ /*
+ * 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-r8a7743";
+ reg = <0 0xee000000 0 0xc00>;
+ interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp3_clks R8A7743_CLK_SSUSB>;
+ power-domains = <&cpg_clocks>;
+ phys = <&usb2 1>;
+ phy-names = "usb";
+ status = "disabled";
+ };
+
clocks {
#address-cells = <2>;
#size-cells = <2>;
--
2.7.4


[PATCH 2/4] dt-bindings: usb-xhci: Document r8a7743 support

Fabrizio Castro <fabrizio.castro@...>
 

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

Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...>
Signed-off-by: Mathias Nyman <mathias.nyman@...>
Signed-off-by: Greg Kroah-Hartman <gregkh@...>
(cherry picked from commit 5fd29937dec4b64aa91a3207742cd8c720cd0595)
(removed "renesas,rcar-gen2-xhci" fallback compatible string)
Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
---
Documentation/devicetree/bindings/usb/usb-xhci.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt
index 86f67f0..fce0320 100644
--- a/Documentation/devicetree/bindings/usb/usb-xhci.txt
+++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt
@@ -3,8 +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" (deprecated:
- "xhci-platform").
+ "renesas,xhci-r8a7790", "renesas,xhci-r8a7791", "renesas,xhci-r8a7743"
+ (deprecated: "xhci-platform").
- reg: should contain address and length of the standard XHCI
register set for the device.
- interrupts: one XHCI interrupt should be described here.
--
2.7.4


[PATCH 1/4] usb: host: xhci-plat: Add r8a7743 support

Fabrizio Castro <fabrizio.castro@...>
 

This patch adds xhci r8a7743 driver support.

Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
Reviewed-by: Biju Das <biju.das@...>
---
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 7afd607..8e6ec16 100644
--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -53,7 +53,8 @@ static int xhci_plat_setup(struct usb_hcd *hcd)
int ret;

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-r8a7791") ||
+ of_device_is_compatible(of_node, "renesas,xhci-r8a7743")) {
ret = xhci_rcar_init_quirk(hcd);
if (ret)
return ret;
@@ -67,7 +68,8 @@ static int xhci_plat_start(struct usb_hcd *hcd)
struct device_node *of_node = hcd->self.controller->of_node;

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-r8a7791") ||
+ of_device_is_compatible(of_node, "renesas,xhci-r8a7743"))
xhci_rcar_start(hcd);

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


[PATCH 0/4] Add XHCI support to r8a7743

Fabrizio Castro <fabrizio.castro@...>
 

Dear All,

this series adds XHCI support to r8a7743.
The only patch that hasn't been backported is:
"usb: host: xhci-plat: Add r8a7743 support"

The reason for the new commit is that the backporting of the generic
compatible string for R-Car Gen2 would have brought along a few
unnecessary bits and pieces, a new commit seemed to address the goal
more reliably.

Thanks,

Fabrizio Castro (3):
usb: host: xhci-plat: Add r8a7743 support
dt-bindings: usb-xhci: Document r8a7743 support
ARM: dts: r8a7743: Add xhci support to SoC dtsi

Simon Horman (1):
ARM: shmobile: enable XHCI_RCAR in defconfig

Documentation/devicetree/bindings/usb/usb-xhci.txt | 4 ++--
arch/arm/boot/dts/r8a7743.dtsi | 18 ++++++++++++++++++
arch/arm/configs/shmobile_defconfig | 2 ++
drivers/usb/host/xhci-plat.c | 7 +++++--
4 files changed, 27 insertions(+), 4 deletions(-)

--
2.7.4


Moxa: Join CIP Kernel maintenance team

SZ Lin (林上智) <SZ.Lin@...>
 

Hi all,

We are highly interested in joining CIP {standard, rt} kernel maintenance team; therefore, I would like to ask how to get started with it.

Is there any guidance?

SZ Lin


New CIP blog post

Maemalynn Meanor <maemalynn@...>
 

CIP Community: 

Daniel Wagner from Siemens drafted a technical blog, which was posted online earlier today. You can view the blog post here: https://www.cip-project.org/blog/2018/03/08/real-time-patchset-for-the-cip-kernel.

We ask that you please share the blog post with your social network. You can retweet us here: https://twitter.com/cip_project/status/971973939013414912 

Or you can use the below social posts: 

Twitter:
.@cip_project member and #kernel #maintainer Daniel Wagner from @Siemens shares insight for a #realtime patchset for the CIP kernel in this new #blog post: http://bit.ly/2Hi9z7A #linuxfoundation
Facebook or LinkedIn:
Learn more about the real-time patchset for the CIP kernel in this new blog post: http://bit.ly/2Hi9z7A Just in time for The Linux Foundation’s ELC next week! #lfelc

Thanks,
Maemalynn


Maemalynn Meanor
PR Manager 
The Linux Foundation
Maemalynn@...
(602) 541-0356
Skype: Maemalynn






Re: Meltdown and Spectre in CIP

Ben Hutchings <ben.hutchings@...>
 

Here's the status of these issues, as of today's kernel release
(4.4.120-cip20).

On Wed, 2018-01-10 at 14:16 +0000, Ben Hutchings wrote:
Meltdown:
- arm 32-bit: Not affected?  (ARM reports that only the Cortex-A75 is
  affected, but I haven't seen information from other architecture
  licensees.)
As Chris pointed out, some 32-bit ARM cores are affected by a variant
of Meltdown, though ARM claims that this variant is unlikely to leak
sensitive information. In any case, there is no sign of any mitigation
in mainline, which would be a prerequisite for addressing it in the CIP
kernel.

- x86 32-bit: Not fixed, no plans to fix.  There are two affected
  configurations that I'm aware of: Siemens' i386-rt and iot2000.
  I doubt that the Quark processor in iot2000 is affected.
- x86 64-bit: Fully mitigated in mainline and 4.4-stable.
This is not quite accurate. The 4.14-stable branch and later versions
use per-CPU entry stacks, allowing normal kernel stacks to be excluded
from the user-mode page tables. KAISER, used in older branches
including 4.4, does not do this, so kernel stacks are still vulnerable
to information leaks.

Spectre: will be mitigated in mainline, but still under discussion. 
Based on what I've seen, I expect that it will be possible to backport
most of these to 4.4.
Spectre variant 1 is being mitigated by adding a masking operation
after each sensitive range check, mostly using the generic
array_index_nospec() function. This has been done for some generic and
x86-specific code, and backported to the 4.4 CIP kernel.

Spectre variant 2 is being mitigated for x86 using "retpoline" (for
indirect calls) and filling the return stack buffer (for returns).
This has been backported to the 4.4 CIP kernel. The retpoline feature
requires a new compiler - gcc 7.3, or a version with retpoline support
backported. The default versions of gcc in Debian 8 (jessie) and 9
(stretch) include this.

Mainline Linux has additional mitigations for Spectre variant 2 on x86,
using new microcoded CPU features (IBPB and IBRS). These have *not*
been backported to 4.4 and are not included in the CIP kernel. There
have also been some changes to the kernel entry code that clear several
registers. These have also not been backported.

I don't see any sign of Spectre being addressed for 32-bit ARM yet.

Ben.

--
Ben Hutchings
Software Developer, Codethink Ltd.


Re: Linux 4.4.120-cip20

Agustin Benito Bethencourt <agustin.benito@...>
 

Hi

On 8 March 2018 14:05:38 GMT-08:00, Ben Hutchings <ben.hutchings@...> wrote:
I've released Linux version 4.4.120-cip20.  A summary of the changes
since 4.4.112-cip18:

- Merge fixes from stable versions 4.4.113-4.4.120 inclusive
  - Includes some mitigations for Spectre v1 and v2 on x86
- Fix stable regressions in x86/apic, arm/omap2, tca8418_keypad, leds
- Backport additional mitigations for Spectre on x86, and related
fixes
- Add SMP, I2C/IIC, RTC and SDHI support for R8A7743 and iWave board

I also tagged an intermediate version 4.4.112-cip19 before merging from
4.4-stable.

(If you were expecting this last week, I apologise - I came back from
holiday to a huge backlog of changes from 4.4-stable, and it's taken a
lot of time to review those and to find some missing pieces.)
Just in time for ELC. Thanks for the committment.


Ben.

--
Ben Hutchings
Software Developer, Codethink Ltd.

_______________________________________________
cip-dev mailing list
cip-dev@...
https://lists.cip-project.org/mailman/listinfo/cip-dev
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Linux 4.4.120-cip20

Ben Hutchings <ben.hutchings@...>
 

I've released Linux version 4.4.120-cip20.  A summary of the changes
since 4.4.112-cip18:

- Merge fixes from stable versions 4.4.113-4.4.120 inclusive
  - Includes some mitigations for Spectre v1 and v2 on x86
- Fix stable regressions in x86/apic, arm/omap2, tca8418_keypad, leds
- Backport additional mitigations for Spectre on x86, and related
fixes
- Add SMP, I2C/IIC, RTC and SDHI support for R8A7743 and iWave board

I also tagged an intermediate version 4.4.112-cip19 before merging from
4.4-stable.

(If you were expecting this last week, I apologise - I came back from
holiday to a huge backlog of changes from 4.4-stable, and it's taken a
lot of time to review those and to find some missing pieces.)

Ben.

--
Ben Hutchings
Software Developer, Codethink Ltd.


[PATCH 3/3] ARM: dts: iwg20m: Add SPI NOR support

Fabrizio Castro <fabrizio.castro@...>
 

Add support for the SPI NOR device used to boot up the system
to the System on Module DT.

Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
Signed-off-by: Chris Paterson <chris.paterson2@...>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...>
Signed-off-by: Simon Horman <horms+renesas@...>
(cherry picked from commit 781e923a5fe4751d3aaa740ca3de0f9d179c34ef)
Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
---
arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
index 4119737..75a8ca5 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
+++ b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
@@ -44,6 +44,11 @@
function = "mmc";
};

+ qspi_pins: qspi {
+ groups = "qspi_ctrl", "qspi_data2";
+ function = "qspi";
+ };
+
sdhi0_pins: sd0 {
groups = "sdhi0_data4", "sdhi0_ctrl";
function = "sdhi0";
@@ -61,6 +66,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 = "sst,sst25vf016b", "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <50000000>;
+ spi-tx-bus-width = <1>;
+ spi-rx-bus-width = <1>;
+ m25p,fast-read;
+ spi-cpol;
+ spi-cpha;
+ };
+};
+
&sdhi0 {
pinctrl-0 = <&sdhi0_pins>;
pinctrl-names = "default";
--
2.7.4


[PATCH 2/3] ARM: dts: r8a7743: Add QSPI support

Fabrizio Castro <fabrizio.castro@...>
 

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

Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
Signed-off-by: Chris Paterson <chris.paterson2@...>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...>
Signed-off-by: Simon Horman <horms+renesas@...>
(cherry picked from commit 450c03718e971880ae067dc5f94a86f961acd6c3)
(changed clocks and power-domains property, removed resets property)
Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
---
arch/arm/boot/dts/r8a7743.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index 0cdfb6b..a6f953b 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -28,6 +28,7 @@
i2c6 = &iic0;
i2c7 = &iic1;
i2c8 = &iic3;
+ spi0 = &qspi;
spi1 = &msiof0;
spi2 = &msiof1;
spi3 = &msiof2;
@@ -782,6 +783,21 @@
status = "disabled";
};

+ qspi: spi@e6b10000 {
+ compatible = "renesas,qspi-r8a7743", "renesas,qspi";
+ reg = <0 0xe6b10000 0 0x2c>;
+ interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp9_clks R8A7743_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";
+ };
+
msiof0: spi@e6e20000 {
compatible = "renesas,msiof-r8a7743",
"renesas,rcar-gen2-msiof";
--
2.7.4


[PATCH 1/3] spi: rspi: Add r8a7743/5 to the compatible list

Fabrizio Castro <fabrizio.castro@...>
 

Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...>
Acked-by: Rob Herring <robh@...>
Signed-off-by: Mark Brown <broonie@...>
(cherry picked from commit 10c1705eced11d6ad710fddcdb57aaa9f85a6f98)
Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
---
Documentation/devicetree/bindings/spi/spi-rspi.txt | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/spi/spi-rspi.txt b/Documentation/devicetree/bindings/spi/spi-rspi.txt
index 8f4169f..3b02b3a 100644
--- a/Documentation/devicetree/bindings/spi/spi-rspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-rspi.txt
@@ -5,11 +5,14 @@ Required properties:
"renesas,rspi-<soctype>", "renesas,rspi" as fallback.
For Renesas Serial Peripheral Interface on RZ/A1H:
"renesas,rspi-<soctype>", "renesas,rspi-rz" as fallback.
- For Quad Serial Peripheral Interface on R-Car Gen2:
+ For Quad Serial Peripheral Interface on R-Car Gen2 and
+ RZ/G1 devices:
"renesas,qspi-<soctype>", "renesas,qspi" as fallback.
Examples with soctypes are:
- "renesas,rspi-sh7757" (SH)
- "renesas,rspi-r7s72100" (RZ/A1H)
+ - "renesas,qspi-r8a7743" (RZ/G1M)
+ - "renesas,qspi-r8a7745" (RZ/G1E)
- "renesas,qspi-r8a7790" (R-Car H2)
- "renesas,qspi-r8a7791" (R-Car M2-W)
- "renesas,qspi-r8a7792" (R-Car V2H)
--
2.7.4


[PATCH 0/3] Add SPI flash support to r8a7743

Fabrizio Castro <fabrizio.castro@...>
 

Dear All,

this patch backports all that is required to add SPI flash
support to the r8a7743.

Thanks,

Fabrizio Castro (3):
spi: rspi: Add r8a7743/5 to the compatible list
ARM: dts: r8a7743: Add QSPI support
ARM: dts: iwg20m: Add SPI NOR support

Documentation/devicetree/bindings/spi/spi-rspi.txt | 5 ++++-
arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 26 ++++++++++++++++++++++
arch/arm/boot/dts/r8a7743.dtsi | 16 +++++++++++++
3 files changed, 46 insertions(+), 1 deletion(-)

--
2.7.4


[PATCH 4/4] ARM: dts: r8a7743: Add MSIOF[012] support

Fabrizio Castro <fabrizio.castro@...>
 

Add the DT nodes needed by MSIOF[012] interfaces to the SoC dtsi.
Also, define aliases for spi[123].

Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
Signed-off-by: Chris Paterson <chris.paterson2@...>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...>
Signed-off-by: Simon Horman <horms+renesas@...>
(cherry picked from commit 7031a219f649d12acda8a70a4b6b816ee123c8e2)
(changed clocks and power-domains properties, removed resets property)
Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
---
arch/arm/boot/dts/r8a7743.dtsi | 48 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index 40137cf..0cdfb6b 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -28,6 +28,9 @@
i2c6 = &iic0;
i2c7 = &iic1;
i2c8 = &iic3;
+ spi1 = &msiof0;
+ spi2 = &msiof1;
+ spi3 = &msiof2;
};

cpus {
@@ -779,6 +782,51 @@
status = "disabled";
};

+ msiof0: spi@e6e20000 {
+ compatible = "renesas,msiof-r8a7743",
+ "renesas,rcar-gen2-msiof";
+ reg = <0 0xe6e20000 0 0x0064>;
+ interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp0_clks R8A7743_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-r8a7743",
+ "renesas,rcar-gen2-msiof";
+ reg = <0 0xe6e10000 0 0x0064>;
+ interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks R8A7743_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-r8a7743",
+ "renesas,rcar-gen2-msiof";
+ reg = <0 0xe6e00000 0 0x0064>;
+ interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp2_clks R8A7743_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";
+ };
+
clocks {
#address-cells = <2>;
#size-cells = <2>;
--
2.7.4


[PATCH 3/4] spi: sh-msiof: Add r8a774[35] to the compatible list

Fabrizio Castro <fabrizio.castro@...>
 

Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...>
Signed-off-by: Mark Brown <broonie@...>
(cherry picked from commit 4702f4b23a2fc6196abacf515a959e69176da40e)
(removed "renesas,rcar-gen3-msiof")
Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
---
Documentation/devicetree/bindings/spi/sh-msiof.txt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/sh-msiof.txt b/Documentation/devicetree/bindings/spi/sh-msiof.txt
index ef65d54..7a20ec6 100644
--- a/Documentation/devicetree/bindings/spi/sh-msiof.txt
+++ b/Documentation/devicetree/bindings/spi/sh-msiof.txt
@@ -1,13 +1,15 @@
Renesas MSIOF spi controller

Required properties:
-- compatible : "renesas,msiof-r8a7790" (R-Car H2)
+- compatible : "renesas,msiof-r8a7743" (RZ/G1M)
+ "renesas,msiof-r8a7745" (RZ/G1E)
+ "renesas,msiof-r8a7790" (R-Car H2)
"renesas,msiof-r8a7791" (R-Car M2-W)
"renesas,msiof-r8a7792" (R-Car V2H)
"renesas,msiof-r8a7793" (R-Car M2-N)
"renesas,msiof-r8a7794" (R-Car E2)
"renesas,sh-mobile-msiof" (generic SH-Mobile compatibile device)
- "renesas,rcar-gen2-msiof" (generic R-Car Gen2 compatible device)
+ "renesas,rcar-gen2-msiof" (generic R-Car Gen2 and RZ/G1 compatible device)
"renesas,sh-msiof" (deprecated)

When compatible with the generic version, nodes
--
2.7.4


[PATCH 2/4] spi: sh-msiof: Add compatible strings for r8a774[35]

Fabrizio Castro <fabrizio.castro@...>
 

Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
Signed-off-by: Mark Brown <broonie@...>
(cherry picked from commit bdacfc7b6216dd30d07c10732fd4c0a660c62853)
(using r8a779x_data instead of rcar_gen2_data)
Signed-off-by: Fabrizio Castro <fabrizio.castro@...>
---
drivers/spi/spi-sh-msiof.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
index e190b33..dc5419d 100644
--- a/drivers/spi/spi-sh-msiof.c
+++ b/drivers/spi/spi-sh-msiof.c
@@ -975,6 +975,8 @@ static const struct sh_msiof_chipdata r8a779x_data = {

static const struct of_device_id sh_msiof_match[] = {
{ .compatible = "renesas,sh-mobile-msiof", .data = &sh_data },
+ { .compatible = "renesas,msiof-r8a7743", .data = &r8a779x_data },
+ { .compatible = "renesas,msiof-r8a7745", .data = &r8a779x_data },
{ .compatible = "renesas,msiof-r8a7790", .data = &r8a779x_data },
{ .compatible = "renesas,msiof-r8a7791", .data = &r8a779x_data },
{ .compatible = "renesas,msiof-r8a7792", .data = &r8a779x_data },
--
2.7.4

8681 - 8700 of 9641