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

2018-11-25 Thread Yoshihiro Shimoda
Hi Kishon-san, > From: Kishon Vijay Abraham I, Sent: Friday, November 23, 2018 4:55 PM > > Hi, > > On 21/11/18 1:40 PM, 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". >

Re: [git pull] pinctrl: sh-pfc: Updates for v4.21

2018-11-25 Thread Linus Walleij
On Fri, Nov 23, 2018 at 10:00 AM Geert Uytterhoeven wrote: > The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: > > Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-

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

2018-11-25 Thread Clément Péron
On Wed, 21 Nov 2018 at 00:10, 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 > --- > drivers/mmc/core/core.c | 14 -- >

Re: [RFC PATCH 1/3] mmc: core: validate user input for RPMB block count

2018-11-25 Thread Clément Péron
On Wed, 21 Nov 2018 at 00:10, Wolfram Sang wrote: > > For RPMB, block count is a non-zero 16 bit wide number. Reject invalid > values from userspace instead of just masking the unneeded bits. Tested > with a modified 'mmc-utils' package. > > Signed-off-by: Wolfram Sang Tested-by: Clément Péron >

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

2018-11-25 Thread Clément Péron
On Wed, 21 Nov 2018 at 00:11, 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 condition > * CMD12 (stop) need

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

2018-11-25 Thread Clément Péron
On Sat, 24 Nov 2018 at 22:37, Wolfram Sang wrote: > > > > Tested fine with SDHCI Iproc controller on 4.9.137 and 4.19.2 with > > Auto-CMD12 enable. > > But there is something, it's not working not introduce with this patch on > > 4.14 > > I didn't get the last sentence. Could you explain in more

[PATCH 2/5] drm: rcar-du: Move CRTC outputs bitmask to private CRTC state

2018-11-25 Thread Laurent Pinchart
The rcar_du_crtc outputs field stores a bitmask of the outputs driven by the CRTC. This changes based on the configuration requested by userspace, and is used for the sole purpose of configuring the hardware. The field thus belongs to the CRTC state. Move it to the rcar_du_crtc_state structure. As

[PATCH 0/5] R-Car DU: Fix DPAD output routing on D3 and E3

2018-11-25 Thread Laurent Pinchart
Hello, DU channels are routed to DPAD outputs in an SoC-dependent way. The routing can be fixed (e.g. DU3 to DPAD0 on H3) or configurable (e.g. DU0 or DU1 to DPAD0 on D3/E3). The hardware offers no option to disconnect DPAD outputs, which are thus always driven by a DU channel. On SoCs that have

[PATCH 5/5] [HACK] arm64: dts: r8a77995: draak: Add panel to DT

2018-11-25 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index cd067319e6f3..140519e39f06 100644 --- a/arch/a

[PATCH 3/5] drm: rcar-du: Disable unused DPAD outputs

2018-11-25 Thread Laurent Pinchart
DU channels are routed to DPAD outputs in an SoC-dependent way. The routing can be fixed (e.g. DU3 to DPAD0 on H3) or configurable (e.g. DU0 or DU1 to DPAD0 on D3/E3). The hardware offers no option to disconnect DPAD outputs, which are thus always driven by a DU channel. On SoCs that have less DU

[PATCH 1/5] drm: rcar-du: Replace EXT_CTRL_REGS feature flag with generation check

2018-11-25 Thread Laurent Pinchart
The RCAR_DU_FEATURE_EXT_CTRL_REGS feature flag is missing for H1 only, which is a first generation device, not a second generation device as reported in the device information table. Fix the H1 generation and use generation checks to replace the feature flag. Signed-off-by: Laurent Pinchart ---

[PATCH 4/5] arm64: dts: renesas: r8a77995: draak: Add backlight

2018-11-25 Thread Laurent Pinchart
Add the backlight device for the LVDS1 output, in preparation for panel support. Signed-off-by: Laurent Pinchart --- .../arm64/boot/dts/renesas/r8a77995-draak.dts | 20 +++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64

Re: [PATCH v3 4/4] i2c: adv748x: configure number of lanes used for TXA CSI-2 transmitter

2018-11-25 Thread jacopo mondi
Hi Laurent, On Fri, Nov 23, 2018 at 04:43:18PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > On Friday, 23 November 2018 16:01:54 EET jacopo mondi wrote: > > On Fri, Nov 02, 2018 at 05:00:09PM +0100, Niklas Söderlund wrote: > > > The driver fixed the TXA CSI-2 transmitter in 4-lane mode while it