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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1613AC636CC for ; Sat, 4 Feb 2023 19:29:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BAD2C85802; Sat, 4 Feb 2023 20:29:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1675538990; bh=EVZv9kIWcnenWndqXKn/Wlnu2thv2oFvgXzzTtHtZfY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=lNFR5cv8imZ94TxHcNWY0hk0khMoHEXEBhUU0wLgT6b2VkyIr6TwcrfEIpVMOJBVO d9e/9uStc0AtS1UmYrNBjmjd1Z60qlDduEBxhvLN/VywVD3N9HItf10um4JF3T0+tz 7mYtAMLtbTOasgIzNoEVxdAcQwRDn0JSgXlBlgBZkpmtvUzEL1ax5lx1d8i9x625Ap JL28MDeH8JpbPF8DMdHBSewpWumF1nuIEsaKoZmFYK4rZUu3Vh+cSzQU9sN0Lwjtka f/rab/iMkFX9T0HUuR8aXNTNeNVFY1bAjmxnDddlcsj48P1Jbh5Ak5T2sfINzQrCZz 2dYVowJf5GMMw== Received: from crub (pd95f183b.dip0.t-ipconnect.de [217.95.24.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: agust@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 20452857E9; Sat, 4 Feb 2023 20:29:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1675538987; bh=EVZv9kIWcnenWndqXKn/Wlnu2thv2oFvgXzzTtHtZfY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Xx71DLAEkJlNCdJgxo0XwtLp1c6CdBY9YG8+SeMV0sQyNnMJMmaIwPTXcPerxXw74 fhUntUnoWNNseIMbHH9BXjs+T8Bd2v283d7MZq+XAdtBdCIsrqNU8shI3xNj7uYaml msZZNCSweTe0Tsw80f5HzXiFbRmUTVRuEmwThlBwjgwtW2bUR6CIjoN4LxeZ00hF8k F0qJyblugEIpvK4lX/OVaw9q8aP2W1XjHqHcNS4PiBs0cBNMf1ChtQ+imOJSS+khJo 9bF6kjfppE+xbYJPZ0weWeuBLzypi+7iYnPAo1LusfwVSM/QbsKw0n7ByZ+XnyZhN/ UC+MCcumcHlhA== Date: Sat, 4 Feb 2023 20:29:46 +0100 From: Anatolij Gustschin To: Dario Binacchi Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Simon Glass , Tom Rini Subject: Re: [RESEND PATCH v3] video: ti: am335x: restore driver-model code Message-ID: <20230204202946.759d37fd@crub> In-Reply-To: <20230128155531.61300-1-dario.binacchi@amarulasolutions.com> References: <20230128155531.61300-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Sat, 28 Jan 2023 16:55:31 +0100 Dario Binacchi dario.binacchi@amarulasolutions.com wrote: > The commit 82f7b869f5d7a ("video: Drop CONFIG_AM335X_LCD") removed not > only the LCD legacy implementation but also the code with driver model > support. The patch restores the code with driver model support. > > Fixes: 82f7b869f5d7a ("video: Drop CONFIG_AM335X_LCD") > Signed-off-by: Dario Binacchi > Reviewed-by: Simon Glass > > --- > > Changes in v3: > - Remove the lcd.h include which I forgot to commit in v2. > > Changes in v2: > - Collapse the two patches into one only. > - Fix the compilation failure. > > drivers/video/Kconfig | 2 + > drivers/video/Makefile | 1 + > drivers/video/ti/Kconfig | 8 + > drivers/video/ti/Makefile | 6 + > drivers/video/ti/tilcdc-panel.c | 172 +++++++++++++ > drivers/video/ti/tilcdc-panel.h | 14 ++ > drivers/video/ti/tilcdc.c | 425 ++++++++++++++++++++++++++++++++ > drivers/video/ti/tilcdc.h | 38 +++ > 8 files changed, 666 insertions(+) > create mode 100644 drivers/video/ti/Kconfig > create mode 100644 drivers/video/ti/Makefile > create mode 100644 drivers/video/ti/tilcdc-panel.c > create mode 100644 drivers/video/ti/tilcdc-panel.h > create mode 100644 drivers/video/ti/tilcdc.c > create mode 100644 drivers/video/ti/tilcdc.h applied to u-boot-video/master, thanks! -- Anatolij