From patchwork Tue Dec 19 17:00:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 181123 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2085736dyi; Tue, 19 Dec 2023 09:10:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IGc0yzXVPiAK2UfsrJt7Qb8EJXk+y3OYU7Eeg1HTMVvxRtkGnEMChj2TGloB8kpaUfeAFlp X-Received: by 2002:a17:902:e746:b0:1d3:c405:e829 with SMTP id p6-20020a170902e74600b001d3c405e829mr2532145plf.119.1703005809479; Tue, 19 Dec 2023 09:10:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703005809; cv=none; d=google.com; s=arc-20160816; b=WvrbO55kOTu6EBGvtPndhSx2n5GuVLSzv/Vo71FxHiI44TCcFwgottH724AZz+KtWZ 4iFvkMKEY60C5kwnGINCiKDax4ND+rJyFkxhHewHlaCcDKHu/TPzAR4Lcp2XDjL+kzHx UxVCxD4UY91CkQyRH737o+7MxuKm8eCnWTfmGhoMNkklqyLx1BE0+ZUrBiSrGWg4oUO9 bfmrINy27zdY/uzpWytUqFiTdcYNa1BNgN/QkYbDi3vEPA1HuFcqVWUXg6OCY5zdIKxV Ome1N6sqBb5a7OOKYP42MMZfr5lGV7+24XOr9xOcooNLTPYHfGYwAQz6TSFOAnolDwDk ADEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Fkhg2+aCs7jdMgzfxvYxQH9D4wpiG0MxQ7esIiT4Fss=; fh=k7ZhfSDxugAUNAX9PFQjqQnTRGZ+rgCl5CN8/TdzbyU=; b=PrwjH7B7NcaEK5zhr+1aJrruPUeynjmdZRqccQJ9Lfzd7oPRlyCUt+zV+4QZG9OZUl btQklZA2b3jv2VB5RlyTpEbXXMGDbWYnbMS9VbVtT79Hui9LtOJkVBfx3KBjwEerpBv0 yVPjdP5geBw1zw/PZAnpEcq4e4uAsje1KEnC7GCeCt+SAtkXarIEisaweLbUNTK2Xwuz L9Xknyo2jQySS2yBVqgWE0FG4WT68YE0D9xoo7Vt/jOIgVgWes02DzCZZ0xxI2EdslKw KudiojSqCniHzWhVI0uBCgu0Ox9xavsMwFRPDZUyEqgmtq8EhWcYnDAP3K+fpWTCYJXf spFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HWVyosnY; spf=pass (google.com: domain of linux-kernel+bounces-5646-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5646-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id jv11-20020a170903058b00b001d3de593a25si1284420plb.365.2023.12.19.09.10.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:10:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5646-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HWVyosnY; spf=pass (google.com: domain of linux-kernel+bounces-5646-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5646-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 457B1282D16 for ; Tue, 19 Dec 2023 17:10:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ACB7D45C10; Tue, 19 Dec 2023 17:01:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HWVyosnY" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3428A4122C; Tue, 19 Dec 2023 17:01:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-40c236624edso52675025e9.1; Tue, 19 Dec 2023 09:01:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703005292; x=1703610092; 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=Fkhg2+aCs7jdMgzfxvYxQH9D4wpiG0MxQ7esIiT4Fss=; b=HWVyosnYBT9qd7Siw2XO6SRefXBcxmMm0GWL7vf5MNPyjxV00ZX5NY3rH0uB4jMCF3 Et98m9PSx+GQKKcUSHfGMRX6MYd7N+jvxhOzkw4XfVuxaOgb395C9dY9/aB33JBuUU7O W6k6fxCthPO+Kw50jBTgvvdBq+O5KyEeGtlhSmNajr7IMl81Q7EZnlJk4CWlmLTlqOIE MQV3v4iXZXiu+wPy2VAF0DIiAhlPvmf7OWvsylptxNP+3PXWLx2XDUMF5Kg5EznsCgkz /c36loJP9sDltJTCOXrYBVfycDeKjgMwL5iWb/oZXZ6UMWKTTYNE+kchNOEFkXNSAfZJ NJhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703005292; x=1703610092; 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=Fkhg2+aCs7jdMgzfxvYxQH9D4wpiG0MxQ7esIiT4Fss=; b=tEnNId9PMN/86vefeb2LtYPl/3GRM3Vv+5oVomifr6hBORSItTPWX/wtPsLRKLZJT8 oJdeya+WFl8bjK/WK5nPG4q0WcUyr0JzxZ+MypW3I3bmmUUey/fVjVKpfdr098uYdmPn snlmh8EEbgNS89hTmmwlCJqXC5JFFf5VL6YFxHso3Mo32f/uozTIcenmDLYCx98qNWBr tKkn0DQk/sIsPgihWJyPgXEVcyikF7PwOMcLvfh8EP47IZ4/zQoOEeybLK1e2FMfmD0a 7NuYSabjDEmcB/lv0LAjmH4l6VVqR2q10xX4WCzwtH9kgI74dyD2rmdZPHZEzSuNdAWv E32Q== X-Gm-Message-State: AOJu0YxvNtm4WfVC6u1IQISBl3CYRGKgCgNZvLWOd64vI58jUzGJz12s aYHK4vD/K2G1IRgO3vgEGw== X-Received: by 2002:a05:600c:4710:b0:40c:6b6c:6867 with SMTP id v16-20020a05600c471000b0040c6b6c6867mr3950390wmo.178.1703005292435; Tue, 19 Dec 2023 09:01:32 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:7ae5:3e:d1c6:a138]) by smtp.gmail.com with ESMTPSA id i7-20020a05600c354700b0040d2805d158sm3225878wmq.48.2023.12.19.09.01.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:01:32 -0800 (PST) From: Alex Bee To: Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v3 27/29] ARM: dts: rockchip: Add display subsystem for RK3128 Date: Tue, 19 Dec 2023 18:00:57 +0100 Message-ID: <20231219170100.188800-28-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231219170100.188800-1-knaerzche@gmail.com> References: <20231219170100.188800-1-knaerzche@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785731019727646559 X-GMAIL-MSGID: 1785731019727646559 Add vop and display-subsystem nodes to RK3128's device tree. Signed-off-by: Alex Bee --- changes in v2: - no changes changes in v3: - no changes 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>;