From patchwork Fri Mar 18 02:50:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leilk Liu X-Patchwork-Id: 12784814 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 840F7C433EF for ; Fri, 18 Mar 2022 02:53:20 +0000 (UTC) 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=8dyMESy6pglJBlFdeJFMbidzdFyOtiWZaSKIwDiUMeU=; b=E+mOdf0NKWOpAO N3TMJxH5BfgQIjHkAHZ6zTF8mooPiwKG+ZRIzHzWjgPMDrThyk4q9k2S89vBKslGcpMvUxPGMP196 ERqjFYN5mT2uVliJU2QY5YCWVBEGch0EqYoVCCz6KW+G4Zfh63dXXVA6yyftoCVuGHPCt1ICOhMN6 RLINJpJY1hQJuu2i5uXRS7tSzdqtHEZObqCz0HWhDZBcCkK1/bOqBbrJzrAOaF+54zZisdZIAe9nA F2V9KLTNWp0Bm67CSR/N3GPRBIpGa/sYmGRsn4IMrv5ydQvch6gylsAJUAo7MMPE4pQJ1c5T7DbP7 hyiPjcq7Hy6cPyS5NR/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nV2it-000Cxg-0I; Fri, 18 Mar 2022 02:52:15 +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 1nV2ie-000CuS-LE; Fri, 18 Mar 2022 02:52:01 +0000 X-UUID: 8e69de0972bb41029738be21917417f0-20220317 X-UUID: 8e69de0972bb41029738be21917417f0-20220317 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 295949749; Thu, 17 Mar 2022 19:51:56 -0700 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 17 Mar 2022 19:50:31 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 18 Mar 2022 10:50:29 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 18 Mar 2022 10:50:29 +0800 From: Leilk Liu To: Mark Brown CC: Rob Herring , Matthias Brugger , , , , , Subject: [PATCH V5 0/3] spi: mediatek: add single/quad mode support Date: Fri, 18 Mar 2022 10:50:24 +0800 Message-ID: <20220318025027.31281-1-leilk.liu@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220317_195200_706554_DE1C1EB5 X-CRM114-Status: UNSURE ( 9.16 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series of patches are based on spi for-next, and provide 3 patches to support MT7986. V5: 1. remove 3 patches that already applied. 2. use devm_clk_get_optional. 3. remove of_mtk_spi_parse_dt() v4: 1. fix Rob comment in v3; 2. use "mediatek,mt7986-spi-ipm","mediatek,spi-ipm" v3: 1. add Rob Acked-by in "dt-bindings: spi: Add compatible for MT7986 with single mode"; 2. add a fix patch "spi: mediatek: support tick_delay without enhance_timing"; 3. fix Angelogioacchino comments; 4. use mt7986 instead of ipm in dt-binding. v2: 1. rebase this series on spi for-next. 2. fix Rob and Krzysztof comments in v1. Leilk Liu (3): spi: mediatek: add spi memory support for ipm design dt-bindings: spi: support hclk spi: mediatek: support hclk .../bindings/spi/mediatek,spi-mt65xx.yaml | 4 + drivers/spi/spi-mt65xx.c | 387 +++++++++++++++++- 2 files changed, 374 insertions(+), 17 deletions(-) --- 2.25.1