From patchwork Fri Dec 10 11:17:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12695586 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 2F269C433F5 for ; Fri, 10 Dec 2021 11:19:30 +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=MgY1rlhLlrDz5/vj3vcQeP0xvGpG7kJYRnUjckyJsUc=; b=Wx6rlJ34yVSkaq mIM0susSY3rCz5XqFj4qZiz41bngf8o6wNFjcHGyXM4HZHOGA2+ZPVCM/TOF0vKa/ax5xiNExBbNq ZbJC6JSocKGyHKKT0zUBrVkqiiqcXtuHeZrP6TwyHd8iQj7BOLb+sHlXgQ/gZDYXQKXIJ2Yl3HY75 NcZCxcaZln9QtaqxmkC+GN5JY7/i308H/184AwzCqDyqpPuzOrVeUBUTjPAcCUBALnybaWGiMpCmD iAP8ER9wbvdOrXseTuSAVfLbeKw/NN3Kz3A4ou9HA2Kp82k07Sz6JulwQTjU9wGPIWqHP8B4VJ/yg wAQpzvPNQdzwOb55IDrw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvdu8-001c57-2b; Fri, 10 Dec 2021 11:17:32 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvdu2-001c3A-Il for linux-arm-kernel@lists.infradead.org; Fri, 10 Dec 2021 11:17:29 +0000 Received: by mail-pf1-x42f.google.com with SMTP id r130so8229395pfc.1 for ; Fri, 10 Dec 2021 03:17:23 -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=041LGo95ekC9SiULpMPWta6fBO2f32KbmNR1inhaPRM=; b=M7ooGiEltJoCk3g/j1bMsGM6QF4RZ1wXnBwQjMdZnnZ34W75ank6M+i8F9l+NiS8id QB1q2rYXy+YDS75daDHcURou/0CPXfaRAKeB4lBDQcQN6wm3Y3ki3R8P/VaH0YSP7wOS SaDpnMbUiNSr1TYcMaMBLJlKvb75vSje6f1Cs= 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=041LGo95ekC9SiULpMPWta6fBO2f32KbmNR1inhaPRM=; b=tsqlqo2EfIUDLRV7o3b300+UzMtznDXk0QKtRX8X+Swb4fZ4GhLQCmEUa0SBSMftn9 NSLlySXcivnmBVVh/3tumGpszsMZm2sdWelpQCli24K8SpbisLUB+g1+KuARQkegpjSD 2LlR58E7L8nMf2k8MEhlddJFYorOHcHVz+A7UNYHEEizocLWz/03ofZ9CWNUkgJIEF4c R1MfuKoob213ikf3bgWHSHoxAxM8wcKUlr9eauoxjVHnSqeyJ0jNdrFPbctRxPUQcuFU aMATP57wCGgDM+oIhPrb+4TDAknowuudsvfpcMsXAjZn64XBxvzRXHYr9OKwluOVIUzx QsYQ== X-Gm-Message-State: AOAM531qNXFpgKLVTLLzuUR28jqu7K1/uzj8B5S39Vv34n4wp9CKxZik axE75HciMYeBGEgZLnpLxw0OiA== X-Google-Smtp-Source: ABdhPJy3v8HoY7k+U+kRYTzeLw2P8ajCsvXjLkXHI+M+GrVmBRIpasf+RjGIlthjQUFF4dQq7KJQmQ== X-Received: by 2002:a62:8042:0:b0:4a8:15eb:db10 with SMTP id j63-20020a628042000000b004a815ebdb10mr17229368pfd.28.1639135042734; Fri, 10 Dec 2021 03:17:22 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:c40f:36d4:b45d:731]) by smtp.gmail.com with ESMTPSA id qe12sm13125607pjb.29.2021.12.10.03.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Dec 2021 03:17:22 -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 v6 0/6] drm: sun4i: dsi: Bridge support Date: Fri, 10 Dec 2021 16:47:05 +0530 Message-Id: <20211210111711.2072660-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-20211210_031726_627881_C5AC85DB X-CRM114-Status: UNSURE ( 9.07 ) 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 add bridge support for Allwinner DSI controller. In addition to previous version, this series add bridge support only not doing any bridge conversion at the moment. 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: Add 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://patchwork.kernel.org/project/dri-devel/cover/20211122065223.88059-1-jagan@amarulasolutions.com/ Any inputs? Jagan. Jagan Teki (6): drm: sun4i: dsi: Drop DRM bind race with bridge attach drm: sun4i: dsi: Add component only once DSI device attached drm: sun4i: dsi: Add bridge support [DO NOT MERGE] ARM: dts: sun8i: bananapi-m2m: Enable iS070WV20-CT16 DSI Panel [DO NOT MERGE] ARM: dts: sun8i: bananapi-m2m: Enable ICN6211 DSI Bridge [DO NOT MERGE] ARM: dts: sun8i: bananapi-m2m: Enable DLPC3433 Bridge (I2C) .../boot/dts/sun8i-r16-bananapi-m2m-i2c.dts | 69 +++++++ .../boot/dts/sun8i-r16-bananapi-m2m-panel.dts | 41 ++++ arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts | 64 ++++++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 187 ++++++++---------- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h | 10 +- 5 files changed, 256 insertions(+), 115 deletions(-)