From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 02442C7115A for ; Mon, 16 Jun 2025 18:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=170kxITiahI0WLlzh73GbaAad8nEI7X1qHMVlhx8xgg=; b=Lgifc4xJF7tPl2NC/BGUAN1KL3 Psd+qScBQwTTSHrycr5Xu1VXKrJwffMzeOc+U4sG3SS2FCCR2GzF7bWPWf7OoBCSy7VY879CtArmi EpCyDucxFIY5byUAsUjDtZQa4jG5Fu7m/GXgE/tx+DSj2PI1oxx3GolJ4b6BDWUCM8BvqlABfz8Xi +iPpklJxDfjm1ePLbofCmuqLqyVCvSXc/v20UgNCc7OB+ERP5P8B2JOqh4ug3U99pUhSKa4J7ceVV AjrpLxWpdDGfgKnbGhUaBk8XiI/GO8kKHcwCY+/KxD56hKdwcCUCUQ+RxhSLGu15ZL7qmZxkK9jtM 2EOwcD3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uREa0-00000005De1-45nU; Mon, 16 Jun 2025 18:29:12 +0000 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uRC74-00000004w06-1x8R; Mon, 16 Jun 2025 15:51:12 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1750089056; cv=none; d=zohomail.com; s=zohoarc; b=CuDhxF78VIhhVcLLbtIDA2g0A3JRBwHgpImUgZeiW4qRpCpfJhMRtz9J7W9/puxsWBKS2acfafaaOewvv4xu4LVPozJ7XRFtOezMnAxj7ClBNDEEwJCQ0Ch+NjBHNxVysZS/2VczSP1P0vTDsE1lkxK3KyTiMGvcAXj1zlViM6s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1750089056; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=170kxITiahI0WLlzh73GbaAad8nEI7X1qHMVlhx8xgg=; b=hqKte0ENBFTvga3/nAdinwK6t+q6u3A5RAWGBNgVnX9QLBqT7VaAzL89uiBQzxJAVtYrpwnloyQGdNg2Q8Y7D9rjI8S+WLMgjmpLaxvUpGj7zar4BLkP56KNdtAIMcT6ldRRpJpG39V4tRI6nyjYBkdpmVyXS+zNiE6bsIpk8MA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=benjamin.gaignard@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1750089056; s=zohomail; d=collabora.com; i=benjamin.gaignard@collabora.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=170kxITiahI0WLlzh73GbaAad8nEI7X1qHMVlhx8xgg=; b=O00Z0MngrOahDkUAGWl2DFdJ+tJUMdAR2SM/vqPLM48emFpW6jWhyqfnh5pCpf1s +pT89k0SmwDB8LXI6AlbYd/0BdXSFRVUsz2T9jedNf4PMpibuiRBBn1r7LsFbMYe/qY +RmeU2GonGGrlMu9bQz7IfqYznSwDPBkLtiZwUeQ= Received: by mx.zohomail.com with SMTPS id 1750089054716172.7304639178068; Mon, 16 Jun 2025 08:50:54 -0700 (PDT) Message-ID: <2d251d7c-7906-4a66-9791-7f71e7a4b54d@collabora.com> Date: Mon, 16 Jun 2025 17:50:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/5] dt-bindings: iommu: verisilicon: Add binding for VSI IOMMU To: Conor Dooley Cc: joro@8bytes.org, will@kernel.org, robin.murphy@arm.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, nicolas.dufresne@collabora.com, p.zabel@pengutronix.de, mchehab@kernel.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-media@vger.kernel.org, kernel@collabora.com References: <20250616145607.116639-1-benjamin.gaignard@collabora.com> <20250616145607.116639-3-benjamin.gaignard@collabora.com> <20250616-winter-strict-db98f85db22d@spud> <5c971c09-c398-40a3-9ed5-ec38b6645e1d@collabora.com> <20250616-contempt-remix-5af2b7281cbd@spud> Content-Language: en-US From: Benjamin Gaignard In-Reply-To: <20250616-contempt-remix-5af2b7281cbd@spud> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250616_085110_567125_CAB2D381 X-CRM114-Status: GOOD ( 16.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Le 16/06/2025 à 17:42, Conor Dooley a écrit : > On Mon, Jun 16, 2025 at 05:30:44PM +0200, Benjamin Gaignard wrote: >> Le 16/06/2025 à 17:14, Conor Dooley a écrit : >>> On Mon, Jun 16, 2025 at 04:55:50PM +0200, Benjamin Gaignard wrote: >>>> Add a device tree binding for the Verisilicon (VSI) IOMMU. This IOMMU sits >>>> in front of hardware encoder and decoder blocks on SoCs using Verisilicon IP, >>>> such as the Rockchip RK3588. >>>> >>>> Signed-off-by: Benjamin Gaignard >>>> --- >>>> .../bindings/iommu/verisilicon,iommu.yaml | 71 +++++++++++++++++++ >>>> 1 file changed, 71 insertions(+) >>>> create mode 100644 Documentation/devicetree/bindings/iommu/verisilicon,iommu.yaml >>>> >>>> diff --git a/Documentation/devicetree/bindings/iommu/verisilicon,iommu.yaml b/Documentation/devicetree/bindings/iommu/verisilicon,iommu.yaml >>>> new file mode 100644 >>>> index 000000000000..acef855fc61d >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/iommu/verisilicon,iommu.yaml >>>> @@ -0,0 +1,71 @@ >>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>>> +%YAML 1.2 >>>> +--- >>>> +$id: http://devicetree.org/schemas/iommu/verisilicon,iommu.yaml# >>>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>>> + >>>> +title: Verisilicon IOMMU >>>> + >>>> +maintainers: >>>> + - Benjamin Gaignard >>>> + >>>> +description: |+ >>>> + A Versilicon iommu translates io virtual addresses to physical addresses for >>>> + its associated video decoder. >>>> + >>>> +properties: >>>> + compatible: >>>> + oneOf: >>>> + - items: >>>> + - const: verisilicon,iommu >>> You're missing a soc-specific compatible at the very least here, but is >>> there really no versioning on the IP at all? I'd be surprised if >>> verisilicon only produced exactly one version of an iommu IP. >> I only aware this version of the iommu for the moment. > "for the moment", yeah. Is there any information that could be used to > version this available? The hardware block isn't documented in the TRM so I don't know if there is a version field or something like that. > >> Does adding verisilicon,rk3588-iommu sound good for you ? > It'd be "rockchip,rk3588-iommu", but sure. "rockchip,rk3588-iommu" is already use for other MMUs in rk3588.