Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4519447rwd; Tue, 23 May 2023 08:43:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4I963N1ovEhyqY2ce1QzVfGkBMsAgSXXNiCmOd0vYsG9kscASHHDYIX4E+5kBk07rqvvxc X-Received: by 2002:a05:6a20:8c11:b0:101:3abe:9aec with SMTP id j17-20020a056a208c1100b001013abe9aecmr11504437pzh.54.1684856637045; Tue, 23 May 2023 08:43:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684856637; cv=none; d=google.com; s=arc-20160816; b=LQdZQk6485EDFhjEcPso1KkLarP/7AjsEtF4vOCyWsdaRDAD7z/7mit6hiugr9GGBl vzAaFnPOvTclcEodSGAy+ZvsXXNg+CxGMjw0yGlpnhHjkaUntyxmUFg/8n0eQh68fs4A hCc144UnDaXQDsuZY/J894ib6FL1FADGi4iL4+3rQw2DFUBtV3lmadoR31EpQU84+Yii qBcKK2AJxZHITgrnR0v4vOv+6qwr12/rXIUm5pErPDXQDqijJ+NOnIhV2e3kfOPGh84g kZI642UDOTO04hthf49unTnMYopfzqE9npeOaVVGZU6MA75WeCNq7c5BTpI67WEPp626 w0QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=vT+S9s6JMB76cY1JJFwk2696mpQSRawNZRUEev8MMd8=; b=SgQAqBmY8lRGC4VT4SDxg34pRAR4jRE1jW8Dp6n11olBcfP07iVqonIHgpMSmPOCYY Ft4xr2x9qtHxS/EZSmpuQaawvBeSQv4tD/FDrnfCwpaSZNTId3B3S7zaN5d0JUif30em MCaKMYydGKY5VjnElSoi7snlEh64txOBU4LP5Mmcq2uLiyZxFAAURIpBYaxi198miDS8 uk0XLVuL1d2GzLaBIoQBDUwB0ZKY0utWpysaBxOpAjVJ2dms++l693oQtDDOmEVvPEp3 W9hax/3nWmnAF9oOsfRjgeZgzE0ba/X21pRuzQZjshvaXW89N4zdn175hOyi7eA67p4r 9rIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e2-20020a637442000000b00536e63cbd99si4766226pgn.20.2023.05.23.08.43.41; Tue, 23 May 2023 08:43:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237570AbjEWPb6 (ORCPT + 99 others); Tue, 23 May 2023 11:31:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237553AbjEWPbs (ORCPT ); Tue, 23 May 2023 11:31:48 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5E16196 for ; Tue, 23 May 2023 08:31:43 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed30:b0ac:7afd:272:4cff]) by michel.telenet-ops.be with bizsmtp id 0FXf2A0030Jkz7G06FXfv6; Tue, 23 May 2023 17:31:40 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1q1Tyu-002t3m-Lw; Tue, 23 May 2023 17:31:39 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1q1Tz9-00Ckb5-3w; Tue, 23 May 2023 17:31:39 +0200 From: Geert Uytterhoeven To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Laurent Pinchart , Kieran Bingham Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v3 5/5] drm: shmobile: Make DRM_SHMOBILE visible on Renesas SoC platforms Date: Tue, 23 May 2023 17:31:37 +0200 Message-Id: <40ac67e0887d833ab4a3f1ec24828dedf0d8e108.1684854992.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The LCD Controller supported by the drm-shmob driver is present on SuperH SH-Mobile SoCs, and on Renesas ARM SH/R-Mobile SoCs. Unfortunately its config option is not visible on either, so the user can never enable the support. Fix this by dropping the dependency on ARM (for SuperH), and by widening the dependency range to ARCH_RENESAS (for ARM). Signed-off-by: Geert Uytterhoeven Reviewed-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart --- v3: - No changes, v2: - Add Reviewed-by, - Drop dependency on ARM, reword. The driver was disabled on SuperH in commit c66de8cc2ea62941 ("drm/shmobile: Add run-time dependencies") in v3.16 because of build issues. I couldn't find further details, but currently it builds fine on (at least) arm, arm64, sh, riscv, and m68k. --- drivers/gpu/drm/shmobile/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/shmobile/Kconfig b/drivers/gpu/drm/shmobile/Kconfig index 4ec5dc74a6b0b880..ad14112999ad8aba 100644 --- a/drivers/gpu/drm/shmobile/Kconfig +++ b/drivers/gpu/drm/shmobile/Kconfig @@ -1,8 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 config DRM_SHMOBILE tristate "DRM Support for SH Mobile" - depends on DRM && ARM - depends on ARCH_SHMOBILE || COMPILE_TEST + depends on DRM + depends on ARCH_RENESAS || ARCH_SHMOBILE || COMPILE_TEST select BACKLIGHT_CLASS_DEVICE select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER -- 2.34.1