From patchwork Thu Mar 4 09:21:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1683 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 323463F158 for ; Thu, 4 Mar 2021 10:22:02 +0100 (CET) Received: by mail-pj1-f69.google.com with SMTP id ga13sf6867127pjb.1 for ; Thu, 04 Mar 2021 01:22:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614849720; cv=pass; d=google.com; s=arc-20160816; b=OhF+CZfoNUhcjqdv3aBAV6F03Z0GIUcIXfIs6W+2Oi5tArXeGPhHqNOWz2QIpC4N+e VmPeMrWEbs9wE82n136MhtirSLIUfqQGa24TFrN8o+miI+CsH7y+/nOYaDddwXAXz6Iq NOLSr7ODhwUg1I2ZMqVPKGURscTe+Wg7kEYAAg8Imc3rfQbo6+56tDybKg7D0o48ri0b gYHcxHX+lnj3HYt6vJtlZmFzB9aG/LWvxY7a3e9syPFUqRLrkbgcbAYRn+rGLmd6xFhW PgNeEEWkD7GLSY/35f8TMZ802h2jRm1r9e3yKZYfzGzI5R8yDStAJnP7uWDwktyKS2oV tq7A== 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=giXQ/CumCd5kseO71cxrPLIllu+katEBivSGxK2m0Mk=; b=Ek4nT8CFCsWP6ScOL+Y1YYBa3//bqY+sITZmAECFp98N1zoJfaV3rrw5jdqTBSmb3a /DUADNTEVqthN2xTe7Mb5+Lo1bKvCVzo6JiOj3rmIDUPYQ2e5pEUzT9PEXUlqHi0WuYK bwAaBji6gqqkMunlw9ctT4hBYCTItDMl2xNjQIYRong0U2zC+Qjxh73ag2EuVbIm8GKv 5WROYraIZCjwpV1Xn4pUVd2+WqEREt85D+aGv0bDH30K558bMdrBPKyttHCyL6bssd5x euvD9WlaTD1LNxjy16fs+/crub9sBuVYjFmXF/T/ZfHB9bVJUTz7aVOWUy66h2WK4cuC DAKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fWkzNOJE; 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=giXQ/CumCd5kseO71cxrPLIllu+katEBivSGxK2m0Mk=; b=IKgGfL1TFbj/kNJPQ5KAauyp7sUe1u1imLjmiVwfXjS3CTsf80+rmC5rxNFCFk8jxa 9J7lp1iLVGsf5ZXLQoHdplO0BxorECSaIaCcdEqgrUmjVyy2vnVR/i3HcmT4PEjPdCpq 1tBK4B4XfI5sejUNig/YNy/8l5Z9HJyVlf0lM= 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=giXQ/CumCd5kseO71cxrPLIllu+katEBivSGxK2m0Mk=; b=S7aM7TJ9f5+lU0n6UEXAp78QfACkEmo8ypfoheYyBwf0lgTnR60XsjzjEHLPytpjIQ JmBXbKR/mP+4QPk0C7mVEMJwAOA8uVZmxIqu7jzAUKi3ED4k5TcKMtHFLZmH18ip/oLh 6AxFblq3QU6/WEepp3oqM5Rq8XNwdigRRn0HMqb4v1AyhTC1L049jfaZQKGMYdp1EI1y Ge93N9ANUxLRAEhOP6y3KFAeStEyew2avWdQnzu48zoSiA5ZhVQ6N5KAU0bgSPXhz8Xy FfFewcSSPX8aiMoJIaOaMZiOxmXcLqFMAp3PzJCV8XCWKJMnoNM9F11bEzO1vIExorRx SccA== X-Gm-Message-State: AOAM531ozL09vZFZAentcwUu67wldiFl0dAfaJd1U/R1JO/Zv0bXKgdU 5dg2nI17uqOjG4M7Z6rpE9Gtnab1 X-Google-Smtp-Source: ABdhPJxrgzURysgyGQ4kUESLGEIeVOVzH5vH3D54bcPjbBW6mEuxATRxiZxO8v6OKsKWjc7fMZq9yg== X-Received: by 2002:a17:90a:778a:: with SMTP id v10mr3482160pjk.229.1614849720124; Thu, 04 Mar 2021 01:22:00 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:5b44:: with SMTP id y4ls2247950pgr.0.gmail; Thu, 04 Mar 2021 01:21:59 -0800 (PST) X-Received: by 2002:a65:5bca:: with SMTP id o10mr3047770pgr.248.1614849719477; Thu, 04 Mar 2021 01:21:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614849719; cv=none; d=google.com; s=arc-20160816; b=gycstuylF1qmoqeLjJMdx14tyuJNDZClik6rhxPg9xGrBVu7rgnIb7jT8GLR7wXth3 w7/FQ2suiNcfFO+OVzPo2mRtW24xi2oga8nzGlNQ8aQ+wSv5WC1TzI/L1155GIcgYAp7 dk2yNSrUF1BVqeW3pQOWRaqwoQryxjyiHcnAz9u1zvl9i0aCljmh8C7QT1J+dqYoiUdJ wt7dsula2ke4QDHqEUPMrWwgwQfUrBm1NTCUVKQTAmxjC+8j3naADB2ciC9CcMFwE77g 7D+6co+ZjPHPvAgHsDCGfo81fRy78mXb3Xll81E0/PboQIHJ4EPFrRBEtGDj2vrJCdJe mvzw== 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=5rqX3oISXCRcG3SDYtERKxsOzMD4aRyBT5O+WgeLhRw=; b=ISMtEbVQge4eW+U19sFWY6+9RwhpHsxs2d4VUQ/yhbIbajCiEl8B3+oMBr+hHPC/Jm R7Kch9CmPCu4tiBS4hFUP7TBjAbwer6zYpUI5MfB6CRsTRMPOahNMktRwaRVUZAvPLi5 HNHvjZaxoiuDiMX7KC5tFWmyKWj6pVqtTV8/3oEmYfa3Az/Wa2Jto62WSrcMYodJrA/w x/Nmpsqq1QHkje/YPgtE/XGutwR7y5UjyQQVkrb6++DaOc3efwLpnLAFjiX9AYx3+MRt RWzhxNLiKTbhs3fqy2dDnrk2b0dyIEQLW7jPhzrAyJrzKPQZRvOO1iEijHWKbVp2+nwh p8CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fWkzNOJE; 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 e8sor5443590pjr.4.2021.03.04.01.21.59 for (Google Transport Security); Thu, 04 Mar 2021 01:21:59 -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:90b:3809:: with SMTP id mq9mr3193659pjb.32.1614849718804; Thu, 04 Mar 2021 01:21:58 -0800 (PST) Received: from ub-XPS-13-9350.domain.name ([103.161.30.228]) by smtp.gmail.com with ESMTPSA id 14sm27326981pfy.55.2021.03.04.01.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 01:21:58 -0800 (PST) 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 Subject: [PATCH v4 1/2] dt-bindings: display: bridge: Add Chipone ICN6211 bindings Date: Thu, 4 Mar 2021 14:51:32 +0530 Message-Id: <20210304092133.21717-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=fWkzNOJE; 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 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 9d241b832aae..065cbdc889d3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5529,6 +5529,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