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: 195758 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp315210dyc; Fri, 2 Feb 2024 01:46:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkiGiUtznSsNMffLOolD0ZlkmrEGKM+yOVzkvGcVoI7h+S1tGLA94+MjNehcOkpt3qiUj3 X-Received: by 2002:ac8:5cc6:0:b0:42a:a6ed:5440 with SMTP id s6-20020ac85cc6000000b0042aa6ed5440mr4717199qta.3.1706867203389; Fri, 02 Feb 2024 01:46:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706867203; cv=pass; d=google.com; s=arc-20160816; b=X3rENSHDQ4R+F2v8Z294QMueQSEiI6nLgu1ZqEEQVGC97gRlaUjHPeRAXWY+ovB4jJ uBczCwyRpU0QzqRpUGk/IVATcc23Zjj4dekH7c+sm5EJ3+a7J4R7+DXPz25uCmJbKFaL OiBAR4kjxWUMlS7hniyWFurmvaePorYXlaiOP0fMPd7m3SVxohkA/0WBTnuTRc8gejmL vBXAdBClqLzq0gCAFCxCXPxVn9GzJrV40wk3xUrlucDoDJZoAzFlaRt9A67pNlp5TF/T ORI64+onnyS+QPr/BnxZcG3o+S65RGOORhheHiVj1Z+XX/Q2EXEUKbhZnc+ki1627aKe rpQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:cms-type:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=axH9rp1XzowN5Ts+jZdt6sEzxE9S8CWrn90hD1cZ2PY=; fh=k7FCyrLEOYHsWtj73mMefJK6pUy9X2bORI0x7v4zq0o=; b=B0Qw/kz7v3rGCpzkCQ+Z7AXnFsR9y9MxB6+nFkhj19ubRjy29esN/KOilqoW1heLK5 OXyoAHljR0uQ2UIX5C/fQaiM6ZBZ1aJ6YuUuVJgfJy9oSpY4+TTWLZozTz6g+AibhTKP mSHA6unYHOt7Jq+Wk9yebF8hgX6jjkDAbRHOzjC/0ECd3yIfFuirtJT7tTGP1oSBNcnE jFYpoG7Yw7/4vQic+80aA5UYEhKyoZOJu70jjVB/wHfJCebPq91w+fTFDuS01DQHemJ3 cjX9tso87F83V1QeWj0+Rb6eOHCNdMBOb0nqYQZERW1siFse7jgwVwPDcnPm5h5XZZ1H 2XnQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Jt1vo41j; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-49606-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49606-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com X-Forwarded-Encrypted: i=1; AJvYcCUlW3UJrUvygOIvZ1mhe/7U30n1D1R6fdWzx1TcYBUCUhrgeLqfWBh05fmXDeEA/l5svxlE477YCTrp+4WYYCNU7fvBTQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 16-20020ac84e90000000b0042bedbe6c47si1606323qtp.292.2024.02.02.01.46.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 01:46:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49606-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Jt1vo41j; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-49606-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49606-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6226F1C2427E for ; Fri, 2 Feb 2024 09:46:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF8F878B6D; Fri, 2 Feb 2024 09:43:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Jt1vo41j" Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDEFD7867F for ; Fri, 2 Feb 2024 09:43:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706866997; cv=none; b=AzzP7YUDg02KaRaQ0VGI9QZ+GpUr7F1VRvQCVA3DDhSdnlR1uWsEoJ3i5lKjYevHEurtzaD2ThIWXW60T3Fkni4rS4vRMo59uvaiG1lF2s6JUhBIhYqEh7qh87wRVy054ALJs9KuHOHP+qM19t+iErrxkkPG01EtyJok9BFD64Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706866997; c=relaxed/simple; bh=h0+hTxbC3i/e2mNDlG8OP8hBEcIbgKN2p3ReU8m6Jq4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: References; b=lEA0U3nCNqEAhC2iCmSecLd4nOrZCzOPmLPeCZi8L5xLXWSgn5xKG6NPBeuM5AM+DxT2nOAI0qORFAYmJmtSxultYizsPlIzUBIqRVmSBqPVvoYNb7dhBv/LZrEa2y8obIBVgDQ/wPCJc+6gc7yJFePSjJcpvEmKKjO5wkS/VTc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=Jt1vo41j; arc=none smtp.client-ip=210.118.77.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240202094307euoutp01a9c1aa49515a07ee26466784aaef8845~wAntE_Ejt0690106901euoutp017 for ; Fri, 2 Feb 2024 09:43:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240202094307euoutp01a9c1aa49515a07ee26466784aaef8845~wAntE_Ejt0690106901euoutp017 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKKsWRmVeSWpSXmKPExsWy7djPc7paO/ekGux5oG3x/tREdosT1xcx Wfx8OY3R4u+kY+wWUx8+YbM48+Yuu8X/bROZLa58fc9mMXf2JEaLFV9mslvsfb2V3WJH20IW i02Pr7FaXN41h83i0NS9jBZrj9xldxDwuHztIrPH71+TGD32flvA4vG0fyu7x8Szuh47Z91l 99i0qpPN4861PWwe97uPM3lsXlLv0bdlFaPH8RvbmTw+b5IL4I3isklJzcksSy3St0vgyrhy ZwJjwTuuipXz3zA2MK7h7GLk5JAQMJF4vuAHYxcjF4eQwApGidenvkM5Xxgl7j+8ywRSJSTw mVFiZ3cATMeth2/ZIIqWM0r82bqCDa5j/Zxr7CBVbAKGEl1vu9hAbBGBTIntS86wgBQxCzSz SPw9N5cZJCEswCmxqfs8WAOLgKrE3xnvWEBsXgF7icnPj7FArJOX2H/wLDNEXFDi5MwnYHFm oHjz1tnMIEMlBGZzSuy8v4K1i5EDyHGRWLRDGaJXWOLV8S3sELaMxP+d85kg6tsZJRb8vg/l TGCUaHh+ixGiylrizrlfbCCDmAU0Jdbv0ocIO0psfvyQHWI+n8SNt4IQN/BJTNo2nRkizCvR 0SYEUa0mMev4Ori1By9cYoawPSTav3+FhmisxNS1ixknMCrMQvLZLCSfzUK4YQEj8ypG8dTS 4tz01GKjvNRyveLE3OLSvHS95PzcTYzAlHj63/EvOxiXv/qod4iRiYPxEKMEB7OSCO9KuZ2p QrwpiZVVqUX58UWlOanFhxilOViUxHlVU+RThQTSE0tSs1NTC1KLYLJMHJxSDUyRC23vrcgJ 3+iwi2P+SvbvcuvXdT82+yi25UnS1ifcf9hvmv3udtVflrJJLfOShEbaAsdl/L1mkXufsczi Eaw93ut26/8ypZYksW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rbJjIEf5tvMiTb7uCqST3vudc5bk6r7 /vrkp4XxiJ2LeSJ1Q8jl9v4qNeEn76IFuo/b1H5ttn4s9yVzn/Qcbx0uZvnHvN+cl8lsvPpm 3q4/rxO3TFD95dWfw3hGV27jje6gmcdfRh+e0rlt7a9We4HnDr96tnNphf8oKLYQEZ7bdnLL XzkOyTSfuhnPdZXUOw9F9lb9iJEpbgtTmjHDz/L/LjfpjqxfpzTnrMtsq+/o3affsugzq3aU 71GPL1elOcNlTiet8tvBcbs23rH234YoIYep759dquKY+0DeXGNSd6pd5LS7Bqmn75hstXRO f6bEUpyRaKjFXFScCAChw1KETwMAAA== X-CMS-MailID: 20240202094306eucas1p2232e5a440da112a5864d7bea83ac2e25 X-Msg-Generator: CA X-RootMTR: 20240202094306eucas1p2232e5a440da112a5864d7bea83ac2e25 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240202094306eucas1p2232e5a440da112a5864d7bea83ac2e25 References: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789779984828882224 X-GMAIL-MSGID: 1789779984828882224 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