From patchwork Fri Feb 2 09:43:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 13548745 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 1C0E9C48291 for ; Fri, 2 Feb 2024 09:43:34 +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:References: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: List-Owner; bh=ex0Km1L2LnHgHXGnvAsV+Og1gzgJiYCod88oCR/om1E=; b=Wu7tfKYWHlddMQ AEU/TyefBdu9uSV9z7XX3MMsc9vX1gqJ3d9WnnSblRs0cS8cgj7vaoIq5lhN4c27l83Rr7kKKVB5U 1TOFYMfrYUhZAkEaHdtvx4EAKrIx7tkzCdpNUkoUCegPF2EIojJhLFlSjawgLDG5AY6JESmv37ruV VQq/Svv+4MjNWbfSPsI/s1ZVCAXKifbez3Bc4S3ooan7R56XKKvjhLFoyj4jfiX7/0oEAoBNz8MFA QVep7Ctq4YuTToocsUhqAVpmFPwBIAeQnKN4fOG6cR1t9b7OeE/sH8tf1qsf7WxDpxtBwnnsWAOdI y/bv7eQfayHGHjaDZLzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVq4x-0000000B1XY-3U1C; Fri, 02 Feb 2024 09:43:23 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVq4u-0000000B1TS-1rrm for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 09:43:22 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240202094307euoutp02f9845e735889dfe8420fd9bcb9ac760b~wAntDQLDA0387303873euoutp02D for ; Fri, 2 Feb 2024 09:43:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240202094307euoutp02f9845e735889dfe8420fd9bcb9ac760b~wAntDQLDA0387303873euoutp02D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1706866987; bh=axH9rp1XzowN5Ts+jZdt6sEzxE9S8CWrn90hD1cZ2PY=; h=From:To:Cc:Subject:Date:References:From; b=Jt1vo41jRaAF58swLBeO3SoekqCTRSK9vT/tVCYqIL+6P0Gblpm5X2O4+AdD9VbPQ VosrBFCXEq8aERUCkQAGa5N3EmXfQ7IREzSX5T0PaPEja5f/eDpc3AqrhcrblT87mW jUzH7NGcVYklgslDoSlyWOSO0T77PhpkZk5JbIMI= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20240202094306eucas1p2bbdf8cad9ce00432599a9c4fdbc4a1be~wAnsqImw_2034520345eucas1p21; Fri, 2 Feb 2024 09:43:06 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id AF.F4.09814.A29BCB56; Fri, 2 Feb 2024 09:43:06 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240202094306eucas1p2232e5a440da112a5864d7bea83ac2e25~wAnsLoBgR0333603336eucas1p2j; Fri, 2 Feb 2024 09:43:06 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240202094306eusmtrp2c678e2ef96f6fc4c3e1a5ce19d8d7770~wAnsKgGQe1936519365eusmtrp2K; Fri, 2 Feb 2024 09:43:06 +0000 (GMT) X-AuditID: cbfec7f4-727ff70000002656-d3-65bcb92a00c7 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 49.61.09146.A29BCB56; Fri, 2 Feb 2024 09:43:06 +0000 (GMT) Received: from AMDC4653.digital.local (unknown [106.120.51.32]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240202094305eusmtip148afa28ecd6a7bc0c47560a47a43221a~wAnrRJxTY1680716807eusmtip1i; Fri, 2 Feb 2024 09:43:05 +0000 (GMT) From: Marek Szyprowski To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Marek Szyprowski , Russell King , Arnd Bergmann , Geert Uytterhoeven , Krzysztof Kozlowski , Alexandre Torgue , Andrew Davis , Mark Brown , Lee Jones , Daniel Thompson , Jingoo Han , David Airlie , Daniel Vetter Subject: Date: Fri, 2 Feb 2024 10:43:00 +0100 Message-Id: <20240202094300.1875944-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKKsWRmVeSWpSXmKPExsWy7djPc7paO/ekGux5oG3x/tREdosT1xcx Wfx8OY3R4u+kY+wWUx8+YbM48+Yuu8X/bROZLa58fc9mMXf2JEaLFV9mslvsfb2V3WJH20IW i02Pr7FaXN41h83i0NS9jBZrj9xldxDwuHztIrPH71+TGD32flvA4vG0fyu7x8Szuh47Z91l 99i0qpPN4861PWwe97uPM3lsXlLv0bdlFaPH8Rvbm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d7bea83ac2e25 X-Msg-Generator: CA X-RootMTR: 20240202094306eucas1p2232e5a440da112a5864d7bea83ac2e25 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240202094306eucas1p2232e5a440da112a5864d7bea83ac2e25 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_014321_128939_F54C7138 X-CRM114-Status: GOOD ( 14.40 ) 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 Subject: [PATCH] ARM: multi_v7_defconfig: Enable BACKLIGHT_CLASS_DEVICE Commit 72fee6b0a3a4 ("fbdev: Restrict FB_SH_MOBILE_LCDC to SuperH") disabled availablity of the SH_MOBILE_LCDC driver on the RENESAS arch. This innocent change has a significant side-effect on the ARM's multi_v7_defconfig, because FB_BACKLIGHT symbol is no longer selected, what in turn leaves BACKLIGHT_CLASS_DEVICE symbol selected only as a module. The latter disables some backlight related code in the DRM core, because the DRM core is set to be compiled-in in this defconfig. This leaves all DRM display panels without integrated backlight control, even if the needed modules have been properly loaded and probed. Fix this by selecting BACKLIGHT_CLASS_DEVICE to be compiled-in in multi_v7_defconfig. Signed-off-by: Marek Szyprowski --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 8f7445729cd0..b2955dcb5a53 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -777,6 +777,7 @@ CONFIG_FB_EFI=y CONFIG_FB_WM8505=y CONFIG_FB_SH_MOBILE_LCDC=y CONFIG_FB_SIMPLE=y +CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_PWM=y CONFIG_BACKLIGHT_AS3711=y CONFIG_BACKLIGHT_GPIO=y