Re: [PATCH 4/4] pinctrl: sh-pfc: r8a77990: Add CAN FD pins, groups and functions

2018-11-26 Thread Marek Vasut
On 11/21/2018 08:39 AM, Geert Uytterhoeven wrote: > Hi Marek, Hi, > On Wed, Nov 21, 2018 at 12:33 AM Marek Vasut wrote: >> On 11/19/2018 10:47 AM, Geert Uytterhoeven wrote: >>> On Mon, Nov 19, 2018 at 10:06 AM Geert Uytterhoeven >>> wrote: On Sun, Nov 18, 2018 at 6:29 PM Marek Vasut

Re: Did You Receive My Last Mail?

2018-11-26 Thread Reem Al-Hashimi
Hello, My name is ms. Reem Al-Hashimi. The UAE minister of state for international cooparation. I got your contact from an email database from your country. I have a financial transaction i would like to discuss with you. Please reply to reem2...@daum.net, for more details if you are

[PATCH v4 3/3] mmc: renesas_sdhi: add initial setting of interrupt mask register

2018-11-26 Thread Niklas Söderlund
The initial value of the interrupt mask register may be different from the H/W manual at the startup of the kernel by setting from the bootloader. Since the error interrupts may be unmasked, the driver sets initial value. The initial value is only known for R-Car Gen2 and Gen3 platforms so limit

[PATCH v4 0/3] mmc: tmio: fix reset operation

2018-11-26 Thread Niklas Söderlund
Hi, While looking at the Renesas BSP kernel I found patches which improves the state of the hardware at probe and after runtime resume. Patch 1/3 make sure the module clock is enabled after resuming before register are accessed. Patch 2/3 is the real change in this series and brings in reset of

[PATCH v4 1/3] mmc: tmio: enable module clock before resetting when resuming

2018-11-26 Thread Niklas Söderlund
On runtime power management resume, the host clock needs to be enabled before calling tmio_mmc_reset. If the mmc device has a power domain entry, the host clock is enabled via genpd_runtime_resume, running before tmio_mmc_host_runtime_resume. If the mmc device has no power domain entry, however,

[PATCH v4 2/3] mmc: tmio: fix reset operation

2018-11-26 Thread Niklas Söderlund
SD / MMC did not operate properly when suspend transition failed. Because the SCC was not reset at resume, issue of the command failed. Call the host specific reset function and reset the hardware in order to add reset of SCC. This change also fixes tuning on some stubborn cards on Gen2. Based on

Re: [PATCH v3 2/3] mmc: tmio: fix reset operation

2018-11-26 Thread Niklas Söderlund
Hi Yamada-san, Thanks for your feedback. On 2018-11-02 15:54:17 +0900, Masahiro Yamada wrote: > On Thu, Nov 1, 2018 at 8:53 AM Niklas Söderlund > wrote: > > > > From: Niklas Söderlund > > > > SD / MMC did not operate properly when suspend transition failed. > > Because the SCC was not reset at

Re: [PATCH 2/2] mmc: core: remove obsolete mmc_set_blockcount() function

2018-11-26 Thread Niklas Söderlund
Hi Wolfram, Thanks for your patch. On 2018-11-26 14:38:14 +0100, Wolfram Sang wrote: > The only user was converted to fill a sbc command which is the proper > way to do it because of AutoCMD23 feature of some hosts. > > Signed-off-by: Wolfram Sang > Tested-by: Clément Péron Reviewed-by:

RE: [PATCH 2/2] mmc: core: remove obsolete mmc_set_blockcount() function

2018-11-26 Thread Avri Altman
> > The only user was converted to fill a sbc command which is the proper > way to do it because of AutoCMD23 feature of some hosts. > > Signed-off-by: Wolfram Sang > Tested-by: Clément Péron Reviewed-by: Avri Altman

Re: [PATCH 1/2] mmc: core: use mrq->sbc when sending CMD23 for RPMB

