Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp927366pxa; Sat, 22 Aug 2020 05:03:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdO4I6HT/NRQV91L5cLOpmq9PfqKClynDgPfMISueVyljJcI163KJn/OezLLrp8B6khgw0 X-Received: by 2002:a17:906:a43:: with SMTP id x3mr6800267ejf.321.1598097837309; Sat, 22 Aug 2020 05:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598097837; cv=none; d=google.com; s=arc-20160816; b=qePt+BKojQUfgE9XsO93zW9pW1woix7xSDrBjHNMP6jc3bn21/mkn5/+mD8SslpQHJ K3SZ/RxwR7EK0d+lCAaGseiv5d1hBienCnh3AVurZarEnjBsus9TZYv1xhw5MoPAfuUM 9hcfZfpHGK6GeHz+ZW8+9JQQqNSHiQ1B7V1NoweFr4O3SSc4mw1aRPk3Z10gljhwwOp1 PnH7fjnBW32jpZ/c5qjdqePwxSTy/Z/GW27sb4CAljIHzzt9umZGSuHp2kVbsMwF2Acy bX9K9m79ytcHvSCFVgzup22Bil+jopkdcr9jnuhgqpO2k/ixFE+PT7QJRjuO8uTgdE5o 70/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Vmxojq7i5GNtupKyDeT8usS06Aj8QmTtSVwWCKeRCyg=; b=Tp4mhkiOqZGg6PNxOuWFnAlYVrULW9kFkfw4+2apSjd0rYMtHiIJwKVTEq9C2U6pvo zcYubPeMVxeQtOpO3AOre/6txYnfGjw1QQsOTIKZsbNJyqRZctzn/itJJBOBU79WiJbG c+lcqX+22yvSLhMrihLBn6GdBvvDuii4SMoDyLG9Tku9N7BpU+AGE7gXKOf7owZXXMC4 nJzOZWkYFeuLR8uKa+rC84y94D179A31bFD9UA6Ixw0rIX3SKiFgAMreodES5uTnAhqf F/hDHtHKlMeEliEqQZoKC54jv+215tWVvY3r4Xdhf/kqLZPdptftfo2p0Jv1MM/FW2qb mVwA== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si3262293eje.234.2020.08.22.05.03.33; Sat, 22 Aug 2020 05:03:57 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727943AbgHVMCL convert rfc822-to-8bit (ORCPT + 99 others); Sat, 22 Aug 2020 08:02:11 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34634 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726704AbgHVMCK (ORCPT ); Sat, 22 Aug 2020 08:02:10 -0400 Received: by mail-wr1-f65.google.com with SMTP id f7so4292125wrw.1; Sat, 22 Aug 2020 05:02:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=p0ZOKsEqxYq/dPyLynSj5muBJYzE12r6/FPqjVWhV2g=; b=SVTdbNm3laPeYq9J/L5nbIO9qS17jbprrBBWgsVNpINIB5N81nK6sHfzZ4zRzKhiII aZuGDeo73a8NJ06lpN2LqIIPQ/BLgcZRTSLNvYnqcLGB10RvXOxQh0P2uidhn3Kq3yep b0TmloQtrm0Q478ti6jFpGMWGpTAONWyduR2Bpl/dZ/PjAt6sXQK3gB9rWTMk9iz0n5V gU45gy1dxz/pN8FXcqB2dXrpzI2NYQZkRd9W9FKJLLk81PnGfKKuPAXWWJeX6No7OtOE +PUHjhD+dEHvAtJ+E2hqloSipOTeZ8dtCP7B+Me7fSzkYeJCJgmK1IUxD5inFj3+PosH t23Q== X-Gm-Message-State: AOAM532IhAm65vjsSTzNJLd4DGCctZZ9OcEgIn2qiParsf3ChidA0mgY Hf7Az6BeVt0jThKaKep3wukNHI+6X0A= X-Received: by 2002:adf:ee11:: with SMTP id y17mr1711828wrn.294.1598097728326; Sat, 22 Aug 2020 05:02:08 -0700 (PDT) Received: from kozik-lap ([194.230.155.216]) by smtp.googlemail.com with ESMTPSA id t12sm2980175wrm.61.2020.08.22.05.02.07 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 22 Aug 2020 05:02:07 -0700 (PDT) Date: Sat, 22 Aug 2020 14:02:05 +0200 From: Krzysztof Kozlowski To: =?utf-8?Q?=C5=81ukasz?= Stelmach Cc: Kukjin Kim , 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, m.szyprowski@samsung.com, b.zolnierkie@samsung.com Subject: Re: [PATCH v2 2/9] spi: spi-s3s64xx: Add S3C64XX_SPI_QUIRK_CS_AUTO for Exynos3250 Message-ID: <20200822120205.GB20423@kozik-lap> References: <20200821161401.11307-1-l.stelmach@samsung.com> <20200821161401.11307-3-l.stelmach@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20200821161401.11307-3-l.stelmach@samsung.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 21, 2020 at 06:13:54PM +0200, Łukasz Stelmach wrote: > This and the previous patch fix issues with DMA transfers bigger than "Fix issues with DMA..." Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof > 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 >