From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DACB7EB64D7 for ; Fri, 23 Jun 2023 13:03:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230185AbjFWNDt (ORCPT ); Fri, 23 Jun 2023 09:03:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjFWNDs (ORCPT ); Fri, 23 Jun 2023 09:03:48 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F0F71FF5 for ; Fri, 23 Jun 2023 06:03:47 -0700 (PDT) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 864B1838; Fri, 23 Jun 2023 15:03:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1687525388; bh=yyu4cKsmjnizvOowR8T7jV9OPV5JJ1COSC0zm1teWZA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VLl1SVoVXW9tu0W+hvekMqSpqH3a1u9Y/nQC7LbsVyqMr3Sa2yaOpy8kqzhl1WbWM 2GDDApMwVnu8hohRpZQzAUqgLi/HumUMKAnFeoISAzFLAfNzIgIllG1wvK1vnc0zmt cjuCAqbJl+9k27mJAxFEVgqgNZBPZLLcfAk/DWsM= Date: Fri, 23 Jun 2023 16:03:44 +0300 From: Laurent Pinchart To: Geert Uytterhoeven Cc: Magnus Damm , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/2] ARM: dts: armadillo800eva: Add LCD panel Message-ID: <20230623130344.GA23353@pendragon.ideasonboard.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hi Geert, Thank you for the patch. On Thu, Jun 22, 2023 at 11:23:15AM +0200, Geert Uytterhoeven wrote: > Describe the 5" WVGA TFT LCD panel on the Armadillo-800-EVA development > board, and enable the LCD controller that drives it. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart > --- > arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 28 +++++++++++++++++-- > 1 file changed, 26 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts > index 101413d5164913c5..fb6b432c4df2d948 100644 > --- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts > +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts > @@ -132,7 +132,7 @@ i2c2: i2c-2 { > i2c-gpio,delay-us = <5>; > }; > > - backlight { > + backlight: backlight { > compatible = "pwm-backlight"; > pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>; > brightness-levels = <0 1 2 4 8 16 32 64 128 255>; > @@ -143,6 +143,18 @@ backlight { > enable-gpios = <&pfc 61 GPIO_ACTIVE_HIGH>; > }; > > + panel { > + compatible = "ampire,am-800480l1tmqw-t00h"; > + backlight = <&backlight>; > + power-supply = <®_5p0v>; > + > + port { > + panel_in: endpoint { > + remote-endpoint = <&lcdc0_rgb>; > + }; > + }; > + }; > + > sound { > compatible = "simple-audio-card"; > > @@ -228,10 +240,22 @@ rtc@30 { > }; > }; > > -&pfc { > +&lcdc0 { > pinctrl-0 = <&lcd0_pins>; > pinctrl-names = "default"; > > + status = "okay"; > + > + ports { > + port@0 { > + endpoint { > + remote-endpoint = <&panel_in>; > + }; > + }; > + }; > +}; > + > +&pfc { > ether_pins: ether { > groups = "gether_mii", "gether_int"; > function = "gether"; -- Regards, Laurent Pinchart