2018-11-26 Thread Niklas Söderlund
Hi Wolfram, Thanks for your patch. On 2018-11-26 14:38:13 +0100, Wolfram Sang wrote: > When sending out CMD23 in the blk preparation, the comment there > rightfully says: > >* However, it is not sufficient to just send CMD23, >* and avoid the final CMD12, as on an error

RE: [PATCH 1/2] mmc: core: use mrq->sbc when sending CMD23 for RPMB

2018-11-26 Thread Avri Altman
> > When sending out CMD23 in the blk preparation, the comment there > rightfully says: > >* However, it is not sufficient to just send CMD23, >* and avoid the final CMD12, as on an error condition >* CMD12 (stop) needs to be sent anyway. This, coupled >* with

[PATCH 0/2] mmc: refactor RPMB block count handling

2018-11-26 Thread Wolfram Sang
On Renesas R-Car SDHI hardware, we sometimes had timeouts accessing the RPMB. This is because AutoCMD23/12 features needs a properly filled sbc to work correctly. But RPMB sends an individual CMD23. I could have fixed the driver but after some research concluded that fixing the core seems the

[PATCH 2/2] mmc: core: remove obsolete mmc_set_blockcount() function

2018-11-26 Thread Wolfram Sang
The only user was converted to fill a sbc command which is the proper way to do it because of AutoCMD23 feature of some hosts. Signed-off-by: Wolfram Sang Tested-by: Clément Péron --- drivers/mmc/core/core.c | 14 -- drivers/mmc/core/core.h | 2 -- 2 files changed, 16 deletions(-)

[PATCH 1/2] mmc: core: use mrq->sbc when sending CMD23 for RPMB

2018-11-26 Thread Wolfram Sang
When sending out CMD23 in the blk preparation, the comment there rightfully says: * However, it is not sufficient to just send CMD23, * and avoid the final CMD12, as on an error condition * CMD12 (stop) needs to be sent anyway. This, coupled * with Auto-CMD23

[PATCH 22/40] arm64: dts: renesas: r8a77990: Add all HSCIF nodes

2018-11-26 Thread Simon Horman
From: Takeshi Kihara This patch adds the device nodes for all HSCIF serial ports to the R8A77990 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 88 +++ 1 file changed,

[PATCH 20/40] arm64: dts: renesas: ebisu: Enable Audio

2018-11-26 Thread Simon Horman
From: Takeshi Kihara This patch enables Audio for the Ebisu board on R8A77990 SoC. Signed-off-by: Takeshi Kihara [simon: rebased] Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 127 + 1 file changed, 127 insertions(+) diff --git

[PATCH 35/40] arm64: dts: renesas: r8a77990: Add I2C-DVFS device node

2018-11-26 Thread Simon Horman
From: Takeshi Kihara This patch adds I2C-DVFS device node for the R8A77990 SoC. v2 * Drop aliases update as in upstream it is not required to configure the BD9571 PMIC for DDR backup, nor is the use of i2c are aliases desired. * Do not describe the device as compatible with

[PATCH 40/40] arm64: dts: renesas: Add all CPUs in cooling maps

2018-11-26 Thread Simon Horman
From: Viresh Kumar Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems

[PATCH 39/40] arm64: dts: renesas: r8a77990: add thermal device support

2018-11-26 Thread Simon Horman
From: Yoshihiro Kaneko This patch adds the thermal device node and the thermal-zone for the R8A77990 SoC. Signed-off-by: Yoshihiro Kaneko Tested-by: Simon Horman Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 31 +++ 1 file changed,

[PATCH 37/40] arm64: dts: renesas: r8a7796: Add CMT device nodes

2018-11-26 Thread Simon Horman
From: Biju Das This patch adds CMT{0|1|2|3} device nodes for r8a7796 SoC. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 70 1 file changed, 70 insertions(+) diff --git

[PATCH 38/40] arm64: dts: renesas: r8a77990: Enable I2C DMA

2018-11-26 Thread Simon Horman
From: Takeshi Kihara This patch enables I2C DMA. NOTE: I2C7 DMA is not supported by R-Car Gen3 Hardware User's Manual Rev.0.80E. Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko Tested-by: Simon Horman Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman ---

[PATCH 26/40] arm64: dts: renesas: r8a77990: Fix VIN endpoint numbering

2018-11-26 Thread Simon Horman
From: Jacopo Mondi The VIN driver bindings dictates fixed numbering for VIN endpoints connected to CSI-2 endpoints, even when a single endpoint exists. Without proper endpoint numbering the VIN driver fails to probe. Based on a patch in BSP from Koji Matsuoka Fixes: ec70407ae7d7 ("arm64:

[PATCH 36/40] arm64: dts: renesas: r8a7796: add SSIU support for sound

2018-11-26 Thread Simon Horman
From: Kuninori Morimoto rsnd driver supports SSIU now, let's use it. Then, BUSIF DMA settings on rcar_sound,ssi (= rxu, txu) are no longer needed. To avoid git merge timing issue / git bisect issue, this patch doesn't remove it so far, but will be removed in the future. Signed-off-by: Kuninori

[PATCH 24/40] arm64: dts: renesas: ebisu: Add serial console pins

2018-11-26 Thread Simon Horman
From: Takeshi Kihara This patch adds pin control for SCIF2 on R8A77990 E3 Ebisu. Signed-off-by: Takeshi Kihara Signed-off-by: Marek Vasut Reviewed-by: Yoshihiro Shimoda Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 8 1 file changed, 8

[PATCH 30/40] arm64: dts: renesas: Add CPU topology on R-Car Gen3 SoCs

2018-11-26 Thread Simon Horman
From: Gaku Inami This patch adds the "cpu-map" into r8a7795/r8a7796 composed of multi-cluster. This definition is used to parse the cpu topology. Signed-off-by: Gaku Inami Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 32

[PATCH 33/40] arm64: dts: renesas: r8a77965: Add CAN and CANFD controller nodes

2018-11-26 Thread Simon Horman
From: Takeshi Kihara This patch adds CAN{0,1} and CANFD controller nodes for the R8A77965 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Marek Vasut Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 51 +-- 1 file changed, 49

[PATCH 32/40] arm64: dts: renesas: r8a77990: ebisu: Add and enable PCIe device node

2018-11-26 Thread Simon Horman
From: Takeshi Kihara This patch adds PCI express channel 0 device node to the R8A77990 SoC and enables PCIEC0 PCI express controller on the Ebisu board. Signed-off-by: Takeshi Kihara Signed-off-by: Marek Vasut Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts |

[PATCH 31/40] arm64: dts: renesas: Add CPU capacity-dmips-mhz

2018-11-26 Thread Simon Horman
From: Gaku Inami Set the capacity-dmips-mhz for R-Car Gen3 SoCs, that is based on dhrystone. The average in 10 times of dhrystone result as follows: r8a7795 SoC (A57x4 + A53x4) CPU max-freq dhrystone - A57 1500 MHz 11470943 lps/s A53 1200 MHz

[PATCH 27/40] arm64: dts: renesas: r8a7795: add SSIU support for sound

2018-11-26 Thread Simon Horman
From: Kuninori Morimoto rsnd driver supports SSIU now, let's use it. Then, BUSIF DMA settings on rcar_sound,ssi (= rxu, txu) are no longer needed. To avoid git merge timing issue / git bisect issue, this patch doesn't remove it so far, but will be removed in the future. Signed-off-by: Kuninori

[PATCH 28/40] arm64: dts: renesas: r8a774a1: Replace power magic numbers

2018-11-26 Thread Simon Horman
From: Fabrizio Castro Now that include/dt-bindings/power/r8a774a1-sysc.h is in Linus' master branch we can replace power related magic numbers with the corresponding labels. Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman ---

[PATCH 34/40] arm64: dts: renesas: r8a77990: ebisu: Add and enable CAN,FD device nodes

2018-11-26 Thread Simon Horman
From: Marek Vasut This patch adds CAN0,1 and CANFD device nodes for the r8a77990 SoC and enables CANFD connected to CN10 on the E3 Ebisu board using the R8A77990 SoC. Signed-off-by: Marek Vasut Acked-by: Wolfram Sang Signed-off-by: Simon Horman ---

[PATCH 04/40] arm64: dts: renesas: r8a779{7|8}0: add PWM support

2018-11-26 Thread Simon Horman
From: Sergei Shtylyov Describe PWMs in the R8A779{7|8}0 device trees. Based on the original (and large) patches by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman ---

[PATCH 02/40] arm64: dts: renesas: r8a7795: remove unneeded sound #address/size-cells

2018-11-26 Thread Simon Horman
From: Kuninori Morimoto commit 2d87dc0e5be2 ("arm64: dts: renesas: r8a7795: Add address properties to rcar_sound port nodes") added missing #address-cells and #size-cells for sound ports. But, these are based on platform, not on SoC. This patch cleanups it. Signed-off-by: Kuninori Morimoto

[PATCH 01/40] arm64: dts: renesas: r8a774a1: Add CAN nodes

2018-11-26 Thread Simon Horman
From: Chris Paterson Add the device nodes for both RZ/G2M CAN channels. Signed-off-by: Chris Paterson Reviewed-by: Biju Das Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 24 1 file changed, 24 insertions(+) diff --git

[PATCH 06/40] arm64: dts: renesas: r8a77970: add thermal support

2018-11-26 Thread Simon Horman
From: Sergei Shtylyov Describe THS/CIVM in the R8A77970 device tree. Based on the original (and large) patches by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman ---

[PATCH 10/40] arm64: dts: renesas: r8a774a1: Add VIN and CSI-2 nodes

2018-11-26 Thread Simon Horman
From: Biju Das Add VIN and CSI-2 nodes to RZ/G2M SoC dtsi. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 367 ++ 1 file changed, 367 insertions(+) diff --git

[PATCH 08/40] arm64: dts: renesas: r8a77965: Add LVDS support

2018-11-26 Thread Simon Horman
From: Laurent Pinchart The M3-N (r8a77965) platform has one LVDS encoder connected to the DU. Add the corresponding DT node and wire it up. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 27

[PATCH 14/16] ARM: dts: r8a77470: Add QSPI support

2018-11-26 Thread Simon Horman
From: Fabrizio Castro Add QSPI[01] support to the RZ/G1C SoC specific device tree. Signed-off-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 32 1 file changed, 32 insertions(+) diff --git

[GIT PULL] Renesas ARM64 Based SoC DT Updates for v4.21

2018-11-26 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM64 based SoC DT updates for v4.21. I am sending out this pull-request at this time as there are a number of patches queued up in my arm64 DT branch and I hope that this will ease the burden later on in the development cycle. I expect

[PATCH 14/40] arm64: dts: renesas: r8a77965: Connect R-Car M3-N AVB to IPMMU

2018-11-26 Thread Simon Horman
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 Tested-by: Simon Horman Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 21/40] arm64: dts: renesas: r8a779{7|8}0: add TMU support

