From: Xin Ji <xji@analogixsemi.com> To: Rob Herring <robh+dt@kernel.org>, David Airlie <airlied@linux.ie>, Nicolas Boichat <drinkcat@google.com>, Hsin-Yi Wang <hsinyi@chromium.org> Cc: "Daniel Vetter" <daniel@ffwll.ch>, "Sam Ravnborg" <sam@ravnborg.org>, "Laurent Pinchart" <laurent.pinchart+renesas@ideasonboard.com>, "Maxime Ripard" <mripard@kernel.org>, "Mark Brown" <broonie@kernel.org>, "Ricardo Cañuelo" <ricardo.canuelo@collabora.com>, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, "Sheng Pan" <span@analogixsemi.com>, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: add DPI flag and swing setting Date: Thu, 31 Dec 2020 10:21:12 +0800 [thread overview] Message-ID: <d13442f84fefccc992d6c5e48ac1e6129882af31.1609380663.git.xji@analogixsemi.com> (raw) In-Reply-To: <cover.1609380663.git.xji@analogixsemi.com> Add DPI flag for distinguish MIPI input signal type, DSI or DPI. Add swing setting for adjusting DP tx PHY swing Signed-off-by: Xin Ji <xji@analogixsemi.com> --- .../bindings/display/bridge/analogix,anx7625.yaml | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml index 60585a4..4eb0ea3 100644 --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml @@ -34,6 +34,16 @@ properties: description: used for reset chip control, RESET_N pin B7. maxItems: 1 + analogix,swing-setting: + type: uint8-array + $ref: /schemas/types.yaml#/definitions/uint32-array + description: an array of swing register setting for DP tx PHY + + analogix,mipi-dpi-in: + type: int + $ref: /schemas/types.yaml#/definitions/uint32 + description: indicate the MIPI rx signal type is DPI or DSI + ports: type: object @@ -49,8 +59,8 @@ properties: Video port for panel or connector. required: - - port@0 - - port@1 + - port@0 + - port@1 required: - compatible @@ -72,6 +82,17 @@ examples: reg = <0x58>; enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; + analogix,swing-setting = <0x00 0x14>, <0x01 0x54>, + <0x02 0x64>, <0x03 0x74>, <0x04 0x29>, + <0x05 0x7b>, <0x06 0x77>, <0x07 0x5b>, + <0x08 0x7f>, <0x0c 0x20>, <0x0d 0x60>, + <0x10 0x60>, <0x12 0x40>, <0x13 0x60>, + <0x14 0x14>, <0x15 0x54>, <0x16 0x64>, + <0x17 0x74>, <0x18 0x29>, <0x19 0x7b>, + <0x1a 0x77>, <0x1b 0x5b>, <0x1c 0x7f>, + <0x20 0x20>, <0x21 0x60>, <0x24 0x60>, + <0x26 0x40>, <0x27 0x60>; + analogix,mipi-dpi-in = <0>; ports { #address-cells = <1>; -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Xin Ji <xji@analogixsemi.com> To: Rob Herring <robh+dt@kernel.org>, David Airlie <airlied@linux.ie>, Nicolas Boichat <drinkcat@google.com>, Hsin-Yi Wang <hsinyi@chromium.org> Cc: devicetree@vger.kernel.org, "Laurent Pinchart" <laurent.pinchart+renesas@ideasonboard.com>, "Sam Ravnborg" <sam@ravnborg.org>, linux-kernel@vger.kernel.org, "Mark Brown" <broonie@kernel.org>, dri-devel@lists.freedesktop.org, "Ricardo Cañuelo" <ricardo.canuelo@collabora.com>, "Sheng Pan" <span@analogixsemi.com> Subject: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: add DPI flag and swing setting Date: Thu, 31 Dec 2020 10:21:12 +0800 [thread overview] Message-ID: <d13442f84fefccc992d6c5e48ac1e6129882af31.1609380663.git.xji@analogixsemi.com> (raw) In-Reply-To: <cover.1609380663.git.xji@analogixsemi.com> Add DPI flag for distinguish MIPI input signal type, DSI or DPI. Add swing setting for adjusting DP tx PHY swing Signed-off-by: Xin Ji <xji@analogixsemi.com> --- .../bindings/display/bridge/analogix,anx7625.yaml | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml index 60585a4..4eb0ea3 100644 --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml @@ -34,6 +34,16 @@ properties: description: used for reset chip control, RESET_N pin B7. maxItems: 1 + analogix,swing-setting: + type: uint8-array + $ref: /schemas/types.yaml#/definitions/uint32-array + description: an array of swing register setting for DP tx PHY + + analogix,mipi-dpi-in: + type: int + $ref: /schemas/types.yaml#/definitions/uint32 + description: indicate the MIPI rx signal type is DPI or DSI + ports: type: object @@ -49,8 +59,8 @@ properties: Video port for panel or connector. required: - - port@0 - - port@1 + - port@0 + - port@1 required: - compatible @@ -72,6 +82,17 @@ examples: reg = <0x58>; enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; + analogix,swing-setting = <0x00 0x14>, <0x01 0x54>, + <0x02 0x64>, <0x03 0x74>, <0x04 0x29>, + <0x05 0x7b>, <0x06 0x77>, <0x07 0x5b>, + <0x08 0x7f>, <0x0c 0x20>, <0x0d 0x60>, + <0x10 0x60>, <0x12 0x40>, <0x13 0x60>, + <0x14 0x14>, <0x15 0x54>, <0x16 0x64>, + <0x17 0x74>, <0x18 0x29>, <0x19 0x7b>, + <0x1a 0x77>, <0x1b 0x5b>, <0x1c 0x7f>, + <0x20 0x20>, <0x21 0x60>, <0x24 0x60>, + <0x26 0x40>, <0x27 0x60>; + analogix,mipi-dpi-in = <0>; ports { #address-cells = <1>; -- 2.7.4 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2020-12-31 2:22 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-31 2:19 [PATCH v2 0/2] Add MIPI rx DPI support Xin Ji 2020-12-31 2:19 ` Xin Ji 2020-12-31 2:19 ` Xin Ji 2020-12-31 2:21 ` Xin Ji [this message] 2020-12-31 2:21 ` [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: add DPI flag and swing setting Xin Ji 2021-01-11 22:14 ` Rob Herring 2021-01-11 22:14 ` Rob Herring 2021-01-12 8:57 ` Xin Ji 2021-01-12 8:57 ` Xin Ji 2021-01-20 8:57 ` Nicolas Boichat 2021-01-20 8:57 ` Nicolas Boichat 2021-01-22 11:47 ` Xin Ji 2021-01-22 11:47 ` Xin Ji 2021-01-22 16:16 ` Rob Herring 2021-01-22 16:16 ` Rob Herring 2021-01-25 3:17 ` Xin Ji 2021-01-25 3:17 ` Xin Ji 2020-12-31 2:22 ` [PATCH v2 2/2] drm/bridge: anx7625: add MIPI DPI input feature support Xin Ji 2020-12-31 2:22 ` Xin Ji 2020-12-31 2:22 ` Xin Ji 2021-01-05 14:17 ` Dan Carpenter 2021-01-05 14:17 ` Dan Carpenter 2021-01-05 14:17 ` Dan Carpenter 2021-01-12 8:28 ` Xin Ji 2021-01-12 8:28 ` Xin Ji 2021-01-12 8:28 ` Xin Ji
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=d13442f84fefccc992d6c5e48ac1e6129882af31.1609380663.git.xji@analogixsemi.com \ --to=xji@analogixsemi.com \ --cc=airlied@linux.ie \ --cc=broonie@kernel.org \ --cc=daniel@ffwll.ch \ --cc=devicetree@vger.kernel.org \ --cc=dri-devel@lists.freedesktop.org \ --cc=drinkcat@google.com \ --cc=hsinyi@chromium.org \ --cc=laurent.pinchart+renesas@ideasonboard.com \ --cc=linux-kernel@vger.kernel.org \ --cc=mripard@kernel.org \ --cc=ricardo.canuelo@collabora.com \ --cc=robh+dt@kernel.org \ --cc=sam@ravnborg.org \ --cc=span@analogixsemi.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.