Re: [PATCH] ARM: Build secure_cntvoff.S unconditionally to fix shmobile !SMP build

2018-06-06 Thread Maxime Ripard
xes: cad160ed0a94927e ("ARM: shmobile: Convert file to use cntvoff") > Signed-off-by: Geert Uytterhoeven Reviewed-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description: PGP signature

Re: [PATCH v15 2/2] rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver

2018-05-14 Thread Maxime Ripard
r is based on a prototype by Koji Matsuoka in the Renesas BSP. > > Signed-off-by: Niklas Söderlund Reviewed-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description: PGP signature

Re: [PATCH v9 00/12] Sunxi: Add SMP support on A83T

2018-05-09 Thread Maxime Ripard
Hi! On Tue, May 08, 2018 at 10:11:07AM -0700, Florian Fainelli wrote: > On 05/08/2018 06:19 AM, Maxime Ripard wrote: > > Hi, > > > > On Fri, May 04, 2018 at 09:05:33PM +0200, Mylène Josserand wrote: > >> Hello everyone, > >> > >> This is a V9

Re: [PATCH v9 00/12] Sunxi: Add SMP support on A83T

2018-05-08 Thread Maxime Ripard
-a83t > (see patch 07), according to Maxime's review. The machine name hasn't changed, and the name sun8i-a83t still doesn't make much sense. I've fixed it as well. Thanks, Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH v8 02/12] ARM: sunxi: smp: Move assembly code into a file

2018-05-02 Thread Maxime Ripard
stead. > > Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description: PGP signature

Re: [PATCH v8 12/12] ARM: shmobile: Convert file to use cntvoff

