Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp301744lqp; Thu, 21 Mar 2024 01:18:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAGslsgJbZMiDWfNi0dSidI9GVNZwzZBH+rXYzWrdCWVcphBUD+xY2SDfKY+uWtRycB1yG7nYFR8gX+Add4P1w6UE9OcX1Pt+J0s/VNA== X-Google-Smtp-Source: AGHT+IHZ6zc220yCmBBf5c2sLu4/PmDUgJIk6GBNhtT3Y4wdfUPA3bfBXPzEqLBxtDVfIJouFysY X-Received: by 2002:a92:d086:0:b0:366:ba44:ed72 with SMTP id h6-20020a92d086000000b00366ba44ed72mr15167001ilh.10.1711009082893; Thu, 21 Mar 2024 01:18:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711009082; cv=pass; d=google.com; s=arc-20160816; b=Ks1umiGhmR44158JvyjgO640nkQhBJP6yDmHlkQDBSFWRm8U1x9VQH8fjTDre7JYyj ekWPIidlBcOju14MGVVKOVhvGm776jcNbUimXFRMbRCmCij0xKOOflnjPIAuxGHz67sN qAmHLJ4TuLGndHr0I0VUlO3nv/JCqvXrt+/1E5nbt0L5y0/aQfl/pSwbMKLHP6ZJqYm0 yiFCKA/KsORx0tP9X+nxm7fC2M20sTlDc/xw/Nfs2IdomVFW8vmGllmqZ6M5JZ3sos2n lPDiixRATI9BqP8WpQXZVrvwgVNDa4IjU71/Huaemy7Gnj33YAdB3IswpD8oFLVUJqd/ aSxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=x816MoU6PHSK5OV4r96bOarzyV/+1Q+CoptfU+1txQM=; fh=CWyf0Ve4y/5wYFIGMm19GiIKpu3E9wR39emddQXLqsw=; b=iS4tMjelfW3VrSR3CG0U5xtgskengXxggj7yx9aMgazN/H1OUF69mU/x/cSps9T4Hx OEZOT5LAQt0jlsdDPF3k7A8WEbFUNi5hVi5jlBq7qgssDMKW8iDk7cJ8nhP9o4Wru/L6 0umB0P5W5nAjmODTRcZTxylG5/BXDLhJBWn+4rjwNXjHc91gC8br/EhnzS2unyEYFMQm W2eJeUtOok0q1emAm1JsZoryfED1tg9uvdkr5YwHZnuzHSRdXf4Gg1danEOtYMKZhBj6 +9VEkmMAja0IGtzbmIcXljnbX6pyi6oo/m0BGUwx9ssJWuiKReiJLA5E1+bPNZ0oGUdt +0Zg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h9DsC4hY; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-109774-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109774-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 12-20020a63174c000000b005d8e22b5258si13336440pgx.879.2024.03.21.01.18.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 01:18:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109774-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h9DsC4hY; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-109774-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109774-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 81E3F2807BB for ; Thu, 21 Mar 2024 08:18:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35AC677F26; Thu, 21 Mar 2024 08:15:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="h9DsC4hY" Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 51AC65B1E2 for ; Thu, 21 Mar 2024 08:15:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008945; cv=none; b=LUKLUs96l3Ow98eLuFI2wwMkci/5jqcf25+ZKnvn9evDazFLk8+qta2OAEpgTckJyT5ENvgxZtZYoU9rY2mfKxkztRlWDoPrZk11HPM72cyr7MUN3QROwJMu4c/um9Er0OuIB7Gq8oNG8qjAFMcAsWmY6y5h+O9+bq6VfGfWIJo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008945; c=relaxed/simple; bh=1oZTswTLCK7Z+3DMifQ0y7SMF5QBjEZ6wL1QP9Si9+o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GTpr7pktcARHiC7Pb8ztAXzLDa+E0wLmJs8kCv+foBsx/4IXE1d7+ARjHP3e5EYUzqAuNrYNExygFyxazeIaXLIpozx2dLdrnh09fypb+4UfL2APDHCg5MvPDaK1YJry1hcuH2op9ZB3YjLiHsklbk/zs5tXjsva5+uZVdhHSwY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=h9DsC4hY; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a46ea03c2a5so123153666b.1 for ; Thu, 21 Mar 2024 01:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711008941; x=1711613741; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=x816MoU6PHSK5OV4r96bOarzyV/+1Q+CoptfU+1txQM=; b=h9DsC4hYNedfaO+Ai0bQHOhZ0aB9/CWWEM81HZ9i1ayIpBadnCqhLsd5nZUFPNf3oI aUwkZILE/fY12sWcvQAMH6ASR+acgBNjk3V2jj0ZkuVy11AgumeCZ+zsmnFpPbgCi0mG stzfpSZ9X9Pzn1SrV2v60xCOSsObuAKBnogmf2QpiSQAvxQ5St2vKB62e2ER2GnQwRup AQYCkYiK2CLMG+Svu5efvPQ4cP/vl9FfVyeg6eiuvayMkI2r7U8DAFEsiKsvEEh+E3EI pCZM+StDPBRdslQmUtIXLBTk+yNZQW4FpRXdgDk7WD8q9AQ2isl2U39E1+EyYMuq9282 gRbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711008941; x=1711613741; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=x816MoU6PHSK5OV4r96bOarzyV/+1Q+CoptfU+1txQM=; b=SjE7zzUBTo9ZbBMKqjMS7d6tsCSrYQnUEZaCABv8ILaGX30NLedPmtdjFgQNQLxMGT ihMunt7s9Sr9pOGcjC5On9A8aJ73YFcI3/ln+gVNMFDIJu9kyV6TQXbxg2rZg4SDUBv8 z1Io/Ikspt0fWj2MFLmOMrggTvxYeuSvNSy2qXhY3ZnYPRcS2EGQXTLtm6gVYAZdE1vk ZxJWhGAEQJnK+BMnO/hOStJj+5r8y3iIS9Mtp6fd14Tm9jY/wIMeVzo82KZWPALVksgR akZg3ZtRZdNsHJNedRXknDPWjhVopvYCP9VI8gnDU0W+8Rbh361Onz59wpwLrjvOXplM zg7A== X-Forwarded-Encrypted: i=1; AJvYcCWF14d2focw6U4RQndKA5ov+ClHWNnKlNVMaTxGEv9hE+tgGWnk2+88h6vnvhoHE/WmctnReI1JOoVIzpR632C69Y2UVU6YjORoH0sp X-Gm-Message-State: AOJu0YxVBM97dN20+MpxyolQgIxnBw/Hp+EA35jpbnF+/HWdAhVyEfhX W3F9A19Yaw80x5dveiXUe72g12Cur5Kl15Pd/VgJan0F5hEsNNfOXLCjsittHiw= X-Received: by 2002:a17:907:b9cf:b0:a46:f563:a642 with SMTP id xa15-20020a170907b9cf00b00a46f563a642mr1790488ejc.7.1711008941627; Thu, 21 Mar 2024 01:15:41 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id a4-20020a170906368400b00a44936527b5sm8253978ejc.99.2024.03.21.01.15.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Mar 2024 01:15:41 -0700 (PDT) Message-ID: Date: Thu, 21 Mar 2024 09:15:38 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/4] arm64: dts: rockchip: Add VEPU121 to rk3588 To: Emmanuel Gil Peyrot , linux-kernel@vger.kernel.org Cc: Ezequiel Garcia , Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Joerg Roedel , Will Deacon , Robin Murphy , Sebastian Reichel , Cristian Ciocaltea , Dragan Simic , Shreeya Patel , Chris Morgan , Andy Yan , Nicolas Frattaroli , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev References: <20240320173736.2720778-1-linkmauve@linkmauve.fr> <20240320173736.2720778-4-linkmauve@linkmauve.fr> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9Kmw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2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240320173736.2720778-4-linkmauve@linkmauve.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 20/03/2024 18:37, Emmanuel Gil Peyrot wrote: > The TRM (version 1.0 page 385) lists five VEPU121 cores, but only four > interrupts are listed (on page 24), so I’ve only enabled four of them > for now. > > Signed-off-by: Emmanuel Gil Peyrot > --- > arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 80 +++++++++++++++++++++++ > 1 file changed, 80 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi > index 2a23b4dc36e4..fe77b56ac9a0 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi > @@ -2488,6 +2488,86 @@ gpio4: gpio@fec50000 { > }; > }; > > + jpeg_enc0: video-codec@fdba0000 { > + compatible = "rockchip,rk3588-vepu121"; > + reg = <0x0 0xfdba0000 0x0 0x800>; > + interrupts = ; > + clocks = <&cru ACLK_JPEG_ENCODER0>, <&cru HCLK_JPEG_ENCODER0>; > + clock-names = "aclk", "hclk"; > + iommus = <&jpeg_enc0_mmu>; > + power-domains = <&power RK3588_PD_VDPU>; > + }; > + > + jpeg_enc0_mmu: iommu@fdba0800 { > + compatible = "rockchip,rk3588-iommu"; It does not look like you tested the DTS against bindings. Please run `make dtbs_check W=1` (see Documentation/devicetree/bindings/writing-schema.rst or https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/ for instructions). Best regards, Krzysztof