2018-11-26 Thread Simon Horman
From: Sergei Shtylyov Describe TMUs in the R8A779{7|8}0 device trees. Based on the original (and large) patches by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 65

[PATCH 11/40] arm64: dts: renesas: r8a779{7|8}0: add MSIOF support

2018-11-26 Thread Simon Horman
From: Sergei Shtylyov Describe MSIOF in the R8A779{7|8}0 device trees. The DMA props are omitted for R8A77980 as the RT-DMAC isn't supported (yet?)... Based on the original (and large) patches by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Signed-off-by:

[PATCH 13/40] arm64: dts: renesas: r8a77990: add/enable USB3.0 peripheral device node

2018-11-26 Thread Simon Horman
From: Yoshihiro Shimoda This patch adds/enables USB3.0 peripheral device node for r8a77990 ebisu board. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 5 + arch/arm64/boot/dts/renesas/r8a77990.dtsi | 11 +++

[PATCH 23/40] arm64: dts: renesas: Switch eMMC bus to 1V8 on Salvator-X and ULCB

2018-11-26 Thread Simon Horman
From: Marek Vasut The eMMC card has two supplies, VCC and VCCQ. The VCC supplies the NAND array and the VCCQ supplies the bus. On Salvator-X and ULCB, the VCC is connected to 3.3V rail, while the VCCQ is connected to 1.8V rail. Adjust the pinmux to match the bus, which is always operating in

[PATCH 17/40] arm64: dts: renesas: salvator-common: add companion property in usb3_peri0

2018-11-26 Thread Simon Horman
From: Yoshihiro Shimoda This patch adds a property "companion" with xhci0 phandle to the usb3_peri0 node in salvator-common.dtsi. About the detail of this property for renesas_usb3 udc driver, please refer to the commit 39facfa01c9f ("usb: gadget: udc: renesas_usb3: Add register of usb role

[PATCH 03/40] arm64: dts: renesas: r8a77990: Add INTC-EX device node

2018-11-26 Thread Simon Horman
From: Takeshi Kihara This patch adds a device node for the Interrupt Controller for External Devices (INTC-EX) on R-Car E3, which serves external IRQ pins IRQ[0-5]. Signed-off-by: Takeshi Kihara Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman ---

[PATCH 05/40] arm64: dts: renesas: r8a77990: Add DMA properties to MSIOF nodes

2018-11-26 Thread Simon Horman
From: Yoshihiro Kaneko This patch adds DMA properties to the MSIOF device nodes of R8A77990 SoC. Signed-off-by: Yoshihiro Kaneko Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 10 ++ 1 file

[PATCH 19/40] arm64: dts: renesas: r8a77990: Add Audio-DMAC and Sound device nodes

2018-11-26 Thread Simon Horman
From: Yoshihiro Kaneko This patch adds Audio-DMAC0 device node and Sound device node for the R8A77990 SoC. Based on work by Takeshi Kihara and Hai Nguyen Pham. Signed-off-by: Yoshihiro Kaneko [simon: dropped include update, which is already present] Signed-off-by: Simon Horman ---

[PATCH 15/40] arm64: dts: renesas: r8a77980: Connect R-Car V3H AVB to IPMMU

2018-11-26 Thread Simon Horman
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 Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77980.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 25/40] arm64: dts: renesas: ebisu: Add and enable SDHI device nodes

2018-11-26 Thread Simon Horman
From: Takeshi Kihara This patch adds SDHI{0,1,3} device nodes for the r8a77990 SoC and enables SD card slot connected to SDHI0, micro SD card slot connected to SDHI1 and eMMC connected to SDHI3 on the Ebisu board using the R8A77990 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Marek Vasut

[PATCH 07/40] arm64: dts: renesas: r8a77980: add thermal support

2018-11-26 Thread Simon Horman
From: Sergei Shtylyov Describe THS/CIVM in the R8A77980 device trees. Signed-off-by: Sergei Shtylyov Reviewed-by: Niklas Söderlund Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77980.dtsi | 53 +++ 1 file changed, 53 insertions(+) diff --git

[PATCH 09/40] arm64: dts: renesas: revise hsusb's reg size

2018-11-26 Thread Simon Horman
From: Yoshihiro Shimoda This patch revises the reg size of each hsusb device node for r8a7795, r8a7796 and r8a77965. Reported-by: Biju Das Fixes: d2422e108812 ("arm64: dts: r8a7795: Add HSUSB device node") Fixes: 4725f2b88057 ("arm64: dts: renesas: r8a7795: add hsusb ch3 device node") Fixes:

[PATCH 16/40] arm64: dts: renesas: r8a77990: Connect R-Car E3 AVB to IPMMU

2018-11-26 Thread Simon Horman
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 Tested-by: Simon Horman Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 12/40] arm64: dts: renesas: r8a77990: Add SCIF-{0,1,3,4,5} device nodes

2018-11-26 Thread Simon Horman
From: Takeshi Kihara This patch adds the device nodes for SCIF-{0,1,3,4,5} serial ports to the R8A77990 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 83 +++ 1 file

[PATCH 29/40] arm64: dts: renesas: r8a774a1: Replace clock magic numbers

2018-11-26 Thread Simon Horman
From: Fabrizio Castro Now that include/dt-bindings/clock/r8a774a1-cpg-mssr.h is in Linus' master branch we can replace clock related magic numbers with the corresponding labels. Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven [simon: corrected whitespace] Signed-off-by: Simon

