From patchwork Fri Jun 3 14:03:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1999 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 41C713F047 for ; Fri, 3 Jun 2022 16:04:49 +0200 (CEST) Received: by mail-pl1-f200.google.com with SMTP id z12-20020a170903018c00b001651395dcb8sf4339984plg.12 for ; Fri, 03 Jun 2022 07:04:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654265088; cv=pass; d=google.com; s=arc-20160816; b=y1fpPn2eE4q9Yr9Pk7I/lUOH6E9tIMj0fZ9V7hchC9Zq6BJtbgeZKj5EzMamZomiFC vnm0IqwEwvulYnWfxwiWPyAWARfhrVaXRzG4kGSc2oKKIWFfi7JeJEPoz3ZnM6x1CCFw 6iuuMhPDBnefLUPbDIEMQXgyzxcNZ8/Th09T9EeSMWR3wpFTWHpQ7Dh0Quwb9D3RIhCa YMwyWrg8rJeW+QLV8IeoNGNJnz6YDaJh8Mle3WHzGI5eGZ/T1uzsshhDdo0adFGwky3l 5sP/mEd25XmXTUB1Gtkk/l7QfpERWZAb4mf7/i96EQfyR1b8JlwrDgGjKLV2CLjyumGV 6azw== 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=uIjyeXBpVy6BkdyxU+UUha3O6KHQm08lSe7PRIUfThM=; b=fCZbH3zIsNdYfsWGVetV6ukxXzWz7KV0iEAAqQlJH0F6OQKH8GI75X2ngGEr8zX9q8 NCYDd4ibevCc51T6qFzC9VZ1HzP4JUfW+AQlu1MvyJ+60BR1Lf3pI+8PrzAnjc67riMp IhF71dCEHdS87zGLsB6m1e38DhHyWRXrlbB7FYpy7JisZQMGyv2Qw+D/4raPdVBU5xPL B2ykYjf4ORGdSs5TM8x27LYMJwAO6jYKsNoUkyxsatpTkJRnnYjT0Gf81It0Ud87mPZb iEip7a3JTLFGwKt9OBKHEntMIhi6dkrig7w+ggvQvb69l0HXomgAUJLhNcYb00saMKg8 iujg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gYavTQEl; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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=uIjyeXBpVy6BkdyxU+UUha3O6KHQm08lSe7PRIUfThM=; b=cfhxhSENOMpWA5dB881rGzX3YzUm4t12fKw7uXfP8l8F9FocseWPz3PRyb7hEw410E UkIRdqCMOTBeSyNEkhXc6zXbtvbHKEZPbS4T/BGTLbEcy45g6gFd9uMOkeZN5CepYrlo YzBrdLGuqdMa59NutOq67p6eUpGJ25x4HEJJM= 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=uIjyeXBpVy6BkdyxU+UUha3O6KHQm08lSe7PRIUfThM=; b=4trf9H7v3T5JzoLBP8LBJJ27mkPjhz64caJJT4YVqKRcmB3W+j5z6zNqQZwmTQq33C /wWa2IYMwAU7g6ihV4c/kC4MMVwJid8OT7/r/yT/yOH1FNAqnAUMsiLUAJN0HTpoV8N9 EnhybI8LoF4BGiyDUcCzX1dZEbZqekgskY9RMeKXLxCw//OON7vX5EX0nt6+L0IP4Bze ID0h71vnqZQCiFinVsHfGHp/XTXj33TTbt0Wkk6o1FpU1sWkfwh1oakUxHb5O763hflo ws+RawLClEjfbP3IXU1jJ5iI69aqhycOfvUBEHgJjlndUBOeyWKf78Pp1Ln1Q/iJ4Oaz v+SA== X-Gm-Message-State: AOAM532nskzodjlHJM2O5zUGF689XivGBAIzV7X2qHCqSR3dczAaeC1D ave2VzNeFC9GTz+4IVtIFnNLOfGv X-Google-Smtp-Source: ABdhPJz1lixgAtYkBN9w9efRum5tk5U42kZ4kqGGWHm3RSgOytfmv6rXldnHRp7mOHm1mEvHlQKG8g== X-Received: by 2002:a63:2b16:0:b0:3fa:faf9:e6d7 with SMTP id r22-20020a632b16000000b003fafaf9e6d7mr9016433pgr.325.1654265087831; Fri, 03 Jun 2022 07:04:47 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:4543:b0:1e0:4905:dcdc with SMTP id r3-20020a17090a454300b001e04905dcdcls6549474pjm.3.canary-gmail; Fri, 03 Jun 2022 07:04:47 -0700 (PDT) X-Received: by 2002:a17:902:b214:b0:161:f6d8:45cd with SMTP id t20-20020a170902b21400b00161f6d845cdmr10527797plr.95.1654265087003; Fri, 03 Jun 2022 07:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654265087; cv=none; d=google.com; s=arc-20160816; b=cGINBklurzisCSs7YjP9wLEADAO46sDDiwzbqDhGk9HqRa9dIlNXfQAxGO69LEZj89 RUtkwgsjOsCd1hhbCkV7veMaISENg+4T9whxX70H03jii24Dxwwqg9ruyMoP850CJK4b CHvpZQL+XBU49IznzvXOOelPnc5N1TszUm66DHiBiWSu/shFrRtjNTeKcXLJbGcjq6zQ cZWIBo62RZvA0DWp3V3/JBnxPkmbuO4nHrqoxF5B9er/bjILpwjmp6L9dffLCN/nSfrU X/c24vXH/DZPP73AYO5sfjUxgEMxmphm/4ksatXC2LwUJduaxt24jE6zpOZW2ce9Rami phsw== 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=VFYLNsNT7RLI558EnjAePReuPZvewMRdNogIkoXHGkk=; b=Oem5B20JYezUpI+lSFruaYjeUsrsEmbK8briSMsbxWZQ6/gzkCV5SGMBXAZkGaVaOZ P37gUcJYcFgRrysT68WG10rTHl25IvIUvkBTJPNdKocCPN2bzlBHOvcNlW7kkxONNAFS tE+b/Lw9Ol49X287FVDkVY7if2FUjo6dfSNyMK1y7jkcY5MBZazjLu7Ca9iJrOgmXRzK leKEErsoA4FG7ee+quyZPSfqZaw3JDy4Ll52eLRtHZTMCwtCk5B8C5WkMVEhOsqfAeLF 5qGmfRo0kHvyAzKju5r/m5QltRTzapE5yznTXVCAditxgMbf7mfGpbFzV7y78M6QT13c kAQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gYavTQEl; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 e15-20020a17090301cf00b001569ef2df47sor3621577plh.5.2022.06.03.07.04.46 for (Google Transport Security); Fri, 03 Jun 2022 07:04:46 -0700 (PDT) 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:ef47:b0:156:646b:58e7 with SMTP id e7-20020a170902ef4700b00156646b58e7mr10285825plx.57.1654265086627; Fri, 03 Jun 2022 07:04:46 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a190:29ee:e543:950e:2acb]) by smtp.gmail.com with ESMTPSA id w14-20020aa7954e000000b005189f7ab7aesm5736487pfq.19.2022.06.03.07.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 07:04:46 -0700 (PDT) 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 , Rob Herring Subject: [PATCH v3 1/2] dt-bindings: display: bridge: Add TI DLPC3433 DSI to DMD Date: Fri, 3 Jun 2022 19:33:48 +0530 Message-Id: <20220603140349.3563612-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=gYavTQEl; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 and DPI signal input that produces a DMD output in RGB565, RGB666, RGB888 formats. It supports upto 720p resolution with 60 and 120 Hz refresh rates. Add dt-bingings for it. Signed-off-by: Christopher Vollo Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Changes for v3: - collect Rob r-b Changes for v2: - fix compatible - drop reg description - fix enable_gpio description - fix port@2 .../bindings/display/bridge/ti,dlpc3433.yaml | 117 ++++++++++++++++++ MAINTAINERS | 5 + 2 files changed, 122 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..542193d77cdf --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ti,dlpc3433.yaml @@ -0,0 +1,117 @@ +# 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 MIPI DSI to DMD bridge + +maintainers: + - Jagan Teki + - Christopher Vollo + +description: | + 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 and DPI signal + input that produces a DMD output in RGB565, RGB666, RGB888 + formats. + + It supports upto 720p resolution with 60 and 120 Hz refresh + rates. + +properties: + compatible: + const: ti,dlpc3433 + + reg: + enum: + - 0x1b + - 0x1d + + enable-gpios: + description: PROJ_ON pin, chip powers up PROJ_ON 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 DMD output. + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - enable-gpios + - ports + +additionalProperties: false + +examples: + - | + #include + + i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + bridge@1b { + compatible = "ti,dlpc3433"; + reg = <0x1b>; + 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 11da16bfa123..aea0fe5156af 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6431,6 +6431,11 @@ DRM DRIVER FOR TDFX VIDEO CARDS S: Orphan / Obsolete F: drivers/gpu/drm/tdfx/ +DRM DRIVER FOR TI DLPC3433 MIPI DSI TO DMD BRIDGE +M: Jagan Teki +S: Maintained +F: Documentation/devicetree/bindings/display/bridge/ti,dlpc3433.yaml + DRM DRIVER FOR TI SN65DSI86 BRIDGE CHIP R: Douglas Anderson F: Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml