From patchwork Mon Nov 22 06:52:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12693264 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1E35FC433F5 for ; Mon, 22 Nov 2021 06:54:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=/qC4ibtrPRgWjYYpY7aVE9hKuysRsw2cegQSl6sm9u8=; b=s+LVFKn2tkk1B2 5F9/9BrXoXT+K38tCVpxHrDNzUf1s7hXKyJELzLy/zeuJNPycw9jQE53BjiUCMrT8eFffdsXCuFCe kEJfVTZy7HN938jxa9PNOKS/JK9tD9Cv755NcHQqPKspvUZxIrSCmrTBMSaWhip6BYIDhtYyN5Vs2 P+Ia1JB0weHdIpLA6Hdf7QWg1hKu1v57tTVRnQWIuN2wSyTEHtvsGDJbbbgib12m3qxojU6ec74Ez P/W/Ocv851UybHKaXi8BjhtWaqtmY56nRXMpgicq0Q3lhA7TK/lXzPvWyf0D/z9pVzlGPK0jZDHoI D5DiMkeMGVoguT4euf4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mp3Cg-00EzGH-Pf; Mon, 22 Nov 2021 06:53:26 +0000 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mp3Cd-00EzFN-GN for linux-arm-kernel@lists.infradead.org; Mon, 22 Nov 2021 06:53:25 +0000 Received: by mail-pj1-x102e.google.com with SMTP id cq22-20020a17090af99600b001a9550a17a5so16059136pjb.2 for ; Sun, 21 Nov 2021 22:53:21 -0800 (PST) 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=ctsSbmqiK1AF7MRJPPTX1pj71cRw45KE0xoh/8Lm0n0=; b=nfEYGNBTjE0K099BCMKvgv7nmpauHB6B9JU9fpAc307rBs0eOxqzOg83mkPE2+dIqD TZwfFuIYdu2xQmXgkTZG00atqsMbYwSLYqyeEeu55hXcBruts8FIzpDxMb526pwOlyv4 bCAZuaU9p5Bx28eeioZb5ldeTEcWErIA3dReo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ctsSbmqiK1AF7MRJPPTX1pj71cRw45KE0xoh/8Lm0n0=; b=HdOEN9J+XCzxCa6ehESvXT1WxkjezIwX6gFadBDIpzy7g5xcZqS35qPjI/gLkiJoew fIDmRJn7zz2gETwrnxT0Iwox/3+Z6xNwqPOm8BOwV0eSCYNCDfxOd+xLfg8lfoKil2zI /4m7N14poW0GatewmyKuShNQudodhsI1qEhvkfjFIbF8HU/JtzvX0hoDETCh34d5z+yf 9Ky1Z751+3oJguaTnO6Rl4fOiXMe7H5s2J7h7lG7/lNcP9F9q8Y8sbZwwuQ9A1fIkuzO 3tlGp00wGie//2ZHJqtXuyjDBecgBg1Obz5o7X2Ja69yVYi/D/BEKT12XeO3WCLWvfuw fxXg== X-Gm-Message-State: AOAM533p87BsdiznUi8lXLUXc1C7x6fgOvtNvJ4aMSq2qiMb75B2rtU5 UzmOATamYE8rLFrbJm8q+c/JAg== X-Google-Smtp-Source: ABdhPJyL5zcYs+P9Q0J6Xr4KeCqEAeSCnqSDaIZ6X/Kvk9Wsb8C63ey9AFlVMSugLkEnOfbe2RbGHA== X-Received: by 2002:a17:90a:b107:: with SMTP id z7mr27726222pjq.104.1637564001151; Sun, 21 Nov 2021 22:53:21 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:eed6:c913:819a:3850]) by smtp.gmail.com with ESMTPSA id a8sm7935904pfv.176.2021.11.21.22.53.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Nov 2021 22:53:20 -0800 (PST) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Laurent Pinchart , Neil Armstrong , Robert Foss , Sam Ravnborg Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v5 0/7] drm: sun4i: dsi: Convert drm bridge Date: Mon, 22 Nov 2021 12:22:16 +0530 Message-Id: <20211122065223.88059-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-20211121_225323_718271_AA0E08D0 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. 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 all variants of DSI devices. Here, are the previous version changes[1]. Patch 1: Drop the DRM bind race while attaching bridges Patch 2: Move component_add into sun6i_dsi_attach Patch 3: Convert the encoder to bridge driver Patch 4: Add mode_set API Patch 5: Enable DSI Panel Patch 6: Enable DSI Bridge Patch 7: Enable DSI Bridge (I2C) [1] https://www.spinics.net/lists/arm-kernel/msg883560.html Any inputs? Jagan. Jagan Teki (7): drm: sun4i: dsi: Drop DRM bind race with bridge attach drm: sun4i: dsi: Add component only once DSI device attached drm: sun4i: dsi: Convert to bridge driver drm: sun4i: dsi: Add mode_set function [DO NOT MERGE] ARM: dts: sun8i: bananapi-m2m: Enable S070WV20-CT16 Panel [DO NOT MERGE] ARM: dts: sun8i: bananapi-m2m: Enable ICN6211 DSI Bridge [DO NOT MERGE] ARM: dts: sun8i: Enable DLPC3433 Bridge (I2C) arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts | 63 ++++++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 225 ++++++++++++------- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h | 9 +- 3 files changed, 218 insertions(+), 79 deletions(-) Signed-off-by: Jagan Teki