From patchwork Thu Feb 1 18:00:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13541549 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0ACE4C48299 for ; Thu, 1 Feb 2024 18:01:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3FVHcr6YLq5D/JtWqgpRK51E9MyqfW9+1I5LqAVGNlk=; b=gWdnfQyba6d6kB DjU3OEJXsIw3jRX4gBC5wq9iFmpFLBI7Ca0oAaSVQcQsI1+Bm/eepRpWLHM3styvcT+RlnH4ldNqp dgGf+ubtj4061TYRHUzoD3OI0B8U72tfuRnC+i3bDkGoeijOg3tbaSq0zuteeKVbGdPoB9FhVKTz6 uAATzQImuWslHiwfDv1XQ2TvrCRmNE5vpkTJAR9oHwSLWXHshJIOh/K6MWgEHL7RFFGge7JYcXHrf jEiOQBWpYSm1eCJMMr02PXbI9Kw3YPos1SZsnoPM15+h0ME31RQMzzLEdUesQBQCmC35NbNul2IIa r0HtuNKuL7QRYjj4TG2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVbNA-00000008tJn-1lJS; Thu, 01 Feb 2024 18:01:12 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVbN5-00000008tHT-0ZsH for linux-arm-kernel@lists.infradead.org; Thu, 01 Feb 2024 18:01:09 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1d7517fe9d4so1030035ad.0 for ; Thu, 01 Feb 2024 10:01:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706810462; x=1707415262; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=L8AtnYKuWwLvOFGHJm4I7X5AjAku8k1q8BzaAoKy0qw=; b=HGg+fKVJud1RD5xeiqtxUh3qGzeGpkHdDWQlkmxqIYEN/VTmYh+fAVgXRgPVDtQ/NU gEQ3k3MckLcWEn+WZ/JptMp5BO7bXNcmZYD39PUDmgx5qcA9wF5el+PQURVAwJleLUmT ByWBnXrEwae+34quFqIWFTsYt4w/dzURErwiMQh1AEgfdfXS3yaWw0beEh2YhULSZgHv zruXX9NcHyWKWWVLxS/2g/aTW8mT4WsiB4wOBhoVH+59mu5/2JrCxmLjDXsrv0I6+nu8 18MUAn1IySuVRm2z888ELs1AyH79XND5QUgOGNJIr7e46+UbGwe+VEtTSx8bCmUK5u3k dyZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706810462; x=1707415262; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=L8AtnYKuWwLvOFGHJm4I7X5AjAku8k1q8BzaAoKy0qw=; b=hpe//fckjwwzvWPsfFuPsRKUglyqO/lZ37ev9DlHdEPxmDfRv/+tu+7loYfS6YryQX Rxa4Jz2bs9y/bbdPKU8utzRBWmVQlkME0xmjb3dJpQD3486FvWqgZ9CMjsnquZ6GmnFM CPzdUD4Cw0pluFAPrN3wozjDggrGYQI1aBA9ubE4H9wAhCjk9eqpIRC9GpmOBQ+Sh5XO d0kWjfy0GrnlcRKqSo0kqHWZmmrnVBD8xTFCjR+s61G9Si4AEcK13PMFPzPfMt1TbMwo Eu5RVVyoFj0juA/ubclGisUCv9YT1oXdYs9UVhbAlMMzuAD+qi52TLNwdp9k5DFTB1GI tAmQ== X-Forwarded-Encrypted: i=0; AJvYcCV6eQWjG+p+UYOqFQ0mvGZfM6UcBSA6AWYYbOsmXxuTB/LI42XDE3bYlGqQH+Fe9tR5ekVpYnrHH+HsjcLvbKMu/djvyJfAqUmdnAopF02FfmfvUm8= X-Gm-Message-State: AOJu0YytEBUEidNyzJTaEUnrUOVtsVtSq0KawMhnbPANCns6wEhT+T4X gVdDEsdPpuEh3HcNQFdu6T7orG35hB6ma75h3KopGg9bZd0qOBFEzsiuWhB4 X-Google-Smtp-Source: AGHT+IHx1EIhl8h8vbGB6p8xSNyMSmc3qM5MwaM7Obgq8/QtT62P2MLyObE3z6Mk5o8+/Q8AbLiUwA== X-Received: by 2002:a17:902:7289:b0:1d7:1480:6538 with SMTP id d9-20020a170902728900b001d714806538mr3535586pll.1.1706810462023; Thu, 01 Feb 2024 10:01:02 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX0MMgsJpPaOMaYRm/POZ6AOIchflU+XXc1d7NO68ALh9eqRsQM6ULJnsje9kS20Svo7FEUn7wRteIt71cSHlIKcJYORTJy3if/2FC8ddVj4/Zz7ABsq0o6ejnn1BOT/CDcGWy1TmNnq9RAtkg4BrfZyGbfhlSLtLLhtkY14ffnKIrUSWBQ40fvS/J9MD4bgYkR Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:8e7a:352d:b9a0:297a]) by smtp.gmail.com with ESMTPSA id jb18-20020a170903259200b001d8a93fa5b1sm93518plb.131.2024.02.01.10.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 10:01:01 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: kernel@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, Fabio Estevam , stable@vger.kernel.org Subject: [PATCH] ARM: imx_v6_v7_defconfig: Restore CONFIG_BACKLIGHT_CLASS_DEVICE Date: Thu, 1 Feb 2024 15:00:54 -0300 Message-Id: <20240201180054.3869350-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_100107_203853_DB884798 X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam Since commit bfac19e239a7 ("fbdev: mx3fb: Remove the driver") backlight is no longer functional. The fbdev mx3fb driver used to automatically select CONFIG_BACKLIGHT_CLASS_DEVICE. Now that the mx3fb driver has been removed, enable the CONFIG_BACKLIGHT_CLASS_DEVICE option so that backlight can still work by default. Tested on a imx6dl-sabresd board. Cc: stable@vger.kernel.org Fixes: bfac19e239a7 ("fbdev: mx3fb: Remove the driver") Signed-off-by: Fabio Estevam Reviewed-by: Francesco Dolcini Tested-by: Francesco Dolcini # Toradex Colibri iMX7 --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 0a90583f9f01..8f9dbe8d9029 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -297,6 +297,7 @@ CONFIG_FB_MODE_HELPERS=y CONFIG_LCD_CLASS_DEVICE=y CONFIG_LCD_L4F00242T03=y CONFIG_LCD_PLATFORM=y +CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_PWM=y CONFIG_BACKLIGHT_GPIO=y CONFIG_FRAMEBUFFER_CONSOLE=y