Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp512674pxy; Thu, 22 Apr 2021 07:18:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7fstlWey7oM4KLsqO+VANj7l09Y9Go8gzRG4P2kDmhapVlF0q2S8K/H1DbZfiZSZecZxq X-Received: by 2002:a17:90a:6285:: with SMTP id d5mr4328715pjj.136.1619101111432; Thu, 22 Apr 2021 07:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619101111; cv=none; d=google.com; s=arc-20160816; b=DDADwucdpjLLbOL3v1KXcRC7bmgFO6UzCNLeKIjjQV1JjSFTtQp6Bqpsngqq7bUcs7 kW9u1ibEhU/lK2/1LdVLu3qIDF++Zajpx6vtmHIXso8cH4LTMIZyucEADNadakkJoz9b JjnfIoXG9TOLFeDmHkyTolw3j8U0S9TDOhPs4IBzgEFzqf9hSwG4UWlUoQo4m6kxiHZV E8NfArxuvSqNi19QdZKQ0COUS7xUpK115uqImKsN1C5QZFfB07j1m3mzb5IJh01J/mFC LEvLpCvqpaK8hF+wsjgV1Xc3zFe8kr//YXR+79d3MKRwoFVlHehvb2jetIdumbR9vrab OtGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6g34DUgInCULkAnXm01/RcSoGhuZ/2d9EyS9YG/MLi8=; b=BX0Cz0q0LTiDyec7YnTd70LG7BPYq94Oil8EuLHbztf19omksumiaFRFK1gz6eBvvm J5ypW/6zn4Gnv0foQptJVV6EK5ykhQz7EgH4r4hCxexTQWH+hjO++R2GsI94cyihiRYL 8drRUfJKwGcAQ3rQ6J5AQsDv/c0gWluVTuC25vsGSiDvRtZL41oCMHqbrQ+U9YXEdhyX +bJ+K3v1IsWrGST5yOpYXdNYr7hWhmP3L2c/KwNlCc64rnKqEpO75xtygpX/W3pFtfCq eOTQMUA7u1kAzBGwcH2zsxMB+tEH/MUuzXLwLAe9dUg4/fqPUzZDu7epnBEjPPXKHkvt Cy1Q== 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 b2si3309907plh.76.2021.04.22.07.18.18; Thu, 22 Apr 2021 07:18:31 -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 S237290AbhDVOQ6 (ORCPT + 99 others); Thu, 22 Apr 2021 10:16:58 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:52270 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236396AbhDVOQw (ORCPT ); Thu, 22 Apr 2021 10:16:52 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: benjamin.gaignard) with ESMTPSA id F27BA1F4325A From: Benjamin Gaignard To: joro@8bytes.org, will@kernel.org, robh+dt@kernel.org, heiko@sntech.de, xxm@rock-chips.com Cc: 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, Benjamin Gaignard Subject: [PATCH v2 2/4] dt-bindings: iommu: rockchip: Add compatible for v2 Date: Thu, 22 Apr 2021 16:16:00 +0200 Message-Id: <20210422141602.350746-3-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210422141602.350746-1-benjamin.gaignard@collabora.com> References: <20210422141602.350746-1-benjamin.gaignard@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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