Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp80676pxp; Thu, 10 Mar 2022 23:08:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtkSxl28KBebJXWTdzYR+nfa7yOpqrkVJGdx2GlHY+EMoJNwhXWkO/CI9eY678sw39qtJP X-Received: by 2002:a17:906:d54d:b0:6db:ab37:60d0 with SMTP id cr13-20020a170906d54d00b006dbab3760d0mr786353ejc.234.1646982503793; Thu, 10 Mar 2022 23:08:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646982503; cv=pass; d=google.com; s=arc-20160816; b=LkP5Qzo0Uri5kv8oOV6LmC84vaNRfDe74IhltXvDN3qU7ujgwZ0sRZHyMKPOQY1xKC v5H/XWQtYm4x6Nv3T7h1ijTNY6D7fITuhj9o9i6TEUF+ZjlIkkQVCeWpxync3N+z2Kf4 DFgey9SiEH5U9jH9tjHokkZje1LeudatOhAis51ovdQBGpUorMoyY6m6K35idaZVC5E7 q8ba7bJ9H1CVQiH/fvCp9uulgBRPNlr4zxYMFLwBf/HFB5hEG/r4wikW9AFChJGk3dY4 JvESadHDq2ETp9NC96hqGBIFEFqdHR58MpOsVlci0sJbfCkGEFx7x0qloy6/bUA6TKm6 iXzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LZw1+VtLOQLBFtratwHT1jmRlN9tWZHxciODuakdhR8=; b=wjCU3e96n6lnODFNgFHH4HbO6FLuXygq6qrqK5G/HQT/rDPDKZInZP8RMeO116C7k9 sw4ldcEIFgSXAclRhR0E6BdLvYhM5mzjANU+6IY4WIIOt9ObrVHlOLAvPlyi6Andm1zi R3t/55dcqgzStRdD+d9rkwoyFTuVS+jBWZCspT7gmlWJ+xujqpSv2jqCIhmDEAKyyLDs wemghv7+F0C+m1TOUvd7r8YP7GSMbY4GRbCve0ewbnFB8m9EebIGh6koIGx3sbDse9d6 jwF8spa3Q73fkf+0ytSgCvHfFTTtyx06hbDhpwxjItH/Z3D6UNHklyU3zSCCvKM2tGxE GNgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=QBlyU9Xs; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t16-20020a170906a11000b006b39ada4f5bsi4108022ejy.564.2022.03.10.23.07.58; Thu, 10 Mar 2022 23:08:23 -0800 (PST) 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=@wolfvision.net header.s=selector2 header.b=QBlyU9Xs; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343853AbiCJVFU (ORCPT + 99 others); Thu, 10 Mar 2022 16:05:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343814AbiCJVFN (ORCPT ); Thu, 10 Mar 2022 16:05:13 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2043.outbound.protection.outlook.com [40.107.20.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF486EDF3F; Thu, 10 Mar 2022 13:04:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dzaqDztG6LhAOsai6eFCrDHD09lCIS+EOo3bodu4nceyuHtQ3128k5AMLda6NcexcbhXdoB84X7N1ac9+4WBIY+YM6gfls/OgLpSCszcZ9wQdG4I0kxXQ2DrCn3zRHgEg73lj0Dvj2octx7jo/2bFBQM5tN5z/GMZNxNZnfQk8LBCquszFG4u92jcBZvJxNjG1yoyQojHPyewGzTw5xZiY7wclE57pNQzFSLzo5GebO0oCjl206C5/ugdyPJYztqnzQmAH4NEz8vOdlisr+6TifTg1XIOZCC02SjSmqDRjyZWmexdzSMGSIigE6EJw2mbyLsIcfjq+tKtKVPRqrQLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LZw1+VtLOQLBFtratwHT1jmRlN9tWZHxciODuakdhR8=; b=ZBA3lbXNiDLXCyHcpg4mQx7e8duzlyb5md054n4QkN/r/SPbDys7Nh4VeMa/X/kR+K9ykb/6Cwpx521B+8xpsT5hzDsrvCcFxefBz19uTd8L0wTMTUX6cS/4sKRETJrfVON8wMv8zhXC1UJ2qfdqsfLQLJNbqQwWGraFVwPSzGUdgeb7g2cLoSXQzfqAylny5j0tJBrPXYfV7ftZ4HFa/8ES4jUZMb7H2WwiMBfck9+n6LxE1T13eSGHKjaV5jzxyRlMvCliiSf/pHOMrsfwB/yEmZGUJ3o0d8tqkEV+KpLOEwLK2AUau88QvgtdZAuqOKpFj3ijSiDPFt9f/W3RHA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LZw1+VtLOQLBFtratwHT1jmRlN9tWZHxciODuakdhR8=; b=QBlyU9Xs9z9eT40UlwBZ4coTdKIF6gQUAqQ3t2M+/xMHH8XeIbOTsEJoK6sCJn46MWkWOY5LPJwtkvJWzP2YiEXj+VgXsKMPUyjhE8bb2xw9ZWR2IzFY62N/r7ftxf4Y4Mbf+j3J3HO6qvpYvTZrX+XN6H6UTAO5BhAkLTV+T1Y= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by AM6PR08MB5078.eurprd08.prod.outlook.com (2603:10a6:20b:e7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.22; Thu, 10 Mar 2022 21:04:10 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.5038.030; Thu, 10 Mar 2022 21:04:10 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Levin Du , Tianling Shen , Chen-Yu Tsai , Sascha Hauer , Alex Bee , Liang Chen , Peter Geis , Michael Riesch Subject: [PATCH v2 3/3] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a Date: Thu, 10 Mar 2022 22:03:52 +0100 Message-Id: <20220310210352.451136-4-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220310210352.451136-1-michael.riesch@wolfvision.net> References: <20220310210352.451136-1-michael.riesch@wolfvision.net> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: ZR0P278CA0132.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:40::11) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4a12c305-f5d1-4c0b-1442-08da02d985f7 X-MS-TrafficTypeDiagnostic: AM6PR08MB5078:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aSY9x0XXSjjvxeBB85Z3KM7JNlAsk+EsXL3E6wX/gk+fLp2j+Y14zV6nsxIogjuzmyyMEB9El98XoSS1LkFba9Zuq49r8mXEszDtKCeJ35ooQgz6HTJrM4ZDlDtRgOfbce8oxzovsxxZtU4hwoM6irtwK4yNAoVwmIwjlAwfmEjausR1SOvuRHFHrVTlHaXk6bao65xic0KEhiwo+QxEddvPOM0DWJA0pjRSQnFuT0qBcJRkQhQTydUvIsBTCjGZY/KOJsm5A6oVmOVP5F+9DjpKh8X4KTbBK9VfI4XEnFxBby3QXpTwU/ZYutnk/58a0FcYetbHKL8U5Fs9ITV4dKiNqJITZA7FD/m5GsLsi2hObcKLSGe018kZz+4Ve3U1MI0XTW9rFtS93jBUQPfscm4TJc8CKu3F+gOv/arsfYka7d++pfPsCCXBR5xRWiriU2IEJtnCgEo8fzUTundvxkRLDNEa1Ji0R3v5uHO31EvFFlBHzypVJeDFIZ4Rnor3R+aN7xubHKxfbNVa3giop9IZRrEYOmDjDLzpH944bdIP2vrn+7Xa6S0AAS9oc1wFPvPnSeex9rnbQwO5H28LfSHZ64emTVjl1yKVTJqoZGG4cYkDTs0h3+aMtVZcqurUpM+7mH4uDS6VkXvJOobseg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0802MB2426.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(508600001)(54906003)(186003)(44832011)(52116002)(86362001)(6486002)(66556008)(66476007)(4326008)(7416002)(5660300002)(6666004)(8936002)(66946007)(316002)(36756003)(6506007)(6512007)(38100700002)(8676002)(2906002)(107886003)(2616005)(1076003)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ehyOSJ086Re8uTfWd5OZf8nnK1eZXA7QTBBBeCrx+0RDtmWWjR3f6fnLquB5?= =?us-ascii?Q?no2b6SIi54ewDokeBRA5qmOu+ebXLi0Fg3rSABgHCQil39wi+Pkp3Yjrqv/F?= =?us-ascii?Q?Ew99JV1Vda5gJ4NXBG9EzdSQThgJaCnoSVtyx7DYlSknoErGEhgVk1meotCb?= =?us-ascii?Q?UVPTE4XrdEO+6L3nZo0UvAeNGbXa+Jj6+C3d8kMl7rdY3GNNMqPQ+3eq61Mb?= =?us-ascii?Q?S1MLgNKsF4Tm9xedCo5t0gTt3UI7Sk5TAx7MrchNNEgZYFi/tine5+HXz4f/?= =?us-ascii?Q?4VWUTIvF8IU7ZyTxd+o6O1DkMlwLSrizDaQpfKOccFY8Xi2wcSHJU+luy4sR?= =?us-ascii?Q?6mU+R/j3+UwvWo5esHmgbdcuTIO8xz/DUEUO/qlnCMwqQE19/R4X9wxPBMV+?= =?us-ascii?Q?vYiscklHoHNMBGYDr7sbP1YsFEyfmBu4hCSm5MZcmdC9i43TYplmgMe//1vi?= =?us-ascii?Q?LSGt6V8WCZ0Hg9fdipC/KiTJmCfKexAqujHeHNohfasRQxEm1KKsB7BvZ/PQ?= =?us-ascii?Q?55XxW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WXeaHIz?= =?us-ascii?Q?t3X3QUTnvQHiGeEi75BiUufJHTRSWG2GFqvAzf3WlK8M49ge+YNDsynwXeqZ?= =?us-ascii?Q?NNyBY0EcLabDs/I1TWO4uKf0JycPI9EEI/x0ktEhBDbEHX0ghj0xYYAJ4mfp?= =?us-ascii?Q?jyFn5r5vkPg7DZPSMfc=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 4a12c305-f5d1-4c0b-1442-08da02d985f7 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2022 21:04:10.6317 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: dcNQ3ZorheHV3LUc97MvGqRsaAbucSBIRCZ72IHw+8vhzV+QgjMimYLQcA/6vWRupwXUZYwkk4gdQwxvj6s8vn1CNB5OZ/uUND1B+XbKdSw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5078 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 Enable the RK356x Video Output Processor (VOP) 2 on the Radxa ROCK3 Model A. Signed-off-by: Michael Riesch --- .../boot/dts/rockchip/rk3568-rock-3a.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index 18d2d8e5e693..e568ce377055 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -4,6 +4,7 @@ #include #include #include +#include #include "rk3568.dtsi" / { @@ -20,6 +21,17 @@ chosen: chosen { stdout-path = "serial2:1500000n8"; }; + hdmi-con { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds"; @@ -134,6 +146,24 @@ &gpu { 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"; @@ -499,3 +529,20 @@ &usb2phy1_otg { phy-supply = <&vcc5v0_usb_host>; 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.30.2