From patchwork Tue Feb 9 12:37:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 12077931 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.3 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 240F7C433E6 for ; Tue, 9 Feb 2021 12:39:31 +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 B264064EB1 for ; Tue, 9 Feb 2021 12:39:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B264064EB1 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=pCkkmDfHUMXF2qgcWDWYKiCUSXzvaj/CcTa+r71as6Y=; b=ORurTlE16WpmClvItJEfRT5v8R 3KFbjdWeDUdJ0NMw5zlFP+0K9HAIxPz1b61EBNO92umqpM6Q5f+i5g1VXbZbc/wmGMgFWieiaGxjB vmXQhIgSgGB6ouwEHR0VW6hOP0A7hksqEIVWblWnKgkT8zJAH8WCEgnQ9CGAZk5g872gBDGVhLQvb L9p3zw0lFftC/ESCdT1o9Asj7isSv16ujk0X4G4o1sg1cNZBrdAu5cXZpEwhNp+J5zjyeKHNRSW+F QF8uaKEH4wGaEUEXfQ1Zukvqxz+s6KdyQRAAz5/wsP/VK5lvjn/giNz0E7avZOSKIfFwBLRC6Jeyw cnbvgROQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9SHD-0001Ki-Tv; Tue, 09 Feb 2021 12:37:55 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9SH7-0001H9-0H for linux-arm-kernel@lists.infradead.org; Tue, 09 Feb 2021 12:37:51 +0000 Received: by mail-pl1-x62d.google.com with SMTP id 8so9656630plc.10 for ; Tue, 09 Feb 2021 04:37:46 -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=967eBecaBcf3bDwc7ufrOcSaPwogO+dzRNci9Jx2sbo=; b=eA6ZzChduHPTMqwvb080DCcMO6PxKR4dC8i99uTS6GPwbftMVKTI0y2NMeGPEA5iT7 LVdymh2XXvbCwxxAlilErz8rXcaHeMl19WBeWpdc4+qpMnbIScoAz0Q/WwW8eYjGCBP5 avvt4zuLjAWlDk2BSzjKIGKsuTyqnrXHzFOuykV+cWFnQJ4o97JTMYJNWhavUzOa4WCU 7eeRPXZDDjOxdyjUE5RIgQ8QiwECY5frzAz3nVmBArfJTAPwKtHQqBbnI53bHw7UvM7Q 8MwihYKlXOq4wF/ucOZCMkMmF41c2OtcujftQ7Dc0oxzkMcvx+tGDCCRjZlvDfm1Rejb LQKg== 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=967eBecaBcf3bDwc7ufrOcSaPwogO+dzRNci9Jx2sbo=; b=Yb8/o8LWka4NqKxLIU1+ahOw9t/oaSQv2TrQoL5fpjqjVs0/huV0uXvZKNVlKZXqFc QFAhZyHQhk7TmuFdzyLxQDwhTgj6Cbuweb4RPU3dUaYnN06nZFvHSe1De2eX1Q1kaiHQ BioWJOQw4KdADhGZN/l/9DSSEmxWxJ5Ll0WezNKpii8UyDhMZPGE5i5fwNnYHDwkd5d5 6mUuiEwxN3DHrP/atrvhVi+2H6FviS+du5xOpzOM0fBensD9vrFXBKXNzrGkbXj3XJKS FNs3M6jdVwePY9hpLmVBHBMtWgKpDMOGbpT2OhzcX2/thmWKag1MSuytntTP7k5oG+rr gbVA== X-Gm-Message-State: AOAM533amSxDQl/hFnTXXMLgJd0SemF9XXsG7RhCvTJjbbCCz+vOUkgi YHUdwQy6F5bMEKJ3oBOrzGUHKbcLkF38ng== X-Google-Smtp-Source: ABdhPJy2UCRzy8/Etrbhoxi2JKfFS/m8pcIjipjpZgBGckQh4989njKh4Vzf+9yBqb6vZRlOXaS5bg== X-Received: by 2002:a17:902:9f8b:b029:e0:a90:b62 with SMTP id g11-20020a1709029f8bb02900e00a900b62mr21141320plq.70.1612874265242; Tue, 09 Feb 2021 04:37:45 -0800 (PST) Received: from voyager.lan ([45.124.203.14]) by smtp.gmail.com with ESMTPSA id i7sm22584395pfc.50.2021.02.09.04.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Feb 2021 04:37:44 -0800 (PST) From: Joel Stanley To: David Airlie , Daniel Vetter , Andrew Jeffery , Jeremy Kerr Subject: [PATCH v3 0/2] drm: aspeed: Support more chip families Date: Tue, 9 Feb 2021 23:07:32 +1030 Message-Id: <20210209123734.130483-1-joel@jms.id.au> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210209_073749_138060_25303801 X-CRM114-Status: GOOD ( 10.59 ) 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. v2 fixes review from Jeremy. Thanks! v3 fixes the dt match table declaration 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 | 8 +-- drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c | 11 ++-- drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 67 ++++++++++++++++++------ 3 files changed, 62 insertions(+), 24 deletions(-)