Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5549606rdb; Wed, 13 Dec 2023 11:52:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IEmvbpG34a0s7UetajjWjwbTwR+U8xCTRRGl6w7t9YK40Fu2U4S7612Xm66CUSvOY9oWfwO X-Received: by 2002:a05:6a20:bf10:b0:18f:97c:8a4b with SMTP id gc16-20020a056a20bf1000b0018f097c8a4bmr9801034pzb.118.1702497137616; Wed, 13 Dec 2023 11:52:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702497137; cv=none; d=google.com; s=arc-20160816; b=yzFsAP1km0PAeWhr2a+0WgZghNuz6aVMa9lZCRw905C2/ZF7noNPE/dXw+Wl1lgekI pyGzjho0Q23iuwvyGlwIfPcfUn6SRwxcOeX85CxDd3iAsYUDsjmJZoH1vgE39P9TSDsY dL151oFe0NXDrtf9DS06cc5i1cNdPgWzxi0/f8z7/f/yB7yCZC+1ARbWn3EmP2UieFak 5+ffCv/vACFqcYIvMFm12KOa7BTxhdFaHSTXcupgm0jQZxZaayB8AGHUT35hAWqZiiNn IQeX/WyVtldlYB+iHyeoGav6cMerWeRkz5XrJJu3rBarLJhOboq+m+7W3zSXadntRHY5 Bhjg== 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 Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id fb21-20020a056a002d9500b006ce5b642330si9982538pfb.212.2023.12.13.11.52.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 11:52:17 -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 3554B826EE8F; Wed, 13 Dec 2023 11:52:15 -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=20St=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 Content-Transfer-Encoding: 8bit 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:15 -0800 (PST) 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>; -- 2.43.0