[PATCH] drm: rcar-du: Fix the return value in case of error in 'rcar_du_crtc_set_crc_source()'

2018-10-15 Thread Christophe JAILLET
We return 0 unconditionally in 'rcar_du_crtc_set_crc_source()'. However, 'ret' is set to some error codes if some function calls fail. Return 'ret' instead to propagate the error code. Fixes: 47a52d024e89 ("media: drm: rcar-du: Add support for CRC computation") Signed-off-by: Christophe JAILLET

[PATCH v2] arm64: dts: renesas: add/enable USB2.0 peripheral for R-Car [DE]3

2018-10-15 Thread Yoshihiro Shimoda
This patch adds/enables USB2.0 peripheral for R-Car [DE]3 boards. So, the default mode on each board is: - R-Car D3 Draak board (has a type-A connector) = host. - R-Car E3 Ebisu board (has a type-B micro connector) = peripheral. Signed-off-by: Yoshihiro Shimoda --- Changed from v1: - Revise th

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

2018-10-15 Thread 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: b9535853777f ("arm64: dts: r

RE: USB2.0 blocks on RZ/G1C

2018-10-15 Thread Yoshihiro Shimoda
Hello Biju-san, Thank you for the email. > From: Biju Das, Sent: Monday, October 15, 2018 11:55 PM > > Hello Shimoda-San and all, > > RZ/G1C USB2.0 host/function controller has the below features compared to > R-Car Gen2/Gen3 USB2.0 block > > 1) It has a shared pll reset register for hsusb

RE: [PATCH] arm64: dts: renesas: add/enable USB2.0 peripheral for R-Car [DE]3

2018-10-15 Thread Yoshihiro Shimoda
Hi Biju-san, > From: Biju Das, Sent: Friday, October 12, 2018 5:32 PM > > Hi Shimoda-San, > > Thanks for the patch. > > > -Original Message- > > From: linux-renesas-soc-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Yoshihiro Shimoda > > Sent: 09 October 2018 11:45 > > di

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

2018-10-15 Thread Niklas Söderlund
From: 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. Merge tmio_mmc_reset() into tmio_mmc_hw_reset() in order to add reset of SCC to tmio_mmc_host_runtime_resume(). Based on work from Masaha

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

2018-10-15 Thread Niklas Söderlund
From: 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

[PATCH v2 0/3] mmc: tmio: Fix reset operation

2018-10-15 Thread Niklas Söderlund
From: 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 serie

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

2018-10-15 Thread Niklas Söderlund
From: 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

Re: [PATCH v3 1/4] dt-bindings: media: i2c: Add bindings for Maxim Integrated MAX9286

2018-10-15 Thread Laurent Pinchart
Hello, On Monday, 15 October 2018 22:01:21 EEST Niklas Söderlund wrote: > On 2018-10-15 18:37:40 +0100, Kieran Bingham wrote: > >>> diff --git > >>> a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.txt > >>> b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.txt > >>> new file

Re: [PATCH 4/5] drm: rcar-du: Add R8A7744 support

2018-10-15 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Friday, 21 September 2018 21:08:30 EEST Fabrizio Castro wrote: > From: Biju Das > > Add support for the R8A7744 DU (which is very similar to the R8A7743 DU); > it has 1 DPAD (RGB) output and 1 LVDS output. > > Signed-off-by: Biju Das > Reviewed-by: Fa

Re: [PATCH 3/5] drm: rcar-du: Add r8a77470 support

2018-10-15 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Friday, 21 September 2018 21:08:29 EEST Fabrizio Castro wrote: > Add RZ/G1C (a.k.a. r8a77470) support to the R-Car DU driver. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Biju Das > --- > drivers/gpu/drm/rcar-du/rcar_du_drv.c | 26

Re: [PATCH 2/5] dt-bindings: display: renesas: du: Document the r8a7744 bindings

2018-10-15 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Friday, 21 September 2018 21:08:28 EEST Fabrizio Castro wrote: > From: Biju Das > > Document the RZ/G1N (R8A7744) SoC in the R-Car DU bindings. > > Signed-off-by: Biju Das > Reviewed-by: Fabrizio Castro Reviewed-by: Laurent Pinchart and taken in my

