From patchwork Fri Dec 10 17:25:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Flora Fu X-Patchwork-Id: 523193 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5269C433F5 for ; Fri, 10 Dec 2021 17:26:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244490AbhLJRaX (ORCPT ); Fri, 10 Dec 2021 12:30:23 -0500 Received: from mailgw01.mediatek.com ([60.244.123.138]:43004 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230380AbhLJRaV (ORCPT ); Fri, 10 Dec 2021 12:30:21 -0500 X-UUID: d5ca78fc4c814a6da02f6846fb57defb-20211211 X-UUID: d5ca78fc4c814a6da02f6846fb57defb-20211211 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1565390378; Sat, 11 Dec 2021 01:26:43 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Sat, 11 Dec 2021 01:26:41 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 11 Dec 2021 01:26:41 +0800 From: Flora Fu To: Matthias Brugger , Liam Girdwood , Mark Brown , Sumit Semwal , Yong Wu , Pi-Cheng Chen CC: , , , , , , Flora Fu , JB Tsai Subject: [PATCH 05/17] dt-bindings: soc: mediatek: apu: Add apu logger compatible Date: Sat, 11 Dec 2021 01:25:53 +0800 Message-ID: <20211210172605.30618-6-flora.fu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20211210172605.30618-1-flora.fu@mediatek.com> References: <20211210172605.30618-1-flora.fu@mediatek.com> MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add new document for apu logger compatible. Signed-off-by: Flora Fu --- .../soc/mediatek/mediatek,apu-logger.yaml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,apu-logger.yaml diff --git a/Documentation/devicetree/bindings/soc/mediatek/mediatek,apu-logger.yaml b/Documentation/devicetree/bindings/soc/mediatek/mediatek,apu-logger.yaml new file mode 100644 index 000000000000..9e56fb3b8080 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/mediatek/mediatek,apu-logger.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2021 (C) MediaTek Inc. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/soc/mediatek/mediatek,apu-logger.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: MediaTek APU Logger for debug into microprocessor + +description: | + The APU logger is for debug usage. The APU remote microprocessor's logs + will be output to the mapped memory and application processor can read + logs from the dedicated reserved registers. + +maintainers: + - Flora Fu + +properties: + compatible: + items: + - enum: + - mediatek,apu-sw-logger + reg: + maxItems: 1 + + iommus: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + apusys_sw_logger@19000040 { + compatible = "mediatek,apu-sw-logger"; + reg = <0x19000040 0x10>; + iommus = <&iommu_apu IOMMU_PORT_APU_DATA>; + };