[PATCH 18/40] arm64: dts: renesas: r8a7799{0|5}: add/enable USB2.0 peripheral

2018-11-26 Thread Simon Horman
From: Yoshihiro Shimoda This patch adds/enables USB2.0 peripheral for R-Car [DE]3 boards. R-Car E3 Ebisu board connects the ID pin to the SoC, so this adds a group "usb0_id" into usb0_pins node. Also, to use SW15 pin 3 side, this patch adds vbus0_usb2 node on r8a77990-ebisu.dts. R-Car D3 Draak

[PATCH 16/16] ARM: dts: r9a06g032: Correct the GIC DT node name

2018-11-26 Thread Simon Horman
From: Phil Edworthy Harmless mistake, but it's incorrect. The DT spec provides recommendations for the node names: "The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model. If appropriate, the name should be one of the following

[PATCH 09/16] ARM: dts: iwg23s-sbc: Enable watchdog support

2018-11-26 Thread Simon Horman
From: Biju Das This patch enables watchdog support on the iWave iwg23s sbc. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 12/16] ARM: dts: iwg23s-sbc: Enable cmt0

2018-11-26 Thread Simon Horman
From: Biju Das This patch enables cmt0 support on the iWave iwg23s sbc. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 11/16] ARM: dts: r8a77470: Add CMT SoC specific support

2018-11-26 Thread Simon Horman
From: Biju Das Add CMT[01] support to r8a77470 SoC DT. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470.dtsi

[PATCH 13/16] ARM: dts: iwg23s-sbc: Add pinctl support for EtherAVB

2018-11-26 Thread Simon Horman
From: Biju Das Adding pinctrl support for EtherAVB interface. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 8 1 file changed, 8

[PATCH 10/16] ARM: dts: r8a77470: Add USB-DMAC device nodes

2018-11-26 Thread Simon Horman
From: Biju Das This patch adds USB DMAC nodes. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 56 + 1 file changed, 56 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470.dtsi

[PATCH 07/16] ARM: dts: r8a7740, emev2, sh73a0: Include SoC name in DTSI

2018-11-26 Thread Simon Horman
From: Magnus Damm Update the R-Mobile A1 (r8a7740), Emma Mobile EV2 (emev2) and SH-Mobile AG5 (sh72a0) DTSI to include product name. Signed-off-by: Magnus Damm [simon: squashed similar patches] Signed-off-by: Simon Horman --- arch/arm/boot/dts/emev2.dtsi | 2 +-

[PATCH 03/16] ARM: dts: r8a77470: Add SDHI0 support

2018-11-26 Thread Simon Horman
From: Fabrizio Castro RZ/G1C comes with two different types of IP for the SDHI interfaces, SDHI0 and SDHI2 share the same IP type, and such an IP is also compatible with the one found in R-Car Gen2. SDHI1 IP on the other hand is compatible with R-Car Gen3 with internal DMA. This patch completes

[PATCH 06/16] ARM: dts: r8a779[01]: Disable unconnected LVDS encoders

2018-11-26 Thread Simon Horman
From: Laurent Pinchart The LVDS0 encoder on Koelsh and Porter, and the LVDS1 encoder on Lager, are enabled in DT but have no device connected to their output. This result in spurious messages being printed to the kernel log such as rcar-du feb0.display: no connector for encoder

[PATCH 02/16] ARM: dts: r8a77470: Add I2C[0123] support

2018-11-26 Thread Simon Horman
From: Fabrizio Castro Add device tree nodes for the I2C[0123] controllers. Also, add the aliases node. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 64

[PATCH 01/16] ARM: dts: r9a06g032: Add pinctrl node

2018-11-26 Thread Simon Horman
From: Phil Edworthy This provides a pinctrl driver for the Renesas R9A06G032 SoC Based on a patch originally written by Michel Pollet at Renesas. Signed-off-by: Phil Edworthy Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r9a06g032.dtsi | 8 1 file changed, 8

[PATCH 05/16] ARM: dts: iwg23s-sbc: Add uSD and eMMC support

