From patchwork Tue Aug 3 07:59:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tinghan Shen X-Patchwork-Id: 491118 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=unavailable 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 DAF26C432BE for ; Tue, 3 Aug 2021 07:59:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C5FA160EC0 for ; Tue, 3 Aug 2021 07:59:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234399AbhHCH7l (ORCPT ); Tue, 3 Aug 2021 03:59:41 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:47252 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S234232AbhHCH7i (ORCPT ); Tue, 3 Aug 2021 03:59:38 -0400 X-UUID: aa25236731944877b91e2a07cf8c10d1-20210803 X-UUID: aa25236731944877b91e2a07cf8c10d1-20210803 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1797761599; Tue, 03 Aug 2021 15:59:25 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 3 Aug 2021 15:59:23 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 3 Aug 2021 15:59:23 +0800 From: Tinghan Shen To: , , , , , , , , , , , , CC: , , , , , Tinghan Shen Subject: [PATCH v5 0/5] Mediatek MT8195 SCP support Date: Tue, 3 Aug 2021 15:59:17 +0800 Message-ID: <20210803075922.11611-1-tinghan.shen@mediatek.com> X-Mailer: git-send-email 2.15.GIT MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Changes since v4: - Move clock acquirement to mtk_scp_of_data - Add new vendor-prefix for Mediatek SCP - Refine mtk,scp.yaml - Remove '|' in 'description' - Add 'items' to replace 'description' in reg-names property - Add 'const' to replace 'description' in clock-names property - Add optional required property for mt8183 and mt8192 - Rewrite 'patternProperties' by 'additionalProperties' - Rewrite example with 1 address and size-cell. - Drop dts label from example Changes since v3: - Add missing patch version in mail subject - No change to patches. Changes since v2: - Add compatible for mt8192 - Convert mtk,scp.txt to mtk,scp.yaml - Refine clock checking method Changes since v1: - Fix missing 'compatible' line in binding document Tinghan Shen (5): dt-bindings: remoteproc: mediatek: Add binding for mt8195 scp dt-bindings: remoteproc: mediatek: Add binding for mt8192 scp dt-bindings: vendor-prefixes: Add another prefix for Mediatek Co. dt-bindings: remoteproc: mediatek: Convert mtk,scp to json-schema remoteproc: mediatek: Support mt8195 scp .../bindings/remoteproc/mtk,scp.txt | 36 -------- .../bindings/remoteproc/mtk,scp.yaml | 92 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/remoteproc/mtk_common.h | 1 + drivers/remoteproc/mtk_scp.c | 48 +++++++++- 5 files changed, 138 insertions(+), 41 deletions(-) delete mode 100644 Documentation/devicetree/bindings/remoteproc/mtk,scp.txt create mode 100644 Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml