From patchwork Sun Jun 21 00:47:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 11616361 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 42077138C for ; Sun, 21 Jun 2020 00:48:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1FB992477D for ; Sun, 21 Jun 2020 00:48:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="VQfojGw1" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729085AbgFUAsI (ORCPT ); Sat, 20 Jun 2020 20:48:08 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:60982 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729071AbgFUAsH (ORCPT ); Sat, 20 Jun 2020 20:48:07 -0400 Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 909CE594; Sun, 21 Jun 2020 02:48:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1592700483; bh=YMtD6wOIip3YKV0hcQV51wfPJsDU/xc/A1PPGNL2Eaw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VQfojGw1++imUeWLxcqx0bQj7dW/CviLjAKiWfQhxUSVm/FoJBgKi3Ucg2FGyM2Go kqIsJVvzIp22p5WQp/XuIgxcJ4h7OpklchZRtDI+D7O5r7AnWXct/aKEK1WOp4v1qL SNtTEoIySoGVwCo/Mkawz17DuPtoqx8Gz4bMxNpU= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Rob Herring Subject: [PATCH v2 3/8] dt-bindings: media: renesas,fcp: Add resets and iommus properties Date: Sun, 21 Jun 2020 03:47:29 +0300 Message-Id: <20200621004734.28602-4-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200621004734.28602-1-laurent.pinchart+renesas@ideasonboard.com> References: <20200621004734.28602-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The resets and iommus properties are used in DT sources in the kernel tree. Document them, and make resets mandatory. The iommus property is optional as not all platforms wire the FCP to a functional IOMMU. Signed-off-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven Reviewed-by: Niklas Söderlund Acked-by: Rob Herring --- Documentation/devicetree/bindings/media/renesas,fcp.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/media/renesas,fcp.yaml b/Documentation/devicetree/bindings/media/renesas,fcp.yaml index eeca7e255420..b6cf2958e6c9 100644 --- a/Documentation/devicetree/bindings/media/renesas,fcp.yaml +++ b/Documentation/devicetree/bindings/media/renesas,fcp.yaml @@ -31,14 +31,21 @@ properties: clocks: maxItems: 1 + iommus: + maxItems: 1 + power-domains: maxItems: 1 + resets: + maxItems: 1 + required: - compatible - reg - clocks - power-domains + - resets additionalProperties: false @@ -53,5 +60,7 @@ examples: reg = <0xfea2f000 0x200>; clocks = <&cpg CPG_MOD 602>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 602>; + iommus = <&ipmmu_vi0 9>; }; ...