From patchwork Wed Nov 24 17:25:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1790 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 90F8C3F15A for ; Wed, 24 Nov 2021 18:26:15 +0100 (CET) Received: by mail-pl1-f198.google.com with SMTP id q13-20020a170902edcd00b00145280d7422sf958989plk.18 for ; Wed, 24 Nov 2021 09:26:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1637774774; cv=pass; d=google.com; s=arc-20160816; b=R1pXlTPHt1WRvxp6CZ6n3Z2+VS51/oob8IhnD/9IkcQbxM/zzuxVX9pAaA5kRMsIfC hUFfDdchWWrGpZR2gnJ/RUI3g+3/kcAdfuaga8dcaFbq/S4emzkHk/dmVAE5zP5JJb1/ dC8qw9fSPC0ycTHKzvL10Zwb1ZsheX2Kyka/giO0bdjH/9qa0HLBD/r+J7FmGmhoDsHi kJklaIim+vSdYkW1DLkpz1FCnFUyTebKnWPXs+DfbVPBT2y1wlWSnoumiQRoKf4y/Ecl jSBzseOFWBf6+3OWWe3jO8DBw/CmVIwEbjDXEw+Raq21fZ6oHkbD4bccw6A9Goy3VArv JgXw== 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=8e+q0/8aCSmjwxgNIzcjo/EDfezJvKynFmJgJvmNzh0=; b=oEu9Hq1mXrUPM14K+DTOwqxzg7dlcMsmpmhDKXYd+yQSujHt+PPOuQSikkMFf/UD1Z cwC5nW/KoIYSNt82D+a00E6a4fXPFbU2/T/IEWenl57Mb4ORTEx5PSvcvDBF4CWK1toZ n6UpgTSIs4GRmScQ4cGeOg0UyPpqQxXGbnT5gPxuUeSljhAxeVrABiKPJtEMvBq8hM4q 294L8kuk9Ng0p3GoViploezmiHyloZ5H9brwC/MyNO/KdAh+IPCj7p1UFI0ho3VF0Cxh EUuaYoCTC7qA+4K+i5ouIRVkickHDp5gAsKzVilxPBRFTrnEtpyjlEvY28+UiwXuBbg3 PNIg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="DHvsXg/+"; 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=8e+q0/8aCSmjwxgNIzcjo/EDfezJvKynFmJgJvmNzh0=; b=XPbwWqIWhr43GmoB/6X6A0/WrU1UML5ZcPMGeFCGerTqRcwkCGud9wbNr9ZuBF/vu0 rOIvL1Jp8ylq5q/vUt1av+trloOGXFsvXTUxrS6kVX/nFyDD3gtpLS7iZ9ABEwodxzK1 xL2A2YEffua0/Q0pme5603pSaWV8/ZI3VWnLc= 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=8e+q0/8aCSmjwxgNIzcjo/EDfezJvKynFmJgJvmNzh0=; b=Az2MXpRilRiIHqYpuFEUVWZijp8ZWZ9dvpaAcPTz89rhC2+UdGapCkUKjfLf4hooNF VXHUAKeEXWWJtoDFcSxb2xeztWn8/uLxrtaU9im44Mbi78wz5QrFHM38p5praKgIk1yv WBM/P+h5MEEmSr0BcAjT0Lnx4cFKAXRzJd3aBaPK9XHzOTIC1dZkzDw2EL4SSCEKfFJ2 tgcNCMPG6k7TTMIz6usPojC7XU9GBn4YYGnePKRXWadanScNNouvhfyXYoYWsSh/fNza 73Kq3oHqc+hgauWiCtJwHitRMdEGZqnz7W1e6KGRIkp3J1Dx9yC2KKjbwFQhzoOCz3o9 KWqA== X-Gm-Message-State: AOAM531mQI06+Fl5/36Tpg9kltq6iotnlWnul/5bXvTFplwG1SkZ+ipp mfKHeVI2DmazfzOHcnyDCH5I/Lt9 X-Google-Smtp-Source: ABdhPJzO9t25FyZnOTG5Mjy/h70c0+tb2e7nuQn8vEI+atZCdwyM0J4zMZAK/RpYyUn08TsbA9lWkg== X-Received: by 2002:a17:902:f691:b0:142:2f7a:308e with SMTP id l17-20020a170902f69100b001422f7a308emr20494539plg.19.1637774773771; Wed, 24 Nov 2021 09:26:13 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6a00:138d:: with SMTP id t13ls104269pfg.10.gmail; Wed, 24 Nov 2021 09:26:13 -0800 (PST) X-Received: by 2002:a05:6a00:21c1:b0:47c:11e0:84e9 with SMTP id t1-20020a056a0021c100b0047c11e084e9mr7698950pfj.23.1637774773036; Wed, 24 Nov 2021 09:26:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637774773; cv=none; d=google.com; s=arc-20160816; b=pueiywyE0ur1gHWtIRvKgohFwceD+lbpsY6QoWML4HgqOVli4C+TRdt5pFZKRRiWNY zu2y/aJ4kxF9XVKVVLxu95h2GViTtVe2f8HrWqZwYjtbD0ZQLWVvi2GGyJA7qlg9AGiD OdbWyaNS82jCxEbfbM+ZDOdkTgTEaK8DicpKl1mxqvmMj8Emqk9k8MOPXLnSaQAv221v jn0nPVj5tjmsWsAMkeMTgbjr7baYq2cZgGBl7JG2pSoYCqUaCcX89TL2mSuB6ZRkWw3O /n2suW1mJ7UKS5AaS6ZiYaa9DDrSFpUsEHbpvuUCxaa0Pq4LmiVybLXiqPzJQe6g+05P VYpw== 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=ODX0ZjJmyHGUcMXQPTbTnl3S63FnL3kepW5lX1cGeNY=; b=KzRKqm89UD45YTH28J6ZzQ7qbL34y2xk06qRvAMzme5+Oyffs/tC2BwIFCK1pizR6F WvSbhzNe92XEG4uxzeZCXcS7ZAT0FAIZ/DlHl58GsUfeqWRTzcGUHkw/FkdY289DZOph 9DTqA7ntVJgBVeSZ5ddMybFi4poBSBQJ9HN1GWSuClJVZpoJ8N4E498rum2clT00Jl0V FP5TsU/CLQPHTulvE8uCjV9hWY0SjyaZCirX9UWwpLN9tHZetxBWcYTh1uoh9pp/6MWY wq9SFFcKH51a5rbrBIGZja+mNO/WnbwbhuoLQM26p579Lk+za8RuqWt05aLZqs+tsZga NZpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="DHvsXg/+"; 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 6sor253114plo.73.2021.11.24.09.26.12 for (Google Transport Security); Wed, 24 Nov 2021 09:26:12 -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:902:ec90:b0:142:269:4691 with SMTP id x16-20020a170902ec9000b0014202694691mr20396873plg.48.1637774771908; Wed, 24 Nov 2021 09:26:11 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:d111:e958:d982:546e]) by smtp.gmail.com with ESMTPSA id s19sm334618pfu.104.2021.11.24.09.26.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Nov 2021 09:26:11 -0800 (PST) From: Jagan Teki To: Rob Herring , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart Cc: Sam Ravnborg , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki , Christopher Vollo Subject: [PATCH 1/2] dt-bindings: display: bridge: Add TI DLPC3433 bindings Date: Wed, 24 Nov 2021 22:55:52 +0530 Message-Id: <20211124172553.519309-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="DHvsXg/+"; 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: , TI DLPC3433 is a MIPI DSI based display controller bridge for processing high resolution DMD based projectors. It has a flexible configuration of MIPI DSI signal input produces RGB565, RGB666, RGB888 output format with maximum of 720p resolution in 60 and 120 Hz refresh rates. Add dt-bingings for it. Signed-off-by: Christopher Vollo Signed-off-by: Jagan Teki --- .../bindings/display/bridge/ti,dlpc3433.yaml | 112 ++++++++++++++++++ MAINTAINERS | 6 + 2 files changed, 118 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,dlpc3433.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/ti,dlpc3433.yaml b/Documentation/devicetree/bindings/display/bridge/ti,dlpc3433.yaml new file mode 100644 index 000000000000..3ade3a575c3e --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ti,dlpc3433.yaml @@ -0,0 +1,112 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/ti,dlpc3433.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI DLPC3433 Display Controller + +maintainers: + - Jagan Teki + - Christopher Vollo + +description: | + The DLPC3433 or DLPC3438 controllers provide a convenient, + multi-functional interface between system electronics and + the DMD, enabling small form factor, low power, and high + resolution HD displays. + +properties: + compatible: + enum: + - ti,dlpc3433 + + reg: + maxItems: 1 + description: virtual channel number of a DSI peripheral + + enable-gpios: + description: PROJ_EN pin, chip powers up PROJ_EN is high. + + vcc_intf-supply: + description: A 1.8V/3.3V supply that power the Host I/O. + + vcc_flsh-supply: + description: A 1.8V/3.3V supply that power the Flash I/O. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: Video port for MIPI DSI input. + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: + description: array of physical DSI data lane indexes. + minItems: 1 + items: + - const: 1 + - const: 2 + - const: 3 + - const: 4 + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Video port for DPI output (DMD Projector). + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - enable-gpios + - ports + +additionalProperties: false + +examples: + - | + #include + + i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + bridge@1d { + compatible = "ti,dlpc3433"; + reg = <0x1d>; + enable-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + bridge_in_dsi: endpoint { + remote-endpoint = <&dsi_out_bridge>; + data-lanes = <1 2 3 4>; + }; + }; + + port@1 { + reg = <1>; + + bridge_out_panel: endpoint { + remote-endpoint = <&panel_out_bridge>; + }; + }; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index f32c7d733255..a3019399dec0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6198,6 +6198,12 @@ DRM DRIVER FOR TDFX VIDEO CARDS S: Orphan / Obsolete F: drivers/gpu/drm/tdfx/ +DRM DRIVER FOR TI DLPC3433 MIPI DSI DISPLAY CONTROLLER BRIDGE +M: Jagan Teki +M: Christopher Vollo +S: Maintained +F: Documentation/devicetree/bindings/display/bridge/ti,dlpc3433.yaml + DRM DRIVER FOR TPO TPG110 PANELS M: Linus Walleij S: Maintained