From patchwork Fri Mar 15 13:08:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10854687 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E338017EF for ; Fri, 15 Mar 2019 13:08:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C77E92A9B0 for ; Fri, 15 Mar 2019 13:08:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB74F2A9B2; Fri, 15 Mar 2019 13:08:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1939B2A9B0 for ; Fri, 15 Mar 2019 13:08:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 11E096E407; Fri, 15 Mar 2019 13:08:39 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id D1D036E407 for ; Fri, 15 Mar 2019 13:08:37 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id u9so6442285pgo.7 for ; Fri, 15 Mar 2019 06:08:37 -0700 (PDT) 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=MCAsq1unmy/u9MR2Tb3vIzLidQD5Rpkalik1aaNmBV0=; b=LQ/t6dUsu5GobYQtqnKtZ7TW+NFfKpELSkwnRtCZW/RFP+zrt0bS1xzjfYWFKvM70z q5ZOnelyYfOcSMFE6iYznAoIwmaMHeHpRj0E2hG0E24E5/R5Kededbm0BzNl3ctkS/Lo DAc4ra+PXSFufh2aVhWN9q8mLsuSPTXCcLE4RqCaGU9/z2uo8hDmxtJVuFTWuwdF06Ht 1IkYldVGYLimwdV+1/eQBZsL52hRecOLQtP+F5H8GWE4NEnhqerPqAz3CJyt6LfsBB4z T71yRJApA6YGRThLgaBnv3n8UAA+jg7O2SpFhtKP+bkrCouabHlbVhfKArtl3sw3B5KO g6Uw== X-Gm-Message-State: APjAAAXsnh7A3Q6rgXT7BPMujcfdypYuU8pWkSwZPgYUU654pZLTfAU7 +89IsQMGEmXtm3ovRx4dajefmw== X-Google-Smtp-Source: APXvYqzasR/PuWyWi8ODkyuiPoNON4uV0lo0p9u87IZi9Xzt1VgyHjvVgOXXgGqKc3Yep6QEOGVkiA== X-Received: by 2002:a17:902:2e01:: with SMTP id q1mr4234447plb.253.1552655317200; Fri, 15 Mar 2019 06:08:37 -0700 (PDT) Received: from localhost.localdomain ([183.82.230.185]) by smtp.gmail.com with ESMTPSA id e2sm854008pfa.64.2019.03.15.06.08.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Mar 2019 06:08:36 -0700 (PDT) From: Jagan Teki To: Andrzej Hajda , Laurent Pinchart , Chen-Yu Tsai , Maxime Ripard , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland Subject: [PATCH 0/6] drm/bridge: Add ICN6211 MIPI-DSI/RGB bridge Date: Fri, 15 Mar 2019 18:38:19 +0530 Message-Id: <20190315130825.9005-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Mailman-Original-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=MCAsq1unmy/u9MR2Tb3vIzLidQD5Rpkalik1aaNmBV0=; b=HaGtERc1qVWgovorqE6ioBRI86D7lQLQcVJpD3+rJ8FQbYA553LlqrpYID5XU6L4PG FIK6PefcXGw6bZ8jxROK/vJ2lDrlvTdUMqWuqdslYymLbGx2XtsGd2AC/uhfZsUkQpLc oZ4UpPONsz/EEfB97X1fGuMMfz18zVgLL3MtQ= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, Jagan Teki , Michael Trimarchi , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This series support Chipone ICN6211 DSI/RGB bridge support. This ICN6211 bridge is taking flexible configuration of MIPI DSI signal input and produce RGB565, RGB666, RGB888 output format and it is present in the Bananapi s070wv20-ct16 panel. Initially similar support is written as dsi panel driver, but based on the discussion from this thread [1] and input from "Andrzej Hajda" I would ended-up writing bridge driver. patch 1, 2: export drm_bridge_detach patch 3: bridge support on Allwinner DSI controller patch 4: ICN6211 dt-bindings patch 5: ICN6211 bridge driver patch 6: overlay to enable bridge and panel on BPI-M64, this would eventually depends on 'Allwinner A64 MIPI-DSI" support [2] [2] https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=90117 [1] https://patchwork.kernel.org/patch/10657579/ Any inputs? Jagan. Jagan Teki (6): drm/bridge: Export drm_bridge_detach drm/exynos: dsi: Use drm_bridge_detach drm/sun4i: dsi: Add bridge support dt-bindings: display: bridge: Add ICN6211 MIPI-DSI to RGB convertor bridge drm/bridge: Add Chipone ICN6211 MIPI-DSI/RGB convertor bridge [DO NOT MERGE] arm64: dts: allwinner: bananapi-m64: Enable S070WV20-CT16 DSI panel .../display/bridge/chipone,icn6211.txt | 36 +++ MAINTAINERS | 6 + .../dts/allwinner/sun50i-a64-bananapi-m64.dts | 63 ++++ drivers/gpu/drm/bridge/Kconfig | 10 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/chipone-icn6211.c | 275 ++++++++++++++++++ drivers/gpu/drm/drm_bridge.c | 1 + drivers/gpu/drm/exynos/exynos_drm_dsi.c | 3 +- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 65 +++-- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h | 1 + include/drm/drm_bridge.h | 1 + 11 files changed, 443 insertions(+), 19 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/chipone,icn6211.txt create mode 100644 drivers/gpu/drm/bridge/chipone-icn6211.c