From patchwork Thu Oct 1 15:21:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 11811701 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E56736CB for ; Thu, 1 Oct 2020 15:23:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BFBF9208B6 for ; Thu, 1 Oct 2020 15:23:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="mnSQWVU2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732628AbgJAPWt (ORCPT ); Thu, 1 Oct 2020 11:22:49 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:40814 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732555AbgJAPWs (ORCPT ); Thu, 1 Oct 2020 11:22:48 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20201001152247euoutp0149ccccf638d44e0ece2a1901e7b5e166~555Rs9ceI2712727127euoutp01O for ; Thu, 1 Oct 2020 15:22:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20201001152247euoutp0149ccccf638d44e0ece2a1901e7b5e166~555Rs9ceI2712727127euoutp01O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1601565767; bh=8qQ7XhRDqloXq5mu4QmtOTIxJXHGJmKRl076KUjAT0E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mnSQWVU2eeRYBmiMcvKzdOX+wezxM69cjEPv9cImEzyoM3EHcqzAZTpm6nks/HNOo O1derfolfsVNjX7GACgIzz22cV63KWBz6eBPyEdCLpjoZmH9xlXgyM7omfBjbwocRM m2bA9sF2AKHG6+zfY70pDdLsXJnHT2CacvyhAU0k= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201001152246eucas1p1d68cac3762c9b82972341f23db5117ae~555RKz0wb0403504035eucas1p1T; Thu, 1 Oct 2020 15:22:46 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 4B.EC.06318.644F57F5; Thu, 1 Oct 2020 16:22:46 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201001152246eucas1p1ee289b8a85b707f7496355c081623796~555Q3DMdC2388923889eucas1p1Q; Thu, 1 Oct 2020 15:22:46 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201001152246eusmtrp1ca03cbe7bad9fa24f8758cf0177b66a1~555Q2U_6k2671626716eusmtrp1c; Thu, 1 Oct 2020 15:22:46 +0000 (GMT) X-AuditID: cbfec7f5-38bff700000018ae-98-5f75f4463591 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 8F.95.06314.644F57F5; Thu, 1 Oct 2020 16:22:46 +0100 (BST) Received: from localhost (unknown [106.120.51.46]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201001152246eusmtip19e697be5899cbd56265e489ac7762964~555QtlwHZ2653026530eusmtip1Z; Thu, 1 Oct 2020 15:22:46 +0000 (GMT) From: =?utf-8?q?=C5=81ukasz_Stelmach?= To: Kukjin Kim , Krzysztof Kozlowski , Tomasz Figa , 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=81ukas?= =?utf-8?q?z_Stelmach?= Subject: [PATCH v2 RESEND 0/9] Some fixes for spi-s3c64xx Date: Thu, 1 Oct 2020 17:21:39 +0200 Message-Id: <20201001152148.29747-1-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 X-Brightmail-Tracker: H4sIAAAAAAAAA02SbUhTYRTHeXZ3X7acXafgYUbCSEIpX9DimlIZFetbEPVBS5t6UXG+sOtM K9OMrMS0tBebw8z3xJdaNp2I1RKnrlxpZWqKMss0/GAaqYjVvEp++5/n/M7//A88FCY14jIq LjGFVScqVXJCLDR0LVl3H13QRPi+6JEzFYtTAuZpcRPO3J2YJJgC2w+MsVqfkMyQqRYxetsn nBlo0xFMsbVDwFyeGyKZhs5RkqlrW0EHHRSDlT8xhVE7Sir0dTcIxbPKTEV+cx1SzOu3HydC xcHRrCoulVX77D8rjm1YNuDJH7ek/Xk8SGahXlEuElFAB8DIRCuWi8SUlK5F0L1aTvLFAoKi HJuQL+YRzLaXCTZGdDlzON+oQdBvM61TUwhK9A3IThF0CBRUda9RLnSLAG7PW4X2BkZrIM9o InIRRTnTgdD3yt8uhbQHDL25ZCckdBA0P+pE/DJ3uFbTQti1iA4Gc382zjNO0PNgcs1xK+0F 9dmD6+7ucOV5ydo9QA+TUN24jPNGh0FX37aunWHG3EzyehtYivKE9gxAZ0JR4V5+Ng+BQbco 5Jkg+NK3vBYZoz2hqc2Hx0PgveUALx3h86wTn8ARCg33Mf5ZAtdzpLzHDmgsaF/3k8HNmVp0 C8m1m27Rbsqv/b+qDGF1yJXVcAkxLOefyJ7z5pQJnCYxxjsqKUGP/n0oy6r5VyvqWIk0IZpC cgdJrEkTIcWVqVx6ggkBhcldJIfeWsKlkmhl+nlWnRSh1qhYzoTcKKHcVeJ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9iSujBQ6/FPSa64pxJV OVsSrt9XdgjKeq4wR+jlm7a5N+1fC09+78HVoMRSnJFoqMVcVJwIAJmqjkHdAgAA X-CMS-MailID: 20201001152246eucas1p1ee289b8a85b707f7496355c081623796 X-Msg-Generator: CA X-RootMTR: 20201001152246eucas1p1ee289b8a85b707f7496355c081623796 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201001152246eucas1p1ee289b8a85b707f7496355c081623796 References: <20200821161401.11307-1-l.stelmach@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This is a series of fixes created during porting a device driver (these patches will be released soon too) for an SPI device to the current kernel. The two most important are spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath() spi: spi-s3s64xx: Add S3C64XX_SPI_QUIRK_CS_AUTO for Exynos3250 Without them DMA transfers larger than 512 bytes from the SPI controller would fail. Ɓukasz Stelmach (9): spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath() spi: spi-s3s64xx: Add S3C64XX_SPI_QUIRK_CS_AUTO for Exynos3250 spi: spi-s3c64xx: Check return values spi: spi-s3c64xx: Report more information when errors occur spi: spi-s3c64xx: Rename S3C64XX_SPI_SLAVE_* to S3C64XX_SPI_CS_* spi: spi-s3c64xx: Fix doc comment for struct s3c64xx_spi_driver_data spi: spi-s3c64xx: Ensure cur_speed holds actual clock value spi: spi-s3c64xx: Increase transfer timeout spi: spi-s3c64xx: Turn on interrupts upon resume drivers/spi/spi-s3c64xx.c | 111 +++++++++++++++++++++++++++----------- 1 file changed, 79 insertions(+), 32 deletions(-) Changes in v2: - added missing commit descriptions - added spi: spi-s3c64xx: Ensure cur_speed holds actual clock value - implemented error propagation in spi: spi-s3c64xx: Check return values - rebased onto v5.9-rc1 which contains spi: spi-s3c64xx: Add missing entries for structs 's3c64xx_spi_dma_data' and 's3c64xx_spi_dma_data'