From patchwork Wed Dec 13 19:51:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 178279 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp8030523dys; Wed, 13 Dec 2023 11:52:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaR4FDwu+jJTvVdRyYvvUu3QmJsCgfI5R17sFGCreHiAijCBTpIuGJstjgz1x4IeNb5Dm9 X-Received: by 2002:a17:90a:4594:b0:285:d6a2:3bf9 with SMTP id v20-20020a17090a459400b00285d6a23bf9mr7471546pjg.11.1702497133936; Wed, 13 Dec 2023 11:52:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702497133; cv=none; d=google.com; s=arc-20160816; b=r4rkdK8iI9cg/0G82eavFksW53AAmZzA3g24OPkDeQ0SEEYPnZ8ymm6Eh4/uOksClq h498KpScm2Bv4m9GBx/Wh4VmTLhS6LAyz2aODBuSTir+gFF5te3HtJCA6ykEeEo3AMOF FvpJG+7Ex1Zr+jKmUHw/I//b/ylPSSnrgwtIQDyUbPj6ekCOWoCpd+VbAOQGc/sR3jpW UlXmtyJRkc8yvLdsBwwgXpMdmVIOLcVAYYnCqTby3YwJ6usI1VaSG9e+F7wt2DDUxFMy oKYvZHaL98OYewRevs9r2jD/JWOUenHFgfHqoXfp9P0W1u3tla1Rvflv1n0YXPzBVJ9A lzqA== 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=res/nVyNjutOW8BN3aTB9WUo0BBvwS0hIxu7mxFR92s=; fh=nzMX5Jolb3GculGR3f1Z1ReHOqdNjcdazDY5R3X+7M0=; b=q1qjg46n7KwLtTtNFi4CvHeBls5Wuca4M9dySIQzpvicq/8BBikbIk2j/ZRBT6UUzW A7KRBoTYJ76L8ulejoGizv+dBvhfWJQc2blmvox6MHLBGbrY7d+R7M0sYo3S4LraKIzY D2aQG2R3LFIibvFpH8OKj5zQn753xJoDu3FwKF5zcKzDfAyrFuUCCWTWN9gx2OKrQJOk 5pnt2WKObXfCsY9X5zFL2RefN+DHtFcJH1L3JtXLFeb7E5FEDHFA0HqzweVHKhoOOXEu mPZOQDaanQ8Zc7k1nGge7DEj2MFiXipBgePF0z7XjmS9quIrA/AtmkqC7mrX3e4hozn4 s7AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GtzYy5AQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id mp5-20020a17090b190500b00286bba72e5fsi1818164pjb.16.2023.12.13.11.52.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 11:52:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GtzYy5AQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A700A826EE91; Wed, 13 Dec 2023 11:52:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379380AbjLMTvy (ORCPT + 99 others); Wed, 13 Dec 2023 14:51:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379048AbjLMTv2 (ORCPT ); Wed, 13 Dec 2023 14:51:28 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7608DE3; Wed, 13 Dec 2023 11:51:34 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40c317723a8so63811025e9.3; Wed, 13 Dec 2023 11:51:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702497093; x=1703101893; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=res/nVyNjutOW8BN3aTB9WUo0BBvwS0hIxu7mxFR92s=; b=GtzYy5AQksozX2hqpeZqEIxm96LRjRWw7mx8aOVY3rnWzcURY6/+dhrotzeLtEwOS0 0HsOk1Poh8KgQGK5Mb8zno8UrfklFqwrBeMR2KoJy9nmhjFHUpNHEXAkej5Ru+Sj7vTK YNlkIMc6fIUjarAMVO9BY5JnzAtquSPbeSffedxC4MOvBUkx4gmVqimkadDNw2nUnWoT YPz5G1efQhYlnMDxqtd2oAD2gHqr3mQmrkRrO0yfHrKQOS3rK8+nbjuszD4k6pFrsl9j rLOVV6ETwoMjad3uhz240dlRBGvByV3RZ+Pug5ckJ6fFXWo9FM7TE6suQoWQxOCxQrLL 0QAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702497093; x=1703101893; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=res/nVyNjutOW8BN3aTB9WUo0BBvwS0hIxu7mxFR92s=; b=Rli2fVXov1UlAjWXqxbAHBptO9d7lvtYCV/dlfyfHrErIIuizaomAgU6hvad88p8Xi DhGPsDhluBBTAPBApgXjNR9k6k+Kaq96keT0F2046ytJgOQnJo3DEwtWiKjEfLWgqQTW Zr0MqWR8c6LSgpM6qRY4EUcP5nlSTgOvfi6E0trnUBRdr/gonvndaFwTU1HUkvw9q/FA aXhg7677S4IlGcUvmynYt/GL2fhvvyo+ChFC9PrwC3Z7hZ/Pz4uyxf9tbijMVdo58YtO 3MG/+kuKgIWoNYHaNbReGubqeOe6K9+E1Y2V8wuRetgRLHdlBB5UgNJCHj9Ik77GI2/B gw2g== X-Gm-Message-State: AOJu0YylG2io5DMfFZ3sMs/gFocrykuir3sz5k6d9k/wBpTeRst0K6/w e4ecm8Ck1eMp0/9jCADAIdS10jPTzg== X-Received: by 2002:a7b:cc8e:0:b0:40c:613a:8364 with SMTP id p14-20020a7bcc8e000000b0040c613a8364mr39998wma.134.1702497092872; Wed, 13 Dec 2023 11:51:32 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:92dc:8b1c:e01c:b93c]) by smtp.gmail.com with ESMTPSA id fm14-20020a05600c0c0e00b00407b93d8085sm24050698wmb.27.2023.12.13.11.51.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 11:51:32 -0800 (PST) From: Alex Bee To: Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , Andy Yan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: David Airlie , Daniel Vetter , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH 09/11] ARM: dts: rockchip: Add display subsystem for RK3128 Date: Wed, 13 Dec 2023 20:51:23 +0100 Message-ID: <20231213195125.212923-10-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231213195125.212923-1-knaerzche@gmail.com> References: <20231213195125.212923-1-knaerzche@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 13 Dec 2023 11:52:11 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785197634599070364 X-GMAIL-MSGID: 1785197634599070364 Add vop and display-subsysem nodes to RK3128's device tree. Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128.dtsi | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index e2264c40b924..1a3bc8b2bc6e 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -115,6 +115,12 @@ opp-1200000000 { }; }; + display_subsystem: display-subsystem { + compatible = "rockchip,display-subsystem"; + ports = <&vop_out>; + status = "disabled"; + }; + gpu_opp_table: opp-table-1 { compatible = "operating-points-v2"; @@ -246,6 +252,27 @@ power-domain@RK3128_PD_GPU { }; }; + vop: vop@1010e000 { + compatible = "rockchip,rk3126-vop"; + reg = <0x1010e000 0x300>; + interrupts = ; + clocks = <&cru ACLK_LCDC0>, <&cru DCLK_VOP>, + <&cru HCLK_LCDC0>; + clock-names = "aclk_vop", "dclk_vop", + "hclk_vop"; + resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, + <&cru SRST_VOP_D>; + reset-names = "axi", "ahb", + "dclk"; + power-domains = <&power RK3128_PD_VIO>; + status = "disabled"; + + vop_out: port { + #address-cells = <1>; + #size-cells = <0>; + }; + }; + qos_gpu: qos@1012d000 { compatible = "rockchip,rk3128-qos", "syscon"; reg = <0x1012d000 0x20>;