From patchwork Sun Feb 13 22:56:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 12744730 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 D0475C433F5 for ; Sun, 13 Feb 2022 23:03:49 +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:References:In-Reply-To: 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: List-Owner; bh=nZV++kqlw5zgUsJa1tdQRonU5Urzi3T5R9q3q6bbncs=; b=4RU8WIazRnw66e yX/XRO4yHQUbRczmVaW9CLCArQ+Gni82/g0z8me+Wji2kYJlDfwtREhiHLQsByq6fwb9YVtGdQmF+ j9rdPYXGsGqlCZCtr15xGOVO1eoB2xHDDr8/lFIXYRFaaIPJ4b3g9s8yan6RTfvHO7n7wEysS+e+2 jf+kSgppPQVV7NBf7NdgwvDVBmWIBWUsBkep7fcK0ehwks0JSdGjcV45Hn/igN152cuIaHcbrIhmT ofdbcOm/qoWOP81N9DIctAl2V6YJUH42f7m0r4WWLkjB0la9uzcthYFakwp8ModnXsrs81m8Xpit2 NVY7uFWGj6n4nBpAxWVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJNst-00Ck9s-07; Sun, 13 Feb 2022 23:02:23 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJNor-00CiAN-Tm; Sun, 13 Feb 2022 22:58:15 +0000 Received: by mail-ed1-x52e.google.com with SMTP id y17so22609485edd.10; Sun, 13 Feb 2022 14:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NejYM/SCa/adQTW7MigR+R0AZ8Mjof70P4hDReGIkqw=; b=Pj0TyRueVaKWea76lADnqkyQk0FJ96Gh3fzpQdpLqI6EJAJ9Z0eeYCOeRhrODCnpff wV+9FYGxooHxyh2JvS20oGYqfz1k+bRIzszK6fV+HIWwyDl04WkPPm0ywtH5Xvzqkp3s znIauc+TyVEcw4lvpVNIDcFzbqsRJ8H81Udt76UnPtjx9YkxCRAFdoEEEU1FsnpE6y6N E7pAKTocjQ1vP+O9ZAf3PZ1S9UiieNhkco2iB7S9hNCExuM1wAcJkOBgdlnWlHgqll2I xToaFQTc6y4FSrY3nRMWZOmP8D2M7XaMYlPndBv2Onob6P4p66Hs++MOubAajYKPUJaw UnSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NejYM/SCa/adQTW7MigR+R0AZ8Mjof70P4hDReGIkqw=; b=c+tTftqf9JDcS4Esh9NISOWHo5AEMq8DCcp98XI/sGQkOdXRW/aRrPEifPNeqXkThE VjmmFzBSjMAfzLU9EY7rxOC98Mz47+aBIPmGYQ4nAqwrWr2VxWSlufNEgQIM/mGkDLNg R4Ov0Yoqem2vFdIp0T19qI4rqxZ2tWb8V5vQyBMQKkeWmj31Qgf9dYXDAXj6FxWFAk1s 4xE5CsBXIDIEC6CNYtUmqJhxqHqyGZsfRcPYg66C62785PZCwvkeRecMeW9YlW4ebh9F 1mACAOi1ljKbEYOXbeb0ju0K3koxuW0SqCv9UUwVHx6ixH+c7VEQirF/RIT/IYm2sq0F 8NBg== X-Gm-Message-State: AOAM533dJofLw1chVR751CAb2u9z/bsYs9PJeFYnFxqi/1WWl/iNbEgO iwnsQlOFgi1S1wuIUYdNirs= X-Google-Smtp-Source: ABdhPJxCeMxe71xsaWHClLlFyX4QlQOlzYsLbm/0woRoZB+8nGdWEGl3zXUZaTOTogbMT1gCeu2KcQ== X-Received: by 2002:aa7:da9a:: with SMTP id q26mr6131062eds.288.1644793092157; Sun, 13 Feb 2022 14:58:12 -0800 (PST) Received: from morpheus.home.roving-it.com (3.e.2.0.0.0.0.0.0.0.0.0.0.0.0.0.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681::2e3]) by smtp.googlemail.com with ESMTPSA id g14sm3189163edb.55.2022.02.13.14.58.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Feb 2022 14:58:11 -0800 (PST) From: Peter Robinson To: Nicolas Saenz Julienne , Rob Herring , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Lee Jones , Emma Anholt , David Airlie , Daniel Vetter , Russell King , Arnd Bergmann , Catalin Marinas , Will Deacon Cc: Peter Robinson , Nicolas Saenz Julienne Subject: [PATCH v4 12/15] drm/v3d: Add support for bcm2711 Date: Sun, 13 Feb 2022 22:56:44 +0000 Message-Id: <20220213225646.67761-13-pbrobinson@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220213225646.67761-1-pbrobinson@gmail.com> References: <20220213225646.67761-1-pbrobinson@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220213_145813_986047_DF80EFD9 X-CRM114-Status: GOOD ( 15.00 ) 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 Add compatible string and Kconfig options for bcm2711. Signed-off-by: Nicolas Saenz Julienne Signed-off-by: Peter Robinson --- Changes since v3: - Minor updates for rebase drivers/gpu/drm/v3d/Kconfig | 2 +- drivers/gpu/drm/v3d/v3d_drv.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/v3d/Kconfig b/drivers/gpu/drm/v3d/Kconfig index e973ec487484..01d91c829107 100644 --- a/drivers/gpu/drm/v3d/Kconfig +++ b/drivers/gpu/drm/v3d/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_V3D tristate "Broadcom V3D 3.x and newer" - depends on ARCH_BCM || ARCH_BRCMSTB || COMPILE_TEST + depends on ARCH_BCM || ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST depends on DRM depends on COMMON_CLK depends on MMU diff --git a/drivers/gpu/drm/v3d/v3d_drv.c b/drivers/gpu/drm/v3d/v3d_drv.c index 82af16523843..cec6e7858265 100644 --- a/drivers/gpu/drm/v3d/v3d_drv.c +++ b/drivers/gpu/drm/v3d/v3d_drv.c @@ -193,6 +193,7 @@ static const struct drm_driver v3d_drm_driver = { static const struct of_device_id v3d_of_match[] = { { .compatible = "brcm,7268-v3d" }, { .compatible = "brcm,7278-v3d" }, + { .compatible = "brcm,bcm2711-v3d" }, {}, }; MODULE_DEVICE_TABLE(of, v3d_of_match);