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: 1780 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 51A5B3F15A for ; Mon, 22 Nov 2021 07:53:25 +0100 (CET) Received: by mail-pl1-f199.google.com with SMTP id f16-20020a170902ce9000b001436ba39b2bsf6958191plg.3 for ; Sun, 21 Nov 2021 22:53:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1637564003; cv=pass; d=google.com; s=arc-20160816; b=libd8Os4MC+0M7DhFcAZwMCoTfe5VoUtxkmzJXAS/Aq6TDMgADVvL52x27no6B4ECn WdNyE5hJRbB/yjmUoulTdxCNHMQ6Ef6IoKSoAaPdRlaMdJyTOgAXd7k9E1iOVusxl/x9 4QdoMsgXwfdonXV5EN7vPykOGsCFhkBh/BFc19eYmLrLIUBMy/FBrv7yBhWl57A2OX5T YNRDkotSTQhrYZKeUONqAlTkp0bWpaXhnbhT03kelqqk/lWcKBU8HV7TeEV4uMDyHNdu 9JWMmJQ2ffSbni1uIKGIoQbYPgti05drWaRMLoCBAS93XKp5gnE2Rv/lBi4mkElqoYOP /nhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=pBxP3SdW0287Nk8ishTHtIsZFzqG8sJxMac6mlGcqOI=; b=RMmZKOu/JP3Qm4efE+invkGp+thIlPkK2plWW8YdI3+1o3gDLG4bKmKRQ86iebBOv1 GLe5rJo4pn7WW45FDNYmSdkuGJcMQChdXwjsS9kVJYOidi6lzTmhuSh/zVRLWLjhXbRN TqR3jDdyeqr/9bQ6yX0Y6Qhm+KO1Duukx0v9iXANkv5ranG/4nWAD5JoMk01fJDVEnOC zdhvhzyh5ZxiGTNYzha+0IJOZSJ5FZaWK0kexbH+Lh5sHkHTRoxWXpUMuBTYh7pcw7nk 5454ia/h49dfKHF3ke3mS4+veFDXKFbnBFAHtjFhvI6tY4KE2ABrMtofJLB2OwnVxxRc 7zBA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nfEYGNBT; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=pBxP3SdW0287Nk8ishTHtIsZFzqG8sJxMac6mlGcqOI=; b=AN8OW/DukUlLd7ZW/TzzZ2EjqctdxFTJ1GUPzxmlYPro+zuTLsxM0FGawbar7yFK9D l4WLROFyKnBHmaHqeTWaU66zE2pTUuld7fwalsmnpiloQCDK6fAgkbjxn6Q2SkbIt2Ji hUnHCZnp2TAVFsXuPoDDTJbdwJMPXZyKyHpaM= 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 :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=pBxP3SdW0287Nk8ishTHtIsZFzqG8sJxMac6mlGcqOI=; b=Rv+u773Hx7BjVJqAo+4UcByZPt0WIjZr+urIkk+UxO0DXHcFcMIer79nytwPTH+9rE 26tVCzGSSxFgnC3mFoqwJKNqLH5uYVyL5Pq5OL8/ZNlvZXlm+dbOTxVYnRvCsV5OAwq2 ldxGA+c+yIUM5+MVh2t3nUGRA0Z33hjwTX6oE7sHMLshSHWH/a5me92YY7A4Nk5/NBjy 9cpF78nBpQ3xJ5VsvBMG+x9PeE0G55mEHSMuAWPt3hO9pR1g4VhfGlL5Dbz/bK3cgzjO Eg085e5Q2fgj2/u9zLrDocVRZBZJ6EvGpkF+GxrKrggwmfA5aKMAPVl7ES/BD5stT0eb MwHQ== X-Gm-Message-State: AOAM530g+xiR69dtJIX63hrBMusRGdmxTlmO2O6K67e6uBVtbCwTPle2 8uiLrxq5ZLUNMA5tPf3zsQ62I988 X-Google-Smtp-Source: ABdhPJwaAjye1b2yv3qIt8iyPcffl18gI6KBSel27EIInPQajs64UG0nuMCWCFJnMixyzgqQSj0aAg== X-Received: by 2002:a17:90a:ec15:: with SMTP id l21mr28499695pjy.48.1637564003295; Sun, 21 Nov 2021 22:53:23 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:73c2:: with SMTP id n2ls3326815pjk.0.gmail; Sun, 21 Nov 2021 22:53:22 -0800 (PST) X-Received: by 2002:a17:90b:1643:: with SMTP id il3mr27718250pjb.182.1637564002525; Sun, 21 Nov 2021 22:53:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637564002; cv=none; d=google.com; s=arc-20160816; b=Ivfr3KO2czAm4Yvxile3YiXRCc7wBZGfoEGoCt8UnPDxDGzNNaBKWHiWCLySg33Uow uu57/sxLYlVlTuXuOOhW9ATQw0W9wfVGYD0D6qjFnDz8ck4dDlobn4aMh6wgZL7klBwr wZrnhA6LPJoG5tzI8ATbxUEq2YZFTsP9isYq/qjCz5LzQkwXPXisfgB+H/zzUivruUKQ /Vl5ZDYM3kNUkpmatl0JfnrgdYkQSUPhGOz1Z7LWXiHNddE7erWkB7LPNWLWVhA7pyuZ W1V9IM0WQKq4/IyqEa21PNHoa2bRm32F3PaA/SyQRekgQrkrzb/Jt22LHDLVWk0wHU2c zX5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=ctsSbmqiK1AF7MRJPPTX1pj71cRw45KE0xoh/8Lm0n0=; b=QJjVVpkcCL5cocF3+oVMI3FRMePbMrIgb6LagCW7tHBM2W5SH0TyQQDSVsMjogxfBf eYaFPjh0wiqPP6wdNDL+lycjI91jAM4uXI4crHyYWRWasUohpmkDT2Z14v+SFwyV/8Nx +pN3Rcyl2b705R5ENxaXexMVxMJENvOnqkp+ETaP9hy+uZ8XIkQaJBAiQ2QMRyKCPCG4 Qch8Jto5NmlixzOmsWD6E/gNAynkfZph+Rcbh+biSehIWRe9wKGTTJGVuFMy96Nrx/Wy DjTV1kF8UlOhnBV1z/rpVpsMbnz02Agq6+kBSnNs96Ie7wqsKxjtTHD9P+ML9c9jjC76 QrrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nfEYGNBT; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id y14sor12451966pjr.1.2021.11.21.22.53.21 for (Google Transport Security); Sun, 21 Nov 2021 22:53:21 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nfEYGNBT; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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