Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp628187lqp; Wed, 12 Jun 2024 11:11:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7JjVr+3j2aSctoGKPPCthzDP2voqVhJqUdS9HO0UR/qiZYukB6uKXmhpcUfEZtRwRSteyRMIClXoPSehhTwsMMuNdVuafFlPPWxHclQ== X-Google-Smtp-Source: AGHT+IH5B/qWz64qP1u7yddUWgnyiqEoRC6R/53RuGyQReDvoIIsIcw6cIkGO3wOXC6pejOiyuxf X-Received: by 2002:a05:622a:11c2:b0:441:4184:17f3 with SMTP id d75a77b69052e-4415aca73abmr33242221cf.61.1718215865798; Wed, 12 Jun 2024 11:11:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718215865; cv=pass; d=google.com; s=arc-20160816; b=RJEwS4MBXUopA1MqN7QkdOhut8jzxhJBCm1m9OsOTdgGCwEDrGl/Pjk3xh7TCe8q57 ZNhIaOcmTpTkNcYUULuLg+9GR98XhZz2Et7/6aG/OywwLVaiLtJhUUFSzgRqPsHV6EQB OPoj9HwzCL4K3rHRhUoWa0wlFGY+PBqu2fWNgzOcwIlvBcdDRzFLldqIRnTD1Cp3x5is B0LNkMfEQBHXRRmkqGwBFe8qalChEyU3KFMDKPWpa2l0z6oeL0aB5ktCz8rWUt3vq2OW BcjFCu/H2j2qyccuOO5WxVJmLPTNDwdS5opIdB6Dfmut3Ucuz9FkLKsWENEJp8RGcV67 7fAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=7Wwh90v24Qe0BQdwYakUsPolSiapUti7KGb/PL1W8ms=; fh=BczfGhyf3cr237QCvAcm6EpR/DOpBxboqABcddJ6y6U=; b=KuDgi0NHU3AHTKXhQEmBTgeVnzhvhukdLPxtqoFsiA8vMeJEhexeIvEGgCUSO/bf4e 0SfxmWLEgniIgiUHnFvdQo2Zkir9JgIrtxGBT3rBzlRYCyIl+wQdq05AD5Mlm/yTkdCM gx2FjBwQJQ4/9HaobfKwIx/exlu3uGExQlpjvZ1JmIw0Zv2jGs2LoZ1MrWgj8kt8G8+s DyHxaMHzPiC431XDVa1MXzPunN2AvXVR48HZqZDzo2JhOQfBW1eyHMSYT+IyLH83Sx53 K7EKpRp2O26sUuYq4tawB0wjGsNsu2iPlYdI8O72XdxS7w9VTjpEkpaXifSHcYonA4kx WP/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cknow.org header.s=key1 header.b="tQXH8/Xq"; arc=pass (i=1 spf=pass spfdomain=cknow.org dkim=pass dkdomain=cknow.org dmarc=pass fromdomain=cknow.org); spf=pass (google.com: domain of linux-kernel+bounces-212044-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212044-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cknow.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-441595692f5si22213231cf.557.2024.06.12.11.11.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 11:11:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212044-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@cknow.org header.s=key1 header.b="tQXH8/Xq"; arc=pass (i=1 spf=pass spfdomain=cknow.org dkim=pass dkdomain=cknow.org dmarc=pass fromdomain=cknow.org); spf=pass (google.com: domain of linux-kernel+bounces-212044-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212044-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cknow.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 80EAC1C21B9E for ; Wed, 12 Jun 2024 18:11:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C19818308F; Wed, 12 Jun 2024 18:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="tQXH8/Xq" Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53BBF183073 for ; Wed, 12 Jun 2024 18:10:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718215849; cv=none; b=mGDfLuru9VcLxGURAbGG8DYmWhr6EMTnI3OFz+EAirbsdshEo4gRFUqwZhWXg54ha/PBz2HiiQLVd+1rCCedUU89zu3xXSGEyp2UveYM4fztgzwNqqlQovCaKrcl4DrqVsuouQZfPSaQjT00d14Dhhlk4Hk6oEikj4s3JYazqSs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718215849; c=relaxed/simple; bh=+XnHRTnS9LdzjAnCfXLi+O0dR/LBhekA4iksGxNsJfw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oQ4xvpSQAtuw2Uf7nWi/vwYBW7Tx607DoUpjj6EIXvNyqyzD0FOGfSXA88pZVZiRMpCYeiVmefljmFaIN9uTt073dw3Dlsg3ONmTz0Wpf2tbKutyqYK1xm1lLm90GkRys3TGxwabYpdOSGOy6HF0E7nK62qz/qc2jYHr8jU+plk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=tQXH8/Xq; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org X-Envelope-To: ezequiel@vanguardiasur.com.ar DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1718215845; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7Wwh90v24Qe0BQdwYakUsPolSiapUti7KGb/PL1W8ms=; b=tQXH8/Xq1QwVd4wMRAzNCmzYZzKLwohN/fYu1HQM4kXHE6+bf2CX1BhmaEvz3S/Hg3SPKy 87DEEJ6ISuSnNmwLRBcaqGex7Bxy0nahTAxNfXA/B+VJ87tJWcgbu97vRj6gpo5TchKCPY mjpYLhImN/fkkrTqDuctfIyl/PIQxHa+WHB5fM3NFGtWxKQ+zBbN3kPV6sxOu4N3ZGIXC+ 8mrczhGNnlxVPOGPvff1s/5YuwwE2bOL1PfB7wITly/t5jnO/0Fq3dNP+pU/wBsczUIhVi 26rDjcJfWZyO7caBLM/8sBaFKy6JEUViMJOwrqA5MyvSwrqRkK6+c8EHUvx1iw== X-Envelope-To: p.zabel@pengutronix.de X-Envelope-To: frattaroli.nicolas@gmail.com X-Envelope-To: heiko@sntech.de X-Envelope-To: linux-rockchip@lists.infradead.org X-Envelope-To: robh@kernel.org X-Envelope-To: krzk+dt@kernel.org X-Envelope-To: conor+dt@kernel.org X-Envelope-To: liujianfeng1994@gmail.com X-Envelope-To: linkmauve@linkmauve.fr X-Envelope-To: nicolas.dufresne@collabora.com X-Envelope-To: linux-media@vger.kernel.org X-Envelope-To: linux-rockchip@lists.infradead.org X-Envelope-To: devicetree@vger.kernel.org X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: kernel@collabora.com X-Envelope-To: sigmaris@gmail.com X-Envelope-To: sebastian.reichel@collabora.com X-Envelope-To: sebastian.reichel@collabora.com X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Diederik de Haas To: Ezequiel Garcia , Philipp Zabel , Nicolas Frattaroli , Heiko Stuebner , linux-rockchip@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jianfeng Liu , Emmanuel Gil Peyrot , Nicolas Dufresne , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Hugh Cole-Baker , Sebastian Reichel , Sebastian Reichel Subject: Re: [PATCH v5 5/5] arm64: dts: rockchip: Add VPU121 support for RK3588 Date: Wed, 12 Jun 2024 20:10:30 +0200 Message-ID: <4207056.GSNtieVc0Q@bagend> Organization: Connecting Knowledge In-Reply-To: <20240612173213.42827-6-sebastian.reichel@collabora.com> References: <20240612173213.42827-1-sebastian.reichel@collabora.com> <20240612173213.42827-6-sebastian.reichel@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5992854.hoJakhlImG"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Migadu-Flow: FLOW_OUT --nextPart5992854.hoJakhlImG Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Diederik de Haas Date: Wed, 12 Jun 2024 20:10:30 +0200 Message-ID: <4207056.GSNtieVc0Q@bagend> Organization: Connecting Knowledge In-Reply-To: <20240612173213.42827-6-sebastian.reichel@collabora.com> MIME-Version: 1.0 Hi, On Wednesday, 12 June 2024 19:15:45 CEST Sebastian Reichel wrote: > diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi > b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index > 9edbcfe778ca..e7e1b456b9b9 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi > @@ -1239,6 +1239,27 @@ jpeg_enc3_mmu: iommu@fdbac800 { > #iommu-cells = <0>; > }; > > + vpu: video-codec@fdb50000 { > + compatible = "rockchip,rk3588-vpu121", > "rockchip,rk3568-vpu"; + reg = <0x0 0xfdb50000 0x0 0x800>; > + interrupts = ; > + interrupt-names = "vdpu"; > + clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; > + clock-names = "aclk", "hclk"; > + iommus = <&vpu_mmu>; > + power-domains = <&power RK3588_PD_VDPU>; > + }; > + > + vpu_mmu: iommu@fdb50800 { > + compatible = "rockchip,rk3588-iommu", > "rockchip,rk3568-iommu"; + reg = <0x0 0xfdb50800 0x0 0x40>; > + interrupts = ; > + clock-names = "aclk", "iface"; > + clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; > + power-domains = <&power RK3588_PD_VDPU>; > + #iommu-cells = <0>; > + }; > + > av1d: video-codec@fdc70000 { Shouldn't these nodes come *before* jpeg_enc0: video-codec@fdba0000 As fdb50000 is lower then fdba0000? Cheers, Diederik --nextPart5992854.hoJakhlImG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZmnklgAKCRDXblvOeH7b bjdlAQD4lJfAZ+uWdf2M0bt3TgJkdY9aeTap7nRn/OtdhFmyLwD+KKaiUZBld2Py aS3zD6719QKISeO69bc5PwdusH9GXAA= =RLxZ -----END PGP SIGNATURE----- --nextPart5992854.hoJakhlImG--