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: 1800 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B004E3F075 for ; Fri, 10 Dec 2021 12:17:28 +0100 (CET) Received: by mail-pj1-f69.google.com with SMTP id o4-20020a17090a3d4400b001a66f10df6csf5524955pjf.0 for ; Fri, 10 Dec 2021 03:17:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1639135044; cv=pass; d=google.com; s=arc-20160816; b=cZ10Mr1rDzHSFsaMUMvc3sjk3/1X1ytrumm26kNjg1LXIwKGWEU71iTcHnqLZz0aqU Gac28ZuZN+mLFbxe1vB0Na4bo2td0zCYWWaw3qZ3CeVn5Di4AIB0rk0H/63VvairF3lw aU/u3/URVmtdGeUx3WVz1FRqarZAgPVKYPQ07OUrVeIsnPYsLIR/IqrEl1ASY5Q5b9A+ yNUxGr1waznSZMjVqbHe/dyQifLTOAJFgXwPDEy3j0Gco5I6+BJg8PU27RXFLmyTRkeU gskXIDZ0EcoHIqh3XgcU7rW6A/R8+cyZ4UsWy4EijTJLTj4QuMKquQMElfmsvokIx1Gu l8Vw== 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=+xfiMWmQEQ535/JiCdlS1n9zuHezQG247srBdHHQzYk=; b=HeO0Ta/bVkHP5YPPW78u8E0QZJzsqEYt68UX0fdx74V5jCQ3XNfwjgxZxXbHPhftIx mU7WlpqGSs5LukLF0WQ3dQ39T3xOEgw957dLyF71u5G7S4dZtDpAR0pE7JkC+rwCpNxq hz8MGIjj/74f06i5WZmPmJI7Fy9uLQ3a5XarN6lx1YWCNtX7MHlHbSGJqO38dhIVRTP4 KNvjeu7y3Vsk/PkiLzdhqXPsCdDCTX+eA+YWLLdTt5dpKzvGohFDxw9I001z+4oArJLu 4Yh669c50OOl6Cedgp2qQrjky58ym/PXLSya1lzrEnoNwZi/I8RLgM9SV9fBi4ko3Pig xhug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M7ooGiEl; 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=+xfiMWmQEQ535/JiCdlS1n9zuHezQG247srBdHHQzYk=; b=lZWVUi7ARIYw5MavwKJamXmKU/tkLAQX3fvUNkchTdxMoJW7z3YH+KpvZgaBskYIfr rOC2QSPF4146Sk/RwnGuBgxLTTbyEjxv7HTmxWcsql/C4WjaiCGn+h6UVzPLeVdGqx/0 B0HmBu0jO4gPk+nkXolWw7G/YXbREhtsKbn2o= 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=+xfiMWmQEQ535/JiCdlS1n9zuHezQG247srBdHHQzYk=; b=EuljmGI9qbbHzVgpXE6duPZuS80O2mr5cHIx2TldIjlu9oyXIzYf1fe95rANfPwVw8 Yi9TdR2PCt3Hyzozlb8vkhsJzpaTujfNQqlnyH3YECEK3RlKkVXgHdGiRED5tD4b1dpm 9yIDnL9TKUPbhvL9GqNsor6wR5gUyKJA2fugIDeUlGKitb8uH3A2RXK0yOA5tUbdDnhb HcOEz6EDpFHzUIjhu+KX1mVKQaqh2HxYjvwWv1RhpLCKsUr3YTSKYDMGdxwz17LefqaX xkGkVYHSePUStwrPVaa8qXDcUPxVPg35FLd1HekpoHIMYOAhyb1tb7NdBMk/gH3gSjlW tJKQ== X-Gm-Message-State: AOAM532N2ekyzy0iz22Fcgpo8zqYNFSTfyV0zh5jO1n9S91dexY0yc4r FMzmrnpxSiiOwSSSsD2XgMgGDZBl X-Google-Smtp-Source: ABdhPJxjKHy3T4DHHq97c7B1mgRqNrsq/LcoUYtY48uZbc9WFbDnu79iFhTsXI0sDq1hFHKZMIwpQw== X-Received: by 2002:a63:6201:: with SMTP id w1mr30513218pgb.299.1639135044649; Fri, 10 Dec 2021 03:17:24 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:d50e:: with SMTP id b14ls4802504plg.7.gmail; Fri, 10 Dec 2021 03:17:24 -0800 (PST) X-Received: by 2002:a17:903:1210:b0:143:a088:7932 with SMTP id l16-20020a170903121000b00143a0887932mr75894811plh.11.1639135043940; Fri, 10 Dec 2021 03:17:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639135043; cv=none; d=google.com; s=arc-20160816; b=F0CudSTPD2q2P2s9Q3yTEcufRLqMXt6yv4qcvUnwy/3N1bJUZC7feSZeXvLG+F3Q2L VoeG3DdN/mX6lK1PU4vv9szkRX+l+LKULPhIsf8GBjMzWSVQMdNx913uEMFBFwrD5D5z gpGzGXdxLokpWKR3ldCKjr9uBeJfXajPG3UP7ciemndgUipytJ7ZFi0rmBnvf4eoxm1z NQw+X5cxkw3yItHtGAp9XfTtCjtOwllQAXMtUrXVTuTWikVAsHkNMOGSEe9hSOVS/rCz 1304TEWmmj85Bp9hZ79cwOgPlViSfXchSIp2cQHABXgYoB4ID1KAEd8zebTLjOslNRrG qkBw== 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=041LGo95ekC9SiULpMPWta6fBO2f32KbmNR1inhaPRM=; b=jMHgvZlZBWFD1eboWFf0fCcMQBUwkZ64Ky+lTAvFUIMv8BgO4oLLttSCEXr16TYBgT ZNUhDOpp+usyPL7yGYUMKLT5ZLoJVx1XbusQNEjLYsb6PRjP0LANlW1xoECWz8aZwtC7 pyLrJ5P1FH60JwMM4Iagwc6Xs8Yv10QwCgvryHjGIrUc3C6c5rmKD+jZCpkWe62ACL4H i1FA/9DbYozPcWLbZm/Cs+qUooX+2rSdg8ZYSan2JcmVhY5XWMUsggXg8dK3IfMdvY1s Esg6kazhOb1m+tfxn9ChcLQf3FgeiJlGq7X43n/zdifHZcPaj/FNUVbBMnzNtCZ6a5/O Uhzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M7ooGiEl; 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 j7sor467307pfj.90.2021.12.10.03.17.23 for (Google Transport Security); Fri, 10 Dec 2021 03:17:23 -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: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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M7ooGiEl; 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 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(-)