Re: [PATCH 1/5] dt-bindings: display: renesas: du: Document the r8a77470 bindings

2018-10-15 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Friday, 21 September 2018 21:08:27 EEST Fabrizio Castro wrote: > Document the RZ/G1C (r8a77470) SoC in R-Car DU bindings. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Biju Das Reviewed-by: Laurent Pinchart and taken in my tree. > --- > Documen

Re: [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings

2018-10-15 Thread Rob Herring
On Fri, 5 Oct 2018 00:01:38 +0300, Sergei Shtylyov wrote: > Document the R-Car V3M (R8A77970) SoC in the Renesas R-Car gen2 thermal > bindings. The hardware is the same as in the R-Car D3 (R8A77995) plus an > extra status register. > > Signed-off-by: Sergei Shtylyov > > --- > Documentation/de

Re: [PATCH v3 1/4] dt-bindings: media: i2c: Add bindings for Maxim Integrated MAX9286

2018-10-15 Thread jacopo mondi
Hi Kieran, On Mon, Oct 15, 2018 at 06:37:40PM +0100, Kieran Bingham wrote: > Hi Sakari, > > Thank you for the review, > > On 15/10/18 17:45, Sakari Ailus wrote: > > Hi Kieran, > > > > Could you cc the devicetree list for the next version, please? > > Argh - looks like I've missed the DT list on al

Re: [PATCH] dt-bindings: arm: Fix RZ/G2E part number

2018-10-15 Thread Rob Herring
On Thu, 4 Oct 2018 09:53:10 +0100, Fabrizio Castro wrote: > Fix RZ/G2E part number from its description. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Biju Das > --- > Documentation/devicetree/bindings/arm/shmobile.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by

Re: [PATCH v3 1/4] dt-bindings: media: i2c: Add bindings for Maxim Integrated MAX9286

2018-10-15 Thread Niklas Söderlund
Hi Kieran, On 2018-10-15 18:37:40 +0100, Kieran Bingham wrote: > >> diff --git > >> a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.txt > >> b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.txt > >> new file mode 100644 > >> index ..a73e3c0dc31b > >> --- /dev/

Re: [PATCH] dt-bindings: pwm: renesas: pwm-rcar: document R8A779{7|8}0 bindings

2018-10-15 Thread Rob Herring
On Fri, Oct 12, 2018 at 01:21:14PM +0200, Thierry Reding wrote: > On Mon, Oct 01, 2018 at 10:57:39PM +0300, Sergei Shtylyov wrote: > > Document the R-Car V3{M|H} (R8A779{7|8}0) SoC in the Renesas R-Car PWM > > bindings. R8A77970's hardware is a generic R-Car gen3 PWM, while R8A77980 > > has an ext

Re: [PATCH] dt-bindings: timer: ostm: Add R7S9210 support

2018-10-15 Thread Rob Herring
On Thu, Sep 27, 2018 at 09:12:58AM -0500, Chris Brandt wrote: > The R7S9210 belongs to the RZ/A2 SoC series > > Signed-off-by: Chris Brandt > --- > FYI: No driver changes were needed > --- > Documentation/devicetree/bindings/timer/renesas,ostm.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 de

Re: [PATCH] dt-bindings: phy: rcar-gen2: Add r8a7744 support

2018-10-15 Thread Rob Herring
On Thu, Sep 27, 2018 at 7:30 AM Biju Das wrote: > > Add USB PHY support for r8a7744 SoC. Renesas RZ/G1N (R8A7744) > USB PHY is identical to the R-Car Gen2 family. > > Signed-off-by: Biju Das > Reviewed-by: Chris Paterson > --- > This patch is tested against linux-next next-20180927 > --- > Docu

Re: [PATCH] dt-bindings: can: rcar_can: Add r8a7744 support

2018-10-15 Thread Rob Herring
On Thu, Sep 27, 2018 at 01:08:48PM +0100, Biju Das wrote: > Document RZ/G1N (r8a7744) SoC specific bindings. > > Signed-off-by: Biju Das > Reviewed-by: Chris Paterson > --- > This patch is tested against linux-next next-20180927 > --- > Documentation/devicetree/bindings/net/can/rcar_can.txt | 1

Re: [PATCH v3 1/4] dt-bindings: media: i2c: Add bindings for Maxim Integrated MAX9286

2018-10-15 Thread Kieran Bingham
Hi Sakari, Thank you for the review, On 15/10/18 17:45, Sakari Ailus wrote: > Hi Kieran, > > Could you cc the devicetree list for the next version, please? Argh - looks like I've missed the DT list on all three postings. No wonder the responses have been quiet :-) I'll do a v4 post after I've

Re: [PATCH] dt-bindings: timer: renesas, cmt: Document r8a7744 CMT support

2018-10-15 Thread Rob Herring
On Tue, Sep 25, 2018 at 06:18:16PM +0100, Biju Das wrote: > Document SoC specific compatible strings for r8a7744. No driver change > is needed as the fallback strings will activate the right code. > > Signed-off-by: Biju Das > Reviewed-by: Chris Paterson > --- > Documentation/devicetree/binding

Re: [PATCH] dt-bindings: watchdog: renesas-wdt: Document r8a7744 support

2018-10-15 Thread Rob Herring
On Tue, Sep 25, 2018 at 06:07:21PM +0100, Biju Das wrote: > RZ/G1N (R8A7744) watchdog implementation is compatible with R-Car > Gen2, therefore add relevant documentation. > > Signed-off-by: Biju Das > Reviewed-by: Chris Paterson > --- > Documentation/devicetree/bindings/watchdog/renesas-wdt.tx

Re: [PATCH] dt-bindings: thermal: rcar: Add device tree support for r8a7744

2018-10-15 Thread Rob Herring
On Tue, Sep 25, 2018 at 06:01:04PM +0100, Biju Das wrote: > Add thermal sensor support for r8a7744 SoC. The Renesas RZ/G1N > (r8a7744) thermal sensor module is identical to the R-Car Gen2 family. > > No driver change is needed due to the fallback compatible value > "renesas,rcar-gen2-thermal". >

Re: [PATCH v3 1/4] dt-bindings: media: i2c: Add bindings for Maxim Integrated MAX9286

2018-10-15 Thread Sakari Ailus
Hi Kieran, Could you cc the devicetree list for the next version, please? On Tue, Oct 09, 2018 at 09:57:23PM +0100, Kieran Bingham wrote: > From: Laurent Pinchart > > The MAX9286 deserializes video data received on up to 4 Gigabit > Multimedia Serial Links (GMSL) and outputs them on a CSI-2 por

Re: [PATCH v4 3/3] dt-bindings: mmc: tmio_mmc: Document Renesas R7S9210

2018-10-15 Thread Simon Horman
On Fri, Oct 12, 2018 at 07:29:24AM -0500, Chris Brandt wrote: > Document support for the RZ/A2 (R7S9210) SoC. > > Signed-off-by: Chris Brandt > Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman > --- > v2: > * Documented that R7S9210 has 2 clocks > --- > Documentation/devicetree/bin

Re: [PATCH v2] arm64: dts: renesas: r8a77970: add thermal support

2018-10-15 Thread Simon Horman
On Fri, Oct 12, 2018 at 05:36:55PM +0300, Sergei Shtylyov wrote: > On 10/12/2018 02:21 PM, Simon Horman wrote: > > >>> Describe THS/CIVM in the R8A77970 device tree. > >>> > >>> Based on the original (and large) patches by Vladimir Barinov. > >>> > >>> Signed-off-by: Vladimir Barinov > >>> Signed

Re: [PATCH 1/2] [RFC] arm64: renesas: Move SoC Kconfig symbols to drivers/soc/renesas/

2018-10-15 Thread Simon Horman
On Thu, Oct 11, 2018 at 03:54:55PM +0200, Simon Horman wrote: > On Thu, Oct 11, 2018 at 10:55:07AM +0200, Geert Uytterhoeven wrote: > > For consistency with other vendors, which have a single Kconfig symbol > > in arch/arm64/Kconfig.platforms. > > > > Signed-off-by: Geert Uytterhoeven > > --- > >

Re: [PATCH v3 6/6] ARM: dts: iwg23s-sbc: Add uSD and eMMC support

2018-10-15 Thread Simon Horman
On Mon, Oct 08, 2018 at 09:51:52AM +0100, Fabrizio Castro wrote: > 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 Thanks, applied for v4.21.

Re: [PATCH v3 5/6] ARM: dts: r8a77470: Add SDHI1 support

2018-10-15 Thread Simon Horman
On Mon, Oct 08, 2018 at 09:51:51AM +0100, Fabrizio Castro wrote: > 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 pe

Re: [PATCH v3 4/6] ARM: dts: r8a77470: Add SDHI0 support

2018-10-15 Thread Simon Horman
On Mon, Oct 15, 2018 at 05:19:30PM +0200, Simon Horman wrote: > On Mon, Oct 08, 2018 at 09:51:50AM +0100, Fabrizio Castro wrote: > > 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 fo

Re: [PATCH v3 4/6] ARM: dts: r8a77470: Add SDHI0 support

2018-10-15 Thread Simon Horman
On Mon, Oct 08, 2018 at 09:51:50AM +0100, Fabrizio Castro wrote: > 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-C

Re: [PATCH 2/5] dt-bindings: display: renesas: du: Document the r8a7744 bindings

2018-10-15 Thread Rob Herring
On Fri, 21 Sep 2018 19:08:28 +0100, Fabrizio Castro wrote: > From: Biju Das > > Document the RZ/G1N (R8A7744) SoC in the R-Car DU bindings. > > Signed-off-by: Biju Das > Reviewed-by: Fabrizio Castro > --- > Documentation/devicetree/bindings/display/renesas,du.txt | 2 ++ > 1 file changed, 2 i

Re: [PATCH 1/5] dt-bindings: display: renesas: du: Document the r8a77470 bindings

2018-10-15 Thread Rob Herring
On Fri, 21 Sep 2018 19:08:27 +0100, Fabrizio Castro wrote: > Document the RZ/G1C (r8a77470) SoC in R-Car DU bindings. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Biju Das > --- > Documentation/devicetree/bindings/display/renesas,du.txt | 2 ++ > 1 file changed, 2 insertions(+) > Reviewe

Re: [PATCH v2] pinctrl: rzn1: Fix check for used MDIO bus

2018-10-15 Thread jacopo mondi
Hi Phil, On Mon, Oct 15, 2018 at 04:01:47PM +0100, Phil Edworthy wrote: > This fixes the check for unused mdio bus setting and the following static > checker warning: > drivers/pinctrl/pinctrl-rzn1.c:198 rzn1_pinctrl_mdio_select() > warn: always true condition '(ipctl->mdio_func[mdio] >= 0) => (

[PATCH v2] pinctrl: rzn1: Fix check for used MDIO bus

2018-10-15 Thread Phil Edworthy
This fixes the check for unused mdio bus setting and the following static checker warning: drivers/pinctrl/pinctrl-rzn1.c:198 rzn1_pinctrl_mdio_select() warn: always true condition '(ipctl->mdio_func[mdio] >= 0) => (0-u32max >= 0)' It also fixes the return var when calling of_get_child_count()

USB2.0 blocks on RZ/G1C

2018-10-15 Thread Biju Das
Hello Shimoda-San and all, RZ/G1C USB2.0 host/function controller has the below features compared to R-Car Gen2/Gen3 USB2.0 block 1) It has a shared pll reset register for hsusb0/hsusb1 and this register reside in hsusb0 block. 2) This implies, in order to enable USB1 host/peripheral, we nee

