From patchwork Tue Feb 2 05:45:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 12060737 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.1 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 92A56C433DB for ; Tue, 2 Feb 2021 05:47:23 +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 4FB3B64EB9 for ; Tue, 2 Feb 2021 05:47:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4FB3B64EB9 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=s19jmsgGpDecWzH37A7B+rr9zkdqbDOBozg8i/ETL+Y=; b=NpxcvJ0wORtqmwelJ0nsizoubt HjoIo1GuE7sKohQLWvFGpeaZB/8qe2qspKBsnIsSO3u8+/G5PbnzbS2o9RsAZIZHgexVawFZj+h+/ mhkybInZB49N8uZhMk2BGJysnmcodFVxAhQGQbwlwjklSsUU1nirJW+VDG2g1X85WbaIpYVlX3lYD YsSIAxvR7Q34yzFKRS7TQ4LwK7s6XFnksSCnAkgLSt4mxR03oAEhNtW2rnEE/3q32ICcotDNat3rW OEbymUf41eXoc66vlCCWkqiCvCG/V0OtHor1GIBZYLLcMlSVJu9pK9583OVSdsl+Uh+x1s8DtHvdZ c+yL+BKw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6oVy-00073E-Js; Tue, 02 Feb 2021 05:46:14 +0000 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6oVv-000721-1L for linux-arm-kernel@lists.infradead.org; Tue, 02 Feb 2021 05:46:13 +0000 Received: by mail-pj1-x102e.google.com with SMTP id q72so168719pjq.2 for ; Mon, 01 Feb 2021 21:46:10 -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=GfAQJJOiqfJpwqSbeAm0bLmc69acbey6JfZBmykjrNo=; b=Q64G8Q1Xtgrmck8NQm4jnn56juX7QbIPeeQX3Uhihe9bvMekEKhbUJFmv4Q6XbzYUg FfP/aUk4Xh5U9tODV8Z7V6TP+UmImXOm2F5yrt8ki4N6T9f86m1AuWgHSL79X5E+cyar mZ4th07kAOuM7jt7sx+A19aC7NGSdnWwx5aFgk9qoDD5XJg1wMhsSogdU6J8JSZv4xi9 kq2SR9IrC6ftLn1RERsx+g74w7ibM/SKjN7yWOXAkeKXBWsppKZNb52H9tC2TCru3i1s d1gEydGMZFwvVvnU2LwP6hwr8Sc149+RkfIytKcQ0tqng8m5gmZ5+2WC6vuv/Lt+w6og 24Fw== 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=GfAQJJOiqfJpwqSbeAm0bLmc69acbey6JfZBmykjrNo=; b=mfaLhWdBoiueftmoQQAGYwTbXrbRauWx3vvLnZkrYgLu1Uz4oR1mH5f1jpvEOckdfx Y5v7c+kq5AoLZ8Gvng1906Eiha0SbRYVmGDXi+Etquuse+t5QKvyUWoXFDzsXu/XvJzg eChPsuvCV58luzBbCb360jpemzmsgfbz+87Y6AtJE8487fcyr7z0ABYUyBpSS0Xxm2Xp 2Gt9HjCzj40wtamcME2EvvH4Ze38qYr7xSQSoqJKlX5A4JYzTnOxFqWYkR0gixleqk5Y iBVXyQtk3xqZvGJzlH3jsPOqJCp49TJuuVQNHRqlfvDiEiDUuXd0sP5U/FG6h3C2iA9B SjGQ== X-Gm-Message-State: AOAM530ZBGOJlVtHdpiezD/yluqHFpJVEV6bx7gE09KAXQ17RMtr219d q179R/T78GDZ80su7JfYFpA= X-Google-Smtp-Source: ABdhPJw77F0Ms1Mav8c2DJzdO+6VRXbL7FJ6kwtRH1DUYObjNeA6QmQeOpCqPdp+WQge0UltBYzmBA== X-Received: by 2002:a17:902:ea91:b029:e1:8695:c199 with SMTP id x17-20020a170902ea91b02900e18695c199mr2004237plb.6.1612244768757; Mon, 01 Feb 2021 21:46:08 -0800 (PST) Received: from localhost.localdomain ([45.124.203.14]) by smtp.gmail.com with ESMTPSA id h23sm20707603pgh.64.2021.02.01.21.46.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 21:46:07 -0800 (PST) From: Joel Stanley To: David Airlie , Daniel Vetter , Andrew Jeffery , Jeremy Kerr Subject: [PATCH v2 0/2] drm: aspeed: Support more chip families Date: Tue, 2 Feb 2021 16:15:56 +1030 Message-Id: <20210202054558.344451-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-20210202_004611_131997_14BCC34A X-CRM114-Status: GOOD ( 11.12 ) 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! 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(-)