Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3478730pxy; Tue, 4 May 2021 03:17:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSCll0mx4oYEIs0WU8h18qDRxWwnBIsvGFVe5D74cF/NHC1BYH325T0N6IsvoEgLIrCn2O X-Received: by 2002:a17:906:c099:: with SMTP id f25mr20886411ejz.499.1620123476516; Tue, 04 May 2021 03:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620123476; cv=none; d=google.com; s=arc-20160816; b=gpSlVFEVV+rp5yPZyjOYIlqbxsfKNr1XZlAe4tTcri0Gu9QL9C9mIEFmKvmEwlYWj8 lqlFYat6Dxbbt2R+k+1yQR3+THpL/0SrgEZxfFPOvcaJUIL1DEoLBlUO6pZfyliZ0g8h ZVWaFyrg0+5I2iUy+nVMdHlckspr3GbZTndC/uxOizq2m2bBz5QVo3WR8BbbP+5h7J9V 8saXPjySGR1rKAuCXDvhRvHBVowt3ttOn2K6jxjZcXR1zHLcjdItfHRKDRGN29Dqiwza aAwrtua9HE2Pc23w5XHV3Id7ZQDF6sn0DGKqSlEBboy8PEWD9pbgvJzWWNtXSxVRdgFb NpiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:user-agent:subject :message-id:mime-version:to:cc:date:in-reply-to:from; bh=57KU3uQwYFBfXW0ejKGXxx9uCTW8XP88zyhR5WB9b9Y=; b=Z+hpK9Izks1IVcZ2WpZudq/aQ6v7I6tMEpt/My+PeHsBL5mrkpTJXUaugcMzoBHkcq H+k8fQXlgV/MpaCr/BHcrUrWiHcNoVk6U+c37wy9gjQ9SeGYvwqkQb2ZdIqOh+KiT6O0 t5JhWFKxf7o45EsnMH9c8L5c9hq2rJrzGpIZoe9U5jZj87xJbmO3ucE64g4UPiGszMqX y+VPnoCavBMVkXPc6/cpbMpgaOZ7iGlT28U5q2ydLK9GWAo6uUgXbJD4V5cL0k9cDbLR Ep1BZCReJ4k7Qp1Xl6v8n/hRNRLDsnjkGtXP3SkFaOyUMnE3wPLxuce2Vnf8tXwQVyx2 wKdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si2231657ejf.188.2021.05.04.03.17.30; Tue, 04 May 2021 03:17:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230163AbhEDKQv convert rfc822-to-8bit (ORCPT + 99 others); Tue, 4 May 2021 06:16:51 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:34656 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229947AbhEDKQv (ORCPT ); Tue, 4 May 2021 06:16:51 -0400 Received: from chickenburger.collabora.co.uk (chickenburger.collabora.co.uk [46.235.227.242]) by bhuna.collabora.co.uk (Postfix) with ESMTP id ED5DA1F42458; Tue, 4 May 2021 11:15:54 +0100 (BST) From: "Ezequiel Garcia" In-Reply-To: <20210501013448.GA4001859@robh.at.kernel.org> Content-Type: text/plain; charset="utf-8" X-Forward: 190.2.109.197 Date: Tue, 04 May 2021 11:15:54 +0100 Cc: "Benjamin Gaignard" , joro@8bytes.org, will@kernel.org, heiko@sntech.de, xxm@rock-chips.com, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com To: "Rob Herring" MIME-Version: 1.0 Message-ID: <4bee-60911f00-11-7473f580@227440849> Subject: =?utf-8?q?Re=3A?= [PATCH v2 2/4] =?utf-8?q?dt-bindings=3A?= =?utf-8?q?_iommu=3A?==?utf-8?q?_rockchip=3A?= Add compatible for v2 User-Agent: SOGoMail 5.0.1 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Friday, April 30, 2021 22:34 -03, Rob Herring wrote: > On Thu, Apr 22, 2021 at 04:16:00PM +0200, Benjamin Gaignard wrote: > > Add compatible for the second version of IOMMU hardware block. > > RK356x IOMMU can also be link to a power domain. > > > > Signed-off-by: Benjamin Gaignard > > --- > > version 2: > > - Add power-domains property > > > > .../devicetree/bindings/iommu/rockchip,iommu.yaml | 7 ++++++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml b/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml > > index 0db208cf724a..e54353ccd1ec 100644 > > --- a/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml > > +++ b/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml > > @@ -19,7 +19,9 @@ description: |+ > > > > properties: > > compatible: > > - const: rockchip,iommu > > + enum: > > + - rockchip,iommu > > + - rockchip,iommu-v2 > > This should be SoC specific. > It seems iommu-v2 is really the name Rockchip gives to this IOMMU IP core. Can we keep the "rockchip,iommu-v2" compatible, and add SoC-specific ones, as we normally do: compatible = "rockchip,rk3568-iommu", "rockchip,iommu-v2"; Just like we'd do with any peripheral: compatible = "st,stm32-dwmac", "snps,dwmac-3.50a"; Thanks! Ezequiel