Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp841889pxy; Fri, 30 Apr 2021 18:37:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaseK9B+gBwK7EVdr+WhFe4U+Ka+9a7GvHqtmO9qa+BkOnHOqJceialgP6FGGvMOzZUXVs X-Received: by 2002:a17:906:22cf:: with SMTP id q15mr7373420eja.474.1619833025727; Fri, 30 Apr 2021 18:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619833025; cv=none; d=google.com; s=arc-20160816; b=aG/MqkudNxfw6JHc4VaNXKaymx9fApqbvm1H98dSY2O2kXwOFCroHq9g1Ey3uGqzwm 50M31JtNW2Ix0KBHa/08FaYUyQIcSeYidPUxEqSMUDJoovd39yOO8Kcfu02aiGK/mWC0 6Uy9nEGxfVbbxxqW6evZxDjmHjruS+Kke9sb9O1u/UdrTyxtNfRm3wTnB7tKepMkp+94 Zu3joJizbiYN8O5Bmyrim7zPD9enFGPMSM1bDasu5EZc6x/HBwTks9tQpw5gbXr0q+Bl 3svA5lYhXrO3GJ60GKhiFtz2RaXujCQ8+RKFCmnF8YO1yxOphewuUyCe/+DYDP6dUkaI l1Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=zUXpAoI/KzwgrARmWw+voeZ0INm/PtgvJecf6NLxWtI=; b=sIH06y6tEdTtezEw7Zmwp7SKHVjKYQccq0/cJv+XGNNjArTHopLm6FmBmnc9oAX7ME s0TfGK2B9WjyIfN+MAq/Hf4YaRj5c3doy5yUCOOvfi6tZW/8gOI/qfAkX1d3Vljq2r3I hpRNRcxkMcVRix8S/eoPWUTfqxI+o+TRJDfi6nNMhu/4r614gW6RNP8e3KIQm5R/WtpP Cc+xISByaHzywNlZxmFSBduH0FExu3cADwKhtcw1rIJ9fuJsgUwGWajg5XUyw8/uypAw cJ30OZDBQaTCSSNFe8h4EHcLjXDGiyK27wgKEjKgwLd5ShwS6MpZu/u3pUqVAY7jNC3K Q9/w== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si325114edy.298.2021.04.30.18.36.40; Fri, 30 Apr 2021 18:37:05 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231332AbhEABfl (ORCPT + 99 others); Fri, 30 Apr 2021 21:35:41 -0400 Received: from mail-oo1-f42.google.com ([209.85.161.42]:38678 "EHLO mail-oo1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230226AbhEABfl (ORCPT ); Fri, 30 Apr 2021 21:35:41 -0400 Received: by mail-oo1-f42.google.com with SMTP id h9-20020a4a94090000b02901f9d4f64172so42190ooi.5; Fri, 30 Apr 2021 18:34:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zUXpAoI/KzwgrARmWw+voeZ0INm/PtgvJecf6NLxWtI=; b=qRIsp7MuvqB7GdD9Svr4HhtBzg7AN2ecUDA+ATVmUqiqLwAuLXWZGolGElKOrxb4uu PaR8M925tqZu2tv/9rfcwldf83g/r4Ptk/zfcVgVKOokANg6aO1MnGtfZJ5lXZlBDN2P RqUeJwl9/B+1/jYxdWuwMqQDQ9/7tWIEElu4dVj6gpG4199Tqy48SOYZ7d94MCQCE7tm ao7hQmcN8fEYw5XM2kNad22k1YKtQ3JEGZnYaQNFOVV/C+3RMEkNLP5tUffhVyJqUln9 vH9ZHQT83kimL7RpUKK8qlIMice9usaCetTlu7IfIuZSDoBtrVGp0Glut4xnBAdgvhYM YpPA== X-Gm-Message-State: AOAM530YPEbResxXyc2HBzzFmn5orbtX0bMlxlKKr758i4FiUbDR4iCc IiqReLqIjMd7Yie0xDUp4bSTpfM2vg== X-Received: by 2002:a4a:d781:: with SMTP id c1mr6861569oou.44.1619832891658; Fri, 30 Apr 2021 18:34:51 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id a23sm56732otf.47.2021.04.30.18.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 18:34:50 -0700 (PDT) Received: (nullmailer pid 121538 invoked by uid 1000); Sat, 01 May 2021 01:34:48 -0000 Date: Fri, 30 Apr 2021 20:34:48 -0500 From: Rob Herring To: Benjamin Gaignard Cc: 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 Subject: Re: [PATCH v2 2/4] dt-bindings: iommu: rockchip: Add compatible for v2 Message-ID: <20210501013448.GA4001859@robh.at.kernel.org> References: <20210422141602.350746-1-benjamin.gaignard@collabora.com> <20210422141602.350746-3-benjamin.gaignard@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210422141602.350746-3-benjamin.gaignard@collabora.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > reg: > minItems: 1 > @@ -46,6 +48,9 @@ properties: > "#iommu-cells": > const: 0 > > + power-domains: > + maxItems: 1 > + > rockchip,disable-mmu-reset: > $ref: /schemas/types.yaml#/definitions/flag > description: | > -- > 2.25.1 >