From patchwork Tue Oct 20 17:42:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 11847559 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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 493D3C388F7 for ; Tue, 20 Oct 2020 17:44:56 +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 C77AD22244 for ; Tue, 20 Oct 2020 17:44:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="h1aWWj1T"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="mtc2L/eK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C77AD22244 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com 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=3VUNSwKHUNuUf4lQ2OlhT594pG/pspRQS8f/G4OWfvg=; b=h1aWWj1T/EyYEdn8Rnb/fXop5r TRB7suO4pVZSywVNE5yRg6CULEsxeokvC6CNXLqyAiQo14jGWmV2IUpkeVva9Q+fEhqf2sd8UkqhF zq713QVariTxuxoTzJzy0JOAdpSlt5UgvU6yZXM21HnEPnz2tS9oWgOT1e1GD+i2YLX6jXJZLHfgc ME3SBW1OPoSKFvVqr5y4uhFsMbSEJakLiotROYpEOZkAxHcM2gzrx6ys9az75woQ8LxwZmrbfQDho /sAhEOq5jksldOOhy2o0LVVOKt7Yxk62oUej1waJs4SxgZP/3qN8Y2WZ/Zn1MzFynUdr9uF8ZMv2I DOZc/Nuw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUvf6-0006Rs-HV; Tue, 20 Oct 2020 17:43:04 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUvf2-0006PL-AU for linux-arm-kernel@lists.infradead.org; Tue, 20 Oct 2020 17:43:01 +0000 Received: by mail-wm1-x344.google.com with SMTP id 13so2717666wmf.0 for ; Tue, 20 Oct 2020 10:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KolONEJ0/kBt/8YOlOvYo0QZLfG99esXIK0wMwF8lc4=; b=mtc2L/eKqA8TBWtNj1lh1nggWXnyR45rPOaumTksxHaV/nb4d/T4zAlD2P9bjzpHyn dfu3yTG/We2OKP1fQIc4+Lj1428T5LiozVeaflzq8AolVXTn21CFIl9ulS4Qau5gLq1J IRHbGN2i8IDhOy8UUmMXccWL1xNSJqz4YbnSPOvPH89tfwD+a/yz7rEUFLjBBTPpgesM 3f1X0/IMnDRSGBqiQK5nS0hhXiexW/y6iLionKupQXckqGP06dQHWHoCjeLx0EIIgq6c iwtxhRYwRLZBIK1XSuO9zqjgT7EPREzS1V+iRqvqhw1IW7EkCjA0J2023QN0mRwI4q+u yZ1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KolONEJ0/kBt/8YOlOvYo0QZLfG99esXIK0wMwF8lc4=; b=cMskEgtPBwUUlWJ7U40mqzCKbqP9vZ6Wsm70gqvN8CWCd+ZL1PFJCnGz5uUzwV70hD zZr9UcYRVqZu7LzmWrn24mahgjgS3ZKZojre/3WEjKzqqNkELz+urJHf0OXOEvQ1sNs5 9qyIQAC5UEOYegDzYMGza0oThx9YZjpbKqOCDjsZyDG2U9nGUmUpHfeNx1TqLmI+ljY/ QLeJoJ0JiqNMJ42FrAbprc6RoUWQfxVB290V6mRZ/84JTmOZMUdvCqiZwsHhmO0x7K5E 5eU9oonerdc2Rl+WIetycvt0Cg83lXhlM/BCO5na8b5U3kqZAncCn7Wt8fasMkvZYBoO 5FjQ== X-Gm-Message-State: AOAM530UvaDfSs1Cp9Pyzd3Lg+arf69GmTCmXpWvkBbZwA7A9o5R0K39 m8fD4qDW6KkheB0LzBsfmcmMow== X-Google-Smtp-Source: ABdhPJxdhFa4U3zvDL3nve6Smzr3olv0OJGGCpFVU2nQZJ2SRN4kwERM99KqsVG5ZE8vhs1527lNKg== X-Received: by 2002:a05:600c:cb:: with SMTP id u11mr3925064wmm.112.1603215777481; Tue, 20 Oct 2020 10:42:57 -0700 (PDT) Received: from localhost.localdomain (199.170.185.81.rev.sfr.net. [81.185.170.199]) by smtp.gmail.com with ESMTPSA id v123sm3297756wme.7.2020.10.20.10.42.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 10:42:56 -0700 (PDT) From: Fabien Parent To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 0/8] Add DRM/DSI support for MT8167 SoC. Date: Tue, 20 Oct 2020 19:42:45 +0200 Message-Id: <20201020174253.3757771-1-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201020_134300_478660_5122D667 X-CRM114-Status: GOOD ( 14.28 ) 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: chunkuang.hu@kernel.org, daniel@ffwll.ch, airlied@linux.ie, Fabien Parent , robh+dt@kernel.org, p.zabel@pengutronix.de, matthias.bgg@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds support for DSI on the MT8167 SoC. HDMI is not yet supported as secondary display path. mmsys is not supported by this series and will be sent in a seperate series based on [0]. [0] https://patchwork.kernel.org/project/linux-mediatek/list/?series=360447 Fabien Parent (8): dt-bindings: display: mediatek: disp: add documentation for MT8167 SoC dt-bindings: display: mediatek: dsi: add documentation for MT8167 SoC drm/mediatek: add disp-color MT8167 support drm/mediatek: dsi: add pdata variable to start clk in HS mode drm/mediatek: dsi: add support for mipi26m clk drm/mediatek: dsi: add support for MT8167 SoC drm/mediatek: add DDP support for MT8167 drm/mediatek: Add support for main DDP path on MT8167 .../display/mediatek/mediatek,disp.txt | 4 +- .../display/mediatek/mediatek,dsi.txt | 7 +-- drivers/gpu/drm/mediatek/mtk_disp_color.c | 7 +++ drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 50 +++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 38 ++++++++++++++ drivers/gpu/drm/mediatek/mtk_dsi.c | 20 +++++++- 6 files changed, 120 insertions(+), 6 deletions(-)