Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp418541pxa; Fri, 21 Aug 2020 10:33:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJeD1Ls5V+nvQLpzIxIJxnC2nqWoKcPsiu3vEVe2ym/8p+0Ad2aZZRtBfCVwW3Q2pnlkmO X-Received: by 2002:a05:6402:174d:: with SMTP id v13mr3708743edx.231.1598031216935; Fri, 21 Aug 2020 10:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598031216; cv=none; d=google.com; s=arc-20160816; b=Qwed0RkdZhg2HaUl2sMJa/onokiZnJTZJMq0pHqOTY66w5tcdTGJ0dYV9MWbeeDlCt v+VPc8Ma1EJWjl3qBDpAE/zd5//0ZMj5tM+TTOW/yiyEVfzG3REYUrxGf0WA1IxRV5mk PQV4NuJVViEpXaW6MlZ7NN2zKsRrT7e+768/vrcUzJr5xm7qd/88NLAubJ/wlbtBYFar uxghWKi4KY2PrkPxYwzpDj6X0+u93aa+pb7bSJPyc9SBNhNffsZSaq9Ig7mTNckjsyq2 y/80xnSS3S7NAzvVUEAauv77gmXlf70NuCRLIe2WiO2Rx+KK5ZL1SbgkB3zp6g4mNhYI hi2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:organization:mime-version:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=KeqMlAnQDioCCu8vW3lN/TARMJriFxWP6OI28/BAWlA=; b=RTGVR+AvD/1o3ZeFoccY73gMq4YPL8Au0N9eJDCqx6wSYnb9DvS9yQ5In29kTnBSxi osuAc2AGTN8v9m76xve1M6h/Tl50b11ihMSVxlk7H47p7JFAS1zu5lGcoFwvsQzp7NJ4 KGjzVJvtXkTU2kZIbFVUIZ/7ontqU8R2vIRp/gf75lFHRscw2Rm9/H4rbL1z1uIfxvFy 6MmQ+SxhhJQdlrScOYHH/eqylXdEQ0gOWGjD2pg250i5Dq+jg4YdSlXf0C3rtHdkHSaE 87ff/Zze73Txbcp7RroOdzPblKTnHfEtE0V1m4yKZH4MAn+X9X9BNr7YCH16swIiPeIc K92w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="aScxBX/H"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a20si1459758ejf.632.2020.08.21.10.33.13; Fri, 21 Aug 2020 10:33:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="aScxBX/H"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727950AbgHURal (ORCPT + 99 others); Fri, 21 Aug 2020 13:30:41 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:37180 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726805AbgHUQOI (ORCPT ); Fri, 21 Aug 2020 12:14:08 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200821161406euoutp01664fad75bc1ef2c335ae075fe7f515b7~tVJYyBmgR2042020420euoutp01O for ; Fri, 21 Aug 2020 16:14:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200821161406euoutp01664fad75bc1ef2c335ae075fe7f515b7~tVJYyBmgR2042020420euoutp01O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1598026446; bh=KeqMlAnQDioCCu8vW3lN/TARMJriFxWP6OI28/BAWlA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aScxBX/H9Dp1x6jyam5vwzJDJJr3efXztBr2k+/4S3luCx/mVnzSN2iZ0mbxKpwnf 2wFtk4lJkrvg+2kWZYhlNi6DnGECYvV1Ws8OCVyx2fdkC6aR18A/ITSzkd/bmsPy2E p+g1vfFFRKzVt7yFLdAYcVkFxGX5iL3WVM7XeU6I= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200821161406eucas1p2111ed4bdeb3a760d71a878cfd0798d39~tVJYJCXCm1870518705eucas1p2l; Fri, 21 Aug 2020 16:14:06 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id A1.B2.06318.EC2FF3F5; Fri, 21 Aug 2020 17:14:06 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200821161405eucas1p20aad659cd41bc4f56d5123d3c63394f0~tVJXtZ90P1823418234eucas1p2h; Fri, 21 Aug 2020 16:14:05 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200821161405eusmtrp1c7883aee9cc58d774fe9cd425768a4ca~tVJXsxwz-1179011790eusmtrp13; Fri, 21 Aug 2020 16:14:05 +0000 (GMT) X-AuditID: cbfec7f5-38bff700000018ae-d0-5f3ff2ce3dbb Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id ED.A9.06017.DC2FF3F5; Fri, 21 Aug 2020 17:14:05 +0100 (BST) Received: from localhost (unknown [106.120.51.46]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200821161405eusmtip1fbfb185c6d98c1845c601bf4c1ed7cdd~tVJXevJ1R1633816338eusmtip1J; Fri, 21 Aug 2020 16:14:05 +0000 (GMT) From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= To: Kukjin Kim , Krzysztof Kozlowski , Andi Shyti , Mark Brown , linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: m.szyprowski@samsung.com, b.zolnierkie@samsung.com, =?UTF-8?q?=C5=81ukasz=20Stelmach?= Subject: [PATCH v2 2/9] spi: spi-s3s64xx: Add S3C64XX_SPI_QUIRK_CS_AUTO for Exynos3250 Date: Fri, 21 Aug 2020 18:13:54 +0200 Message-Id: <20200821161401.11307-3-l.stelmach@samsung.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200821161401.11307-1-l.stelmach@samsung.com> MIME-Version: 1.0 Organization: Samsung R&D Institute Poland Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTYRjm29nZOS5nZ5vh2wqFlUGCWihyItEMf4xIMPoTYdnSg5o6ZcdZ U8oblBNvaJJNMfGCyy6rpdPMVJZlJk3zkkkpeEFLDUwzTEvTnUn+e97vubzvAx+JSUy4jIxR JTFqlTJOLhDyzW9+93paFwPDj+inCLp6ZYZHPy014nTJ+JSALpicw+je3icEPWIxINo0+RGn B1rKBXRpbxuPzvgxQtCPOkeJE7sUwzWLmMJUrxMontWkKfIb6pFiyeQaip8X+kcycTHJjNo7 4JIwuml1EE+sFFyrHXtApCM9noMcSKB8YcCgQzlISEooA4LMyhqMG34iaF/L5nHDEoKNETN/ 29L+edpO1CEYmqrFuWEGQb9undhSCaggKKh9ayOcqUIejFvnBVsERmkg97nFhqXUOTD+XbPF 8il3aH71Gm1hEXUcvnRsENw6N7hV12TTO1D+0NWfiXMaMXTfnbJ5d1Me8D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PMQpw MCrx8P44ZB8vxJpYVlyZe4hRgoNZSYTX6ezpOCHelMTKqtSi/Pii0pzU4kOMpkBvTmSWEk3O B6aFvJJ4Q1NDcwtLQ3Njc2MzCyVx3g6BgzFCAumJJanZqakFqUUwfUwcnFINjDp+/Ku9ypme Ch8/lPeWI3bKgYNC3yM2CahPjOw3Ntl54LyBsl//1eX96c6niprOd1/u4W67NP23psz7Bs+A GmXWB53af7mWbKq93b53506rJCluzk2ez/efaTU44vs1+6y0j3J5+/RvWZ83nSoRlXDzesCv eP5p8D6DuDT2jl9B13wb439cUGIpzkg01GIuKk4EAIuL3bjTAgAA X-CMS-MailID: 20200821161405eucas1p20aad659cd41bc4f56d5123d3c63394f0 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200821161405eucas1p20aad659cd41bc4f56d5123d3c63394f0 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200821161405eucas1p20aad659cd41bc4f56d5123d3c63394f0 References: <20200821161401.11307-1-l.stelmach@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This and the previous patch fix issues with DMA transfers bigger than 512 bytes on Exynos3250. Without the patches such transfers fail. The vendor kernel for ARTIK5 handles CS in a simmilar way. Signed-off-by: Ɓukasz Stelmach --- drivers/spi/spi-s3c64xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 26c7cb79cd78..22bf8c75580a 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -1379,6 +1379,7 @@ static struct s3c64xx_spi_port_config exynos4_spi_port_config = { .tx_st_done = 25, .high_speed = true, .clk_from_cmu = true, + .quirks = S3C64XX_SPI_QUIRK_CS_AUTO, }; static struct s3c64xx_spi_port_config exynos7_spi_port_config = { -- 2.26.2