From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39187C433E0 for ; Tue, 26 Jan 2021 07:13:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 068BD207D0 for ; Tue, 26 Jan 2021 07:13:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389468AbhAZHMK (ORCPT ); Tue, 26 Jan 2021 02:12:10 -0500 Received: from mail-oi1-f171.google.com ([209.85.167.171]:38462 "EHLO mail-oi1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730250AbhAYPm1 (ORCPT ); Mon, 25 Jan 2021 10:42:27 -0500 Received: by mail-oi1-f171.google.com with SMTP id h6so13820677oie.5; Mon, 25 Jan 2021 07:42:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=B8cSsgK1OJbt9UtsbW56xNd3MLuKfJjKmdscWoF6SM0=; b=qCN+ezisOIY5UNhCD1OUtbYkwSGgbOVMZ7PC6REmbLQNIFWDiYusQXuxrjblVGMx9Z R/n6x9ntgf9OGRhi55R7wT+G3A9ruJZEkYQA93QWcXG70YT/VU08kMK4zHJDeFuX4Wwu VKsrg2eIe7jhdj1Luv73RxIqowoe5296Vkqz2VmQ5OZGdFsl1QqbaW6x6q/YCAZInJoi DVHFlsW1AJ9HrWGkBuohasdXB3DYfIGc/LiK8HkFq9h7c0thjN/jP1GwqhNMkoiIggQr 5/cQ010B9CLtzgt0soNi2DOWVfWszu6yjOpuncQYhb8SsbSIdARrQIgG4vcTRBpPOHk+ RJoA== X-Gm-Message-State: AOAM531Iz40JAN+tnDPAq3zCt4sBepqb44A1CPUusxZgftp6Fi8kRDoL dIw1t+saetgfbzsyta82ow== X-Google-Smtp-Source: ABdhPJw7rPbq44YNT18tcIBSrVSoi2LhkyC7PmEte7IMU+tVb7Cgdi2UXZwo67k1IJ62kD5qcmagfw== X-Received: by 2002:aca:b4d5:: with SMTP id d204mr450168oif.165.1611589306006; Mon, 25 Jan 2021 07:41:46 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id a96sm3514973otb.12.2021.01.25.07.41.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 07:41:44 -0800 (PST) Received: (nullmailer pid 417209 invoked by uid 1000); Mon, 25 Jan 2021 15:41:43 -0000 Date: Mon, 25 Jan 2021 09:41:43 -0600 From: Rob Herring To: Xin Ji Cc: David Airlie , Nicolas Boichat , Hsin-Yi Wang , Daniel Vetter , Sam Ravnborg , Laurent Pinchart , Maxime Ripard , Mark Brown , Ricardo =?iso-8859-1?Q?Ca=F1uelo?= , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Sheng Pan , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg Message-ID: <20210125154143.GA390777@robh.at.kernel.org> References: <75e29d7386df2ebca4a8e3f0b91c8370a4a8f74f.1611572143.git.xji@analogixsemi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <75e29d7386df2ebca4a8e3f0b91c8370a4a8f74f.1611572143.git.xji@analogixsemi.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 25, 2021 at 07:12:21PM +0800, Xin Ji wrote: > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support > flag and DP tx lane0 and lane1 swing register array define. > > Signed-off-by: Xin Ji > --- > .../bindings/display/bridge/analogix,anx7625.yaml | 57 ++++++++++++++++++++-- > 1 file changed, 54 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > index 60585a4..3b1cbe0 100644 > --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > @@ -34,23 +34,69 @@ properties: > description: used for reset chip control, RESET_N pin B7. > maxItems: 1 > > + analogix,lane0-swing: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + description: > + an array of swing register setting for DP tx lane0 PHY, please don't > + add this property, or contact vendor. > + > + analogix,lane1-swing: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + description: > + an array of swing register setting for DP tx lane1 PHY, please don't > + add this property, or contact vendor. > + > + analogix,hdcp-support: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: indicate the DP tx HDCP support or not. Sounds like a boolean. > + > ports: > type: object > + additionalProperties: false > > properties: > port@0: > type: object > description: > - Video port for MIPI DSI input. > + Video port for MIPI input. You're going to need to rebase this one drm-misc-next which uses the graph schema now. > + > + properties: > + endpoint: > + type: object > + additionalProperties: false > + > + # Properties described in > + # Documentation/devicetree/bindings/media/video-interfaces.txt > + properties: > + remote-endpoint: true > + bus-type: true > + data-lanes: true > + > + required: > + - remote-endpoint > + > + required: > + - endpoint > > port@1: > type: object > description: > Video port for panel or connector. > > + properties: > + endpoint: > + type: object > + additionalProperties: false > + > + required: > + - remote-endpoint > + > + required: > + - endpoint > + > required: > - - port@0 > - - port@1 > + - port@0 > + - port@1 > > required: > - compatible > @@ -73,6 +119,10 @@ examples: > enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; > reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; > > + analogix,lane0-swing = <0x14 0x54 0x64 0x74 0x29 0x7b 0x77 0x5b>; > + analogix,lane1-swing = <0x14 0x54 0x64 0x74 0x29 0x7b 0x77 0x5b>; > + analogix,hdcp-support = <0>; > + > ports { > #address-cells = <1>; > #size-cells = <0>; > @@ -81,6 +131,7 @@ examples: > reg = <0>; > anx7625_in: endpoint { > remote-endpoint = <&mipi_dsi>; > + bus-type = <5>; > }; > }; > > -- > 2.7.4 >