From patchwork Fri Dec 22 17:42:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 182752 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1226045dyi; Fri, 22 Dec 2023 09:49:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJ7alWgtInTkSpq7AHEGZV5QnmwwyAcvIPsqM2O/g1y1SxV+htyse4uRzZimFA6wrV0PTo X-Received: by 2002:a17:906:20dd:b0:a23:f17a:163c with SMTP id c29-20020a17090620dd00b00a23f17a163cmr1636603ejc.64.1703267385043; Fri, 22 Dec 2023 09:49:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703267385; cv=none; d=google.com; s=arc-20160816; b=rCe55g/KnBFQrRMNXMATxEm/x/A93F5C7eCTbhJhoAevU/bKQAmgU3jihl8Ur9XqvV lz85/YW2rq99tQmIsEhwjKqFz9zE0jPpHxDKh1j8e1leTyUo1vyRwmEyjL9+gB7nizNj K5zMmeoioC7Vkb0x7sAkhW+OsOjRSGDCrOVrBvpwoMRy+5xjBRWhc/+1ujND5LElH90O QGujX2dcY/+QOTGp8QqJhmhFOVmPcnt/hdwA7BwfIVKGUE3N6q5vlf0hePmnm7VEioNw Cfk20URSIud3VsBsNz5oNFqXWFXCnlvtmff/6mcq3gqnc/K3d88HJL3DiGf1aPHJBRp7 LVZQ== 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=rLzYp4+k7Wco/dLyvbXtMOp2x7OPvW43+Ey3FkfhV04=; fh=k7ZhfSDxugAUNAX9PFQjqQnTRGZ+rgCl5CN8/TdzbyU=; b=h76TAhUeazeyPdxtgjoqDbbph9782Ylg5ae8Mpp7fY+y2nX6hXJ6bx366pwsgoKHkK +10z6NqS3ImaJ3pj/rf8ZiyMtvnqILZDWV8b3OJ6RymLK4dxl9XicsJ3vuLJLAXwwGRM jbXqst9iKoE0nqMnmIwp+7OsUZriqTOuv5T32z6auTqupanfInuDJZIlT6GrdDCK8n6c TeUU7LAlXJltd16Bg/PhuUBVTuutvlbD/X/KvqE3MV2IHugDfM4LEwIymeXNrTvQIylN KD4lK3Ci34dsbTVW00J4pTPt6wPj/iyDZ5MtjlO6INO0hqPTvE0q8NGLAk8BmelCLMu5 oTmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HJBJX406; spf=pass (google.com: domain of linux-kernel+bounces-9976-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9976-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e2-20020a17090681c200b00a26ae4379d8si1274187ejx.3.2023.12.22.09.49.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:49:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9976-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HJBJX406; spf=pass (google.com: domain of linux-kernel+bounces-9976-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9976-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7E3951F21279 for ; Fri, 22 Dec 2023 17:49:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F9D54D125; Fri, 22 Dec 2023 17:42:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HJBJX406" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 278814BA80; Fri, 22 Dec 2023 17:42:42 +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-wr1-f51.google.com with SMTP id ffacd0b85a97d-33697caf9a6so423074f8f.1; Fri, 22 Dec 2023 09:42:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703266961; x=1703871761; 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=rLzYp4+k7Wco/dLyvbXtMOp2x7OPvW43+Ey3FkfhV04=; b=HJBJX4064ItY7m0sOVKX0/6ZuYm39OTR3kE/VOMLDktoXydxnt59RDOWeVbY+pC2yU +sL1u5C6qyOK85zsXLhjJDWJ2tu4Yv5VSxdTad0KXQmLrIdojGJjtHIaan5iw5DDjFTp 0KEZXzc8zPfsDP9dWHblNRDtGujceOxS2ipDYTKCUgaGwAW6vM4fgiQVT2T3KKGy75PV HVomIKXlk5ghEMVQEV5nXAQpJhytmwaSOHeHfhiE9WjlzgRpIK7NecRjBxI6kz2X/cUn gsDfH3hXJvJ1J/i5161FkDrScTfuuT/bu6Kwp8q2Jwk6S7gdg5AdMTXSKBrYPDmtSvi6 mbJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703266961; x=1703871761; 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=rLzYp4+k7Wco/dLyvbXtMOp2x7OPvW43+Ey3FkfhV04=; b=AdzPvKo8Dk1bOMzDbOq18WKMwkfrlMGMUzwksPB6imC5IiJqpphQVB4sNTctUErWvP xzVdAiGYBvTAUeSa0+4S6la6QrbzrTqmMEj/FuGVShu/5pZhI+SVmRGcnpBHc/rh7Nvg R63kTtfKckbHjxuO3cFb4yfekM6YnRdWB5YE+5s5DjgTlLjlrupjFy68ezAaJM9H5JzK g9zlwylgzBhb8OPxKnTKj25f61201ue/lvIhENfJ+cCIKR1onUwqVTDLXFnGbyI06NEp d6fYBxuDYzuVzaiiyqKytGmXfxT+HEK9Jn/5V0tSFwTww98qtbRA426AekvspdPSxYnb pimg== X-Gm-Message-State: AOJu0YwWpTDnYVVG7hYh2e1CIyCJdqHEquhl0/D4+iAA7s09odR9UJzt Gs3HKS8RoRNsIujDpFhZ8w== X-Received: by 2002:a5d:6046:0:b0:336:8d2e:77a1 with SMTP id j6-20020a5d6046000000b003368d2e77a1mr945167wrt.47.1703266961379; Fri, 22 Dec 2023 09:42:41 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:f3ae:2788:7e03:f44]) by smtp.gmail.com with ESMTPSA id w10-20020adfec4a000000b00336670abdcasm4777116wrn.40.2023.12.22.09.42.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:42:41 -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 v4 27/29] ARM: dts: rockchip: Add display subsystem for RK3128 Date: Fri, 22 Dec 2023 18:42:18 +0100 Message-ID: <20231222174220.55249-28-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231222174220.55249-1-knaerzche@gmail.com> References: <20231222174220.55249-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: 1786005301487859498 X-GMAIL-MSGID: 1786005301487859498 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 changes in v4: - none 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>;