From patchwork Wed Jul 28 03:58:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tinghan Shen X-Patchwork-Id: 12404959 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=-12.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,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 B5E25C4320A for ; Wed, 28 Jul 2021 03:59:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8AFB560F9C for ; Wed, 28 Jul 2021 03:59:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8AFB560F9C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Dfah6fMtvF2qGQYK3kUyiKjBk4IL9UiLknMCcckHbyg=; b=28a5u2ekEdoWiA zIlv2WtPnVTxcUuQfHo2UKnZZaONbxzDdlQ/qNDH47yIMfxArHGWzJ/66L131LQ3BQswC88Iro9kq 19/kaAv4eiuE/yau/m1IHwMpbdeMWN3X5AfA0ZfoCKfugFNzhqNK7sxACGPVsVXG0jjx+2qF7St0/ WnkQpQUcp40xiZP7xckK4HaamS+vTh30r7sUhHXgXjYAGcEpHrnQIEjKDeD/Pf8Sc6p2ATkxxWlty 7Gcr6xs/Iimv75CM8g74ZchQUMFFfYJvSkM5lLeDdRHFDkEiLHveuiVIg7fsfGhZ5afjMCOM8iukD h3qCNWlml1J5zlCaz0Dw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8aiw-00GyyD-JL; Wed, 28 Jul 2021 03:59:14 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8ais-00GyxR-Lx; Wed, 28 Jul 2021 03:59:13 +0000 X-UUID: bd2dd74fde42449db63a028b6e4cb5c5-20210727 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=r9FYA2DF5rM2LqpWsI0/95k59pJtGUBCUYhByjseerE=; b=iw0ab/2fZEk3lzP09VbqcQ3wmQf5BMzhCWg3yjTuQOAUokJ4HDGKa8N/vlWL2MJdtFR1+RLamX7dgIKzQTqZ+b4c8gbT3HEiQHl9Mgb90fICyNazr4GQ3DqNUmY7tOR25ZV2wfE7bicN8AUtndu90VrQTj+5+1b7OS0gpaUgQuA=; X-UUID: bd2dd74fde42449db63a028b6e4cb5c5-20210727 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1359765398; Tue, 27 Jul 2021 20:59:06 -0700 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 27 Jul 2021 20:59:04 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 28 Jul 2021 11:59:03 +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; Wed, 28 Jul 2021 11:59:03 +0800 From: Tinghan Shen To: , , , , CC: , , , , , , , , Tinghan Shen Subject: [PATCH v4 0/4] Mediatek MT8195 SCP support Date: Wed, 28 Jul 2021 11:58:55 +0800 Message-ID: <20210728035859.5405-1-tinghan.shen@mediatek.com> X-Mailer: git-send-email 2.15.GIT MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210727_205912_187785_13311FD3 X-CRM114-Status: UNSURE ( 9.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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 (4): dt-bindings: remoteproc: mediatek: Add binding for mt8195 scp dt-bindings: remoteproc: mediatek: Add binding for mt8192 scp 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 | 85 +++++++++++++++++++ drivers/remoteproc/mtk_scp.c | 3 +- 3 files changed, 87 insertions(+), 37 deletions(-) delete mode 100644 Documentation/devicetree/bindings/remoteproc/mtk,scp.txt create mode 100644 Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml