From patchwork Mon Dec 19 16:54:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13076874 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 C0CD4C4332F for ; Mon, 19 Dec 2022 16:54:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2753B10E2D0; Mon, 19 Dec 2022 16:54:29 +0000 (UTC) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D53810E2BB for ; Mon, 19 Dec 2022 16:54:20 +0000 (UTC) Received: by mail-ej1-x635.google.com with SMTP id tz12so22969847ejc.9 for ; Mon, 19 Dec 2022 08:54:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=IRTqsLI2b2YsvDdVO9/6yWrmQPlgT8dFZzpQy/bIyGI=; b=nYZ+QGHiPZezsw2e1n1XcBGYPknMfBeTEk2MveieSJaB+ySZ8nR98EmJFaU6PHjQj5 jYt2I6C+AFHedZbX814n6vsGRMcgQJjE04X3cOHhWa5kvUu2+0jVy3PyWJwsQaQA6XMK hU5AgRqyTiaEYzheRzVI3TUF4JXzjLWJ7/7Dsao+XqR8LSPg0dEzlksXQO4cru1TT/6y 8eDuT3ti3ui6Dr4m3xp4wgEJxtgCAo5eRcIq/jxO6E2qWgc00wtrUvR7yktTd+QN5aak Npgm44EK/D27EYv4kTFVIOBPGtzb+e0xzKL2PNLSlD7wIemJmXtqT4aBBG+IxqDk7JV9 OGFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=IRTqsLI2b2YsvDdVO9/6yWrmQPlgT8dFZzpQy/bIyGI=; b=jI0Wdoh8eGOywD/quhfnzrwnogdI4YR+44ld9aa0aEg3HOrBK76AMgxovv1szmIAEY gX6whiLzWBwvCKvBz4MnmPoPNAYUSZMBTY/seK0zXzCtvV9gOh/R5OV4sLqTtqLVHTGt B9iYjsV4fqW2rhn2aFZp32kRUvc8e9ZpcE2H7Ic+VIPs4B/Au/2QDS5D7LjYJOKPm0Fz UQR3LXoJ4/Luh+y1vf5JZXaZbCxMhcI9uSplUKkHs9j9MYIda0UFGRojR11JIr8dIqCr MLRp6OrUY/a4tKZTcpv8iwCqVrw4Nrg2613q6PNyeqwXtrQe2TAYCapGnDltwDogWiqz PDtA== X-Gm-Message-State: AFqh2kp/5arGJ/Nsv0h8GwGGxN8HidSHOxScAxDLxSfnyqr1WTJHuO0J plg3lF2BH3NlmPK8HLOFddQ= X-Google-Smtp-Source: AMrXdXuJ2CFFdxqSuDMl6M5BBp+pK6tZbjaDXYRccjmk4np6SN/049Pe3R5npxLdZR7kTkc5Y0TTxA== X-Received: by 2002:a17:906:9949:b0:829:59d5:e661 with SMTP id zm9-20020a170906994900b0082959d5e661mr3222724ejb.29.1671468858429; Mon, 19 Dec 2022 08:54:18 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id c13-20020a0564021f8d00b0046b471596e6sm4596629edc.57.2022.12.19.08.54.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Dec 2022 08:54:17 -0800 (PST) Message-ID: <7f38e245-4fc0-1754-e75c-10c1e31bbd4d@gmail.com> Date: Mon, 19 Dec 2022 17:54:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v4 1/5] dt-bindings: display: rockchip: convert rockchip-lvds.txt to YAML To: heiko@sntech.de Content-Language: en-US X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kishon@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, hjc@rock-chips.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, vkoul@kernel.org, robh+dt@kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert rockchip-lvds.txt to YAML. Changed: Add power-domains property. Requirements between PX30 and RK3288 Signed-off-by: Johan Jonker Reviewed-by: Rob Herring --- Changed V3: Filename matching compatible style Drop "Regulator phandle for " Specify properties and requirements per SoC Sort order and restyle Changed V2: Fix title --- .../display/rockchip/rockchip,lvds.yaml | 170 ++++++++++++++++++ .../display/rockchip/rockchip-lvds.txt | 92 ---------- 2 files changed, 170 insertions(+), 92 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip,lvds.yaml delete mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,lvds.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,lvds.yaml new file mode 100644 index 000000000..03b002a05 --- /dev/null +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,lvds.yaml @@ -0,0 +1,170 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/rockchip/rockchip,lvds.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip low-voltage differential signal (LVDS) transmitter + +maintainers: + - Sandy Huang + - Heiko Stuebner + +properties: + compatible: + enum: + - rockchip,px30-lvds + - rockchip,rk3288-lvds + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: pclk_lvds + + avdd1v0-supply: + description: 1.0V analog power. + + avdd1v8-supply: + description: 1.8V analog power. + + avdd3v3-supply: + description: 3.3V analog power. + + rockchip,grf: + $ref: /schemas/types.yaml#/definitions/phandle + description: Phandle to the general register files syscon. + + rockchip,output: + $ref: /schemas/types.yaml#/definitions/string + enum: [rgb, lvds, duallvds] + description: This describes the output interface. + + phys: + maxItems: 1 + + phy-names: + const: dphy + + pinctrl-names: + const: lcdc + + pinctrl-0: true + + power-domains: + maxItems: 1 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + Video port 0 for the VOP input. + The remote endpoint maybe vopb or vopl. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: + Video port 1 for either a panel or subsequent encoder. + + required: + - port@0 + - port@1 + +required: + - compatible + - rockchip,grf + - rockchip,output + - ports + +allOf: + - if: + properties: + compatible: + contains: + const: rockchip,px30-lvds + + then: + properties: + reg: false + clocks: false + clock-names: false + avdd1v0-supply: false + avdd1v8-supply: false + avdd3v3-supply: false + + required: + - phys + - phy-names + + - if: + properties: + compatible: + contains: + const: rockchip,rk3288-lvds + + then: + properties: + phys: false + phy-names: false + + required: + - reg + - clocks + - clock-names + - avdd1v0-supply + - avdd1v8-supply + - avdd3v3-supply + +additionalProperties: false + +examples: + - | + #include + + lvds: lvds@ff96c000 { + compatible = "rockchip,rk3288-lvds"; + reg = <0xff96c000 0x4000>; + clocks = <&cru PCLK_LVDS_PHY>; + clock-names = "pclk_lvds"; + avdd1v0-supply = <&vdd10_lcd>; + avdd1v8-supply = <&vcc18_lcd>; + avdd3v3-supply = <&vcca_33>; + pinctrl-names = "lcdc"; + pinctrl-0 = <&lcdc_ctl>; + rockchip,grf = <&grf>; + rockchip,output = "rgb"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + lvds_in: port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + lvds_in_vopb: endpoint@0 { + reg = <0>; + remote-endpoint = <&vopb_out_lvds>; + }; + lvds_in_vopl: endpoint@1 { + reg = <1>; + remote-endpoint = <&vopl_out_lvds>; + }; + }; + + lvds_out: port@1 { + reg = <1>; + + lvds_out_panel: endpoint { + remote-endpoint = <&panel_in_lvds>; + }; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt b/Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt deleted file mode 100644 index aaf8c44cf..000000000 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt +++ /dev/null @@ -1,92 +0,0 @@ -Rockchip RK3288 LVDS interface -================================ - -Required properties: -- compatible: matching the soc type, one of - - "rockchip,rk3288-lvds"; - - "rockchip,px30-lvds"; - -- reg: physical base address of the controller and length - of memory mapped region. -- clocks: must include clock specifiers corresponding to entries in the - clock-names property. -- clock-names: must contain "pclk_lvds" - -- avdd1v0-supply: regulator phandle for 1.0V analog power -- avdd1v8-supply: regulator phandle for 1.8V analog power -- avdd3v3-supply: regulator phandle for 3.3V analog power - -- rockchip,grf: phandle to the general register files syscon -- rockchip,output: "rgb", "lvds" or "duallvds", This describes the output interface - -- phys: LVDS/DSI DPHY (px30 only) -- phy-names: name of the PHY, must be "dphy" (px30 only) - -Optional properties: -- pinctrl-names: must contain a "lcdc" entry. -- pinctrl-0: pin control group to be used for this controller. - -Required nodes: - -The lvds has two video ports as described by - Documentation/devicetree/bindings/media/video-interfaces.txt -Their connections are modeled using the OF graph bindings specified in - Documentation/devicetree/bindings/graph.txt. - -- video port 0 for the VOP input, the remote endpoint maybe vopb or vopl -- video port 1 for either a panel or subsequent encoder - -Example: - -lvds_panel: lvds-panel { - compatible = "auo,b101ean01"; - enable-gpios = <&gpio7 21 GPIO_ACTIVE_HIGH>; - data-mapping = "jeida-24"; - - ports { - panel_in_lvds: endpoint { - remote-endpoint = <&lvds_out_panel>; - }; - }; -}; - -For Rockchip RK3288: - - lvds: lvds@ff96c000 { - compatible = "rockchip,rk3288-lvds"; - rockchip,grf = <&grf>; - reg = <0xff96c000 0x4000>; - clocks = <&cru PCLK_LVDS_PHY>; - clock-names = "pclk_lvds"; - pinctrl-names = "lcdc"; - pinctrl-0 = <&lcdc_ctl>; - avdd1v0-supply = <&vdd10_lcd>; - avdd1v8-supply = <&vcc18_lcd>; - avdd3v3-supply = <&vcca_33>; - rockchip,output = "rgb"; - ports { - #address-cells = <1>; - #size-cells = <0>; - - lvds_in: port@0 { - reg = <0>; - - lvds_in_vopb: endpoint@0 { - reg = <0>; - remote-endpoint = <&vopb_out_lvds>; - }; - lvds_in_vopl: endpoint@1 { - reg = <1>; - remote-endpoint = <&vopl_out_lvds>; - }; - }; - - lvds_out: port@1 { - reg = <1>; - - lvds_out_panel: endpoint { - remote-endpoint = <&panel_in_lvds>; - }; - }; - }; - }; From patchwork Mon Dec 19 16:56:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13076875 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 BC6DDC10F1B for ; Mon, 19 Dec 2022 16:56:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D356A10E2BB; Mon, 19 Dec 2022 16:56:42 +0000 (UTC) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by gabe.freedesktop.org (Postfix) with ESMTPS id AD26210E2BB for ; Mon, 19 Dec 2022 16:56:38 +0000 (UTC) Received: by mail-ej1-x62d.google.com with SMTP id qk9so23036626ejc.3 for ; Mon, 19 Dec 2022 08:56:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=MW9IUi38LGJbWOititTnXuZuxcZ+qs+mMT17ZPnQkKo=; b=OeS+09a5otGiv+Kpp8lLf+vmlBCzLGRQR7qaXnlrCYGE2jyYt7zZ96biw1Dqc+/HT0 A/HvI2rQK1PhpdXfAu8BkfTe8SpXixvvkcogsKLFjRipBr3Z/72DkU+uGlsb2940rucX sJo4GcqGJ8KVxFlsN4DisdJDmDEFTWGBogewBBWvwny/hCGMSXzuO1jLOAFn7f81cByM 2Akq7VTkHMbjuCNNk7/JNHnR0SHjuLGoWFp+5JjOmjPV9MED3JTPNEVgrfs/UmaxukWZ NqtQXG8SUkdFIAnSufSaC16d3VGbJLX5xiQTfvDLeJ0Pre0Zko9oKo/6wUsaRHJ52u5f n6wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MW9IUi38LGJbWOititTnXuZuxcZ+qs+mMT17ZPnQkKo=; b=ezqFgnFz703KTrr2M2lgVo2vlPLsQhAjrn0W2Mb6D+uNYssPtpFMQxVh3NmloxmfNJ ohxtCyHUEz0xfO5bgD9GtDmKNs+i4ZLjomlnfqiqM3h3VHRDVcE60Z5B7uV9Kk64j/zw p5DDKDsBe3vMEnRBmGjZRuGgYgfQp2e6UZB5qWDlGFjZ0+674VPDbek0xD625I5xKcE+ lnC5lYgsc6svjvK97mGpU9AcAx3UpiBrm14qpCrmCcwjm0Bh/KEDSeAyyL/3v1VPrwZv wP4zHX3GXXdAzObDCbLcePhGv1vglpdWUAqfjlcV/J9iOpZTv2nw3VWJgQeFB2N0r/ag xfdw== X-Gm-Message-State: ANoB5pm8mVY+cr/B9TTFg8iGsElbabhOqC38GZpQb6Vx10NHaHNBn6nk aXrJ0yXzBBYrtd68e1sQoS0= X-Google-Smtp-Source: AA0mqf41B2/H4EPNsKQaq9hNNH4wwwkWyo/RIZIY1kQU+RhK6rFFtS4wChCTmLuHjDyyznqvRl+W0Q== X-Received: by 2002:a17:907:11c8:b0:7c0:beee:2f06 with SMTP id va8-20020a17090711c800b007c0beee2f06mr34217874ejb.52.1671468997317; Mon, 19 Dec 2022 08:56:37 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id rs13-20020a170907036d00b0077a1dd3e7b7sm4623533ejb.102.2022.12.19.08.56.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Dec 2022 08:56:36 -0800 (PST) Message-ID: <0b9bb507-1819-4bfa-593f-8b7e92c2ce3d@gmail.com> Date: Mon, 19 Dec 2022 17:56:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v4 2/5] dt-bindings: soc: rockchip: grf: add rockchip,lvds.yaml To: heiko@sntech.de References: <7f38e245-4fc0-1754-e75c-10c1e31bbd4d@gmail.com> Content-Language: en-US In-Reply-To: <7f38e245-4fc0-1754-e75c-10c1e31bbd4d@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kishon@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, hjc@rock-chips.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, vkoul@kernel.org, robh+dt@kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add new converted rockchip,lvds.yaml to grf.yaml file. Prepare for more SoCs with lvds output. Signed-off-by: Johan Jonker Reviewed-by: Rob Herring --- .../devicetree/bindings/soc/rockchip/grf.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -- 2.20.1 diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml index 2ed8cca79..d74295e98 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml @@ -75,13 +75,17 @@ allOf: properties: compatible: contains: - const: rockchip,px30-grf + enum: + - rockchip,px30-grf then: properties: lvds: - description: - Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt + type: object + + $ref: "/schemas/display/rockchip/rockchip,lvds.yaml#" + + unevaluatedProperties: false - if: properties: From patchwork Mon Dec 19 16:56:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13076876 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 E4400C4332F for ; Mon, 19 Dec 2022 16:57:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6FE9A10E2D9; Mon, 19 Dec 2022 16:57:03 +0000 (UTC) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 28EC710E2D5 for ; Mon, 19 Dec 2022 16:56:58 +0000 (UTC) Received: by mail-ej1-x62e.google.com with SMTP id t17so23085546eju.1 for ; Mon, 19 Dec 2022 08:56:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=Gb1Ci/peDFXem9KQH4YU7Ajcj0W54+LbHk+JTs6pzhc=; b=UmDPOgnX9rup6tCIGhloyjt6lRLcVZejtv4yKWpWgWwcK/Hfacc0swYAY457jUkhri z5OzYxcIh/efEjrvv6MzGJIbeH6ygsTbO9N0FgEGjJHwnprbJvYQIpjfGO0bpwGPju8y MHnKEqKBLVADfiBhuGYf7+R6UCKEmTgbgSaAm3FoxplZlfxonWhg9FgInq5DJtE6awFS DIjXQZLg2sm8Tlchzw8JTDqWRQqk3PZ7P8TUoMYpxbHe/bV7M5vcvTYc8TB0E3zeclwp 41/8670nFhZvHxF94m47MJ8pzhP79gbv5DUfGRKCPs3s9/ltjvaUU89jBNQANKbv3CHF eurA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Gb1Ci/peDFXem9KQH4YU7Ajcj0W54+LbHk+JTs6pzhc=; b=SUvYLijqbaqDpReVWnYb2qqXpx7I3KHIW2CSQc7Xs1jO2J/yBzUWJE9fLG+kiHqWyN n3QLrBgYxprhG949yRlQrQXqPZV4fFDmQYUdmLPw3m4dfLNeeP1ivHdf6oQ1yQLmkbU6 5ssLTcVeBTeVAYcDSKWLF8pu1cTI6rS1zirhRBIW86QeHH4SZqSB32lNHUcNRBhrCuUf O/zS7JOPRkTidqMANUXaqXrZI/c18gjvo8l4fmsf+NegOll34m9gJU/2QS5OwvrZCP8N qUNhggTYzUbPsOIDBMAhFKdmX4mFWB/sG7yAIMhTTBc8JVDc6w4POroTkOELiT89L/WU eUFg== X-Gm-Message-State: ANoB5plWGFwLiEAdHAcFy4ab8SOPD0wG2zT2Sg9FU1lFXNxcJsasWAUo D8D4TeBtppRlGY3XHqlOpjA= X-Google-Smtp-Source: AA0mqf4bqKwTMm/poacEbbnbaz1b85s0kV6pg/w2GLVW64PdSvJIQpi543GO23QSmuWnnclDXJC8+w== X-Received: by 2002:a17:906:18e2:b0:78d:f455:c381 with SMTP id e2-20020a17090618e200b0078df455c381mr37139173ejf.39.1671469016673; Mon, 19 Dec 2022 08:56:56 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id m18-20020a1709062ad200b0073dbaeb50f6sm4605585eje.169.2022.12.19.08.56.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Dec 2022 08:56:56 -0800 (PST) Message-ID: Date: Mon, 19 Dec 2022 17:56:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v4 3/5] dt-bindings: phy: add port node to phy-rockchip-inno-usb2.yaml To: heiko@sntech.de References: <7f38e245-4fc0-1754-e75c-10c1e31bbd4d@gmail.com> Content-Language: en-US In-Reply-To: <7f38e245-4fc0-1754-e75c-10c1e31bbd4d@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kishon@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, hjc@rock-chips.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, vkoul@kernel.org, robh+dt@kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Rockchip rk3399 a port node with one endpoint can be connected to a USB Type-C connector node. Add a port node to the phy-rockchip-inno-usb2.yaml file. Signed-off-by: Johan Jonker --- .../devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml | 5 +++++ 1 file changed, 5 insertions(+) -- 2.20.1 diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml index f71920082..ffc7e7560 100644 --- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml @@ -115,6 +115,11 @@ properties: required: - "#phy-cells" + port: + $ref: /schemas/graph.yaml#/properties/port + description: + Port node with one endpoint connected to a USB Type-C connector node. + required: - compatible - reg From patchwork Mon Dec 19 16:57:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13076877 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 BD37AC4332F for ; Mon, 19 Dec 2022 16:57:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C89A10E2DA; Mon, 19 Dec 2022 16:57:23 +0000 (UTC) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7E03410E2DB for ; Mon, 19 Dec 2022 16:57:14 +0000 (UTC) Received: by mail-ed1-x536.google.com with SMTP id m21so3285488edc.3 for ; Mon, 19 Dec 2022 08:57:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=kIy5s7RC8AaxDeyaGvZlKmpgc7tJJq7KaYed9ZtIYzo=; b=iKglceLNmpm1irnAm5RRAj07Ddb4fMJSondsKNS6Q31RnxA8mjeoWTv6oPmtfqvrXc j+ERWlUSshlqypOamf447O77jGgCATSNtECUyqesnW9GNPJEhaQwX3I+3T6c581L1gmR rQBBEnGzFmnuS1L7pSOYV8iyuZaOTDG9znMOmEeUkXUT9Xo6UngJSlH4dks4no9bhcNb onO+u+VuKPpvBkj/RgVPmB4HjhkufowWX0duOABfKzf7V1GN4asTERAcgrgJstNB8tGa YefUQtkW8GN5c4BH0cmiji2JGw4XI4LfieNbIc/GE6E7UJgQ2FNH1XjoF3Sm2AljlgwW oMyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kIy5s7RC8AaxDeyaGvZlKmpgc7tJJq7KaYed9ZtIYzo=; b=yg+gh6VfuCx/G4t1ZUaOzTJUuyXjfT3iSzj0XrGEexgwZlXdLQJVfZq03HfowjbNLS QnZwIdapdSTUJWfwuEtWAwvuLeyGcoINXj5Fl1zGoqD5XEVDBxD7tqVv01CLQDqw+hXJ SzMA7th+8JhYNWZrl5cG5FieB+Ftfy2iiNtvapngb4OJNaK86sIdUlJU7MczmwAoeTZM 4S0AHF1tFsMlzDAVevcQf9pYaO8w84JiTEWMAqz8pz3FJ3QsZM9vOTMR7nJC9aMi3qxy GhX4LW2qHa9JZl4nLBhgL+uNwKnOsmblxEfD8So8j7HoJnES3H57izeuv/TalTYXfZxb AAYQ== X-Gm-Message-State: ANoB5plKG/D3QL3BQ0h3kj1nkZD/g78mkapX2hUxq8JcOjTnwuaQaCDv Kc0CQIp1fTyen2OZWKSFEPQ= X-Google-Smtp-Source: AA0mqf61S7E1RbeVtjJAtBhuPuDmJprWomDuF86gXwRAGuXm7fqejx+R0qp9CgFeOJLF3abeDp9+qA== X-Received: by 2002:a05:6402:5511:b0:45c:835c:c6d3 with SMTP id fi17-20020a056402551100b0045c835cc6d3mr31251129edb.4.1671469032996; Mon, 19 Dec 2022 08:57:12 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id l20-20020aa7d954000000b0045ce419ecffsm4619030eds.58.2022.12.19.08.57.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Dec 2022 08:57:12 -0800 (PST) Message-ID: <460f4012-7a99-ae6a-ccdf-459773944998@gmail.com> Date: Mon, 19 Dec 2022 17:57:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v4 4/5] ARM: dts: rockchip: rk3288: add lvds_out node To: heiko@sntech.de References: <7f38e245-4fc0-1754-e75c-10c1e31bbd4d@gmail.com> Content-Language: en-US In-Reply-To: <7f38e245-4fc0-1754-e75c-10c1e31bbd4d@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kishon@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, hjc@rock-chips.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, vkoul@kernel.org, robh+dt@kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" With the conversion of rockchip,lvds.yaml a port@1 node is required, so add a node with label lvds_out. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3288.dtsi | 4 ++++ 1 file changed, 4 insertions(+) -- 2.20.1 diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 487b0e03d..60207136f 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -1170,6 +1170,10 @@ remote-endpoint = <&vopl_out_lvds>; }; }; + + lvds_out: port@1 { + reg = <1>; + }; }; }; From patchwork Mon Dec 19 16:57:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13076878 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 66986C4332F for ; Mon, 19 Dec 2022 16:57:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A2C6C10E2DB; Mon, 19 Dec 2022 16:57:34 +0000 (UTC) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 94B3510E2E3 for ; Mon, 19 Dec 2022 16:57:27 +0000 (UTC) Received: by mail-ed1-x52a.google.com with SMTP id d20so13843690edn.0 for ; Mon, 19 Dec 2022 08:57:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=PhS7akt6/5GjmmwqRvvKx92tJjukY5PHM/MpxFGF9Zc=; b=O6tqEZsEXSBDdaMX34qiTVIG/tCQZf3MHEbs5did8QH3VP+2Jlcupm0+WKd90mIeiy Bk65T3wxesG04szD7+xUhDEaB6cQnlihEjONTv6S5QnHc+ctVfPYu7I2hJhJQ/3V2beQ PWCqYW5ZJYFoc5QxT5/8l9lRQcgdTT8oi0X/OSCLH8jFhP8lZjSCD6pdopivuC0sSvaa hQND66rxBh6Pzr7nA8ECL5hW53QBPaP25K7LmWnw1l0zdwhP+6aQNHHBdM/aEEKWZ9kL xJzCfBCN4X7O2LWbYIEFPRaZb/NaaMkZtQSjQ+2EaAbkt6FRNmgI+JLc9E8yTVjV4Dye x2pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PhS7akt6/5GjmmwqRvvKx92tJjukY5PHM/MpxFGF9Zc=; b=b37gtcivEHPnmF1OeeMMzOvN/kkbm5NL5AFlP06ZvEYrSOUEtddlNWk5twUKxSZsBF D1fVOUrqYwidEhwZNK8WWeKk/zjMqiXebg5W6CudGRC2wGAj92bpIt1738AkpIDibBoG Lur/ICm70in7a9vT0frfLOPgu2o67dYOw+ebsuijLxUnFrZ1eny8UNpBQ+3c9MKQ4+nG Vgowp6gtB/sz8lux4zKTE1gtsHSP1XHWIATvfkyKaHGzZ5vY8oit4UDZNaPKr0U5uBs1 Qixu1hS26LJwM5tCE8BbMc6imXyYbmQQiW2ZIb/F8Lb2BAwv7ctoqUaw4WuTQcvkSnJc wBYw== X-Gm-Message-State: ANoB5pmxvpfOVbCbkuJY3mkWCbQpXO77eXXj6AvT+0XjSn38uWCHWgXk faeuBLlWLwH0hFTAtb8cvJU= X-Google-Smtp-Source: AA0mqf5amfEQflBYCgdGYyKTURYwp0xR5McAfORx30XNSIPPpUGv8Jy8egORwKoegqp/8goadXoj7g== X-Received: by 2002:a05:6402:289c:b0:461:bf47:ba43 with SMTP id eg28-20020a056402289c00b00461bf47ba43mr50547191edb.28.1671469046095; Mon, 19 Dec 2022 08:57:26 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id b23-20020a056402139700b0046c4553010fsm4633925edv.1.2022.12.19.08.57.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Dec 2022 08:57:25 -0800 (PST) Message-ID: Date: Mon, 19 Dec 2022 17:57:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 From: Johan Jonker Subject: [PATCH v4 5/5] arm64: dts: rockchip: px30: add lvds_out node To: heiko@sntech.de References: <7f38e245-4fc0-1754-e75c-10c1e31bbd4d@gmail.com> Content-Language: en-US In-Reply-To: <7f38e245-4fc0-1754-e75c-10c1e31bbd4d@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kishon@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, hjc@rock-chips.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, vkoul@kernel.org, robh+dt@kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" With the conversion of rockchip,lvds.yaml a port@1 node is required, so add a node with label lvds_out. Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/px30.dtsi | 4 ++++ 1 file changed, 4 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index bfa358042..eb414d0f8 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -468,6 +468,10 @@ remote-endpoint = <&vopl_out_lvds>; }; }; + + lvds_out: port@1 { + reg = <1>; + }; }; }; };