From patchwork Mon Jan 11 04:46:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 12009719 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4BB5C433E6 for ; Mon, 11 Jan 2021 04:49:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 91C3620782 for ; Mon, 11 Jan 2021 04:49:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 91C3620782 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=9amRZ/WUuRk7A1Fqzzg7ei4IUn2AIiQ8TcWSx32f6rI=; b=2yvWla619goErWS5tIULrI8/bq 70KS1VMpmtKDvKP5CgTUYyAsla/kq6GkBybZeCtGxJpFZvlgKomCPpvO8YDiOTXE9iVyrhyFoDJJf 0wnSkyvGbPTEIWAen1cl42K//5NEh+0WgsJJvBWUOUpnfilHIiC4rwxizIlT0Y3JcoCvV7AT6eg3q oNQPeGdCaOa7A0OeECxq863XR2zHlcCJp7iSgYBz9EjU+fc0LiCiS6pqdfzw8iq/Jkqh7q5aDVNMT hN/GggH2QMPlrNEYF9VU1Zyw2rn/7/ShCqqCR5FjIvMU+/0QYsM7wraoT7YKxMv4ZnBVJ+Yj10tgj aKRQVOmA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kyp6Z-0005ry-At; Mon, 11 Jan 2021 04:46:59 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kyp6U-0005qL-8v for linux-arm-kernel@lists.infradead.org; Mon, 11 Jan 2021 04:46:56 +0000 Received: by mail-pj1-x1034.google.com with SMTP id f14so7027862pju.4 for ; Sun, 10 Jan 2021 20:46:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mUoSPZN1/QIMi5tiVO7PYLTfc37ZK0uVVtbwZ2aLaVQ=; b=MNcSUiuTdAKuqQCNMXZU2cHeIADQViSawHzTZyOWFdBpWf93r9rQ1Hxy4S5vpqPey9 FoHlb2ZlWScDP58TFRYyvRI05Rc4QNZ4XhO4HtOPWKPjrTYyEwcKltMPFxgBdas0fpk+ gKcIGEo+mM3cEbE7ulHDKBKiTwRmWz2s5tkCSPzQG8lHfFGMRIjbcsRXIKmTOeldqP4z Hh0uAqA0MJobvH7il94xeTOssyccVbT6Mpb6eV8MOmrEF3T/FQ3wUoRcmm5Z8U57nOKx rAs+wIOgH6sz2C69t4S7Oh9yQBJa1OewNpe/RuYdLxa41hz2mMgDKlk13PPiCkYY1fPT zP/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=mUoSPZN1/QIMi5tiVO7PYLTfc37ZK0uVVtbwZ2aLaVQ=; b=BSvMtzLjfiY6LALjJ9gxDCqT/PkydKEJRMi0w8tAjCQ+QCqMLws5MWJX4Y9B27wQd/ mb3YL1n2xs5a+WpYnT0qyn7XWZnfJ4L9d/xbqxFLgwm6FuZv4QJNYrqjueYlOKdcbfWs Z2285BQZACw9Nimyw7C8Z7LLNbaaKbb3pnFtSiX0KqAS4mf73H/p5nfdDNFmQlRdEn9G cdqkkkQlTqVH1bIscvXy/pCS2wbOJJUaA5J/t8xsD8NStRQ9yosYXgTbIGMe9FOjfDVH MUZzVTbHp2HK/LH8JHShBcoeonUHHctj7Djg3LMVRaI+SsAgJlbXnMPS5hC8G4rvXAbt Rd9Q== X-Gm-Message-State: AOAM5325WQ6jeIxWWH8iDE6Evqsn+bFxBSNqa0Zz58wce3RUAT6XTGir Fvd8V6VlKepJzR/VE8pQQ8U= X-Google-Smtp-Source: ABdhPJw+1ZpsVyrUoxzePMeRys2ujlOYloRq31qrKelOXHZxh8OolJTM3Yyo/vvBZiri2qgkGvk9fA== X-Received: by 2002:a17:90b:fd5:: with SMTP id gd21mr16623056pjb.139.1610340411950; Sun, 10 Jan 2021 20:46:51 -0800 (PST) Received: from localhost.localdomain ([45.124.203.14]) by smtp.gmail.com with ESMTPSA id z6sm17442303pfj.22.2021.01.10.20.46.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jan 2021 20:46:50 -0800 (PST) From: Joel Stanley To: David Airlie , Daniel Vetter , Andrew Jeffery Subject: [PATCH 0/2] drm: aspeed: Support more chip families Date: Mon, 11 Jan 2021 15:16:36 +1030 Message-Id: <20210111044638.290909-1-joel@jms.id.au> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210110_234654_473122_4A60E6AC X-CRM114-Status: GOOD ( 10.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-aspeed@lists.ozlabs.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The out of tree vendor driver was recently updated to support the ast2400 and ast2600. These patches begin to add that support to the mainline driver. With these two cleanups it should be easier to support different families of BMC system on chip with this driver. I will merge them through drm-misc once they have been reviewed. Joel Stanley (2): drm/aspeed: Look up syscon by phandle drm/aspeed: Use dt matching for default register values drivers/gpu/drm/aspeed/aspeed_gfx.h | 7 +-- drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c | 10 ++-- drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 58 +++++++++++++++++++----- 3 files changed, 56 insertions(+), 19 deletions(-)