Re: [PATCH 1/8] dt-bindings: rcar-gen3-phy-usb2: add no-otg-pins property

2018-10-15 Thread Rob Herring
On Fri, 21 Sep 2018 20:53:17 +0900, Yoshihiro Shimoda wrote: > This patch adds a new optional property "renesas,no-otg-pins" which > a board does not provide proper otg pins. > > Signed-off-by: Yoshihiro Shimoda > --- > Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++ > 1 fil

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

2018-10-15 Thread Yoshihiro Kaneko
This patch adds the thermal device node and the thermal-zone for the R8A77990 SoC. Signed-off-by: Yoshihiro Kaneko --- This patch is based on the devel branch of Simon Horman's renesas tree. arch/arm64/boot/dts/renesas/r8a77990.dtsi | 31 +++ 1 file changed, 31 inse

[PATCH/RFT 2/2] thermal: rcar_thermal: add R8A77990 support

2018-10-15 Thread Yoshihiro Kaneko
Add support for R-Car E3 (R8A77990) thermal support. Signed-off-by: Yoshihiro Kaneko --- drivers/thermal/rcar_thermal.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index 78f9328..b1bc5c1 100644 --- a/drivers/thermal/rcar

[PATCH/RFT 0/2] thermal: add suport for R8A77990

2018-10-15 Thread Yoshihiro Kaneko
This series adds thermal support for R-Car E3 (R8A77990). This series is based on the next branch of Eduardo Valentin's linux-soc-thermal tree. Yoshihiro Kaneko (2): dt-bindings: thermal: rcar-thermal: add R8A77990 support thermal: rcar_thermal: add R8A77990 support Documentation/devicetree

[PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support

2018-10-15 Thread Yoshihiro Kaneko
Document the R-Car E3 (R8A77990) SoC bindings. Signed-off-by: Yoshihiro Kaneko --- Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt b/Documentation/devic

Re: [PATCH v3 1/6] dt-bindings: mmc: renesas_sdhi: Add r8a77470 support

2018-10-15 Thread Ulf Hansson
On 8 October 2018 at 10:51, Fabrizio Castro wrote: > The RZ/G1C (a.k.a. R8A77470) comes with three SDHI interfaces, > SDHI0 and SDHI2 are compatible with R-Car Gen2 SDHIs, and > SDHI1 is compatible with R-Car Gen3 SDHIs, as it comes with an > internal DMAC, therefore SDHI1 is fully compatible with

Re: [PATCH v3 0/2] mmc: tmio: remove confusing TMIO_MMC_HAVE_HIGH_REG flag

2018-10-15 Thread Ulf Hansson
On 10 October 2018 at 05:51, Masahiro Yamada wrote: > CTL_SDIO_REGS is a register specific to tmio_mmc.c > > Currently, we handle it in tmio_mmc_core.c, hence need > TMIO_MMC_HAVE_HIGH_REG flag to prevent the other platforms > from accessing to it. > > We can just move CTL_SDIO_REGS to tmio_mmc.c

Re: [PATCH v3 3/6] mmc: renesas_sdhi: Add r8a77470 SDHI1 support

2018-10-15 Thread Ulf Hansson
On 8 October 2018 at 10:51, Fabrizio Castro wrote: > The RZ/G1C (a.k.a. R8A77470) comes with three SDHI interfaces, > SDHI0 and SDHI2 are compatible with the R-Car Gen2 SDHIs, SDHI1 > is compatible with R-Car Gen3 SDHIs and it can be used as > eMMC as well. This patch adds driver compatibility, an

Re: [PATCH] mmc: tmio: simplify the DMA mode test

2018-10-15 Thread Ulf Hansson
On 12 October 2018 at 17:03, Masahiro Yamada wrote: > host->chan_{rx,tx} represents the DMA capability of the platform. > Even if DMA is supported, there are cases where we want to use PIO, > for example, data length is short enough as commit 5f52c3552946 > ("mmc: tmio: use PIO for short transfers

RE: [PATCH] pinctrl: rzn1: Fix check for used MDIO bus

2018-10-15 Thread Phil Edworthy
HI Jacopo, On 15 October 2018 08:54 jacopo mondi wrote: > On Fri, Oct 12, 2018 at 11:40:36AM +0100, Phil Edworthy wrote: > > This fixes the check for unused mdio bus setting and the following > > static checker warning: > > drivers/pinctrl/pinctrl-rzn1.c:198 rzn1_pinctrl_mdio_select() > > warn:

Re: [PATCH] serial: sh-sci: Fix receive on SCIFA/SCIFB variants with DMA

2018-10-15 Thread Wolfram Sang
> > Fixes: 2c4ee23530ffc022 ("serial: sh-sci: Postpone DMA release when falling > > back to PIO") > > Signed-off-by: Geert Uytterhoeven > > Reviewed-by: Wolfram Sang > > > --- > > Reported on r8a7790/lager using SCIFA1 on Debug Serial 1. > > I hope to test this on Lager this weekend. I am qu

Re: [PATCH] mmc: tmio: simplify the DMA mode test

2018-10-15 Thread Wolfram Sang
On Mon, Oct 15, 2018 at 12:36:36AM +0200, Wolfram Sang wrote: > On Sat, Oct 13, 2018 at 12:03:08AM +0900, Masahiro Yamada wrote: > > host->chan_{rx,tx} represents the DMA capability of the platform. > > Even if DMA is supported, there are cases where we want to use PIO, > > for example, data length

Re: [PATCH v3 2/2] mmc: tmio: remove TMIO_MMC_HAVE_HIGH_REG flag

2018-10-15 Thread Wolfram Sang
On Mon, Oct 15, 2018 at 12:28:12AM +0200, Wolfram Sang wrote: > On Wed, Oct 10, 2018 at 12:51:32PM +0900, Masahiro Yamada wrote: > > TMIO_MMC_HAVE_HIGH_REG is confusing due to its counter-intuitive name. > > > > All the TMIO MMC variants (TMIO MMC, Renesas SDHI, UniPhier SD) actually > > have high

Re: [PATCH v3 1/2] mmc: tmio: move MFD variant reset to a platform hook

2018-10-15 Thread Wolfram Sang
On Mon, Oct 15, 2018 at 12:27:58AM +0200, Wolfram Sang wrote: > On Wed, Oct 10, 2018 at 12:51:31PM +0900, Masahiro Yamada wrote: > > CTL_RESET_SDIO register is specific to the TMIO MFD (tmio_mmc.c). > > > > Add a new hook host->reset() for performing a platform-specific > > reset sequence, and mov

Applied "spi: sh-msiof: fix deferred probing" to the spi tree

2018-10-15 Thread Mark Brown
The patch spi: sh-msiof: fix deferred probing has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during

Re: [PATCH] iommu/ipmmu-vmsa: Hook up r8a77990 DT matching code

2018-10-15 Thread Sergei Shtylyov
Hello! On 10/15/2018 12:55 PM, Simon Horman wrote: > From: Hai Nguyen Pham > > Support the r8a77990 IPMMU and update IPMMU_OF_DECLARE to hook up That macro is gone, you need to update the description. > the updated compat string. > > Signed-off-by: Hai Nguyen Pham > Signed-off-by: Kazuya

[PATCH RESEND] ARM: dma-mapping: update comment about handling dma_ops when detaching from IOMMU

2018-10-15 Thread Wolfram Sang
Update the comment because we don't set the pointer to NULL anymore. Also use the correct pointer name 'dma_ops' instead of 'dma_map_ops'. Fixes: 1874619a7df4 ("ARM: dma-mapping: Set proper DMA ops in arm_iommu_detach_device()") Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- a

[PATCH 0/4] arm64: renesas: ebisu: Enable Audio

2018-10-15 Thread Simon Horman
Hi, This series describes R-Car audio for the R-Car E3 (r8a77990) and enables it on the Ebisu board which uses that SoC. It also enables the scu-simple-card driver in the relevant defconfigs, a dependency for enabling audio on the Ebisu board. Other dependencies. It is safe to apply this series w

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

2018-10-15 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 --- arch/arm64

[PATCH 2/4] arm64: renesas_defconfig: Enable scu-simple-card driver

2018-10-15 Thread Simon Horman
Enable the scu-simple-card which is used by the R-Car E3 (r8a77990) based Ebisu board. Signed-off-by: Simon Horman --- N.B: This is targeted at the devel branch of the renesas tree but not upstream where renesas_defconfig does not currently exist --- arch/arm64/configs/renesas_defconfig | 1 + 1

[PATCH 1/4] arm64: defconfig: Enable scu-simple-card driver

2018-10-15 Thread Simon Horman
Enable the scu-simple-card which is used by the R-Car E3 (r8a77990) based Ebisu board. Signed-off-by: Simon Horman --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e6ec9858d33d..19f8cddce9ea 100

[PATCH 4/4] arm64: dts: renesas: ebisu: Enable Audio

2018-10-15 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 a/arc

[PATCH 1/2] pinctrl: sh-pfc: r8a77990: Add Audio clock pins, groups and functions

2018-10-15 Thread Simon Horman
From: Takeshi Kihara This patch adds AUDIO_CLK{A,B,C}, AUDIO_CLKOUT, AUDIO_CLKOUT{1,2,3} pins, groups and functions to the R8A77990 SoC. Signed-off-by: Takeshi Kihara [simon: rebase] Signed-off-by: Simon Horman --- drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 207 +-

[PATCH 2/2] pinctrl: sh-pfc: r8a77990: Add Audio SSI pins, groups and functions

2018-10-15 Thread Simon Horman
From: Takeshi Kihara This patch adds Audio SSI{0,1,2,3,4,5,6,7,8,9} pins, groups and functions to the R8A77990 SoC. Signed-off-by: Takeshi Kihara [simon: rebase] Signed-off-by: Simon Horman --- drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 240 +- 1 file changed, 238

[PATCH 0/2] sh-pfc: r8a77990: Add Audio clock and SSI pins, groups and functions

2018-10-15 Thread Simon Horman
Hi, this series adds support for Audio clock and SSI pins, groups and functions to the pfc driver for the R-Car E3 (r8a77990) SoC. It is a requirement for working audio support on that SoC. This series is based on sh-pfc-for-v4.20-tag3 Takeshi Kihara (2): pinctrl: sh-pfc: r8a77990: Add Audio c

[PATCH] iommu/ipmmu-vmsa: Hook up r8a77990 DT matching code

2018-10-15 Thread Simon Horman
From: Hai Nguyen Pham Support the r8a77990 IPMMU and update IPMMU_OF_DECLARE to hook up the updated compat string. Signed-off-by: Hai Nguyen Pham Signed-off-by: Kazuya Mizuguchi [simon: rebased; dropped no longer required IOMMU_OF_DECLARE hunk] Signed-off-by: Simon Horman --- drivers/iommu/i

Delay between stop condition and start condition

2018-10-15 Thread Fabrizio Castro
Hello Wolfram, While working out what's needed to add HDMI support to the iwg23s from iWave I have stumbled across a problem with the HDMI transmitter (SiI9022ACNU). Such an HDMI transmitter has a DDC pass through mode that allows the SoC to talk directly to the monitor (to allow the SoC to rea

RE: [PATCH] dt-bindings: PCI: rcar: Add device tree support for r8a7744

2018-10-15 Thread Biju Das
Hi Lorenzo, > Subject: Re: [PATCH] dt-bindings: PCI: rcar: Add device tree support for > r8a7744 > > On Mon, Oct 08, 2018 at 09:34:45AM +0200, Simon Horman wrote: > > On Thu, Oct 04, 2018 at 05:07:47PM +0100, Biju Das wrote: > > > Add support for r8a7744. The Renesas RZ/G1N (R8A7744) PCIe > > > co

Re: [PATCH] pinctrl: rzn1: Fix check for used MDIO bus

2018-10-15 Thread jacopo mondi
Hi Phil, On Fri, Oct 12, 2018 at 11:40:36AM +0100, Phil Edworthy wrote: > This fixes the check for unused mdio bus setting and the following static > checker warning: > drivers/pinctrl/pinctrl-rzn1.c:198 rzn1_pinctrl_mdio_select() > warn: always true condition '(ipctl->mdio_func[mdio] >= 0) => (