From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751629AbdLAU1R (ORCPT ); Fri, 1 Dec 2017 15:27:17 -0500 Received: from mail-ot0-f194.google.com ([74.125.82.194]:44138 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750984AbdLAU1P (ORCPT ); Fri, 1 Dec 2017 15:27:15 -0500 X-Google-Smtp-Source: AGs4zMaPSBttfkEBGq59b/0cnpKa1JWl4CliNkOeebl+hp7wW6YFjAsaj4LHOeOcPUa+ECPcjHuPkJI5m1LkBmgJBts= MIME-Version: 1.0 In-Reply-To: <1512046929-18597-1-git-send-email-marco.franchi@nxp.com> References: <1512046929-18597-1-git-send-email-marco.franchi@nxp.com> From: Fabio Estevam Date: Fri, 1 Dec 2017 18:27:14 -0200 Message-ID: Subject: Re: [PATCH] ARM: dts: imx6sx-sdb: Add DRM panel, power-enable and backlight support To: Marco Franchi Cc: Shawn Guo , "robh+dt@kernel.org" , "linux-arm-kernel@lists.infradead.org" , linux-kernel , "devicetree@vger.kernel.org" , Marco Antonio Franchi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Subject could be improved to something like: Convert from fbdev to drm bindings On Thu, Nov 30, 2017 at 11:02 AM, Marco Franchi wrote: > It is preferred to use the panel compatible string rather than passing > the LCD timming in the device tree. Typo: timing > > So pass the "sii,43wvf1g" compatible string, a new driver for the Seiko > Panel, which describes the parallel LCD. Please remove the "a new driver for the Seiko Panel". > > This new driver needs two power supply, so pass 'dvdd-supply' and > 'avdd-supply', which makes the kernel to turn on the LCD on is own. I would remove this too. > > Also, pass the 'backlight' property as described in > Documentation/devicetree/bindings/display/panel/simple-panel.txt > > Signed-off-by: Marco Franchi > --- > arch/arm/boot/dts/imx6sx-sdb.dtsi | 49 ++++++++++++++++++++------------------- > 1 file changed, 25 insertions(+), 24 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi > index da81552..3a597a4 100644 > --- a/arch/arm/boot/dts/imx6sx-sdb.dtsi > +++ b/arch/arm/boot/dts/imx6sx-sdb.dtsi > @@ -24,7 +24,7 @@ > reg = <0x80000000 0x40000000>; > }; > > - backlight { > + backlight_display: backlight-display { > compatible = "pwm-backlight"; > pwms = <&pwm3 0 5000000>; > brightness-levels = <0 4 8 16 32 64 128 255>; > @@ -129,6 +129,14 @@ > regulator-max-microvolt = <3300000>; > gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; > }; > + > + reg_lcd_5v: regulator@7 { > + compatible = "regulator-fixed"; > + reg = <7>; > + regulator-name = "lcd-5v0"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + }; I have sent a patch that removes the regulators from simple-panel. Please use linux-next when you send a v2.