2018-05-02 Thread Maxime Ripard
s function. > > > > Signed-off-by: Mylène Josserand > > Reviewed-by: Geert Uytterhoeven > > Tested-by: Geert Uytterhoeven > > Acked-by: Simon Horman For the sake of bisectability (and to ease the merge), is it ok if we take it through the sunxi (and then arm-soc

Re: [PATCH v8 10/12] ARM: sun8i: smp: Add support for A83T

2018-05-02 Thread Maxime Ripard
erence is the Power Off Gating register for clusters > which is BIT(4) in case of SUN9I-A80 and BIT(0) in case of SUN8I-A83T. > There is also a bit swap between sun8i-a83t and sun9i-a80 that must be > handled. > > Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard Maxime

Re: [PATCH v8 09/12] ARM: sun9i: smp: Add is_a83t field

2018-05-02 Thread Maxime Ripard
Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description: PGP signature

Re: [PATCH v8 07/12] ARM: sunxi: Add initialization of CNTVOFF

2018-05-02 Thread Maxime Ripard
ction into secondary_startup > assembly entry. > > Signed-off-by: Mylène Josserand > Acked-by: Maxime Ripard > --- > arch/arm/mach-sunxi/headsmp.S | 1 + > arch/arm/mach-sunxi/sunxi.c | 20 +++- > 2 files changed, 20 insertions(+), 1 deletion(-) > >

Re: [PATCH v7 06/11] ARM: sunxi: Add initialization of CNTVOFF

2018-04-23 Thread Maxime Ripard
+#endif > +} > + > +static const char * const sun8i_cntvoff_board_dt_compat[] = { > + "allwinner,sun8i-a83t", > + NULL, > +}; > + > +DT_MACHINE_START(SUN8I_CNTVOFF_DT, "Allwinner sun8i-a83t board") This name still doesn't really make much sense. It's an A83t, that's it. Apart from the other minor comment I had, and once that name has been fixed: Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description: PGP signature

Re: [PATCH v7 08/11] ARM: sun9i: smp: Add is_a83t field

2018-04-23 Thread Maxime Ripard
int core, unsigned int cluster) > { > @@ -624,6 +625,7 @@ struct sunxi_mc_smp_nodes { > struct sunxi_mc_smp_data { > const char *enable_method; > int (*get_smp_nodes)(struct sunxi_mc_smp_nodes *nodes); > + int is_a83t; This can be made a boolean. Maxime -- Maxime R

Re: [PATCH v6 01/11] ARM: sunxi: smp: Move assembly code into a file

2018-04-18 Thread Maxime Ripard
On Tue, Apr 17, 2018 at 07:25:15PM +0800, Chen-Yu Tsai wrote: > On Tue, Apr 17, 2018 at 7:17 PM, Maxime Ripard > wrote: > > On Tue, Apr 17, 2018 at 11:12:41AM +0800, Chen-Yu Tsai wrote: > >> On Tue, Apr 17, 2018 at 5:50 AM, Mylène Josserand > >> wrote: > >&g

Re: [PATCH v6 09/11] ARM: sun8i: smp: Add support for A83T

2018-04-17 Thread Maxime Ripard
id you have time to test it? Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description: PGP signature

Re: [PATCH v6 08/11] ARM: sun9i: smp: Add is_sun8i field

2018-04-17 Thread Maxime Ripard
; > > > Do we really need to cache it? Can't we just have a pointer to the SMP > > data structure and use that instead? > > I recommended that. We don't need any of the other fields in the SMP > data structure once we're past the init phase. This saves a

Re: [PATCH v6 01/11] ARM: sunxi: smp: Move assembly code into a file

2018-04-17 Thread Maxime Ripard
SM to separate > file" thing, especially now that you aren't actually adding any > sunxi-specific ASM code beyond a simple function call. > > Could you drop this for now? I'd really like to have this merged actually. There's a significant readibility improvement

Re: [PATCH v6 08/11] ARM: sun9i: smp: Add is_sun8i field

2018-04-17 Thread Maxime Ripard
_sun8i = sunxi_mc_smp_data[i].is_sun8i; > + Do we really need to cache it? Can't we just have a pointer to the SMP data structure and use that instead? Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description: PGP signature

Re: [PATCH v13 2/2] rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver

2018-03-29 Thread Maxime Ripard
t;subdev.entity, NR_OF_RCAR_CSI2_PAD, > + priv->pads); > + if (ret) > + goto error; > + > + pm_runtime_enable(&pdev->dev); Is CONFIG_PM mandatory on Renesas SoCs? If not, you end up with the device uninitialised at

Re: [RFC][PATCH 04/11] drm: Split the display info into static and dynamic parts

2018-02-27 Thread Maxime Ripard
> Cc: Manfred Schlaegl > Cc: Marek Vasut > Cc: Archit Taneja > Cc: Andrzej Hajda > Cc: Alison Wang > Cc: Eric Anholt > Cc: Linus Walleij > Cc: linux-renesas-soc@vger.kernel.org > Cc: Maxime Ripard For sun4i, Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Rip

Re: [PATCH/RFC 4/4] drm: rcar-du: Add support for color keying on Gen3

2018-01-25 Thread Maxime Ripard
Y_SIZE(colorkey_modes), > + true); You seem to define the same list in your enumeration between your patch 2 and this one. Can this be something made generic too? Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com signature.asc Description: PGP signature

Re: [PATCH/RFC 1/4] drm: Add colorkey properties

2018-01-25 Thread Maxime Ripard
operties > related to color keying named colorkey.min, colorkey.max, colorkey.alpha > and colorkey.mode. Additional properties can be defined by drivers to > expose device-specific features. > > Signed-off-by: Laurent Pinchart Sorry for the delay, Reviewed-by: Maxime Ripard

Re: [PATCH 00/20] Add multiplexed media pads to support CSI-2 virtual channels

2017-08-29 Thread Maxime Ripard
Since the stream is multiplexed both using the virtual channels and the data-types, I'm not sure representing it using only muxed pads like you did would work. And I don't really know what a good stop gap measure would be either. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com signature.asc Description: PGP signature

Re: [PATCH 4/4] drm/sun4i: make sure we don't have a commit pending

2017-07-20 Thread Maxime Ripard
Hi Daniel, On Tue, Jul 18, 2017 at 09:35:03AM +0200, Daniel Vetter wrote: > On Tue, Jul 18, 2017 at 9:07 AM, Maxime Ripard > wrote: > > On Mon, Jul 17, 2017 at 02:57:19PM +0800, Chen-Yu Tsai wrote: > >> On Mon, Jul 17, 2017 at 2:55 PM, Maxime Ripard > >> wrote: >

Re: [PATCH v5 0/4] v4l2-async: add subnotifier registration for subdevices

2017-07-19 Thread Maxime Ripard
while everything else happens >in the v4l2-async framework. This leaves the interface in a good >position for possible changes in v4l2-async. > > This is tested on Renesas H3 and M3-W together with the Renesas CSI-2 > and VIN Gen3 driver (posted separately). It is based on top

Re: [PATCH] gpu: Convert to using %pOF instead of full_name

2017-07-18 Thread Maxime Ripard
liang Liu > Cc: Rongrong Zou > Cc: Xinwei Kong > Cc: Chen Feng > Cc: CK Hu > Cc: Philipp Zabel > Cc: Matthias Brugger > Cc: Neil Armstrong > Cc: Carlo Caione > Cc: Kevin Hilman > Cc: Thierry Reding > Cc: Laurent Pinchart > Cc: Mark Yao > Cc: Heiko St

Re: [PATCH] clk: Convert to using %pOF instead of full_name

2017-07-18 Thread Maxime Ripard
> Cc: Michael Turquette > Cc: Stephen Boyd > Cc: Maxime Coquelin > Cc: Alexandre Torgue > Cc: Russell King > Cc: Matthias Brugger > Cc: Geert Uytterhoeven > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Cc: "Emilio López" > Cc: Peter De Schrijver > Cc:

Re: [PATCH 4/4] drm/sun4i: make sure we don't have a commit pending

2017-07-18 Thread Maxime Ripard
On Mon, Jul 17, 2017 at 02:57:19PM +0800, Chen-Yu Tsai wrote: > On Mon, Jul 17, 2017 at 2:55 PM, Maxime Ripard > wrote: > > On Fri, Jul 14, 2017 at 04:56:01PM +0800, Chen-Yu Tsai wrote: > >> Hi, > >> > >> On Thu, Jul 13, 2017 at 10:41 PM, Maxime Ripard >

Re: [PATCH 1/4] drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users

2017-07-18 Thread Maxime Ripard
Hi Laurent, On Fri, Jul 14, 2017 at 02:43:12AM +0300, Laurent Pinchart wrote: > Hi Maxime, > > Thank you for the patch. > > On Thursday 13 Jul 2017 16:41:13 Maxime Ripard wrote: > > The current drm_atomic_helper_commit_tail helper works only if the CRTC is > > a

Re: [PATCH 4/4] drm/sun4i: make sure we don't have a commit pending

2017-07-16 Thread Maxime Ripard
On Fri, Jul 14, 2017 at 04:56:01PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Thu, Jul 13, 2017 at 10:41 PM, Maxime Ripard > wrote: > > In the earlier display engine designs, any register access while a commit > > is pending is forbidden. > > > > One of the symp

Re: [PATCH] drm: rcar-du: Setup planes before enabling CRTC to avoid flicker

2017-07-16 Thread Maxime Ripard
; > [PATCH 1/4] drm/atomic: implement drm_atomic_helper_commit_tail for > > runtime_pm users > > Never mind - I've just looked again, and seen that this new helper function is > the ordering previous to *this* patch, and therefore isn't the same. > > However -

[PATCH 3/4] drm/sun4i: engine: Add commit_poll function

2017-07-13 Thread Maxime Ripard
modifications. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_crtc.c | 2 ++ drivers/gpu/drm/sun4i/sunxi_engine.h | 14 ++ 2 files changed, 16 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_crtc.c b/drivers/gpu/drm/sun4i/sun4i_crtc.c index f8c70439d1e2

[PATCH 2/4] drm/sun4i: Use the runtime_pm commit_tail variant

2017-07-13 Thread Maxime Ripard
The backend (planes) commit can only happen when the TCON (CRTC) is enabled, which is not guaranteed with the default commit_tail helper. Let's use the runtime_pm version that is designed specifically to deal with that case. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/

[PATCH 4/4] drm/sun4i: make sure we don't have a commit pending

2017-07-13 Thread Maxime Ripard
In the earlier display engine designs, any register access while a commit is pending is forbidden. One of the symptoms is that reading a register will return another, random, register value which can lead to register corruptions if we ever do a read/modify/write cycle. Signed-off-by: Maxime

[PATCH 1/4] drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users

2017-07-13 Thread Maxime Ripard
l the relevant users can use directly. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_atomic_helper.c| 47 +++ drivers/gpu/drm/exynos/exynos_drm_fb.c | 27 +- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 18 +- drivers/gpu/drm/roc

[PATCH 0/4] drm/sun4i: Fix a register access bug

2017-07-13 Thread Maxime Ripard
what you think, Maxime Maxime Ripard (4): drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users drm/sun4i: Use the runtime_pm commit_tail variant drm/sun4i: engine: Add commit_poll function drm/sun4i: make sure we don't have a commit pending drivers/gpu/drm/drm_atomic_

Re: [PATCH 07/12] usb: sunxi: Uses the resource-managed extcon API when registering extcon notifier

2016-11-30 Thread Maxime Ripard
On Wed, Nov 30, 2016 at 02:57:35PM +0900, Chanwoo Choi wrote: > This patch just uses the resource-managed extcon API when registering > the extcon notifier. > > Signed-off-by: Chanwoo Choi Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linu

Re: [PATCH v3 07/13] drm: bridge: vga-dac: Add adi,adv7123 compatible string

2016-11-29 Thread Maxime Ripard
an adv7123 driver when needed without breaking backward > compatibility. > > Signed-off-by: Laurent Pinchart Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com signature.asc Description: PGP signature