Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp955517pxb; Fri, 15 Apr 2022 16:31:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCrycRCyHL1od5L89NgJCkqeuCy1wxOu7HFBiQ2Wbys+CNfgJYOWmE2kC4z+QLCH/0FLPu X-Received: by 2002:a05:6402:492:b0:404:c4bf:8b7e with SMTP id k18-20020a056402049200b00404c4bf8b7emr1366806edv.318.1650065514396; Fri, 15 Apr 2022 16:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650065514; cv=none; d=google.com; s=arc-20160816; b=IM8Rwf1D4g9K6X8+q4SgQAcmcZqINPrkdRVG3sbhpb2DIKgTi93gUHAfKPw57x6JRM lRlcq9jVbrE3CZCe2OppdU7YZLjH5k1f7Cm8eBIUbf7XMfsbqKSezHgOSuost+Jf5AtZ e89gyQRtSaUfGpl/KBWl7dBFWJqS+pKy1aZBTWU3lGMNXo3v1lA4R2Spcfnb6s15oICO p+5PchYCfcRSHoiD/tKDh3pxkih+jQCTjnyc0j/k/KrfEKcaWZhgaaF7SX/BlMQJVNPY bZuOhSe8yDKz8yqCMI3xMJzHI1Eur7qzlWMXB7z0uSKkA5uPmXA/VTBp/xL6GuDwaNLz jRrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LB1Fy7OsMtsEl7x4ThJWUnVjP7eO5zGGMTmEHLEcvp0=; b=m5mMbb1fFn5LU1N8EUlTAFrJhG5Ucs7R9K9B1TBgYNx9u0OL8hdd0zrifZHg3aJWSp +HQcDaAZgIC4ub3mmG3sropdirXIBnYiHZuLpBCNtpYirIWH+MXvpEcZc7PFM99W5Ueh rMdfjrS0UbY3+hPbqWqud8RMmDSMzzm2iMqoCiwbQkuBZ86zVQ/Xrm9hSHG5PmrA/+h7 xgv9lmqub304HAhFdEl00iaQr4JvCOgOglomvczajqJZrISqngPchGK1UyoyqdXdIaKg 9XFUPfI0PUVASnS/Tsj+Ame4Wxc/SGCAzDSFq01rB+UWQRpeRzKYCRqmSPJlgodypuOi xeFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=UiSFVDiH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm2-20020a170906c04200b006df78d84890si1851787ejb.275.2022.04.15.16.31.29; Fri, 15 Apr 2022 16:31:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=UiSFVDiH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352421AbiDOKxG (ORCPT + 99 others); Fri, 15 Apr 2022 06:53:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352406AbiDOKwm (ORCPT ); Fri, 15 Apr 2022 06:52:42 -0400 Received: from mxout4.routing.net (mxout4.routing.net [IPv6:2a03:2900:1:a::9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 034743A5F1; Fri, 15 Apr 2022 03:50:13 -0700 (PDT) Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout4.routing.net (Postfix) with ESMTP id 676DA100770; Fri, 15 Apr 2022 10:50:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1650019812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LB1Fy7OsMtsEl7x4ThJWUnVjP7eO5zGGMTmEHLEcvp0=; b=UiSFVDiHH0VKsEEJGo1JRnjUxdWuyg3ksgL7cYQKeyUcjIQz8d1IiEg7KUXVV+Lh0F5ToZ CU4S6dh4FvXTDBr+so0ftw6g5PmWBTCSzn7yqlDWOONPWAe1CE6Iooax2dPv/AaPD88aoO uQs05isNeVhkl7gNnP/hKh+V1OCF0Sk= Received: from localhost.localdomain (fttx-pool-217.61.153.244.bambit.de [217.61.153.244]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id 4FC3610074F; Fri, 15 Apr 2022 10:50:11 +0000 (UTC) From: Frank Wunderlich To: Heiko Stuebner Cc: Frank Wunderlich , Rob Herring , Krzysztof Kozlowski , Peter Geis , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: rockchip: enable vop2 and hdmi tx on BPI-R2-Pro Date: Fri, 15 Apr 2022 12:49:50 +0200 Message-Id: <20220415104951.27104-3-linux@fw-web.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220415104951.27104-1-linux@fw-web.de> References: <20220415104951.27104-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: 65da6b53-325e-43b0-a251-c92be1d4911d X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frank Wunderlich Enable the RK356x Video Output Processor (VOP) 2 on the BananaPi R2 Pro board. Signed-off-by: Frank Wunderlich --- .../boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts index 0950f9659bb4..cc3591251bab 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts @@ -8,6 +8,7 @@ #include #include #include +#include #include "rk3568.dtsi" / { @@ -54,6 +55,17 @@ dc_12v: dc-12v { regulator-max-microvolt = <12000000>; }; + hdmi-con { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + vcc3v3_sys: vcc3v3-sys { compatible = "regulator-fixed"; regulator-name = "vcc3v3_sys"; @@ -184,6 +196,24 @@ &gmac1m1_rgmii_clk status = "okay"; }; +&hdmi { + avdd-0v9-supply = <&vdda0v9_image>; + avdd-1v8-supply = <&vcca1v8_image>; + status = "okay"; +}; + +&hdmi_in { + hdmi_in_vp0: endpoint { + remote-endpoint = <&vp0_out_hdmi>; + }; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &i2c0 { status = "okay"; @@ -600,3 +630,20 @@ &usb2phy0_otg { phy-supply = <&vcc5v0_usb_otg>; status = "okay"; }; + +&vop { + assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; + assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; + status = "okay"; +}; + +&vop_mmu { + status = "okay"; +}; + +&vp0 { + vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg = ; + remote-endpoint = <&hdmi_in_vp0>; + }; +}; -- 2.25.1