From patchwork Mon Mar 22 14:01:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12154841 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 49136C433DB for ; Mon, 22 Mar 2021 14:05:10 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 BBA0C6197F for ; Mon, 22 Mar 2021 14:05:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BBA0C6197F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc: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=dkmlrNnshmjpmLa595cNtvaUEOt9PkOxpVkB7kw/488=; b=lyyIRyrwYOdhaclO2Yx2yZ6d8D vmsYoJoEtgWvD7KDeM+dNoWGJfjOZK6UcTZdg1+BqyvxAyRmXpHZFP9ceMA0hG8E5l2iHDCnMB0lE rvwUoAhGJiCxU0Xp36ASirtCcUNlt0zY3+4RQiqgrtlo5pRTxn2OlyF6VZgC9ee4RO/kujUGrPI3q 957PArbC2TabFqKBJJYxxkHk6YhQ0YcCOlAP49NV3yT+oFoB1c/aokcW8Z2YmFwS8T+pSRSjlnOxP lVfwAn5+cTSRDJL42TXbZYRoL34NXh7g4Qzs5H+1va0vzHJxWPB/GAwtbl/f0Bl3AXm+Ws0MO/VdW puSR5kpA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lOL8Q-00Bkh6-Ul; Mon, 22 Mar 2021 14:02:23 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lOL8L-00BkgS-HT for linux-arm-kernel@lists.infradead.org; Mon, 22 Mar 2021 14:02:19 +0000 Received: by mail-pl1-x62d.google.com with SMTP id f17so6632127plr.0 for ; Mon, 22 Mar 2021 07:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6erX6ToHXLRuZfuXfXRbYjKdzeAdL/fkelwcvkPciOs=; b=CpmkjiZEiTD1VuoxjCroqku+wWlTOrF5gVuSRuXjI3s7XifZGkvo+mkz0kM0Hw2QPk +cQ4w8GVvECsKG+JVNHIrA6ig0isWKdJgP624UityAsTaWaQShGarPTA0b3lcWj40igP R/PpJtThw32XvhUtfMrq7XfNZPyGiyKX/GT/U= 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=6erX6ToHXLRuZfuXfXRbYjKdzeAdL/fkelwcvkPciOs=; b=n9ASaKwsfMbGEztR6g8mYHWsX+JEgpMiuiYh1zyU7RkFRRsGiDd75c/eTsgXeRGfai 9aO/sIKTFqZiRZsn7FCU+PvbkefqPWA+Q+crIYSfLhl4Khaz1XE554OEDPg79pdTvXY+ gIWUoaQbrVoIWzO9qBNWK3ZXdkYk3m3kv7JBYZvHJv+vuI8Rlu+DLAwxX8vXuUjb3ywG xHziHhWEc/BELlpmEH+mDhGbOlsPgFsyYlVN8B06D4BSwXE1/0wqp4FCG+ejgGw/NDqK cnrGXKRVoQOm7K5uXY1812rrT8tzNZ/fJd+eYSO/yMJSdPwlGvnx8fkqfB+DQ0MnIco5 0xnQ== X-Gm-Message-State: AOAM5322OMDj6eNmpKpAqlU94HYZQQ5ynrPYWXoPvd1E1GH+kLP6BcZB jMGxrfLu6ovD/KjQCGDygX+Ibw== X-Google-Smtp-Source: ABdhPJxBV7Me2fZ6O6rz7h41k6pjvrEDk+k3i0598TfX3KSj/y+ettrlscSBCT9r/k0oD1MywbpxYw== X-Received: by 2002:a17:90a:d907:: with SMTP id c7mr13221009pjv.45.1616421735136; Mon, 22 Mar 2021 07:02:15 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a884:15c1:9a30:414f:d84b]) by smtp.gmail.com with ESMTPSA id gg22sm14112997pjb.20.2021.03.22.07.02.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 07:02:14 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Laurent Pinchart , Samuel Holland Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, linux-sunxi@googlegroups.com, Jagan Teki Subject: [PATCH v4 0/4] drm: sun4i: dsi: Convert drm bridge Date: Mon, 22 Mar 2021 19:31:48 +0530 Message-Id: <20210322140152.101709-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210322_140217_749980_1C47E37E X-CRM114-Status: GOOD ( 11.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series convert Allwinner DSI controller to full functional drm bridge driver for supporting slave panel, bridges. Here, are the previous version changes[1]. Patch 1: use drm_of_find_panel_or_bridge API Patch 2: Adding DRM Bridge support Patch 3: Convert to bridge driver, that indeed drop encoder API's and support bridge API's Patch 4: Overlay patch for bridge enablement in BPI-M2M Note: Only nit on this series is kms hotplug, added Samuel Holland for reviews and comments as he is authorized the code before. [1] https://lkml.org/lkml/2021/2/14/173 Any inputs on this would be appreciated! Jagan. Jagan Teki (4): drm: sun4i: dsi: Use drm_of_find_panel_or_bridge drm: sun4i: dsi: Add bridge support drm: sun4i: dsi: Convert to bridge driver [DO NOT MERGE] ARM: dts: sun8i: bananapi-m2m: Enable S070WV20-CT16 panel arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts | 85 ++++++++++++++++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 100 +++++++++++++------ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h | 8 +- 3 files changed, 160 insertions(+), 33 deletions(-)