From patchwork Wed Jun 1 11:02:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 12866727 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 DBE74C433F5 for ; Wed, 1 Jun 2022 11:05:02 +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=wRC/f4G4Ku3r1jzZ5J3n0OFh+Z5skYrVqOtfKzcOzMY=; b=mI5pTsL1ip0xjb 5sVgp70eBkRuiBy/DyKpkmMGgNGme26DkS8M7ELfwcwMzRHsaNsvw6ARgbJQPJW5UVi1BGV6blW8U SH2MVCaQ12XbsoBlujEIObSKv5I7jz6QNBhKZANUuO9TVcdFyl2zgVs5yUFH/waHzF523PtBY3Hed q+8x2xK0HfinrFc3i4KNr0EOaxTXwu1MGwIAlk1kErq5Fp+4HGSahnGM7VtbWDU8JGr40VCT52vIt X5ZEcqXKG3EvcCgwm0SO/FdvsCMlNXXqGFgjHfFLf1TPMHgD4+bjSyPwpoltj4Q24av6iwUop48MW cQTIuvsh7HsFN3VVweag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwM8Z-00FU0a-Je; Wed, 01 Jun 2022 11:03:40 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwM87-00FTmP-Uq; Wed, 01 Jun 2022 11:03:14 +0000 Received: by mail-wr1-x433.google.com with SMTP id e25so1808188wra.11; Wed, 01 Jun 2022 04:03:11 -0700 (PDT) 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=Oj0UTyy0MLszvmn9VYRtyrJ5EUtyanW7B83YKGtREoY=; b=q8JG6nQAxFI6QCloZp2Q4pXzLo3shCoqdhGDgiA2pBrA10VCaqcbmuAJsb25aI4/H/ uWFzuufhljnvhDTL+e3wGS7WRicznv36my3NbbggPbQkLXYfT+OZlRxNvXEfFZEof2+r tM26WAClQnO5mpxQpVckBTlaC4smj5qjrg9SQp3VvX1ezXtQLMy79HZbbjRzGyCdgTyg L2ZSMTCRNm6aJYXxX2OHDaap/pXi+yN9Ch5f1QA2UZEB5rYML1oO+bGfydSDlsGIHemX 5WH+AykVi/J2hNdYa9Zbr5ziLDTuPRpkLn5vLPCh6SWGn3ATpN5zkmHzP/sxM0sdTDH3 +4FQ== 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=Oj0UTyy0MLszvmn9VYRtyrJ5EUtyanW7B83YKGtREoY=; b=gKN0Nw2FpTv19iI8bGWtV9hdxo0Kt6Et2VuNOwyU8RLAyJ41Ah2j+OyxOAdKSnvBQF cJ80onK2RiEOoBv0G66D4HWe91LjrfhGvROaoEy+kjXX+wz1AvcMDatR84Rodbd2VFiw JJN2JG6r2ZVxYxuHgc8VAe7wEvguitaVKoU/2iU8z96zaX4gB0hPtXlRICK3I4Dp9eAu PAT+8BPA9Mo9EzOQmhcR06jLEKnN6/NVUyN9E6Ckunbg9n3/LcAKujxbCFn5LrTgb47Y 1cf298E+QaLXByjAXyCD+U2Z2OO2T3JFUCF+tM4V47U/v3nYj+uJjR/TySlnL1QRomV8 PSFg== X-Gm-Message-State: AOAM531h1QNocaipd9o416aRakEU7DAT0Ov9KvExJGWJk6Y0oxYPq8TS x6HZwdzqbkj1SfLSlfk6A0A= X-Google-Smtp-Source: ABdhPJwDgJrEi99r+BoWVWJzPxWCtq5FeXvDr8rhpjp+LVsx1gRELhK179bEcDAWDnqDCwJUwzpCcQ== X-Received: by 2002:adf:fa81:0:b0:20e:69df:5f06 with SMTP id h1-20020adffa81000000b0020e69df5f06mr54912093wrr.188.1654081391561; Wed, 01 Jun 2022 04:03:11 -0700 (PDT) Received: from morpheus.home.roving-it.com (82-132-215-116.dab.02.net. [82.132.215.116]) by smtp.googlemail.com with ESMTPSA id j14-20020a05600c190e00b00397381a7ae8sm6074559wmq.30.2022.06.01.04.03.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 04:03:11 -0700 (PDT) From: Peter Robinson To: Arnd Bergmann , bcm-kernel-feedback-list@broadcom.com, Daniel Vetter , David Airlie , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Emma Anholt , Florian Fainelli , javierm@redhat.com, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, maxime@cerno.tech, Nicolas Saenz Julienne , Rob Herring , Stefan Wahren , Catalin Marinas , Will Deacon Cc: Peter Robinson , Nicolas Saenz Julienne Subject: [PATCH v5 3/6] drm/v3d: Add support for bcm2711 Date: Wed, 1 Jun 2022 12:02:46 +0100 Message-Id: <20220601110249.569540-4-pbrobinson@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220601110249.569540-1-pbrobinson@gmail.com> References: <20220601110249.569540-1-pbrobinson@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220601_040312_014282_444234D6 X-CRM114-Status: GOOD ( 15.18 ) 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 Reviewed-by: Stefan Wahren Reviewed-by: Javier Martinez Canillas --- Changes since v5: - Change compatible to align downstream and othee HW, reorder to suit 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 56d5f831e48b..8c7f910daa28 100644 --- a/drivers/gpu/drm/v3d/v3d_drv.c +++ b/drivers/gpu/drm/v3d/v3d_drv.c @@ -191,6 +191,7 @@ static const struct drm_driver v3d_drm_driver = { }; static const struct of_device_id v3d_of_match[] = { + { .compatible = "brcm,2711-v3d" }, { .compatible = "brcm,7268-v3d" }, { .compatible = "brcm,7278-v3d" }, {},