From patchwork Fri Aug 21 16:13:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 257347 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 679D1C433E3 for ; Fri, 21 Aug 2020 16:14:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4590B214F1 for ; Fri, 21 Aug 2020 16:14:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="JWvIOnj9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726858AbgHUQOL (ORCPT ); Fri, 21 Aug 2020 12:14:11 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:37157 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725834AbgHUQOI (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 20200821161405euoutp01728608f67dca31418a20e1678396a667~tVJXz1Jhp2042020420euoutp01L for ; Fri, 21 Aug 2020 16:14:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200821161405euoutp01728608f67dca31418a20e1678396a667~tVJXz1Jhp2042020420euoutp01L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1598026445; bh=z++olWEZiYHevwzEaZpqj3hyDJFzsFUj7ho3wt7OKh0=; h=From:To:Cc:Subject:Date:References:From; b=JWvIOnj9QJUUBh+7Os3e+8vyFyDgDOgQ5wrUqMKQmqWL37yVt+WfbH2HOjymvejiD 79VtEEauvI768CwzvAS91ys9wg8/tpZWow/rUnMOlcNWaHIASUV0LWlLtcXkx00+up uLPV2RD02FkgHnLFUHlm0FFGBwcpPASzacEJO40s= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200821161405eucas1p2ccea9449b176120df3a3b2a5a01fc961~tVJXf_zf62032520325eucas1p2g; Fri, 21 Aug 2020 16:14:05 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id BE.9E.05997.DC2FF3F5; Fri, 21 Aug 2020 17:14:05 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200821161404eucas1p20577160d1bff2e8f5cae7403e93716ab~tVJXDyjyL2032520325eucas1p2f; Fri, 21 Aug 2020 16:14:04 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200821161404eusmtrp1fb99f20d180cd5fa6291e4be553fe7f0~tVJXDDJ-61179011790eusmtrp12; Fri, 21 Aug 2020 16:14:04 +0000 (GMT) X-AuditID: cbfec7f4-65dff7000000176d-c0-5f3ff2cd2ab2 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 2D.A9.06017.CC2FF3F5; Fri, 21 Aug 2020 17:14:04 +0100 (BST) Received: from localhost (unknown [106.120.51.46]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200821161404eusmtip26563b85b475ad000c6271d91c80bc5d1~tVJW03UKt2050020500eusmtip2R; Fri, 21 Aug 2020 16:14:04 +0000 (GMT) From: =?utf-8?q?=C5=81ukasz_Stelmach?= 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?b?xYF1a2Fz?= =?utf-8?q?z_Stelmach?= Subject: [PATCH v2 0/9] Some fixes for spi-s3c64xx Date: Fri, 21 Aug 2020 18:13:52 +0200 Message-Id: <20200821161401.11307-1-l.stelmach@samsung.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIKsWRmVeSWpSXmKPExsWy7djPc7pnP9nHG0zYI2mx+MdzJouNM9az Wkx9+ITNov/xa2aL8+c3sFvcPLSC0WLT42usFpd3zWGzmHF+H5NF48eb7BZrj9xld+D2uL7k E7PHplWdbB6bl9R79G1ZxejxeZNcAGsUl01Kak5mWWqRvl0CV8bF4zeYC25wV7zpOMbSwHiK s4uRk0NCwERi05WLzF2MXBxCAisYJfbuboVyvjBK7P/UxArhfGaU+D9nCjNMy6epXSwQieWM Et97F0K1PGeUWP9rCSNIFZuAo0T/0hNg7SICE5gkHp57wwaSYBYolejZeQjMFhYwkjh0dRE7 iM0ioCpx7sZKpi5GDg5eAWuJ849tILbJS7Qv3w5WzisgKHFy5hMWEJtfQEtiTdN1FoiR8hLN W2eDHSEhsItd4lfDKTaIZheJhgP9ULawxKvjW9ghbBmJ05N7WEB2SQjUS0yeZAbR28MosW3O DxaIGmuJO+d+sYHUMAtoSqzfpQ8RdpR4P28CM0Qrn8SNt4IQJ/BJTNo2HSrMK9HRJgRRrSKx rn8P1EApid5XKxghbA+JPasms01gVJyF5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k6pBsby7746ByaIRjIGnjvDvbr93vfdretnsb9j UVzuY3vztdi0htfLQ7N+sb7ddHuVtWyEXKWMzfkXMbq3fj0R5zEqXuCpevWByIUKQ2n5U0on NLqi4wvm8qezRkW8N95+WG1l6aueGR3NBZ+eqrVVi7EqvY9c2xNZ3xTy9nhfy4T0O37/FKof aSqxFGckGmoxFxUnAgDVFelNuwIAAA== X-CMS-MailID: 20200821161404eucas1p20577160d1bff2e8f5cae7403e93716ab X-Msg-Generator: CA X-RootMTR: 20200821161404eucas1p20577160d1bff2e8f5cae7403e93716ab X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200821161404eucas1p20577160d1bff2e8f5cae7403e93716ab References: Sender: linux-samsung-soc-owner@vger.kernel.org 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: 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: Check return values 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'