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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A8CBEB64D8 for ; Tue, 20 Jun 2023 15:49:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=00QNjRfX5id9d+eDGniTOyuXCKzb3tcGdySdvulNJIE=; b=JEOLq/msgTnGiK VWTj/9IolUJQiGu8E/M+Uypw9mmjeTkgFh7HOuuTGq7c3dXlCazXg3s0LOdrnnOfIvikScc7LjbBb rKYM7/VebvyGR+60vSqdJvSusABc6I9Z4Uo8keNd1u3xpyu6u3SvkG38V5+EXwpo3BzptcZima3+r QVt4MGYSZTGs9c91l8390I8cltBDdTSHmnFPUUWEaTRb6jpItRZQeFU8Hv2kQdqjqI34swo5bJOV/ MzlU9hwpmEUaaX6/Gq6nZ/3BWTggdaaNhH3CuOOF4/dz+aoIBRghLdx6GPb9HdUueS4c/MosRG3Zv 5TsSvFKp3VK6+CkjkxvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBdbM-00BiYp-2T; Tue, 20 Jun 2023 15:49:04 +0000 Received: from mail-io1-f47.google.com ([209.85.166.47]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBdbJ-00BiY7-2i; Tue, 20 Jun 2023 15:49:03 +0000 Received: by mail-io1-f47.google.com with SMTP id ca18e2360f4ac-77b00bb3fd6so164497539f.1; Tue, 20 Jun 2023 08:49:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687276140; x=1689868140; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=f+0ykOBJR6ph5fJ8NMKMPGXouH5kisW0kpvuVSufTKw=; b=QveypkuJNF9zv0968v89VuI3kifvJPHu3co0SeqgWbqn/bfTNR/GKbxFao+ZKZb4QW fLYvv9ppTUn30fIQPBRNun2pOXoggrwvWOh8S9ouYRZbVVA7nIbm9/K6RoWZh/ib45u3 64J1lwta8JnP4m6hgPL4J68StN2ZMfvltNpLalFMrbLhqQj2sRxoXn1mJIhRJ5WK9POn S1b87sQVl9SlhOXhs4x7Q5t3+NN2/tR3ii0wijewxGBuh9cCggjUpfYzVkbHaGhztEsY gZ0jkCnKju/nLbuc3Ac/o0MKsDqabKmj20AL0iamE1GUZnXE4MY2YEtrW2wsS8Jv9JeW tlVw== X-Gm-Message-State: AC+VfDzJ3P0W63NKTw/Kh2AgIZKavxK5g/eBOVGopU2nM9nGfOGHhxtN 5apWXYYlvJ84DumE/YZ41xWgxGgvpQ== X-Google-Smtp-Source: ACHHUZ4JlCQgBFv4N8BMZuj7200KFd3rbLgtWgjlVsH/bI15MOlDE4V78j/2LXyWh0HIt2u6z6aoxQ== X-Received: by 2002:a05:6e02:927:b0:33c:2a80:3721 with SMTP id o7-20020a056e02092700b0033c2a803721mr7722596ilt.4.1687276139985; Tue, 20 Jun 2023 08:48:59 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id x19-20020a029713000000b004161fafff97sm701453jai.136.2023.06.20.08.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:48:59 -0700 (PDT) Received: (nullmailer pid 3655727 invoked by uid 1000); Tue, 20 Jun 2023 15:48:56 -0000 Date: Tue, 20 Jun 2023 09:48:56 -0600 From: Rob Herring To: Sandor Yu Cc: andrzej.hajda@intel.com, neil.armstrong@linaro.org, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@gmail.com, daniel@ffwll.ch, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, vkoul@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, kernel@pengutronix.de, linux-imx@nxp.com, oliver.brown@nxp.com Subject: Re: [PATCH v6 2/8] dt-bindings: display: bridge: Add Cadence MHDP8501 HDMI and DP Message-ID: <20230620154856.GB3637514-robh@kernel.org> References: <8687f2221299b120e12f29fdccf264e120227bd7.1686729444.git.Sandor.yu@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <8687f2221299b120e12f29fdccf264e120227bd7.1686729444.git.Sandor.yu@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230620_084901_876583_D674F7CC X-CRM114-Status: GOOD ( 17.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jun 15, 2023 at 09:38:12AM +0800, Sandor Yu wrote: > Add bindings for Cadence MHDP8501 DisplayPort and HDMI driver. Bindings are for h/w, not a driver. > > Signed-off-by: Sandor Yu > --- > .../display/bridge/cdns,mhdp8501.yaml | 105 ++++++++++++++++++ > 1 file changed, 105 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml > new file mode 100644 > index 000000000000..a54756815e6f > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml > @@ -0,0 +1,105 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/cdns,mhdp8501.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cadence MHDP8501 Displayport bridge > + > +maintainers: > + - Sandor Yu > + > +description: > + The Cadence MHDP8501 Displayport/HDMI TX interface. > + > +properties: > + compatible: > + enum: > + - cdns,mhdp8501-dp > + - cdns,mhdp8501-hdmi > + - fsl,imx8mq-mhdp8501-dp > + - fsl,imx8mq-mhdp8501-hdmi Is DP vs. HDMI fixed for a particular SoC implementation or it's a board level decision. In the latter case, the type of connector should determine the mode, not compatible. > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + description: MHDP8501 DP/HDMI APB clock. Seems odd there's no clock tied to the pixel/serdes clock. > + > + phys: > + maxItems: 1 > + > + interrupts: > + items: > + - description: Hotplug cable plugin. > + - description: Hotplug cable plugout. > + > + interrupt-names: > + items: > + - const: plug_in > + - const: plug_out > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + Input port from display controller output. > + port@1: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + Output port to DP/HDMI connector. > + > + required: > + - port@0 > + - port@1 > + > +required: > + - compatible > + - reg > + - clocks > + - interrupts > + - interrupt-names > + - phys > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + mhdp_dp: dp-bridge@32c00000 { > + compatible = "fsl,imx8mq-mhdp8501-dp"; > + reg = <0x32c00000 0x100000>; > + interrupts = , > + ; > + interrupt-names = "plug_in", "plug_out"; > + clocks = <&clk IMX8MQ_CLK_DISP_APB_ROOT>; > + phys = <&dp_phy>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + mhdp_in: endpoint { > + remote-endpoint = <&dcss_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + > + mhdp_out: endpoint { > + remote-endpoint = <&dp_con>; > + }; > + }; > + }; > + }; > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel