From patchwork Wed Feb 7 12:04:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13548380 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EB560C4828F for ; Wed, 7 Feb 2024 12:04:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HlO6IuAm7ro6xvgS7emi2PzbEqgWmmHCKhAr3AkcalE=; b=FYhM4Hgg8PsxHn sGO6hjIn4IUzRQFfgLWwm9NqlwTaWniSXmTAcX4DAF+LF7v4/2nFne9/G+0S/LJanX55pGD4++G7G cGFvJPK8xoiutaz49ZmNcVzUIBjN2HWcihclbWqyk7ahsWe+ma4x4VDH+J7Dpyvfy0pcXDMq3GVGp qTidomc9vKtdiwN+nggZ6WLuFz1KYaQpzQD011hovIptdhlC2tWijX2t8eczlYUembSeNH8A4QYHM qV1cAgLmejxNnWyz4oBAkwnSurubo0agYz/bkP0LC3Y921qed0LeqAsQMBaTDyFJIDRVRggSeDxvI 9WqmVLa01LlUmRqCWz4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXgfS-0000000AZA9-2OZW; Wed, 07 Feb 2024 12:04:42 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXgfP-0000000AZ8h-1kKn for linux-arm-kernel@lists.infradead.org; Wed, 07 Feb 2024 12:04:40 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-33b4e58102fso249475f8f.0 for ; Wed, 07 Feb 2024 04:04:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707307477; x=1707912277; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zdo0fmuE55cpgCbqIv6yz5I24yw/ORXoHuxyLqonuwI=; b=wO7G38uSPTM9cMJevrcepzagyArWO5U9OiRpLx67cC57kyIMpffzwLKLJYAezK28Xl xcKFJO1iaDuCR0W7fjIiyJn3Aj5X1ZudkzBkXXfp4EWcxNJaHvQLwtAAtKnLC9V3KWOQ KXL3m75zRTPUXBuWAI1/SP41pQxwEERsToKbsS7eyHfqHwp5ghXfjvpa6K9h7eqtguDP txPFXKR3qYd/PVhCKWrMldz1P0MbXskm1/5iIuawXKeXn08ETlE0WEu7kb4iX7ViX5nG jrKnQH/eRByuoYs/C/TzYVZmz3DiZXvGwoO6Cls2phQPwZ/05XT968VG0HnRu3CoIbde gbHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707307477; x=1707912277; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zdo0fmuE55cpgCbqIv6yz5I24yw/ORXoHuxyLqonuwI=; b=p3vY16xXW9Fb0uGCkGDoVaz86aGXWh1EpwbMOX2w246CWM8F5CsBfu1BN5GXfp6+9F d3XX+iymuRmUfg8Wnz+JGrXFlHFfS3lZthWeGsbLDbw96Nc2LE9aCAyNQMnyopUadSbI YDcwrYmb8MkUsdWwgUi8imZdx6iBAqBriknqpvUz9CIcbA8g3VcuWP1jjqT8KFhtc8G3 6pEnrplSQ+c+QjsnlLCgsy9oOPEVn9yFRnIC+lL7WzhMGetCFlVI2HwwW9J9prfc+0zf oS7Z9iYbmHIQhbM1zvYnSGNsyHEgHGkODN8v3jidM/4InGka9U7Zt6MT3L6nG/0kZ2Sy H//g== X-Forwarded-Encrypted: i=1; AJvYcCWdrxwlwwIW/XyShoB1+YparnuOmX/YAfn9pW5sTq7eIGL75mQAQRDFqfYROnc+vJjHFdfUO3XOobmra6iKAPW5sThaVd/SssBM+jZoG3R7rBA5JRI= X-Gm-Message-State: AOJu0YyGCoY7ZwM7FX2tp3Ht4vl738qFPQBR4MNCD2NYiVOOjVQw/iiU 3tWZxMaXRLEc4xYKq1at6uIlmUxPgg7lQtkSk1QmC1BbFF+gmwS7AYcYFypsvLs= X-Google-Smtp-Source: AGHT+IEypKdykDzu/tKaqOqmwHNG7/BNsMvzV8sXO62jO+/BOvGfaYqhdbWbxaM7efCR8TPr5Xfrwg== X-Received: by 2002:adf:ff8e:0:b0:33b:176a:a4aa with SMTP id j14-20020adfff8e000000b0033b176aa4aamr3468479wrr.50.1707307476847; Wed, 07 Feb 2024 04:04:36 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUi2uDHW12fd8bTBIEJb33lrqpGayokIIXFLsLlG4r31z2Abk2VXTjCZh6AZbxwINjKdN+U8UWML48RlXFfUh+xfMJjnCMGsD+TtJIY97VMu4MeAKHIlZ880aFiTGVfPjDIzmGRSK7fOTylpW7NT/USYnG5b0Lqk/9xD4d8gqeeRPFXuGLFYIiAvn0qcBDPapyxdnWcFdKbZZvP0ahJkoAy/WqlzboD0NNRRo7d6MhHjUOKdAUCHgGj04RzkFeAk9udjMKNFdYFAu3LkHyMIy7G80HUqPwDfRAshV99Ig+oCtAurlTPBS1up1BzgFHxpysC+oMvlY2N4xSAaP4jE10NemPNnNV1v0h1wAnmfoL82Hwg6iEFq/QSupL3YmyiSQVTa0DMHHdEAbCTw5wxnZ8E+PLwp3zCjFzaHLFou0W9uKUOyZfMlMnwnBdmi/Jw9YQobdGck1EaIy0ZOjcmAdBagVcD3ZUgdbkg6/AUbkcjRdglsasRXcghrzwDcA== Received: from ta2.c.googlers.com.com (105.168.195.35.bc.googleusercontent.com. [35.195.168.105]) by smtp.gmail.com with ESMTPSA id d15-20020a5d644f000000b0033b44a349e1sm1349967wrw.38.2024.02.07.04.04.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:04:36 -0800 (PST) From: Tudor Ambarus To: broonie@kernel.org, andi.shyti@kernel.org, semen.protsenko@linaro.org Cc: krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH v5 00/17] spi: s3c64xx: straightforward cleanup Date: Wed, 7 Feb 2024 12:04:14 +0000 Message-ID: <20240207120431.2766269-1-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240207_040439_486338_2D85BFB4 X-CRM114-Status: UNSURE ( 9.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The patch set has no dependency although Sam prefers to have this simple cleanup queued after the gs101 patches from: https://lore.kernel.org/linux-spi/20240207111516.2563218-1-tudor.ambarus@linaro.org/ Tested with gs101-spi. Changes in v5: - don't abuse the Fixes tag, it was wrongly used for: - explicit header inclusions - possible negative array index fix, which is just a posibility, it never happened - typo fix - reorder patches, sort headers then explicitly include the missing ones - new patch: "spi: s3c64xx: explicitly include " - collect R-b tags v4: - drop "spi: s3c64xx: use bitfield access macros" patch as there was no agreement on how the reg fields should be handled. - don't change the style in s3c64xx_spi_dt_match(), drop just the unneeded casts - collect Sam's R-b tags v3: - reworked the bitfied access macros patch so that the bit operations are the same as before the patch. Fix S3C64XX_SPI_PSR_MASK value, drop S3C64XX_SPI_CS_NSC_CNT_MASK. - add a new patches to explicitly remove a duplicated definition and to drop a superfluous bitwise NOT operation. - collect R-b tags v2: https://lore.kernel.org/linux-arm-kernel/36a664b1-666d-4fc4-90d9-35b42e56973d@linaro.org/ Tudor Ambarus (17): spi: s3c64xx: sort headers alphabetically spi: s3c64xx: explicitly include spi: s3c64xx: explicitly include spi: s3c64xx: explicitly include spi: s3c64xx: avoid possible negative array index spi: s3c64xx: fix typo, s/configuartion/configuration spi: s3c64xx: remove unneeded (void *) casts in of_match_table spi: s3c64xx: remove else after return spi: s3c64xx: move common code outside if else spi: s3c64xx: check return code of dmaengine_slave_config() spi: s3c64xx: propagate the dma_submit_error() error code spi: s3c64xx: rename prepare_dma() to s3c64xx_prepare_dma() spi: s3c64xx: return ETIMEDOUT for wait_for_completion_timeout() spi: s3c64xx: drop blank line between declarations spi: s3c64xx: downgrade dev_warn to dev_dbg for optional dt props spi: s3c64xx: remove duplicated definition spi: s3c64xx: drop a superfluous bitwise NOT operation drivers/spi/spi-s3c64xx.c | 81 ++++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 40 deletions(-)