From patchwork Wed Jun 28 19:26:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 9815271 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E1A68603F2 for ; Wed, 28 Jun 2017 19:42:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D220028066 for ; Wed, 28 Jun 2017 19:42:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6D96284E3; Wed, 28 Jun 2017 19:42:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 634DE28066 for ; Wed, 28 Jun 2017 19:42:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Date: Message-Id:In-Reply-To:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: References:List-Owner; bh=GAzlfkL+dbYCqpgPmF4y0ozxHhxMX1JAXQwXYRV0Wjk=; b=SEQ 0ET94LP2l7YOVVGuGdrALVUfGYIjNASiwplW8vU9TGELlACnoPQ58YO8v1h2wCMzg6UCrYbeUVTlE 4CJOQtW/yGdS/jMCPF5Ljg0sNArpwVne9x/vb8GN201U/4TTt7qo2Lead0SG0wS8fqiC2I3YhBKAl 0NSSKzARLI8Ay1uqhGogh8bqNCeyPShzLizZy6KG4DbJ1ZqJZuKwmRpZ9r5syXHKfdEoLJKZf5mMa lqJQ5EeyqgFvBm2NWdA0553ql8DXZbrg8csNI1bMpgKw0yd6mmEs1els/xQK4agK/TWYOyFfpEZCR LsGFvNqPEvjFdBa/L3etUCZjgZpM/IA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dQIrW-0007lY-77; Wed, 28 Jun 2017 19:42:54 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dQIq0-0005Hi-QH; Wed, 28 Jun 2017 19:41:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Subject:Date:Message-Id:In-Reply-To:Cc: To:From:Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:References:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WCHDvXCXqfDSmbYyNFWWQDpGjkcNO96U6qz/96I4OZM=; b=NADx9Lzw4x2F/cB4jSUdIrvaUS 5TfyFbO7SIVPb33bS6NpbXYu8XTg0x+yEqftJMrNiOXpM+7470q25xgzgsACdh1k5UIKr89Z7kbNs 59KoSwj27qgoLhr7zZj/hVIoaqYGMC/tsUag4TDDUuG7nYZfVo1e9/0VtU9JNrR4hdW6tKlycQ4Co gNwtxXVze4uXUtV6zHXbxAielHS5xRmk9ntsBoVRaDxkPuw7bkPHE6n7rAOr/hMaAID6YMWw5jOKM txgset8gzdfXWp1LXo7gyxcCn74j6WcpVAglQsZwywVsMXSwQ5BeHVgGzyEtonWDylB+JoNd9OvWn J/Vj07ig==; Received: from mezzanine.sirena.org.uk ([2400:8900::f03c:91ff:fedb:4f4]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dQIbn-0003WU-3N; Wed, 28 Jun 2017 19:26:40 +0000 Received: from [176.12.107.140] (helo=finisterre) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dQIbK-0001bp-It; Wed, 28 Jun 2017 19:26:12 +0000 Received: from broonie by finisterre with local (Exim 4.89) (envelope-from ) id 1dQIbH-0004jF-Kd; Wed, 28 Jun 2017 20:26:07 +0100 From: Mark Brown To: Jeffy Chen In-Reply-To: <1498624723-17332-1-git-send-email-jeffy.chen@rock-chips.com> Message-Id: Date: Wed, 28 Jun 2017 20:26:07 +0100 X-SA-Exim-Connect-IP: 176.12.107.140 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Applied "spi: rockchip: Set GPIO_SS flag to enable Slave Select with GPIO CS" to the spi tree X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure X-Bad-Reply: In-Reply-To but no 'Re:' in Subject. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170628_202639_425628_1B22975E X-CRM114-Status: GOOD ( 14.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dianders@chromium.org, heiko@sntech.de, briannorris@chromium.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-rockchip@lists.infradead.org, broonie@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The patch spi: rockchip: Set GPIO_SS flag to enable Slave Select with GPIO CS has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From c863795c4c0787e5f885099e3b673e1433448b82 Mon Sep 17 00:00:00 2001 From: Jeffy Chen Date: Wed, 28 Jun 2017 12:38:42 +0800 Subject: [PATCH] spi: rockchip: Set GPIO_SS flag to enable Slave Select with GPIO CS The rockchip spi still requires slave selection when using GPIO CS. Signed-off-by: Jeffy Chen Reviewed-by: Douglas Anderson Signed-off-by: Mark Brown --- drivers/spi/spi-rockchip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index bab9b13f0ad0..52ea1605d4c6 100644 --- a/drivers/spi/spi-rockchip.c +++ b/drivers/spi/spi-rockchip.c @@ -749,6 +749,7 @@ static int rockchip_spi_probe(struct platform_device *pdev) master->transfer_one = rockchip_spi_transfer_one; master->max_transfer_size = rockchip_spi_max_transfer_size; master->handle_err = rockchip_spi_handle_err; + master->flags = SPI_MASTER_GPIO_SS; rs->dma_tx.ch = dma_request_chan(rs->dev, "tx"); if (IS_ERR(rs->dma_tx.ch)) {