From patchwork Fri Feb 2 09:50:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 13542628 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 424D4C4828E for ; Fri, 2 Feb 2024 09:51:32 +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=hC4Pt0xr99bsJIB3WvqukFMqeTdasf7nzIniOEpOhDc=; b=0pFu0Y7fFRzY7/ jAHJhh1aa9tChdet3bAf6jsxVxDuDcHivV2RKnwOcKELFFkmtSOGuENUaFZqRAOIQJY9Kh88/CrfX Pcp36KkJUlBFJujh/5y2tpuM80vCBI2bx1rnMuCGOmnluIU4t3DMEKlFLyP/t62/6SrkWoRI7JNA0 razzrT61wx258Aa4EeMoF4SQGsfOsA/sCXqHDfRBvUx/stj+2GTPGEcl6ZQ3MxJvifKntwgnFJfMj PjSjmS3twzAlbtjOg2r6fK6dNGcXCtLMUV11U7qG5ahTy0yoMCq+IarITrkwZxb8plyEP1EjvgBQi K/xgyEBxHZo9I9ekhp/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVqCa-0000000B3Fv-2xnF; Fri, 02 Feb 2024 09:51:16 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVqCX-0000000B3DT-1uSV for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 09:51:15 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240202095105euoutp01cdbba6a501ca2a1685e2d0a57027e07c~wAuqZESjc1613216132euoutp01d for ; Fri, 2 Feb 2024 09:51:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240202095105euoutp01cdbba6a501ca2a1685e2d0a57027e07c~wAuqZESjc1613216132euoutp01d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1706867465; bh=Bf7rQoU5d3WU3FmKbvnaNCSLH3IiWNFAQPjzDN4h2DA=; h=From:To:Cc:Subject:Date:References:From; b=h2RupUvMh0R3caFVIp6ukDjpf3fzWFs+JV1u/Kb0qY6dLR29d9EQyrpUo4euQG168 HLxQYntFu/zqdKtC+CxcW8kaCrk4jF4uG45UQ/0UtISz4ng0eg1ZVxlrAlhnbxeKEt B4Bgjcb2z170QYruMReQi59No9xAsDTokL5xk/C8= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240202095105eucas1p1aa13c67394f117a9b1c5e2ab9c781273~wAuqCOByy2463424634eucas1p18; Fri, 2 Feb 2024 09:51:05 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 8B.A6.09814.80BBCB56; Fri, 2 Feb 2024 09:51:04 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240202095104eucas1p2df4522cc4a7ee29540db1fb61d8e19fc~wAupfiSY-0953409534eucas1p2F; Fri, 2 Feb 2024 09:51:04 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240202095104eusmtrp15fbe04a3ea76a0b1797f65ac46b92a6d~wAupeseMs2064820648eusmtrp1g; Fri, 2 Feb 2024 09:51:04 +0000 (GMT) X-AuditID: cbfec7f4-727ff70000002656-d3-65bcbb086c8b Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 12.C8.10702.80BBCB56; Fri, 2 Feb 2024 09:51:04 +0000 (GMT) Received: from AMDC4653.digital.local (unknown [106.120.51.32]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240202095103eusmtip15e86ad33d27184a8710bda287b9b4121~wAuojslAw2135221352eusmtip1b; Fri, 2 Feb 2024 09:51:03 +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: [PATCH] ARM: multi_v7_defconfig: Enable BACKLIGHT_CLASS_DEVICE Date: Fri, 2 Feb 2024 10:50:44 +0100 Message-Id: <20240202095044.1980696-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0xTdxTH97v39t5Ls5LrxcVfAME0wQdSfG3zZjSKC4l3Q+MjkiyLDxq5 A0Ip2MKY/DFRHGLHoLSi0IKiYApsCpSXQBFpllagNkMY6oBgAUOsMoYWw0Nwttc5//ucx/ec 70kOidITAn8yUZHGKRUyuRgXYs3WeYeEbDdzmx1vtjPTPYUEc/fBNYSZf3oRMEtaK8EU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ExsVy+t/xu7ocu/ekGhw7JWTx/tREdosT1xcx Wfx8OY3R4u+kY+wWUx8+YbM48+Yuu8X/bROZLa58fc9mMXf2JEaLFV9mslvsfb2V3WJH20IW i02Pr7FaXN41h83i0NS9jBZrj9xldxDwuHztIrPH71+TGD32flvA4vG0fyu7x8Szuh47Z91l 99i0qpPN4861PWwe97uPM3lsXlLv0bdlFaPH8RvbmTw+b5IL4I3SsynKLy1JVcjILy6xVYo2 tDDSM7S00DMysdQzNDaPtTIyVdK3s0lJzcksSy3St0vQy+hbtJyxYDFXxfOHB1gbGF9xdDFy cEgImEhs6dDrYuTiEBJYyiix9eRlpi5GTqC4jMTJaQ2sELawxJ9rXWwQRZ8YJS6e+8UGkmAT MJToetsFZosIZEv82XiFBaSIWaCXReLEoyXMIAlhAXeJeSe7wGwWAVWJiwvOsYJs5hWwlziw hA9igbzE/oNnwUp4BQQlTs58wgJiMwPFm7fOZp7AyDcLSWoWktQCRqZVjCKppcW56bnFRnrF ibnFpXnpesn5uZsYgZG47djPLTsYV776qHeIkYmD8RCjBAezkgjvSrmdqUK8KYmVValF+fFF pTmpxYcYTYHOm8gsJZqcD0wFeSXxhmYGpoYmZpYGppZmxkrivJ4FHYlCAumJJanZqakFqUUw fUwcnFINTBNm7P25tX2v34GmJXY3TqW5FQt79ZyXFd7hu+wv8+doXvbtimq8ypM/53I2mi+/ v/fKdDnG3FUbQl9NCj3c1XUz3MN22tRXa28o/DN8XMr8svFz7rxdH1X27Fvwtjw555n+pv45 8kWab1pEL/ftMm56479a6bWXlsfp/3d8Y/q3+P16ox/yVu/qC0mBWn01sflpfnb/d965bP7o wkuZGQwqC3JO73t14XHRl1d689ZHb9/+xMxU99ajmsWzA+L2ujmrlGhN3MqwpnZJZODS0/YG O9I73vhwMy/zPGfygtlox1qhU8v/st+5PPtQ3/mSnIUP17rP/73Y+I631bYT+64vbpyvPsGO b+Yml7N2cyY8VmIpzkg01GIuKk4EAC+h70VNAwAA X-CMS-MailID: 20240202095104eucas1p2df4522cc4a7ee29540db1fb61d8e19fc X-Msg-Generator: CA X-RootMTR: 20240202095104eucas1p2df4522cc4a7ee29540db1fb61d8e19fc X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240202095104eucas1p2df4522cc4a7ee29540db1fb61d8e19fc References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_015113_791515_4AFA60E9 X-CRM114-Status: GOOD ( 14.48 ) 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 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 Acked-by: Geert Uytterhoeven --- 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