From patchwork Mon Feb 14 08:43:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Lin X-Patchwork-Id: 12745216 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 002CCC433EF for ; Mon, 14 Feb 2022 08:48:21 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=K/Zrd9/947fOBN8XLLFRWvEJTIdPy8HchyGmJ3/njWY=; b=nwcQcrajxwuSAU X3wikq57zLWElwffv4vKq9qPMsoDvKsmrpXKvKN5kJNdpPUXJoBVTUblr6bqefCEm1Of/i8h32kD5 EhwCxWjlw03Py+QZiAqah6UeWn8opW17dczp4OAZ12Xrj+AYMRTeutukpy5w2eixGuyeIZZ2Jp8aG W3+P4f8Isr9f9kyLDg8VDQ0OzslokVPC1n9YUlR1V2sBMgYbNXY4VAHp06iRGkQC4xNrevw8GMtc4 yusxzZ1SVMI0X7J5+NHHgm98P3v3TjX18s9CDY+TsPW+5xORKJwn1UR2tafRPbboNk7zR2eFTYHJZ eQCNEYPymPIjq4NoqSng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJX0f-00E2Xu-Vy; Mon, 14 Feb 2022 08:47:03 +0000 Received: from mail-m17664.qiye.163.com ([59.111.176.64]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJWxh-00E140-Sv; Mon, 14 Feb 2022 08:44:02 +0000 Received: from localhost.localdomain (unknown [58.22.7.114]) by mail-m17664.qiye.163.com (Hmail) with ESMTPA id D0EBA14032D; Mon, 14 Feb 2022 16:43:55 +0800 (CST) From: Jon Lin To: broonie@kernel.org Cc: heiko@sntech.de, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jon Lin Subject: [PATCH v2 0/6] New support and problem adjustment of SPI rockchip Date: Mon, 14 Feb 2022 16:43:33 +0800 Message-Id: <20220214084339.18996-1-jon.lin@rock-chips.com> X-Mailer: git-send-email 2.17.1 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUhPN1dZLVlBSVdZDwkaFQgSH1lBWRlJTUhWSkxJGR1NHRhDH0 wYVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWVVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Pgg6SDo*Iz5LMBEITj4yGR9L KBIwFEhVSlVKTU9PQ0lDSUhNSE9CVTMWGhIXVREUFVUXEhU7CRQYEFYYExILCFUYFBZFWVdZEgtZ QVlOQ1VJSVVMVUpKT1lXWQgBWUFKTUxDNwY+ X-HM-Tid: 0a7ef76718f2da2fkuwsd0eba14032d X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220214_004358_137075_8C141192 X-CRM114-Status: UNSURE ( 5.93 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Changes in v2: - Fix patches should be at the start of the series - Fix patches should be at the start of the series - Delete useless messages - Limit cs-high presetting to the chip select n <= 1 Changes in v1: - The origin patch Jon Lin (5): spi: rockchip: Fix error in getting num-cs property spi: rockchip: terminate dma transmission when slave abort spi: rockchip: Stop spi slave dma receiver when cs inactive spi: rockchip: Preset cs-high and clk polarity in setup progress spi: rockchip: clear interrupt status in error handler shengfei Xu (1): spi: rockchip: Suspend and resume the bus during NOIRQ_SYSTEM_SLEEP_PM ops drivers/spi/spi-rockchip.c | 132 ++++++++++++++++++++++++++++++++----- 1 file changed, 115 insertions(+), 17 deletions(-)