2018-11-26 Thread Simon Horman
From: Fabrizio Castro Add uSD card and eMMC support to the iwg23s single board computer powered by the RZ/G1C SoC (a.k.a. r8a77470). Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 76

[PATCH 15/16] ARM: dts: iwg23s-sbc: Add QSPI flash support

2018-11-26 Thread Simon Horman
From: Fabrizio Castro This commit adds QSPI flash support to the iwg23s board specific device tree. Signed-off-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git

[GIT PULL] Renesas ARM Based SoC DT Updates for v4.21

2018-11-26 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM based SoC DT updates for v4.21. I am sending out this pull-request at this time as there are a number of patches queued up in my arm (32) DT branch and I hope that this will ease the burden later on in the development cycle. I expect

[PATCH 04/16] ARM: dts: r8a77470: Add SDHI1 support

2018-11-26 Thread Simon Horman
From: Fabrizio Castro Althought interface SDHI1 found on the RZ/G1C SoC (a.k.a. r8a77470) is compatible with the R-Car Gen3 ones, its OF compatibility is restricted to the SoC specific compatible string to avoid confusion, as from a more generic perspective the RZ/G1C is sharing the most

[PATCH 08/16] ARM: dts: r8a77470: Add watchdog support to SoC dtsi

2018-11-26 Thread Simon Horman
From: Biju Das This patch adds watchdog support to the r8a77470 SoC dtsi. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro [simon: moved node to preserve sort order] Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff

Re: [PATCH] sata_rcar: fix deferred probing

2018-11-26 Thread Geert Uytterhoeven
On Sat, Nov 24, 2018 at 7:14 PM Sergei Shtylyov wrote: > The driver overrides the error codes returned by platform_get_irq() to > -EINVAL, so if it returns -EPROBE_DEFER, the driver would fail the probe > permanently instead of the deferred probing. Switch to propagating the > error code

Re: [RFC PATCH 0/3] mmc: refactor RPMB block count handling

2018-11-26 Thread Wolfram Sang
> Just want to point that RPMB with Iproc controller don't work on 4.14 > but it's not due to your patch. Thanks, now I got it! signature.asc Description: PGP signature

Re: [PATCH] phy: renesas: rcar-gen3-usb2: follow the hardware manual procedure

2018-11-26 Thread Simon Horman
On Wed, Nov 21, 2018 at 08:10:06AM +, Yoshihiro Shimoda wrote: > This patch modifies rcar_gen3_init_otg() procedure to follow Figure > 73.4 of "R-Car Series, 3rd Generation User's Manual: Hardware Rev.1.00". > > Signed-off-by: Yoshihiro Shimoda > --- > This patch is based on the latest

Re: [PATCH] sata_rcar: fix deferred probing

2018-11-26 Thread Simon Horman
On Sat, Nov 24, 2018 at 09:14:16PM +0300, Sergei Shtylyov wrote: > The driver overrides the error codes returned by platform_get_irq() to > -EINVAL, so if it returns -EPROBE_DEFER, the driver would fail the probe > permanently instead of the deferred probing. Switch to propagating the > error code

Re: [PATCH 1/4] clk: renesas: rcar-gen3-cpg: factor out cpg_reg_modify()

2018-11-26 Thread Simon Horman
On Thu, Nov 22, 2018 at 09:39:42PM +0300, Sergei Shtylyov wrote: > There's quite often repeated sequence of a CPG register read-modify-write, > so it seems worth factoring it out into a function -- this saves 68 bytes > of the object code already (AArch64 gcc 4.8.5) and will save more with the >

Re: [PATCH] mmc: tmio: introduce mask for 'always 1' bits

2018-11-26 Thread Simon Horman
On Fri, Nov 23, 2018 at 02:15:38PM +0100, Wolfram Sang wrote: > > > > > > +#define TMIO_STAT_ALWAYS_SET_27 BIT(27) /* only known on R-Car > > > > > 2+ so far */ > > > > > > > > The _27 seems to be odd to include in the name, but I assume it > > > > was the least bad option you could come