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: 12784817 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 31CD6C433F5 for ; Fri, 18 Mar 2022 02:52:33 +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=kSBhbdaIFaKcxs1Q/iaIhGfmh2jqvhTr8GOIsP3sIxw=; b=I6IYGS97Ts4nAT 6wAaFTFJOUF1XsPHcYMQFlTVO7saCNMGqwIp24PAI6+e/7feZ1udr0gZGiaNsMBY+59kPp5C7kd86 XCpxAxwyZwQ8MKwLdFmxceNZaO1BU5eDkdHG4Qa9sLYdz3ldwoWj/ZBFtZSn+LBUcw5JlCVEeNdBg nyblgJza4FU9oV1YPL0o3jQH9+I5Em3qF3fXyVF5oI+rva4HPgiVHWrZ+3BjNAvN7giXcBPqU1RWJ S8Q+1BJZMJePjAggSdVZIQaBLgF4HSzXiGzN+ksmY+TSoBmVAisv4jamV8r3viRaWja1Vam0+C4tq 9Fq/Y4IIUPffTRyV9F9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nV2j5-000D24-34; Fri, 18 Mar 2022 02:52:27 +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-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 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