From patchwork Mon Mar 22 10:33:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1710 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4C5843F0E1 for ; Mon, 22 Mar 2021 11:33:49 +0100 (CET) Received: by mail-pj1-f72.google.com with SMTP id r18sf26796946pjz.1 for ; Mon, 22 Mar 2021 03:33:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1616409227; cv=pass; d=google.com; s=arc-20160816; b=LRM5gG4dyBexXASJZ8rBDNboYZ2JiHht43ojE1fWUPDjRV44uTlr3/XHAq7nU9qNfl DXcdwYUcLSVUo1obw73UnriiPH+7PDcKo3kwNdipbZafytNv9mllSVINp5pJ7zvqnQow ONRDSSjgEgNbp2ux2AJy8bFX75QLobKahlxe0opIbf+aY/OxoQOiMmTxKO/OssZx7wtG u/0cxmBMPU8iuPSAAFMMeVAmykBOYhhULSHsGHxXYemfYlP3Dd+PQt4J0dZNDGSV0hIy 9+C4xcOB2piya+FKzqakROtWrvDi6PfqSEFxqlqbMoakfov4psycTk7OYgTxW8b0te4B RmvQ== 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=/UXaW5BbFJliUJo4hwhAg0ItK5Z8W+FOVT3GRBuFrXQ=; b=IU8YVDjjywK6Rghhvhg651FYcJm3Ykuph/K9zoyHW3WkDgPouOXhXAE88CKV/oz8oK fz6AI9mn453GYS1Bv/LxOSfJBJ1oYL5f4omo+weFxPFqFdTdeWW1/qHb9szWwGz2/563 ra3nijqEop2Keb9Fn+u4PRwdCrw+83pBiNhlWJ+/Ye9eHoZSbdPZdtNCiWqf04k1HtXb oSmGFPAIFUMhxgalxoKw5+jEOkHtSkbNSzLEpRIR3z9n6oSY1oom+WVrkdIQTH6u9wP+ fy9Y/NihH/UP9dzpiMCEPQSva6NJ9OJFTXcYpNGfmhtxTfXqIJkmtgjAOqy0War+5BoQ ep0Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="U/FYRH9c"; 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=/UXaW5BbFJliUJo4hwhAg0ItK5Z8W+FOVT3GRBuFrXQ=; b=KGLtBtTd8nAaBVI82icfbANSr4EIN6sESGOz+SSq7wtWQgDmIDh1NyZo5aqHuZy1KM S4XCfLK80G2w6bx70vVpBWy9TPrD5et1AUDc0cZOpdn6Pw3gisPvOorVuZ4YJNMmO/i3 yK2IQmUXGmK0DxzM8lyNMlsTr9jjdxftREZxo= 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 :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=/UXaW5BbFJliUJo4hwhAg0ItK5Z8W+FOVT3GRBuFrXQ=; b=m18SCewR9+q7qzLrhLuVmWzc3Veth3dU1fBUdMZ9w6X6dV9333XnixFq21zpFgb/iX fORa2gUqTBRV75PN+YWhiHfzHzr93MH7GC//CeoJEKo4U3q2OMhBsbvT07lYJrOfIChG I31OEdOgJEdgyFxOF2f7EaUgviWFLAQwEhIGGel/vCZFboz23sNgf1EJZbaaZzLMkA89 bh8Tx9F6Ie9RQwxZ00UEO5sDEhgR4NOCpvHqyaX8RkhRPL+63nQHqRuStU/KIxtmKHcD SR1f97DjFwF+ZB10Wdl6AUlnnerU/Dhq8ZJoLzaHsum0X0s29GEBU69eQSwPXyTa4HXy xW3A== X-Gm-Message-State: AOAM5330lJ+YM9YAJ7X7rzoiQpbX/DHRQZ1mOeNLnE37K+mKg8JYXHoH v691hEJW5XXQUeRqhk9UKgS8tgMW X-Google-Smtp-Source: ABdhPJz/Nnh4PkDUstwJsygp42UENrWLUkyzHYCJ0lWusoZTURYbAeE6CWO1oB366E/SEijigdkcsQ== X-Received: by 2002:a62:76c5:0:b029:1f2:e6af:e2ab with SMTP id r188-20020a6276c50000b02901f2e6afe2abmr21558377pfc.10.1616409227054; Mon, 22 Mar 2021 03:33:47 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:6a11:: with SMTP id m17ls4307376pgu.6.gmail; Mon, 22 Mar 2021 03:33:46 -0700 (PDT) X-Received: by 2002:a62:cfc1:0:b029:200:1eed:462 with SMTP id b184-20020a62cfc10000b02902001eed0462mr21034942pfg.55.1616409226166; Mon, 22 Mar 2021 03:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616409226; cv=none; d=google.com; s=arc-20160816; b=DBYGaYY+Q32MVllFo6FJNrj2Ewk/zLTYbap13c9Ugw3cHL7tjkIBI37L6TFi776dJG sVN8fOeQoaHXDaI1+n4eL697YEQVMrtcTBP5AK+A3FV48sMMUmJhurZ3Lz4wcGSzYpl4 QBk2/Amp+QY4k5rLofgMPL+VzgBs/f9QjiMOTTLk6/T6sAgS0ztARDx+2N4exB4cAtxF l3tt043rYUhpcX2EOb1sySZKosRkyhf1g3sS6ZdVrKAtoYPdpzFdBHOLGZ6JYe3tOsy7 4+CFUaTGVwxiPnWtrpypt2eZYn6//nf88cYgnFFCrjaiuubrcc4/fT7qtFFxUSWsTcYH 0yhQ== 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=QXnyIiVMYouSZkWQ90s00ryOLdRsKNt+1wvSooAsuGs=; b=iCbA/K90pwV8mxcarqdHKTYByrdKCnfzrJ2NE2zsZYU1yf2fEziYUCh54l9ho1DgC9 qm6bcMVD1AlLahA6e66rrxwp3TD/QU/FuoXJO1TsFNaJLQNn1sfP6ljN1IQABDfp3Sj4 UitVkCIUO8Em0h7MO3FJmEREzVmjhIPvbxuE/pKeNHDZPlyvOOS4VYH79VeH77qXO5i9 BU11pEZs1j4NZfwYBrq41OWitm11mwC80IUJZN6sTyy2OQd4Vj8iYTY/v5tM6tBkOeWM K5LRiuYubb1R4TUIcYzHj6qYy7ByjUF21yzeUBWmIXDBaa1gilljZ7PZxzEQJpcg1QQz hzxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="U/FYRH9c"; 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 me6sor6770824pjb.19.2021.03.22.03.33.45 for (Google Transport Security); Mon, 22 Mar 2021 03:33:45 -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:90a:1b08:: with SMTP id q8mr12254370pjq.203.1616409225597; Mon, 22 Mar 2021 03:33:45 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a884:15c1:9a30:414f:d84b]) by smtp.gmail.com with ESMTPSA id o13sm12812422pgv.40.2021.03.22.03.33.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 03:33:45 -0700 (PDT) From: Jagan Teki To: Rob Herring , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Sam Ravnborg , Robert Foss Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki , Rob Herring Subject: [PATCH v5 1/2] dt-bindings: display: bridge: Add Chipone ICN6211 bindings Date: Mon, 22 Mar 2021 16:03:26 +0530 Message-Id: <20210322103328.66442-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="U/FYRH9c"; 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: , ICN6211 is MIPI-DSI to RGB Converter bridge from Chipone. It has a flexible configuration of MIPI DSI signal input and produces RGB565, RGB666, RGB888 output format. Add dt-bingings for it. Signed-off-by: Jagan Teki Reviewed-by: Robert Foss Reviewed-by: Rob Herring --- Changes for v5: - rebase drm-misc-next - collect Rob, Robert review tags Changes for v4: - fixed Laurent comments - added regulators - replace reset with EN - fixed warnings pointed by Robert Changes for v3: - updated to new dt-bindings style .../display/bridge/chipone,icn6211.yaml | 99 +++++++++++++++++++ MAINTAINERS | 5 + 2 files changed, 104 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml b/Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml new file mode 100644 index 000000000000..62c3bd4cb28d --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml @@ -0,0 +1,99 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/chipone,icn6211.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Chipone ICN6211 MIPI-DSI to RGB Converter bridge + +maintainers: + - Jagan Teki + +description: | + ICN6211 is MIPI-DSI to RGB Converter bridge from chipone. + + It has a flexible configuration of MIPI DSI signal input and + produce RGB565, RGB666, RGB888 output format. + +properties: + compatible: + enum: + - chipone,icn6211 + + reg: + maxItems: 1 + description: virtual channel number of a DSI peripheral + + enable-gpios: + description: Bridge EN pin, chip is reset when EN is low. + + vdd1-supply: + description: A 1.8V/2.5V/3.3V supply that power the MIPI RX. + + vdd2-supply: + description: A 1.8V/2.5V/3.3V supply that power the PLL. + + vdd3-supply: + description: A 1.8V/2.5V/3.3V supply that power the RGB output. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + Video port for MIPI DSI input + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: + Video port for MIPI DPI output (panel or connector). + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - enable-gpios + - ports + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + bridge@0 { + compatible = "chipone,icn6211"; + reg = <0>; + enable-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* LCD-RST: PL5 */ + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + bridge_in_dsi: endpoint { + remote-endpoint = <&dsi_out_bridge>; + }; + }; + + port@1 { + reg = <1>; + + bridge_out_panel: endpoint { + remote-endpoint = <&panel_out_bridge>; + }; + }; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 4b705ba51c54..b9d11101d060 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5568,6 +5568,11 @@ S: Maintained F: Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml F: drivers/gpu/drm/panel/panel-boe-himax8279d.c +DRM DRIVER FOR CHIPONE ICN6211 MIPI-DSI to RGB CONVERTER BRIDGE +M: Jagan Teki +S: Maintained +F: Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml + DRM DRIVER FOR FARADAY TVE200 TV ENCODER M: Linus Walleij S: Maintained