Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp680580pxm; Wed, 2 Mar 2022 06:30:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5bQAIX7oTfIXkHncCBDvy5Q5VEtWM/CV9DA8lFpLD6Z4wZe0kyi0uMyLVoCqP4iqxdtP+ X-Received: by 2002:a17:907:6286:b0:6da:6e24:5e43 with SMTP id nd6-20020a170907628600b006da6e245e43mr1692192ejc.449.1646231404874; Wed, 02 Mar 2022 06:30:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646231404; cv=none; d=google.com; s=arc-20160816; b=PVP+ppu0xRFcz9R67dplpXzSUjpfuCbnY0TUD0DSmQjitsSENBE23f4xDeH0k9NuDB 1SPHjgMKSmS7hcevK6qRcRYLeHE1XBqa22QrSOgYSQJZUQ3zvDaUhIeYMw+8Om6WyFRc zwcSoa3xuqIX7/FHTaU2S2tEUivXxyUyOCmvTnf9eIBnA86AWGLLzJLVJfAimT4MqWmS VcC8ZFC0wA1VTq8TiaSUxr3+z8OKJKCFzL/Kow4Q2IGJRIsuzhjlhVIMAuBwaI6a6kYc eL5SGLppuAhOLQLURkSreDmksvr63NdKDEvSkKLNHYNSZxoUhX3cEmqeLdS1LgepO9fr iIKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=OvvGkCMaARgeD2hGXlqIc9tDpwYbayY6hdj5TtEION8=; b=WBw3ZeVKYB7iHLHXTEfz+eBjgXA6PrvlADAL5KUFG52DqsKbMG1Bj9qrLhS7cwIA15 ha82/Y6sKYqEalhM5Bi5YJM9p+XskcRCR6fcKDegCtAkAXm45iL6dCbN32XQQ4MYLjC9 ni3lEfwRYaIb1fcvZ6KRuDnp8LI+iGk8BYNvXlG0ngMAhd0c4vey0Sm2EGLxXu+YWYs0 upXRl64poQE4VzeyHF/6EuoElVFB7iOjFt+ki3VfIUyWD38jjS/SVkANiFt1SOl4OMfx 3x/AxBxDwfGc2qcarjm2J0jNjJgHYR2h0Wo7S39zcgs4kKiGCvZkim21MD2N+vcop9w3 yf2g== 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 l7-20020a056402254700b00415322bd915si4527776edb.610.2022.03.02.06.29.38; Wed, 02 Mar 2022 06:30:04 -0800 (PST) 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 S237541AbiCBDJn (ORCPT + 99 others); Tue, 1 Mar 2022 22:09:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235556AbiCBDJl (ORCPT ); Tue, 1 Mar 2022 22:09:41 -0500 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D37911C35 for ; Tue, 1 Mar 2022 19:08:59 -0800 (PST) Received: from twspam01.aspeedtech.com (localhost [127.0.0.2] (may be forged)) by twspam01.aspeedtech.com with ESMTP id 2222fMYJ029343 for ; Wed, 2 Mar 2022 10:41:22 +0800 (GMT-8) (envelope-from tommy_huang@aspeedtech.com) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 2222eJP7029206; Wed, 2 Mar 2022 10:40:19 +0800 (GMT-8) (envelope-from tommy_huang@aspeedtech.com) Received: from tommy0527-VirtualBox.aspeedtech.com (192.168.2.141) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 2 Mar 2022 10:49:40 +0800 From: Tommy Haung To: , , , , , , , , , CC: Subject: [PATCH v6 0/5] Add Aspeed AST2600 soc display support Date: Wed, 2 Mar 2022 10:49:25 +0800 Message-ID: <20220302024930.18758-1-tommy_huang@aspeedtech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.2.141] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 2222eJP7029206 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 v6: Remove some unnecessary reset patch. Refine patch format. Add detail explain of SOC display reset bits. v5: Add lost reset define. v4: Add necessary reset control for ast2600. Add chip caps for futher use. These code are test on AST2500 and AST2600 by below steps. 1. Add below config to turn VT and LOGO on. CONFIG_TTY=y CONFIG_VT=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_VT_CONSOLE=y CONFIG_VT_CONSOLE_SLEEP=y CONFIG_HW_CONSOLE=y CONFIG_VT_HW_CONSOLE_BINDING=y CONFIG_UNIX98_PTYS=y CONFIG_LDISC_AUTOLOAD=y CONFIG_DEVMEM=y CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_LOGO=y CONFIG_LOGO_LINUX_CLUT224=y 2. The Linux logo will be shown on the screen, when the BMC boot in Linux. v3: Refine the patch for clear separate purpose. Skip to send devicetree patch v2: Remove some unnecessary patch. Refine for reviwer request. v1: First add patch. Joel Stanley (2): ARM: dts: aspeed: Add GFX node to AST2600 ARM: dts: aspeed: ast2600-evb: Enable GFX device Tommy Haung (3): drm/aspeed: Update INTR_STS handling drm/aspeed: Add AST2600 chip support ARM: dtsi: aspeed: Modified gfx reset control arch/arm/boot/dts/aspeed-ast2600-evb.dts | 18 ++++++++++++++++++ arch/arm/boot/dts/aspeed-g6.dtsi | 11 +++++++++++ drivers/gpu/drm/aspeed/aspeed_gfx.h | 1 + drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 15 ++++++++++++++- 4 files changed, 44 insertions(+), 1 deletion(-) -- 2.17.1