Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2209629pxm; Fri, 4 Mar 2022 11:25:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9PUAhnCAwQHnrLJC60QBQ1c3OEsAfbD1btdg2AS4f7EXappicWTBorfMmKjP8MsiH6pKd X-Received: by 2002:a63:6a41:0:b0:37c:53a1:b5b6 with SMTP id f62-20020a636a41000000b0037c53a1b5b6mr8440106pgc.245.1646421953864; Fri, 04 Mar 2022 11:25:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646421953; cv=pass; d=google.com; s=arc-20160816; b=yf6BwFW+w9g8S2t0N1nGUiwQ3nQWiyyKS41c99M+Wc2lQphX52ewR2Ulm34tjg+5k3 zaK/Bwt8SH42d5hFKvayz8fzGSRMGp3u7WXyubgx2qbUTn4iAtBxLvqgWFJJmDjrACtF YItryY1lKVo0kUWHxvhIkjtAcfp4tWF6UgDWOh81+lqtL1n5x4v8szudy3nHbpDkJ8zx Vq9AO/PdYhO/OQr44aFaelQ7Pl2wEnfDjUUFQco7znQKrrruL3Fr4fwg8fR5HwUxuLsm me7hrOm8HpNtaeiOCioUFOCGys22AQsbC4IIvEgzkBXpOdHEtQDEnGJCODJKie7XyUL/ xAEg== 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=VF7b5RDejrb/NYoNGVAn9SJ03G5WSjMFAuWcM3QtL5O4o2oLEPdH+9/Iy9CoNKNbQk zZdR+p04rNzXLxObvFLLaMm5p07cPC4HUibZBZVdpHwCsICvdNDK8oRdx+rHG6IIRwGP uydn/YoVHmY+yVCLpOv3tOnyvaNvKxYpUVUAtuQ0w+2jY1hM5d/TMwB9irU96WLKfZko zlV9mr3MUrFRDDyAQ0HyfJU4wMs21xcomoG54gi3Zl83aRiNLOkslu8D6Gp1+u5gX3PR HbnFeSBodcFaX7FRTS2Nn8P15W8JWL6nFhrT6JgvUjY32kF2tp6S42WUcp39xJ8yIn/3 1hFg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=NFd3fwxR; 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:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r16-20020a632050000000b00375801de7adsi5638534pgm.776.2022.03.04.11.25.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 11:25:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=NFd3fwxR; 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DDB3120BCD8; Fri, 4 Mar 2022 11:10:36 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240610AbiCDQMq (ORCPT + 99 others); Fri, 4 Mar 2022 11:12:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240558AbiCDQMn (ORCPT ); Fri, 4 Mar 2022 11:12:43 -0500 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130088.outbound.protection.outlook.com [40.107.13.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AFAA1C9457; Fri, 4 Mar 2022 08:11:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wsp2HwADH3nLx/+DKlsCP0qm5PBVFGeysiKsjzQsbEiuxtlUzA0M0NCi4c+oWtm68Ca9i13s29uZhVCeDEfPv6tFochqdZ18lo7VU4d2nsi9O0noGjgGPhnkpw0Mh8zvS5fDNQc10z18tayidz5qJWX9dFBTlCj3bXrcgBbuUKTgxPBKQE4T6HOZW3NYnZlS64XpzlK+s3HUZ9nDrSIwp1aA8BhzIs65XzVULY7c5eeAlz2N4EJ0xURr3lxuTsvEX56IeoYaGBAdoV2p8rLaEWr6BS9FwA5mQeVj0ERecup00Wz1yUQj0HjuCTo6ODBocxMMMQFKkhLsUCzWGZQF1Q== 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=TTqhgv0MCRUpfFmopSUe8jP0bvJ6Tfo+0SK5r8q5LXArksXa8QxG6kCtM4n+N362IwnmpVZkS2depU3UnkGN7+y8G9jPIpbdsO1kYlpskdUXmiVsrBC2G1Avx1gR2G7wZnbJBJPct9PQcc2iDS3e9yKVY914k9P/tS0tKYn6KumGxS6Fhg7TyyGknyWpcVYMu80QzhyhC/3OX4hYJwUZjMK9JYrAzI4sVdxuYzTdnCpvINuxNbbm/nclDUBoP9+wonpsTCM4AQREprAYW/FhASi5X9lxTW0ARDFtsu0UDzNlfDHy6bISTybXhsUXV43TfMALENGwUxfdjhGR2Jy1Ew== 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=NFd3fwxR04iyZsVodfZ7qSfOgXcNW6bAgEGiSUXK9cJX1QV5PjaOVCUgxJMTO8ZiVzqiBBUgd42tZkYsvt/0QDEMGyuaB9+gvq64IvSyh+uJXHWjQwS+VvAPKCWRpb9mEq6qRbnQ8k6T8bGTc+mTiEkv3bNUDnVpxD+/7/KjLq4= 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 DB8PR08MB5481.eurprd08.prod.outlook.com (2603:10a6:10:114::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.16; Fri, 4 Mar 2022 16:11:48 +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.5017.028; Fri, 4 Mar 2022 16:11:48 +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 3/3] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a Date: Fri, 4 Mar 2022 17:11:30 +0100 Message-Id: <20220304161130.34977-4-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220304161130.34977-1-michael.riesch@wolfvision.net> References: <20220304161130.34977-1-michael.riesch@wolfvision.net> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: ZR0P278CA0016.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:16::26) 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: b80ed30e-e6dd-4c22-45ac-08d9fdf9afae X-MS-TrafficTypeDiagnostic: DB8PR08MB5481: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: l3Dc8EpPBzidiMJRgvj8IVfik9hwzFKQw4QgYYSI4d5QJph5a6Z0PmDgGYhnde4tx6uwwdGX25VBCu7pifyegML6Cvv1pLRAkAZ5Gp1shaabFwoeRqPfYaneHCs5SPkJEJ9NBjd+EHag/4BUaoFuEJ7lVYK0tuynU5rGfaLCAthEn7Zk8e4Zj90k6L2OB4tblw+2FXrvDKDwYMdcUfX2oTTMTeFb+LC3wtbTYbdK1xwxqEFxK0koFnImfXJHPkJ5/GU2ky9a3UkAG7iPhuoDgJYufX6NsnH/1LXIwy7x5eiKUQGNp8abc929Vrf61LvsuTJL8sfIWi0WltU6Hb+KOf65r00toSjs3XwCgSIrodj9dymSrS+GGVLXYw3xx1GaWYJE2Ac6Wy78tD1Cltyu6Dig5YcKiQ3H5qrs4gDVK7wFwQxSDxt+Tc/ERGG4J4mbt6hDgfywq4sOS8r7wDZIO/dLvEDim+9qff+I90eMJLmO77YivxagknvAHW8Ke/N06RQuOYvcNu9Aa7sfM2WebbjoGhO5ph0HFKoOvaCcgggaZcMLVji/PoX7006cLqa3CL2FYtKeHUq+E7RBSug3DzFcEPYyXBu6FvLoljSnkznlmoQOLDxhmrRdD/rFjBJQfiMIbkBoJe/vh1OrnlnOMA== 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)(346002)(376002)(39840400004)(366004)(136003)(396003)(5660300002)(4326008)(38100700002)(8676002)(66476007)(7416002)(86362001)(66556008)(44832011)(6486002)(2616005)(508600001)(186003)(316002)(1076003)(107886003)(66946007)(6512007)(54906003)(36756003)(83380400001)(6666004)(52116002)(6506007)(2906002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?49L4MmB0kzW2lkJ/gUlavAIyfa47ikKqw+KtUJkPRBaOmKiUhQAUIhnwr+ZS?= =?us-ascii?Q?U7xKhCTVBrDkNMxarN5SzMFgVax7kLDfVYb4dufAlAez66KOXUvx6B4/pB00?= =?us-ascii?Q?7+9hgyOnU2lSe70vayAj/Obw+rxfpXmnaBwe19Ein/yUPZmL8OivJT4LLgOe?= =?us-ascii?Q?PZaOlKkFWFlmCL3QzIeXzVpYej3Pz43vgcWUe2BCy6dUf2t5VnPrKFG5EW1t?= =?us-ascii?Q?SWZvQovOQ7QpStnALQ2ypwZSDdoyPA07cjiv4CIEr4H2iejjBYC2m2KLpQ64?= =?us-ascii?Q?FJB9IiezSnGLh6reWe9yztdb8SmMz2oKR7wQeJaNE6Ci66AxtF9PNAAlTI5e?= =?us-ascii?Q?HXqqYAueBtQEpOequar/V5vfwpxXBMVqbGF5qnbds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W2TMX2wh/ms/OdEYRjxG8ic6LMxJXzOy5?= =?us-ascii?Q?IkX7m7chGyPHo3qbB0nJsVALeDN95zRFnn3O6jWueVbt3Ar/+VPEBg0HqD38?= =?us-ascii?Q?8FeCh7Mzi3I8QNpyxbRU+0geu3dbYKM7FqqbSo95R1g/8ZN0zUfwQ0m+pygu?= =?us-ascii?Q?wRE8dgLmo5gBYVWat+MCv6XZPp2jkAoMS53atG+MQ8Qt+bnWrY4imus/B6am?= =?us-ascii?Q?lWXIIQu15kGebBb5BKGXWYdEfzJX3Ma7EEw+0tTQVSPHq2bWe1HJk90IfNnB?= =?us-ascii?Q?KIWHUgMw9WAvUSS/SVWRhb8qO5hm0qdVYH+AmpOkWe7EwUXzSdzme9TnTn1/?= =?us-ascii?Q?1IPfBfYfrT3wH3DqGI9z1CXCW76gPnqgeD6zip+fGNM8qJDtHq0cAJvGVtiA?= =?us-ascii?Q?4IdGqFdOGmFjpLxFzmsJDUYazD8/IN/DTseluDF3ky9wFwKhzrUzQw0QqOHS?= =?us-ascii?Q?LpqApjLX/qofCaoac1m9xODlfr/ibJI=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: b80ed30e-e6dd-4c22-45ac-08d9fdf9afae X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2022 16:11:48.7003 (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: EIfkrwTNEznw8gR++ApRg5Uzk5e0dK8TAI98DEB20LSNflOKfiLr10MXyrneIrcC2L/wJ1X2XdfFv+PxXTBUMIDHZJNlYeAHknMsiiGLn28= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5481 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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