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 X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C48EDC4360F for ; Wed, 20 Feb 2019 07:53:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A150A21904 for ; Wed, 20 Feb 2019 07:53:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726116AbfBTHxO (ORCPT ); Wed, 20 Feb 2019 02:53:14 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:42459 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725989AbfBTHxO (ORCPT ); Wed, 20 Feb 2019 02:53:14 -0500 X-UUID: ebfdf1fd4fee4618bca14335a50f0767-20190220 X-UUID: ebfdf1fd4fee4618bca14335a50f0767-20190220 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1959288711; Wed, 20 Feb 2019 15:53:08 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 20 Feb 2019 15:53:07 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 20 Feb 2019 15:53:07 +0800 From: Jerry-ch Chen To: , , , , CC: , , , , , , , , , , , , , , , Jerry-ch Chen Subject: [RFC PATCH V0 3/7] [media] dt-bindings: mt8183: Added FD-SMEM dt-bindings Date: Wed, 20 Feb 2019 15:48:09 +0800 Message-ID: <1550648893-42050-4-git-send-email-Jerry-Ch.chen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1550648893-42050-1-git-send-email-Jerry-Ch.chen@mediatek.com> References: <1550648893-42050-1-git-send-email-Jerry-Ch.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This patch adds the DT binding documentation for the shared memory between Face Detection unit of the camera system and the co-processor in Mediatek SoCs. Signed-off-by: Jerry-ch Chen --- .../devicetree/bindings/media/mediatek,fd_smem.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/mediatek,fd_smem.txt diff --git a/Documentation/devicetree/bindings/media/mediatek,fd_smem.txt b/Documentation/devicetree/bindings/media/mediatek,fd_smem.txt new file mode 100644 index 0000000..6f7c836 --- /dev/null +++ b/Documentation/devicetree/bindings/media/mediatek,fd_smem.txt @@ -0,0 +1,28 @@ +Mediatek FD Shared Memory Device + +Mediatek FD Shared Memory Device is used to manage shared memory +among CPU, FD and coprocessor. It is associated with a reserved +memory region (Please see Documentation/devicetree/bindings/ +reserved-memory/mediatek,reserve-memory-fd_smem.txt) and +provide the context to allocate memory with dma addresses. + +Required properties: +- compatible: Shall be "mediatek,fd_smem" + +- iommus: Shall point to the respective IOMMU block with master port + as argument. Please set the ports which may be accessed + through the common path. You can see + Documentation/devicetree/bindings/iommu/mediatek,iommu.txt + for the detail. + +- mediatek,larb: must contain the local arbiters in the current SoCs. + Please set the larb of imgsys for FD if you are using FD function. + You can see Documentation/devicetree/bindings/memory-controllers/ + mediatek,smi-larb.txt for the detail. + +Example: + fd_smem: fd_smem { + compatible = "mediatek,fd_smem"; + mediatek,larb = <&larb5>; + iommus = <&iommu M4U_PORT_CAM_IMGI>; + }; -- 1.9.1