From patchwork Wed Dec 21 18:19:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079056 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 484E4C4332F for ; Wed, 21 Dec 2022 18:20:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 722D310E0AC; Wed, 21 Dec 2022 18:20:07 +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 ED6BE10E0AC for ; Wed, 21 Dec 2022 18:20:01 +0000 (UTC) Received: by mail-ej1-x62d.google.com with SMTP id kw15so38726706ejc.10 for ; Wed, 21 Dec 2022 10:20:01 -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=oICMjrhWPQNlOjRYsHXcTIDJG/XY6KY3jXRiCxaOR5k=; b=mpMpTYrKmvQKR45tEnN8rPjjRK2vmIyCfoHuZoMGcECzjqRp4GJN2fNZXghPxL3bci QpY5Yz69D0wlVf9Dhr+NrGYjVZE4uJt7vtKQd2S8rQz9N0evrn2sSS7JxOwVDrFwZdFW yA0cjs/4kWDas+eb6bvKwuFKAMopNyHDdsy7Ii233hZQJAfFtDVoQGn+BYi8IdzhDaKB 5VVSegRY0YP8/pczOH8wWSDr/9JGWWUswoNSFn+7s5E+a1Oa284qPX23fstwLeuyhItz X9wO0Y+djEYgB9VAIxU02ujfvHr3yAQWegOF/0YSbGHR+9A4AZkV7Nz+7TVs/mdTcG+C hfwg== 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=oICMjrhWPQNlOjRYsHXcTIDJG/XY6KY3jXRiCxaOR5k=; b=Fkkccx+SRtagC+/h/s415X0OkH/3YHOwXIMftZxeLe8OxWjfHl0zVQ0CJh4gPsAYoo gB67hy8i5XsVxnp6Nsi54mfGbDYUQohumbV/nXgHDvgdoR2qjXPaIeLF8TCIDcRRRkx4 NZ574dLZNfrseXsanWlEBTi3L2q2S2nioT/p6qKEhoaesJkcRTHhgYJnFfGesmjZsf6v Y0Nm2Viqw5WOz3pmM6KmOlsvvb+V33Xu6mGly//gHzlGSEl3g7iVAl/ExjUaUeS0K1E3 irAVqoTIGGWO7ObrjPFygHB9L/BRC0xO5/QeVFbN4TA7IZm6wODGILDZF6iH1MfU8m7x CBfQ== X-Gm-Message-State: AFqh2krtFNN5Cf9y7i2rsOkdUNcHZHMZxoLLADZzJbIKo87Q7OuPZ9Wy o4eoVEUQAVrw5Oejf950QHk= X-Google-Smtp-Source: AMrXdXueXAVF4LxAnfZfIoZqqygUHnsTiu71LNBrRqH4gnVAe46GpLxicVSVa4DX40viLigQbIf0Ow== X-Received: by 2002:a17:907:9d19:b0:7b9:f9d8:9554 with SMTP id kt25-20020a1709079d1900b007b9f9d89554mr2016613ejc.40.1671646800337; Wed, 21 Dec 2022 10:20:00 -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 h17-20020a170906111100b007bff9fb211fsm7463148eja.57.2022.12.21.10.19.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:19:59 -0800 (PST) Message-ID: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Date: Wed, 21 Dec 2022 19:19:58 +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 v5 01/12] 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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com 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 Wed Dec 21 18:21:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079082 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 D34D5C4332F for ; Wed, 21 Dec 2022 18:21:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3309E10E12E; Wed, 21 Dec 2022 18:21:51 +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 8B4E110E12E for ; Wed, 21 Dec 2022 18:21:49 +0000 (UTC) Received: by mail-ej1-x62d.google.com with SMTP id gh17so38819313ejb.6 for ; Wed, 21 Dec 2022 10:21:49 -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=LnWhFDszNMI8+kb0kwDjwW0IO0VieHrS+DBjt8KEoSM=; b=e4QXwP2bOGr70buxskh5jSIRLAz2fiCw6a7TkqnVMqf6kQc8erSqQoBaELH2aH2bGX +OhWrtWxvzzLnS4EB1Z/WItKht8rqJDCaWex1meDWrYXa+Rf8K27ungyyTEdfZdQGr0/ TZ+GcobpkVXE+RRBF5vSnCiQM2VR3LlrIu8ezR3P99wcT79A6f6OxtpIiQecSh66Em5m /y+c7mQFXe4qETizgKgslXpVumXoWgFysiRxzVdA+7G5bKOyDfpvFFhsRI26ZfqeBWeK 2NeZhumocnv5e9v9/P1kVF9Bw3OmtPJflSyrRz+e7GHe7amNV/B8NYXMQSZTkY2RPuyi 0l2g== 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=LnWhFDszNMI8+kb0kwDjwW0IO0VieHrS+DBjt8KEoSM=; b=lm72y/uSuD/F8xxYIfJ2q2lhLWOJW6zOUlRki43SW4SPxdpqzH950+9YMKvBlmnEek T+y+ximeIa3IxYpgxq44tis/qqwEIrEamd3tNXD800683PKScv6obReIJeS/7xvYvfid rPdCRQGVu6CTmYWqACCJd6nDAiGzX//UGPH3KpY+GrYDb/90aq3Sz9EbD+EQZvvaMNgS Hic+OptdLt2xj8NC62FTKIUR1J6qzKPhYXzztRtX3S8x6sSo4tPKlo35yKlLi7fstgbz uZUADhaR8JxPDh+FGMIZpFA0CQGoIlwcLpaey7gcvRcXYscqrm060eTTSEhmPK2BEKFv hlPw== X-Gm-Message-State: AFqh2kqjuuEjbu3dlD9Cn4vTPTq6SSZMUzQe+DvhhmCP/xKAg6dM+xvb 9+AvQ8vm5bqUnCsaLgwx63c= X-Google-Smtp-Source: AMrXdXvErNmURo35q8fo78e8suJHy6UEA0KsAxDbpARLlpS4MeoU//sFxO9B6BpmqIFm1jNcxrASHg== X-Received: by 2002:a17:907:a0d0:b0:7c1:55aa:2e84 with SMTP id hw16-20020a170907a0d000b007c155aa2e84mr2166799ejc.1.1671646908172; Wed, 21 Dec 2022 10:21:48 -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 e22-20020a17090681d600b007c0d0dad9c6sm7424130ejx.108.2022.12.21.10.21.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:21:47 -0800 (PST) Message-ID: Date: Wed, 21 Dec 2022 19:21:46 +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 v5 02/12] dt-bindings: soc: rockchip: grf: add rockchip,lvds.yaml To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com 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 --- Changed V5: Drop the quotes --- .../devicetree/bindings/soc/rockchip/grf.yaml | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) -- 2.20.1 diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml index 2ed8cca79..7ac9aa5fa 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: @@ -109,7 +113,7 @@ allOf: usbphy: type: object - $ref: "/schemas/phy/rockchip-usb-phy.yaml#" + $ref: /schemas/phy/rockchip-usb-phy.yaml# unevaluatedProperties: false @@ -124,14 +128,14 @@ allOf: gpio: type: object - $ref: "/schemas/gpio/rockchip,rk3328-grf-gpio.yaml#" + $ref: /schemas/gpio/rockchip,rk3328-grf-gpio.yaml# unevaluatedProperties: false power-controller: type: object - $ref: "/schemas/power/rockchip,power-controller.yaml#" + $ref: /schemas/power/rockchip,power-controller.yaml# unevaluatedProperties: false @@ -146,7 +150,7 @@ allOf: mipi-dphy-rx0: type: object - $ref: "/schemas/phy/rockchip-mipi-dphy-rx0.yaml#" + $ref: /schemas/phy/rockchip-mipi-dphy-rx0.yaml# unevaluatedProperties: false @@ -174,7 +178,7 @@ allOf: reboot-mode: type: object - $ref: "/schemas/power/reset/syscon-reboot-mode.yaml#" + $ref: /schemas/power/reset/syscon-reboot-mode.yaml# unevaluatedProperties: false @@ -200,7 +204,7 @@ allOf: "usb2phy@[0-9a-f]+$": type: object - $ref: "/schemas/phy/phy-rockchip-inno-usb2.yaml#" + $ref: /schemas/phy/phy-rockchip-inno-usb2.yaml# unevaluatedProperties: false @@ -228,7 +232,7 @@ allOf: io-domains: type: object - $ref: "/schemas/power/rockchip-io-domain.yaml#" + $ref: /schemas/power/rockchip-io-domain.yaml# unevaluatedProperties: false From patchwork Wed Dec 21 18:22:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079083 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 858A7C4332F for ; Wed, 21 Dec 2022 18:22:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E1E0810E14D; Wed, 21 Dec 2022 18:22:26 +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 24DF910E14D for ; Wed, 21 Dec 2022 18:22:24 +0000 (UTC) Received: by mail-ej1-x635.google.com with SMTP id kw15so38741048ejc.10 for ; Wed, 21 Dec 2022 10:22:24 -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=W4nOKqhNPXfITegWM0HPaQGxnW8/92aWSrG5eL1mdYs=; b=WS7DOe9L1ApSdC1ztqO0WTPbyxOZiwOS3jhJaizn9q35gbYYipyGyQaN3Xjwbqa6gX gLxxRvYXGffVsfpTSZ47mY8bjzVvO4IL42t25g9Tb7l+/TSu9qystwjIf/PIY2nwAGuA i4bFKkjZts8Jeq3K0amomR8Z/wtRX+iwEoR5/70rsGd4UirlBH3cTD/QddhkrydF4qdb uMS6tOZTYm4GNfO3JE4myOYafJX/mYvpR2NchMnV/yUdsgyopxkwCyI20lj6/xWWC6l/ RpL9jGxQWojGjB4b1FiZLxlR6weI4J+w2SPmL/NR4aJ6ml8mTDGLwJxieSi2SLpAX1fC OmnA== 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=W4nOKqhNPXfITegWM0HPaQGxnW8/92aWSrG5eL1mdYs=; b=QutFwehLKS4iQAjiJ/vuXDuYMJZgltuOF8Pp3AC4/bwb/QKCEQV2HST8YKb3VMH4P4 NnLNZ1WUe9yAEIpntOcU49XJGgFUAOGIYuyTEcVG8H0WEpdKL2FqJX1vWwfZcNoVNqMo BHOMgUuKHd85C7t9Yv8C0Hg8GtR/G6z4H1LuOwRzd8YPdr+ZeYIEIjPPX8NsX7hmcVQq tu63rufnrLpQvqoMT9b4ssda6v3n+xMw+ShcvRXeXpyrnISAGC6pVjRZLK/l0g5n4kbD F4USoaK/hX+pzz4/EUTH0hpBwU5+naw155f6SO8o9oxalBABzg+AkHKCGEIP7jBSRj52 Te0g== X-Gm-Message-State: AFqh2kpBCHupEUtYUYjPs4+Uww+4iVGJhlc90UT+yyiuMFKpCPU6kqrJ uMXAdzoP8ueeFDzWadco6O0= X-Google-Smtp-Source: AMrXdXuMRe3FeX5W6S5TKc7LVJDAVywrUoyC2qybAwz+q/HlkbXkjDrO0bxeEuUsOC6ZkOqLRGjNXg== X-Received: by 2002:a17:906:d052:b0:7be:e26a:6104 with SMTP id bo18-20020a170906d05200b007bee26a6104mr2006728ejb.52.1671646942588; Wed, 21 Dec 2022 10:22:22 -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 kv20-20020a17090778d400b0082535e2da13sm4302105ejc.6.2022.12.21.10.22.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:22:22 -0800 (PST) Message-ID: <899d3a39-19bf-519d-a863-bd7ca1e7c033@gmail.com> Date: Wed, 21 Dec 2022 19:22:21 +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 v5 03/12] dt-bindings: display: bridge: snps, dw-mipi-dsi: fix clock properties To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix clock properties from the common snps,dw-mipi-dsi.yaml file, as they don't match with what is used on the SoCs. Signed-off-by: Johan Jonker Reviewed-by: Rob Herring --- .../display/bridge/snps,dw-mipi-dsi.yaml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml index 11fd68a70..0b51c64f1 100644 --- a/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml +++ b/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml @@ -26,19 +26,9 @@ properties: reg: maxItems: 1 - clocks: - items: - - description: Module clock - - description: DSI bus clock for either AHB and APB - - description: Pixel clock for the DPI/RGB input - minItems: 2 - - clock-names: - items: - - const: ref - - const: pclk - - const: px_clk - minItems: 2 + clocks: true + + clock-names: true resets: maxItems: 1 From patchwork Wed Dec 21 18:22:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079084 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 D019BC4332F for ; Wed, 21 Dec 2022 18:23:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1AE1E10E46A; Wed, 21 Dec 2022 18:23:00 +0000 (UTC) Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by gabe.freedesktop.org (Postfix) with ESMTPS id 865D410E46A for ; Wed, 21 Dec 2022 18:22:57 +0000 (UTC) Received: by mail-ej1-x631.google.com with SMTP id u19so38790985ejm.8 for ; Wed, 21 Dec 2022 10:22:57 -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=c4dv6oXXbV7Yt+cuvCfN1yeTgdyhuF7tNIy93Tdm9mk=; b=DmVkimDCv1RMHx8zNuIr0hVmUGcTSb6GmmNA4S40jRxR8n2siE7MVgu9/4G99YQOvq BXKc0yzlEVQM1wbj++xgOfvEjtQzyojxRa6Jcg5NzYpjuBPCMyAxOx01rNGUEQI8ARFb cfgwgcipt0NQQRLyATWpmqRXROFfgwjaNDhtlr4QE48N2XM3UtwPWLj9ijXkycxSXWDi AbNZxOh/ewYd5eFLYB/Z38fmuu+x8IlXUFInWxwAlShXdAZ5TIJBTCKaV7BRzu1jBs0h jPsHVDr4NQRpJK9hz1mmq+9omqRZoNPd2pj6++AfWOrMbpfsZE9WigNk61ANNiaGKp1r Tx9A== 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=c4dv6oXXbV7Yt+cuvCfN1yeTgdyhuF7tNIy93Tdm9mk=; b=gBY24soUMpgPOGeGbPE93LDb5ACv35LLR+K1i9yGzmWqj3WQLq/JMHs3Gnb32a9wE6 GnlcikW2DrK9nw1wNc5HFKxkND1ABxh9bvZdPZnJdg4UB+BVV4rwai6M1Pe/EWQPcgeO npQkGs/+GSqtBvOfLV964V7jpg6uHEV2udx0tTCdckRIYK8M9H/eOJPRHvyn/B54nAYG fH2E6Po9BCVnNOJAH9Oid+IePLxCKKvI6RWkorb+ywyh/KLPd56mMNGq/peVLQDF1tfD WX7JOMUBKJfYv6JprZrBJMeSJ5v5LcTeaPHvE1NTdxnQ/jKnP0FRRAcJy7rp8PW0Uymp hJjQ== X-Gm-Message-State: AFqh2kprFe5D/xqf/cmPJXAdmmIvtQD4c+g3cuuTNpIgDCh+I/RrrFmQ szT1+m8u86JJ6RqFPUp7oFSS3r2O2cc= X-Google-Smtp-Source: AMrXdXs1vg0yOHrTah3eRj6np8cbFX7VZxcmDGffGyzNYZCO/0Y9P7kTis2rdk8JzcuufMDtYQCr1w== X-Received: by 2002:a17:907:970a:b0:7c0:fd1a:79ee with SMTP id jg10-20020a170907970a00b007c0fd1a79eemr3338905ejc.63.1671646976095; Wed, 21 Dec 2022 10:22: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 a9-20020a17090682c900b007c09d37eac7sm7352055ejy.216.2022.12.21.10.22.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:22:55 -0800 (PST) Message-ID: <245d4cd5-819c-8c6f-c448-107936ec9e88@gmail.com> Date: Wed, 21 Dec 2022 19:22:54 +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 v5 04/12] dt-bindings: display: rockchip: convert dw_mipi_dsi_rockchip.txt to yaml To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert dw_mipi_dsi_rockchip.txt to yaml. Changed: add clock-master property file name requirements Signed-off-by: Johan Jonker --- .../display/rockchip/dw_mipi_dsi_rockchip.txt | 94 ---------- .../rockchip/rockchip,dw-mipi-dsi.yaml | 173 ++++++++++++++++++ 2 files changed, 173 insertions(+), 94 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt create mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt deleted file mode 100644 index 9a223df85..000000000 --- a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt +++ /dev/null @@ -1,94 +0,0 @@ -Rockchip specific extensions to the Synopsys Designware MIPI DSI -================================ - -Required properties: -- #address-cells: Should be <1>. -- #size-cells: Should be <0>. -- compatible: one of - "rockchip,px30-mipi-dsi", "snps,dw-mipi-dsi" - "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi" - "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi" - "rockchip,rk3568-mipi-dsi", "snps,dw-mipi-dsi" -- reg: Represent the physical address range of the controller. -- interrupts: Represent the controller's interrupt to the CPU(s). -- clocks, clock-names: Phandles to the controller's pll reference - clock(ref) when using an internal dphy and APB clock(pclk). - For RK3399, a phy config clock (phy_cfg) and a grf clock(grf) - are required. As described in [1]. -- rockchip,grf: this soc should set GRF regs to mux vopl/vopb. -- ports: contain a port node with endpoint definitions as defined in [2]. - For vopb,set the reg = <0> and set the reg = <1> for vopl. -- video port 0 for the VOP input, the remote endpoint maybe vopb or vopl -- video port 1 for either a panel or subsequent encoder - -Optional properties: -- phys: from general PHY binding: the phandle for the PHY device. -- phy-names: Should be "dphy" if phys references an external phy. -- #phy-cells: Defined when used as ISP phy, should be 0. -- power-domains: a phandle to mipi dsi power domain node. -- resets: list of phandle + reset specifier pairs, as described in [3]. -- reset-names: string reset name, must be "apb". - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt -[2] Documentation/devicetree/bindings/media/video-interfaces.txt -[3] Documentation/devicetree/bindings/reset/reset.txt - -Example: - mipi_dsi: mipi@ff960000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi"; - reg = <0xff960000 0x4000>; - interrupts = ; - clocks = <&cru SCLK_MIPI_24M>, <&cru PCLK_MIPI_DSI0>; - clock-names = "ref", "pclk"; - resets = <&cru SRST_MIPIDSI0>; - reset-names = "apb"; - rockchip,grf = <&grf>; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - mipi_in: port@0 { - reg = <0>; - #address-cells = <1>; - #size-cells = <0>; - - mipi_in_vopb: endpoint@0 { - reg = <0>; - remote-endpoint = <&vopb_out_mipi>; - }; - mipi_in_vopl: endpoint@1 { - reg = <1>; - remote-endpoint = <&vopl_out_mipi>; - }; - }; - - mipi_out: port@1 { - reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - - mipi_out_panel: endpoint { - remote-endpoint = <&panel_in_mipi>; - }; - }; - }; - - panel { - compatible ="boe,tv080wum-nl0"; - reg = <0>; - - enable-gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; - pinctrl-0 = <&lcd_en>; - backlight = <&backlight>; - - port { - panel_in_mipi: endpoint { - remote-endpoint = <&mipi_out_panel>; - }; - }; - }; - }; diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml new file mode 100644 index 000000000..441e283b8 --- /dev/null +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml @@ -0,0 +1,173 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/rockchip/rockchip,dw-mipi-dsi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip specific extensions to the Synopsys Designware MIPI DSI + +maintainers: + - Sandy Huang + - Heiko Stuebner + +properties: + compatible: + items: + - enum: + - rockchip,px30-mipi-dsi + - rockchip,rk3288-mipi-dsi + - rockchip,rk3399-mipi-dsi + - rockchip,rk3568-mipi-dsi + - const: snps,dw-mipi-dsi + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 4 + + clock-names: + oneOf: + - minItems: 2 + items: + - const: ref + - const: pclk + - const: phy_cfg + - const: grf + - const: pclk + + clock-master: + type: boolean + description: + As described in the general dual-dsi devicetree binding the panel should + define two input ports and point each of them to one of the used + dsi-controllers, as well as declare one of them as clock-master. + + rockchip,grf: + $ref: /schemas/types.yaml#/definitions/phandle + description: + This SoC uses GRF regs to switch between vopl/vopb. + + phys: + maxItems: 1 + + phy-names: + const: dphy + + "#phy-cells": + const: 0 + description: + Defined when in use as ISP phy. + + power-domains: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +required: + - compatible + - clocks + - clock-names + - rockchip,grf + +allOf: + - $ref: ../bridge/snps,dw-mipi-dsi.yaml# + - if: + properties: + compatible: + contains: + enum: + - rockchip,px30-mipi-dsi + - rockchip,rk3568-mipi-dsi + + then: + properties: + clocks: + maxItems: 1 + + clock-names: + maxItems: 1 + + required: + - phys + - phy-names + + - if: + properties: + compatible: + contains: + const: rockchip,rk3288-mipi-dsi + + then: + properties: + clocks: + maxItems: 2 + + clock-names: + maxItems: 2 + + - if: + properties: + compatible: + contains: + const: rockchip,rk3399-mipi-dsi + + then: + properties: + clocks: + minItems: 4 + + clock-names: + minItems: 4 + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + mipi_dsi: dsi@ff960000 { + compatible = "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi"; + reg = <0xff960000 0x4000>; + interrupts = ; + clocks = <&cru SCLK_MIPIDSI_24M>, <&cru PCLK_MIPI_DSI0>; + clock-names = "ref", "pclk"; + resets = <&cru SRST_MIPIDSI0>; + reset-names = "apb"; + rockchip,grf = <&grf>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + mipi_in: port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + mipi_in_vopb: endpoint@0 { + reg = <0>; + remote-endpoint = <&vopb_out_mipi>; + }; + mipi_in_vopl: endpoint@1 { + reg = <1>; + remote-endpoint = <&vopl_out_mipi>; + }; + }; + + mipi_out: port@1 { + reg = <1>; + + mipi_out_panel: endpoint { + remote-endpoint = <&panel_in_mipi>; + }; + }; + }; + }; From patchwork Wed Dec 21 18:23:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079085 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 A2F12C4332F for ; Wed, 21 Dec 2022 18:23:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 044BE10E46D; Wed, 21 Dec 2022 18:23:49 +0000 (UTC) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3522810E1D1 for ; Wed, 21 Dec 2022 18:23:46 +0000 (UTC) Received: by mail-ej1-x629.google.com with SMTP id ud5so38839231ejc.4 for ; Wed, 21 Dec 2022 10:23:46 -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=I8bHMUqENRt0vHg2+ln10JPBh/wNz9sMNq+zKIXFVzY=; b=F1We4HR4kaz9DAtLcoLZlAZ8ezAcRL+vFHXFCFq9L2rdsQFBkDOa6PsRjRMCSZdu4O bG3GmcD1fEWI7WQ6v7+hmIg8tVK1XhIWIm/0/qsrpg+RvaHWdTNCmrQ1+538wrrWcAGn xRn8xDjhurrxURajLVCfuHGmTHwnnnUtZwlFLUu88UYZvBnqOKGZXuWW2etehJvAxPNY EsZiCUCod1hVM+/8EkGNs3+eCJ/Vs+ZT9Rss7L6I7JuG7+xcBTdx9x+C0E4Y+PlvRy2t JALyWQSoKu4XrUN6T+T2+oEMp/QSutJfir7nEy5+dAYGgOIUC+41tsAEUNQcYTCwAWww qUig== 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=I8bHMUqENRt0vHg2+ln10JPBh/wNz9sMNq+zKIXFVzY=; b=ey6OU5eQqmIYvlvJJxJFmaTo/WfPsDke09vpHAcKjd3fzikb4H6uYvcLvVOt+9mh1S C28K1v9Ec8dzsCyFa+umBSrqhbBI9NfdIi8AmIQx8FVBsbOF9tzPOXBtapeTHBJNvXuA 80Q2jBPl3EGSU8Z4b4rAZiiHxol2qAngFIdPYTM8W1jK5VxwidVdapfrQMpkmVMxky4p JVaaB8b8H918EQJp+bOpkyd9uMWFCDmqFUTvPk50xHeueAaJudWhL+q/PsnDQ96RAH02 J/sqEWOPQ1r6DQrbJozBwvqUZArmDe1pDrS5FoKxfl8ji54sK6X8T6Ddcc6YCyE0Fpdv iPGw== X-Gm-Message-State: AFqh2kqjV+VY8VwxKlzVN3u4rkAIjAYYov/KG2YL/UORaXpxjShS7CMG Mmgq28FSVlao7RyIzgD8a7w= X-Google-Smtp-Source: AMrXdXsxUOH/lAF8WRHYe33yxE8xdirpltA08OXaL7of17FvVtMHNrIjxtHjPmygwWrZSToTHaTKUg== X-Received: by 2002:a17:906:1410:b0:7c0:eba3:e2e with SMTP id p16-20020a170906141000b007c0eba30e2emr2006134ejc.31.1671647024682; Wed, 21 Dec 2022 10:23:44 -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 k4-20020aa7c044000000b0046856c307d0sm7388176edo.5.2022.12.21.10.23.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:23:44 -0800 (PST) Message-ID: Date: Wed, 21 Dec 2022 19:23:43 +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 v5 05/12] dt-bindings: usb: convert fcs,fusb302.txt to yaml To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert fcs,fusb302.txt to yaml. Changed: Add vbus-supply property Signed-off-by: Johan Jonker --- .../devicetree/bindings/usb/fcs,fusb302.txt | 34 ---------- .../devicetree/bindings/usb/fcs,fusb302.yaml | 66 +++++++++++++++++++ 2 files changed, 66 insertions(+), 34 deletions(-) delete mode 100644 Documentation/devicetree/bindings/usb/fcs,fusb302.txt create mode 100644 Documentation/devicetree/bindings/usb/fcs,fusb302.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/usb/fcs,fusb302.txt b/Documentation/devicetree/bindings/usb/fcs,fusb302.txt deleted file mode 100644 index 60e465429..000000000 --- a/Documentation/devicetree/bindings/usb/fcs,fusb302.txt +++ /dev/null @@ -1,34 +0,0 @@ -Fairchild FUSB302 Type-C Port controllers - -Required properties : -- compatible : "fcs,fusb302" -- reg : I2C slave address -- interrupts : Interrupt specifier - -Required sub-node: -- connector : The "usb-c-connector" attached to the FUSB302 IC. The bindings - of the connector node are specified in: - - Documentation/devicetree/bindings/connector/usb-connector.yaml - - -Example: - -fusb302: typec-portc@54 { - compatible = "fcs,fusb302"; - reg = <0x54>; - interrupt-parent = <&nmi_intc>; - interrupts = <0 IRQ_TYPE_LEVEL_LOW>; - - usb_con: connector { - compatible = "usb-c-connector"; - label = "USB-C"; - power-role = "dual"; - try-power-role = "sink"; - source-pdos = ; - sink-pdos = ; - op-sink-microwatt = <10000000>; - }; -}; diff --git a/Documentation/devicetree/bindings/usb/fcs,fusb302.yaml b/Documentation/devicetree/bindings/usb/fcs,fusb302.yaml new file mode 100644 index 000000000..9b172fda9 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/fcs,fusb302.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/fcs,fusb302.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Fairchild FUSB302 Type-C Port controller + +maintainers: + - Rob Herring + +properties: + compatible: + const: fcs,fusb302 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vbus-supply: + description: VBUS power supply + + connector: + type: object + $ref: /schemas/connector/usb-connector.yaml# + +required: + - compatible + - reg + - interrupts + - vbus-supply + - connector + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + fusb302: typec-portc@54 { + compatible = "fcs,fusb302"; + reg = <0x54>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + vbus-supply = <&vbus_typec>; + + usb_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <10000000>; + }; + }; + }; From patchwork Wed Dec 21 18:24:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079086 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 4F773C4332F for ; Wed, 21 Dec 2022 18:24:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5165410E472; Wed, 21 Dec 2022 18:24:20 +0000 (UTC) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by gabe.freedesktop.org (Postfix) with ESMTPS id 394BA10E472 for ; Wed, 21 Dec 2022 18:24:17 +0000 (UTC) Received: by mail-ej1-x629.google.com with SMTP id ud5so38842416ejc.4 for ; Wed, 21 Dec 2022 10:24:17 -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=lvcQjc1tSN+WqGFd2a+LQfMGe/jMGY/EiDX8AEMXwKA=; b=hsnKVAvJjTm/vH8ROKf0lkdPYG/7tVxNV4QRv9Wt419AAMTXG1RyIoWqpPrYlboYDL G+En2avRFUjXEw+mY9ehTVjyl/g3QE3P9/dyWPehv6jMxGQkyrCt6gsy9LCvm5cVnfeh yBB7k+nj787nK+wQ5P/muiBYTzsPTxv9UED0q2iTJH5walJPoVSSxAk+Gw1BdkJ9J7YQ OqMEEBmjhCzvcUq5dk59x4cVFiDM6UY5KuzdYxMswSmHmhiPfoCsqlRdlUEbBnzIDzVu 0BSlC0Fg1WC9lZxoUlmZC9T5pWQoFYIi75t9NDwVKWUulP6jOcnx79Im+mkAmI0LjvdM cVTQ== 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=lvcQjc1tSN+WqGFd2a+LQfMGe/jMGY/EiDX8AEMXwKA=; b=ShEGuMwS6XN0ZY6qim/HIse7RZRVLVP54mZLk94odWzW9QOyIfyPbSvgk+03TiCNk+ belwIvZMLQT1DUOqmw2RaCSLTq/ionKs6iBeINxJsxdSDVzuC2kNmmfFQhUCo6q0RO2/ peO1MUGciLuglmEh5bYHkeEhgMUyqrTzU+uwiMBYlakQ4moKOM8XBDn36aozaJ2LUilS NMPYTG2VbonbgZm4+NeVsPmeD/z17l26CAyj+lpG/UQA6vkAmbXjxdFCsmU7siYyqPo1 UyaIDmmChSTpbBfidMDJv18tdzNTQ0SqFJyH16X/ek7bWrwxfyfgnE8M6+YyszpkaVG6 jWNw== X-Gm-Message-State: AFqh2ko7aR9HRnOJmPUw+3UtpcuUm7JMZa4wy8dua/ctDv72M2dulqvc FelWsxZFVt2YskkDjJgCy1E= X-Google-Smtp-Source: AMrXdXv1K172bwT5L/tl5YVDCw1ihZJT7aJ7HP+WwaYs4jknJoZSk8wkCqixuBvSgTEK+37mI9z2FQ== X-Received: by 2002:a17:906:850c:b0:7c0:f4f8:582a with SMTP id i12-20020a170906850c00b007c0f4f8582amr2389986ejx.52.1671647056884; Wed, 21 Dec 2022 10:24:16 -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 bq15-20020a170906d0cf00b007933047f923sm7281632ejb.118.2022.12.21.10.24.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:24:16 -0800 (PST) Message-ID: Date: Wed, 21 Dec 2022 19:24:15 +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 v5 06/12] ARM: dts: rockchip: rk3288: fix dsi node To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Use generic node name for rk3288.dtsi dsi node. With the conversion of rockchip,dw-mipi-dsi.yaml a port@1 node is required, so add a node with label mipi_out. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3288.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 487b0e03d..c22f90e53 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -1114,7 +1114,7 @@ status = "disabled"; }; - mipi_dsi: mipi@ff960000 { + mipi_dsi: dsi@ff960000 { compatible = "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi"; reg = <0x0 0xff960000 0x0 0x4000>; interrupts = ; @@ -1137,6 +1137,10 @@ remote-endpoint = <&vopl_out_mipi>; }; }; + + mipi_out: port@1 { + reg = <1>; + }; }; }; From patchwork Wed Dec 21 18:24:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079087 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 581E8C10F1D for ; Wed, 21 Dec 2022 18:24:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4B23E10E473; Wed, 21 Dec 2022 18:24:57 +0000 (UTC) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 04C9510E473 for ; Wed, 21 Dec 2022 18:24:54 +0000 (UTC) Received: by mail-ej1-x62a.google.com with SMTP id fc4so38715610ejc.12 for ; Wed, 21 Dec 2022 10:24:53 -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=Mj8JvHtlFXNgsizQJkT37AcYJIDfVlJOqhJ0wEsXlLA=; b=iJb3ola/qEjyOWpzkP8dM1EAuZT5yhuF3+T4qFfi646wXhG86WZsUz4jbRQp5aZ+0n nI4u+qMUvzQQeEbm0ptRpBvIMqu90KSqeVxsyNzG/hRZEOJ23kyiRroVkLSnG2STD6zr ivNck3b/aka/OOV+1aN3ljYfbmtVKu3P8olwsncCoTbnrwqevO5w4nCI0uI/FICcv592 Byq2V8pwSTgBBUJBkjjTPRb2sQ6LXnE1U8y5Bj8v9+WcHWJuyDyizfVFEQ7rpILsx06o wc0L0RIGphT+VSR0wR5RyO88tPhwdwDqnFhhuwNwtPiJ2XzU24oRWB37v3o00DfjWBZu QnWQ== 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=Mj8JvHtlFXNgsizQJkT37AcYJIDfVlJOqhJ0wEsXlLA=; b=g74IS3yc+jdDiIZjr3IaOIu9NaotLfWwCRDMabTRBKEsjVUd0+1hvuJ6aIHXuJ7wIz It0Xaoy8oO8hYgHPNCggawBsZXszo4enDbkTGXVHUgll294tJDE16SQFYB3gmMgsE2WK fnpVS7A4RgfTqy/7HyHd8DMEnyk6BAcD40GD4FjjKsBXpWRsiJewtmMm6yv1JLycgrb8 dVgbI6syqHTfzrGfqMi68+A2qQBu+h5xL39shA4dxxPh/8Nv21chZ+uvI1WTOpFLCYsM AyIDcpP8Q887MiUUtOu5/vI5qofr0mktiEFZ6UeQDvgri1gY5szrEiGy9OxBn80aUJXp UMXw== X-Gm-Message-State: AFqh2krXEdF/EWjdxIJwkEro/U/fqWCrQBwOFGmQxlg1NQm5VctMG5Wm jeA1nNAvipg2Hx6h6f5B0Fw= X-Google-Smtp-Source: AMrXdXtM88dtxlfmxBgWts0v5ArGwbTEWnL/kV0EPA93J2FfNjRKV/Xs4K2kE/BXvkonB0Tr8/i+2A== X-Received: by 2002:a17:906:700f:b0:7c0:d1cb:2165 with SMTP id n15-20020a170906700f00b007c0d1cb2165mr2028252ejj.56.1671647092517; Wed, 21 Dec 2022 10:24:52 -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 o26-20020a170906769a00b0073d71792c8dsm7435482ejm.180.2022.12.21.10.24.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:24:52 -0800 (PST) Message-ID: <4f0a828a-a933-24fa-c97e-ca29eac9c881@gmail.com> Date: Wed, 21 Dec 2022 19:24:50 +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 v5 07/12] ARM: dts: rockchip: rk3288: fix lvds node To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com 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 --- Changed V5: rename title --- 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 c22f90e53..cedaa633d 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -1174,6 +1174,10 @@ remote-endpoint = <&vopl_out_lvds>; }; }; + + lvds_out: port@1 { + reg = <1>; + }; }; }; From patchwork Wed Dec 21 18:25:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079088 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 049D8C41535 for ; Wed, 21 Dec 2022 18:25:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 24BD910E474; Wed, 21 Dec 2022 18:25:26 +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 AF42310E47B for ; Wed, 21 Dec 2022 18:25:23 +0000 (UTC) Received: by mail-ed1-x536.google.com with SMTP id a16so23189683edb.9 for ; Wed, 21 Dec 2022 10:25:23 -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=bW6Hd9ovFsWCrzyECcvTbdEVVhvmMqsQBtWMpTHrRQw=; b=c6PLr84dzk55g4TInxedeMSL6DbBADfkbaE+qIPw3Qn+5j/qhJXOmQTG6hY/PcWH8g aDf37hQlbTXxU9q/kwcsm9XhbVdr6PkKPBho3MCvFt6nuKNekmSjx8t9XxODZFvuUK/1 v01moJBqkKUha+/niV0yAX4n3hegzpLt3xRcCzlpONPs6QRfL7QilSk3U9Q7JsL0QQgI j0nk5iTi4emDiCAp3FxPXwq6zpfy+/nHAhnPn4Z7ujR1zKW0js/54wGdhh7RdpN7W9ma vWBzBfy1d24O388Zv6R7p804WcYvsE853PdgOReHLNwpHaExWEUqprsJZ86m0XDSTEda ePAg== 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=bW6Hd9ovFsWCrzyECcvTbdEVVhvmMqsQBtWMpTHrRQw=; b=BrmhxUswGoF6jgBVQIUTsKkCxqRkwkVrOwvBlR5+ZfOPaA0mgaRUpNUjU//L9AocYh 1veRyDUy8UlelLO4ZlSgD7myc2Bl+mc/lamsZF6fZ7WvQcTNlVhEkicSqEXJFBVCgUcT f4fakTxei22Ih+qxapdcyXcKwDcjI/e+BcSyFgmIOU7RsrdF2Z1ozgypMCmJdCXOFOz7 SxqXKpN7Dv8CVyjbhVZEVDLoU1rExG2fAwEn3YCwK/hezasGfBMi0kg40h4tbS8OzNEX RFxFh8Fc009cFlKWiWC7Kt6ecESafAXqU9vTp1OhqIZSTP5nSH9TKXevte+4DEjBoSRc qwoA== X-Gm-Message-State: AFqh2kp7W6L2KTSA/RzJ/EXRzztmDVvcgySkd9zEPj6Mp9iHOZzCPQwf lTICSVqwWfHIL5oFcmAwKU0= X-Google-Smtp-Source: AMrXdXvTC/4eIpPvqgKcBGiKaMezF5TmdklRaodynC+6Ax6UhTecCm8Kbwq4bFPQzwHpDW5kOEXcrA== X-Received: by 2002:aa7:cd04:0:b0:46f:a70d:fef2 with SMTP id b4-20020aa7cd04000000b0046fa70dfef2mr2382224edw.35.1671647122248; Wed, 21 Dec 2022 10:25:22 -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 d30-20020a056402401e00b0046b25b93451sm7255607eda.85.2022.12.21.10.25.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:25:21 -0800 (PST) Message-ID: <76fea2e4-f298-19d6-69b0-d99dcfb142ed@gmail.com> Date: Wed, 21 Dec 2022 19:25:20 +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 v5 08/12] arm64: dts: rockchip: px30: fix lvds node To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com 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. Also add label lvds_in to port@0. Signed-off-by: Johan Jonker --- Changed V5: rename title add label lvds_in --- arch/arm64/boot/dts/rockchip/px30.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index bfa358042..e34d81f29 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -453,7 +453,7 @@ #address-cells = <1>; #size-cells = <0>; - port@0 { + lvds_in: port@0 { reg = <0>; #address-cells = <1>; #size-cells = <0>; @@ -468,6 +468,10 @@ remote-endpoint = <&vopl_out_lvds>; }; }; + + lvds_out: port@1 { + reg = <1>; + }; }; }; }; From patchwork Wed Dec 21 18:25:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079089 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 270BDC4332F for ; Wed, 21 Dec 2022 18:26:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 311FE10E478; Wed, 21 Dec 2022 18:26:00 +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 A840010E478 for ; Wed, 21 Dec 2022 18:25:57 +0000 (UTC) Received: by mail-ed1-x536.google.com with SMTP id e13so23195529edj.7 for ; Wed, 21 Dec 2022 10:25:57 -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=lFvMuvMh7YEjHgfoyUurfQAp5Ldp3Bc2q4aAnoQCwkM=; b=l5lzKT0fdH5xMuiwJ9jOC+ldxvWofgM4nJqXUSh9Mn2iBc3NIAz25S/j6oWg5wYrVQ gvzeeWJyu5B6+vkCkhdelPxBTxp5hgJ8ta+Kgdj3md9R4uhu1d9BXGhAWyxlsypsgZ4F okIDxpGxkMAItqZ+zJHnCnzdS5wkaAoZ88r4mZofuH7H7Z+XSm0DJHCLDTxazfKvoE60 IW2dauxNPsn1xODZUsqMFq6DeoGjZLY+Hs6LTjhpfoqEP9lnRohQY1sDr6ZlTlKh47fn MlO9z82lQbbSmbdjQZNJr6ArAlRqkjvPRoVbeyKPStliXXPcPomcrG5MFyKqJ8XDY71c uzxg== 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=lFvMuvMh7YEjHgfoyUurfQAp5Ldp3Bc2q4aAnoQCwkM=; b=yo2vGeOiGwq7eHuO1xnWBVPqevHq5JkWevmUrsV9fHtVAav181KNoDw11xxbOtgV2X bNrjLgBwitmORuWqRnNu9ValyprV1h9/wGmSIgm7a6DJIEKOLyfqh0JlfbpE0vatdqgD 2Ke94DX6PlYsQbOhuBdUCoQ0jlppNoSwzep/EATOGschNGqejTH08g2KaJZvFSQMjsom upTmeb129pfxGdkwuYdJShz39uI6A7JRKOwLSM7bKhp+r+gTfz4LC5ChsKIV+TXCKDEn aYA+b64CWG2ukkIguZhAlKcLjKjeLykcrhOaY7D7zma9PAVAx7R/YJyT+81iZKvoF5/p us4w== X-Gm-Message-State: AFqh2kphfqWhOdke6TizynutkVISz7y9zBlOJvqWQD1P+YQYC10NkBT9 hDlGxBCilkxmhboYpcptD6I= X-Google-Smtp-Source: AMrXdXtP9bzGWAfUkrd0SHR1XBaiEQah3omk51EpOFcUJ01rSPS2LZ2fESX9jvaXgwv0/ICAM8oH5w== X-Received: by 2002:aa7:cf94:0:b0:47b:16f5:61dc with SMTP id z20-20020aa7cf94000000b0047b16f561dcmr2421265edx.37.1671647156160; Wed, 21 Dec 2022 10:25: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 q20-20020a056402041400b0046c2eee21a2sm7278561edv.11.2022.12.21.10.25.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:25:55 -0800 (PST) Message-ID: <50eb43e0-c39b-5512-edc5-78dcaa70b255@gmail.com> Date: Wed, 21 Dec 2022 19:25:54 +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 v5 09/12] arm64: dts: rockchip: px30: fix dsi node To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" With the conversion of rockchip,dw-mipi-dsi.yaml a port@1 node is required, so add a node with label dsi_out. Also add label dsi_in to port@0. Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/px30.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index e34d81f29..272b01154 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -1117,7 +1117,7 @@ #address-cells = <1>; #size-cells = <0>; - port@0 { + dsi_in: port@0 { reg = <0>; #address-cells = <1>; #size-cells = <0>; @@ -1132,6 +1132,10 @@ remote-endpoint = <&vopl_out_dsi>; }; }; + + dsi_out: port@1 { + reg = <1>; + }; }; }; From patchwork Wed Dec 21 18:26: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: 13079105 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 6BDA4C4167B for ; Wed, 21 Dec 2022 18:26:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7BC1E10E476; Wed, 21 Dec 2022 18:26:29 +0000 (UTC) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9FD6010E476 for ; Wed, 21 Dec 2022 18:26:27 +0000 (UTC) Received: by mail-ej1-x62b.google.com with SMTP id fc4so38724895ejc.12 for ; Wed, 21 Dec 2022 10:26: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=vxtaE1EEmdwnLeoknDdjbqn9RBDwfiNqk1bsNHc/eJw=; b=H4VxHHU+xeONEKkCpBNCFZS9t+9ooCkUgwbUw6St/ZhewwRXsL4AgLO6axA/Kytp0G zdftwx1ZiZIs6dEGmY1YRjhMvC4b45iT3SzwkvLE0y2gFJ/m4rBw/ZisHChvfknQDImo gjgJYMl3UUZzjK9VpEn3ubJiwUTuALdrN5En8KU7PXBKfaAqsdSgGkvkXc9TFKv71Eal HszyKsY6R5uWa3R+MvMCpMlyU3cw/TZSJg+Z/kssTXxi1JeAvy+58eK2wZFxy5x5VRju ukd+Q6VhjT3emgM0jJmwpoHFET6Aamflp0tH6yf51IeDdboTRlcaiKXVkJfh5lu2TDEA FT2A== 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=vxtaE1EEmdwnLeoknDdjbqn9RBDwfiNqk1bsNHc/eJw=; b=V4CNPAfmF/k3hdqD0ExSw5lucbI9rIMMDnnMSmeUPZEf8bvRqyj32WA1dYR5ORJ29z iN9C9IKlwGh087fCw60UTH8872TO2/JhBvm5q6u4YdQqxvB3Q16Cjk3A3qwTTDEDaYrN 4N3t0tB1H7hJBHy2TKb5AUtfG1mKNgEU19xRFY6M10WKqoATurpX7k/U2qx0oUO7sb8+ FEYSK/m7pT8CRFpHqY572iDeCzBkgf1ry2SnkbzHLKyYMnOrqCxNthRzLf2d3t5YgCMu uDpElgKCathoeiRJB2gKH07QRZLpL6oC/AhT/s2GH+cQ6QzAtfpBcDvBxx1rLcAV8HiG Arjg== X-Gm-Message-State: AFqh2kr3wbindXtk4O6EtYfleKPLDutjHxOQdK47HkZRKnPHcEMQ2vP1 7NUTXq/yCqqL8cjYdIrSysnpzyA4bNw= X-Google-Smtp-Source: AMrXdXuTjC9bvbIdq5RW0n49hi6uRuBosp9NyHqunZjTW2LMl2teBSgpdFGUefpiu55ZijE3DzCQ/g== X-Received: by 2002:a17:906:a891:b0:7c1:4d35:a143 with SMTP id ha17-20020a170906a89100b007c14d35a143mr5486319ejb.3.1671647186041; Wed, 21 Dec 2022 10:26: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 mh11-20020a170906eb8b00b007ad69e9d34dsm7413700ejb.54.2022.12.21.10.26.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:26:25 -0800 (PST) Message-ID: Date: Wed, 21 Dec 2022 19:26: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 v5 10/12] arm64: dts: rockchip: rk3399: fix dsi node To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Use generic node name for rk3399.dtsi dsi node. With the conversion of rockchip,dw-mipi-dsi.yaml a port@1 node is required, so add a node with label mipi_out. Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 834d16acb..62047a5a0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1954,7 +1954,7 @@ }; }; - mipi_dsi: mipi@ff960000 { + mipi_dsi: dsi@ff960000 { compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi"; reg = <0x0 0xff960000 0x0 0x8000>; interrupts = ; @@ -1987,10 +1987,14 @@ remote-endpoint = <&vopl_out_mipi>; }; }; + + mipi_out: port@1 { + reg = <1>; + }; }; }; - mipi_dsi1: mipi@ff968000 { + mipi_dsi1: dsi@ff968000 { compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi"; reg = <0x0 0xff968000 0x0 0x8000>; interrupts = ; @@ -2025,6 +2029,10 @@ remote-endpoint = <&vopl_out_mipi1>; }; }; + + mipi1_out: port@1 { + reg = <1>; + }; }; }; From patchwork Wed Dec 21 18:26:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079106 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 AB8B8C4332F for ; Wed, 21 Dec 2022 18:27:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F81D10E479; Wed, 21 Dec 2022 18:27:04 +0000 (UTC) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5F1CB10E479 for ; Wed, 21 Dec 2022 18:27:02 +0000 (UTC) Received: by mail-ej1-x630.google.com with SMTP id vv4so38885926ejc.2 for ; Wed, 21 Dec 2022 10:27:02 -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=3tzm+8PkCoG+IFqQnJKv6s/WFlDz1S9hgijTugMX/bI=; b=Disu3h00/Wb54++iZFoLClUFEFhCaaORJptiOD20dHdG+Js0vtzqGz5PPZRgBJG74N 0Ts2oau97PHUS1qu59WdqWqqreC6Di+3wG2H1jMMyeNH1wJKJljeEOkHLxdnPx9tqMEe BjHn25wnkBHiTN90cipWgk3aWnQEmbs0CeOtMuwsQWiXgOJbN08MBoDCmvi3dfGyLAk1 AdIj/z/3v0UyAfRnu2Q2ezFjjk1DMEjO4QcwPYtC+SDq5dxiVorL1SZSU/m4RttcAh1i KG9VK4gmPYfmXZnMXYrA/MADD6aOhpzGnk3FcYpe4xXeH3qlwllKZByIi3scGJYhuYcE kn5Q== 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=3tzm+8PkCoG+IFqQnJKv6s/WFlDz1S9hgijTugMX/bI=; b=OHpWWlmBqSxCR7V3yhqbmFnKmrx0W7TwsJzHTKJfu6eyszXadl76BdINe5wosOJQGy TM3u4B+I8TZ+SuLYdaEnkBOlf1VW51X4ZIuncMMbn0Qlcy/XR1Nw3Sb7zroupGllASqa XeX71k2kEkeisWfjiE5sZsTp755ruDfeXLzCgVxHdSDJz1zJ1U2YKYVq3Dg5KONJavHd xfBDq4BV8CJ6lGtzr0NpR55rc6qpCjDQo0XaV7TbjlxqktRp8kXwsGOnaHY8wEfFx6rh rEIi2DTBz9CleUA3sszdyIZgVKdyTnBIkzUGzGCaHsZyxQ9BMyTsD5YheddvwwGRd445 DxSA== X-Gm-Message-State: AFqh2kopCtwhRRADzWgg+I8nkuqfVirA6nybCeilLVgd+OXtqeVoLYYj /ZRhvVJ5LvrKEKy5d52gtAg= X-Google-Smtp-Source: AMrXdXt6ILaPZxXaZkt/4DH9vZSFIGy460+kqXNoi6CbgMozPJHOZ/xsGmRmC5XMPwiHIWeJDm0GKA== X-Received: by 2002:a17:906:71c3:b0:7c0:dd80:e95e with SMTP id i3-20020a17090671c300b007c0dd80e95emr5789134ejk.51.1671647220873; Wed, 21 Dec 2022 10:27:00 -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 la15-20020a170907780f00b007a8de84ce36sm7262965ejc.206.2022.12.21.10.26.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:27:00 -0800 (PST) Message-ID: <6b4669ba-4731-d3e3-3293-f5fc69ccf6cf@gmail.com> Date: Wed, 21 Dec 2022 19:26:59 +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 v5 11/12] arm64: dts: rockchip: rename vbus-supply to phy-supply in rk3566-box-demo.dts To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 'vbus-supply' does not match any of the regexes in rk3566-box-demo.dts in the usb2phy0_otg node, so rename vbus-supply to phy-supply. Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts b/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts index 4c7f9abd5..4dc9b7623 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts @@ -464,7 +464,7 @@ }; &usb2phy0_otg { - vbus-supply = <&vcc5v0_usb2_otg>; + phy-supply = <&vcc5v0_usb2_otg>; status = "okay"; }; From patchwork Wed Dec 21 18:27:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13079107 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 C06D4C4332F for ; Wed, 21 Dec 2022 18:27:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BEA6910E47B; Wed, 21 Dec 2022 18:27:35 +0000 (UTC) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2C16210E47B for ; Wed, 21 Dec 2022 18:27:34 +0000 (UTC) Received: by mail-ed1-x52e.google.com with SMTP id m19so23177882edj.8 for ; Wed, 21 Dec 2022 10:27:34 -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=3spaG/gmW2iurMqKAzeqtwdB73qDEY0NRjhBceQ6XKs=; b=HJYnALiuBC4czUJZQZMxToOk+mUn6hrTGkmT7s0lKwO+15/vlhSGhhp6Q0iPWhrq5q jOWyUmDPVqgwiEsndnL+9LELnFj6lN0IgQeahNtuNDeD6I+9cH8auJHEXoqQv84Uuol5 erYbwdjgpaNPJ9tz9g2UA2S8H0NMz3Yi4TJpRa5YJt1y9Y9GRdzXybOKpJCs/fMECfbH G2gKgF0DKSGU8Fk9hd9k8cR46MpIslUAKhz0qYKLV5PwwtfWAx5Vz1WI462A8uNdCQbq 2TN9iKaJ2Cd+e32bc8z/xsyMN47sBiKojufwCMUHB5x7LY21rNIoTndGXIUyaY/jRZC3 b56w== 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=3spaG/gmW2iurMqKAzeqtwdB73qDEY0NRjhBceQ6XKs=; b=b4tJeV9KZi/wnc+txEVZsUt+exg0WZ+Z66lXSAmnh7MTzoLSbN5iIuz5r9e2A5YTAm LymLOcR1X7dnMHlZCnKu+AJdeuNVUWtiAGfWjV+kPVD3VnB+s4NWrzGclfxNFQxSZHDq aJzC/MpbWi8Rh2i+uK+z28mUL2xkGZz1eYa4Xaa+qwelyWwzIYR2r0T1VVvoScLdjbAW ztbBmKiRltgNlo4Lnv8GsucS4NK2PihU3cJc+dAdWO3hn2Yl4DLQ2jnoC8R4WcOzOHql 8FCjzYuN+IaNZuEWGBZI4G3jAwDt9Y1kkJnMMH2eTne0zlNGtHNR1rm9qT41aOFSCl0h xefw== X-Gm-Message-State: AFqh2krHVW10TqgtD0aydcI0ZoeCKFGhTrUxxpqEy5/6/ZIbcxXwWjTm NRGKqdcknNv4ryCZbEfkzDc= X-Google-Smtp-Source: AMrXdXuuboy0Cy7pIoYaHpGBK0/px3c7JvHO5JGIK2vGuTSmoniRYvRFRSPlPt/0TZewWYO1okg75Q== X-Received: by 2002:a05:6402:685:b0:479:ab7d:1dad with SMTP id f5-20020a056402068500b00479ab7d1dadmr2840833edy.32.1671647252722; Wed, 21 Dec 2022 10:27:32 -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 w26-20020a056402129a00b0046dd0c2a08esm7351683edv.36.2022.12.21.10.27.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:27:32 -0800 (PST) Message-ID: <621bc5c4-340e-683d-fa61-520b9ed45e1e@gmail.com> Date: Wed, 21 Dec 2022 19:27:31 +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 v5 12/12] arm64: dts: rockchip: rk356x: remove hclk from dsi node To: heiko@sntech.de References: <7f883643-c796-029f-ba38-73532325632d@gmail.com> Content-Language: en-US In-Reply-To: <7f883643-c796-029f-ba38-73532325632d@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: linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, jonas@kwiboo.se, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, hjc@rock-chips.com, robert.foss@linaro.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, andrzej.hajda@intel.com, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, philippe.cornu@foss.st.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The hclk is not used in the dw-mipi-dsi-rockchip.c driver, so remove hclk from the rk356x.dtsi dsi node. Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index 5706c3e24..2cb61a783 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -743,8 +743,8 @@ compatible = "rockchip,rk3568-mipi-dsi", "snps,dw-mipi-dsi"; reg = <0x00 0xfe060000 0x00 0x10000>; interrupts = ; - clock-names = "pclk", "hclk"; - clocks = <&cru PCLK_DSITX_0>, <&cru HCLK_VO>; + clock-names = "pclk"; + clocks = <&cru PCLK_DSITX_0>; phy-names = "dphy"; phys = <&dsi_dphy0>; power-domains = <&power RK3568_PD_VO>; @@ -771,8 +771,8 @@ compatible = "rockchip,rk3568-mipi-dsi", "snps,dw-mipi-dsi"; reg = <0x0 0xfe070000 0x0 0x10000>; interrupts = ; - clock-names = "pclk", "hclk"; - clocks = <&cru PCLK_DSITX_1>, <&cru HCLK_VO>; + clock-names = "pclk"; + clocks = <&cru PCLK_DSITX_1>; phy-names = "dphy"; phys = <&dsi_dphy1>; power-domains = <&power RK3568_PD_VO>;