Received: by 2002:a05:622a:1442:b0:3a5:28ea:c4b9 with SMTP id v2csp750238qtx; Thu, 17 Nov 2022 07:31:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf6BZVRGTNvu6839a219iAeOXkLUtxjIJSb5JrCgWN4RJErYF2QsagoTaZYp9AoPAZSn51IA X-Received: by 2002:a17:902:a609:b0:188:ca57:8956 with SMTP id u9-20020a170902a60900b00188ca578956mr3204846plq.117.1668699099223; Thu, 17 Nov 2022 07:31:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668699099; cv=none; d=google.com; s=arc-20160816; b=MPcAWlvYSmDGv5JDD/pGbPkDNCYF06DI5JGP9Wwg2aIS7Za0XVTPKsDaCUsautccZ+ D/MjBTJMCfDGj+ln4E+8K3EsPtY48MF56k6e14PjblEaoNiCcFlXptmMA1mXd4Rgf/Im Xh+2fM+LxUvkxFYd7ZerbcjHEUGs/4dmLOYr5wDnv8TFG1VDxIKLhLkfdSABYv8WP01r 1GmkWwkRdepPA0jgDD9ZXLcZxDK3r1sT7ZXs8BC9znkQBeUmKqnNvuVKXjukD7N8b6og YVuSjO/gdhZ5KzA5rqhbTfP1Lj8CCNM80uES5y6W7/kpnmd7Scy1wpN0E86e36oPPJdR v06w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=X1dzrplqtje/QmkF/2rLEhFc25mby9K6mCVKugsDz9o=; b=VsPRB3n8XK8lGz1ooz1+35Y7voRy6cp36RFqcLCxlsxRfN0Dp6tS9EIA25Cf0gXOGV F46X2MM7wT/V0DpVeqG6sGID2PvfWkl6RJ4822RNhbB1VI0fazrNVtoQx2cGNNm/vui1 htHrWDU0gU/m8zwS02RnikQ/b3pVFpVhjY3tHGZpxAGBkyT8+DyN/6fMbs/SIZYa8wNZ tIuyzW+Bys1nzC4g9spug6gMrF2PIXKLhz04y2r+c9+29fgqEOzBocVHnY9qNFnq9Fu0 SuLOFwB6gjAWT4T5T6SgxBhgj5bYoWuJ38ldIjoltpNiE4J7/33u6ZXBU8m3mCXErln5 awJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=c1+44ai1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i16-20020a631310000000b0043aebb63fc6si1331053pgl.81.2022.11.17.07.31.26; Thu, 17 Nov 2022 07:31:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=c1+44ai1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240590AbiKQPMY (ORCPT + 93 others); Thu, 17 Nov 2022 10:12:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240607AbiKQPKt (ORCPT ); Thu, 17 Nov 2022 10:10:49 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C218864546; Thu, 17 Nov 2022 07:08:43 -0800 (PST) Received: from pendragon.ideasonboard.com (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 98F8C929; Thu, 17 Nov 2022 16:08:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668697721; bh=KDmMkOo4Xq7I/fLq82DmVwTZhsTmGJ8/nd1M+JpkZMQ=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=c1+44ai1zErA1wfRkm8rT9CNxu4WbWDyEWYQpBQg+fuyPi2R+LVBDA9k4pIgKjVUY qH1MRmAYZ4UbF9+N607NvKwj2GoKLHVRhaQgAF61iXRqEcWU6eKFP5unX7fhYNwFs0 x192SP/P4YCTsm4xR8ccAJN/vJ8kLyQ0mwwYZNfw= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20221117122547.809644-7-tomi.valkeinen@ideasonboard.com> References: <20221117122547.809644-1-tomi.valkeinen@ideasonboard.com> <20221117122547.809644-7-tomi.valkeinen@ideasonboard.com> Subject: Re: [PATCH v1 6/8] drm: rcar-du: Add r8a779g0 support From: Kieran Bingham Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , Tomi Valkeinen To: Geert Uytterhoeven , Krzysztof Kozlowski , Laurent Pinchart , Magnus Damm , Rob Herring , Tomi Valkeinen , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Date: Thu, 17 Nov 2022 15:08:38 +0000 Message-ID: <166869771876.50677.1905794243575000038@Monstersaurus> User-Agent: alot/0.10 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Tomi Valkeinen (2022-11-17 12:25:45) > From: Tomi Valkeinen >=20 > Add support for DU on r8a779g0, which is identical to DU on r8a779a0. >=20 > Signed-off-by: Tomi Valkeinen > --- > drivers/gpu/drm/rcar-du/rcar_du_drv.c | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) >=20 > diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar= -du/rcar_du_drv.c > index d003e8d9e7a2..b1761d4ec4e5 100644 > --- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c > +++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c > @@ -524,6 +524,27 @@ static const struct rcar_du_device_info rcar_du_r8a7= 79a0_info =3D { > .dsi_clk_mask =3D BIT(1) | BIT(0), > }; > =20 > +static const struct rcar_du_device_info rcar_du_r8a779g0_info =3D { > + .gen =3D 3, Given that this is the V4H ... I wonder if this should be bumped already. I guess that has knock on effects through the driver though... Aside from that, Which may need more work to handle correctly: Reviewed-by: Kieran Bingham > + .features =3D RCAR_DU_FEATURE_CRTC_IRQ > + | RCAR_DU_FEATURE_VSP1_SOURCE > + | RCAR_DU_FEATURE_NO_BLENDING, > + .channels_mask =3D BIT(1) | BIT(0), > + .routes =3D { > + /* R8A779G0 has two MIPI DSI outputs. */ > + [RCAR_DU_OUTPUT_DSI0] =3D { > + .possible_crtcs =3D BIT(0), > + .port =3D 0, > + }, > + [RCAR_DU_OUTPUT_DSI1] =3D { > + .possible_crtcs =3D BIT(1), > + .port =3D 1, > + }, > + }, > + .num_rpf =3D 5, > + .dsi_clk_mask =3D BIT(1) | BIT(0), > +}; > + > static const struct of_device_id rcar_du_of_table[] =3D { > { .compatible =3D "renesas,du-r8a7742", .data =3D &rcar_du_r8a779= 0_info }, > { .compatible =3D "renesas,du-r8a7743", .data =3D &rzg1_du_r8a774= 3_info }, > @@ -549,6 +570,7 @@ static const struct of_device_id rcar_du_of_table[] = =3D { > { .compatible =3D "renesas,du-r8a77990", .data =3D &rcar_du_r8a77= 99x_info }, > { .compatible =3D "renesas,du-r8a77995", .data =3D &rcar_du_r8a77= 99x_info }, > { .compatible =3D "renesas,du-r8a779a0", .data =3D &rcar_du_r8a77= 9a0_info }, > + { .compatible =3D "renesas,du-r8a779g0", .data =3D &rcar_du_r8a77= 9g0_info }, > { } > }; > =20 > --=20 > 2.34.1 >