Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp255565rdh; Wed, 7 Feb 2024 04:04:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW+78xGhI04Mi4zfsjOZ7VmXylT3vsfEgK4G52prfROPiX8/8wHG3KZgKXu72feYJ8s3kbq4cvGDvdDQ2SxYrQTitbbJ4vj/A0chtwk2w== X-Google-Smtp-Source: AGHT+IHXa7iRGhchq/GYr71EMjIiiiSxMvZgquLxE8v5lyucuSKWaP78TU4C26j3j2tYbHW9Pe+I X-Received: by 2002:a05:6214:1d0b:b0:68c:8554:4b76 with SMTP id e11-20020a0562141d0b00b0068c85544b76mr6739603qvd.1.1707307492170; Wed, 07 Feb 2024 04:04:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707307492; cv=pass; d=google.com; s=arc-20160816; b=pAwmDjYlbbY6bt26uaj9TIhyKsMQ4GNtq2ppYiMpoiU7pdbcWAhI3L+JVKj7i/t1bb vHMShb7VVpuJZnV6Xlxs/BvXFlnU9L4E4aj1xGcGL/y7h/VOrIirJ/xdGsGPzO/G27cd nRVJZFvpgkGGfz/jgQgxCJCAaSW91wWt3FsnxMdHFchae4A47Bo15ib87pmq3cDFddEe DxXekEICeXIn/CeD89RnvfzzfKdKRBlepMus5xMCVW959jpjDkKo+kLahCmoTcQ7dzjw O8UzjNNnSwvhqiQlKNgbfpb2mOYOFvTNXUNk1VDXrNLlZ386+ENf5iva93xqU3QZAG60 SvaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=zdo0fmuE55cpgCbqIv6yz5I24yw/ORXoHuxyLqonuwI=; fh=pUuHaoO319FQLSFGA9UzTRxBhveh4FDFe+DCcf7Vo6w=; b=UZrQZHkslDq94FJHtGFh/rNrIMlsK9PvLq03mUXaVu4VMRI/43G2GRtjIBvQ+HiKVq bYzmw6BzI+i6FjYA3W11bknn9Pl2reNxbaC/tlD0EPojYVo5w/JFcyZ8aY81c7WN6zvC /7MrxDrSYdcsxkhiPNuSC+Levaz6nJvbOu8rccu12PbHYiPs5l40GOG6bHD+zgOnTn5k aCqfF7r8K4YxrUsBMasIMr2J7RR/bZclLYWo55tkVhXrrOpGM5W3Ijecgddt7WNDngy4 wWVbnIJY/kaGs6PoeuDuCi/RBoicIAyFnl73lnf8ICtNPDgP1Fq26ZtyJ+xp+0kPgbZS VEiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yq3eLGWP; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-56439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCUka6naKOBcBzMyOwImfj4VZaaGvstJEdIUn0cYICRSSEUZSKYO9w4RKZVd2qM0JnBYtOn9Mq9jNKtRC9azyDcUtSrT1URln9T4m9lDmg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jn9-20020ad45de9000000b0068c929892f1si1003683qvb.82.2024.02.07.04.04.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:04:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yq3eLGWP; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-56439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D72A41C250A6 for ; Wed, 7 Feb 2024 12:04:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C4585A0EB; Wed, 7 Feb 2024 12:04:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yq3eLGWP" Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC0FD5A0E9 for ; Wed, 7 Feb 2024 12:04:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707307480; cv=none; b=jOp7R75q40paOtPcsh/nUalEdPfOmOQEfdKUyAmm68BqFDMp7SVmVckOr4PNT+t8qNiAcd3DHVRFpCpnyDc6L3Ph6WD7iGKoarUmCe2Z8VJ7YCPzFY6fJlsoY0zI5RD+v4LLuuL5t46VcgG0TzqINazROCXIqIWymk8waG1tjgU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707307480; c=relaxed/simple; bh=AnLwycXdBVE0epbdNtCzrwoG32399eRX3Btv9asIRSw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E4En8ljFE5v4h0lduejyrvhZwBRGwtCfuJlj0zcZfVfxfMcxU1mIHfCvLqJjg1ID7rtvsK2wh62DawuCN6IUZp06fqZconz4vHx7AwyTTTG66bbh3iaoGsKcY3N0aGjxUb7P89+5Ag/FscLWQGly7ux5zzps33kt+BXexquSkwY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=yq3eLGWP; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-33b189ae5e8so359671f8f.2 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=vger.kernel.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=yq3eLGWP2Ql7ih0E21hImgX4MaGHQ+MIPm3/TtWVbuhq50/SKj6YDBeJa+tdwtVvXd Fo+u7Ucw4MyN+HRKVlrhDL6TxB9O4m2D+Y3r67EBt9xbX1JgWBoP/odH5PGEaW7oWGO1 yVjYGQqGCndi6xDtCuueJSCHnHjRaOiShOIV/70EljuI4FpqZDdgwanzgoUekwuQcWWE 4GoWDaou+Kyq5tEXkYGc+zmyS9BfmBptw8y+thLRZ5u3yZFCHQ5FT/iTOvVy4BoYgwBo fKBkc5iahz5HdUDo7EULMBmYSea/2RX34fvcGdpMTlnHUD4/UWTphK3GEACL8rXTvd44 3EAQ== 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=if5KtB7GRcA5JA74jAXX8rF7K5vWU0AocvQB6f02YMDe9wGuqu+4wFT7VVe2EHmrcN to9/+sM4J0VTJ04e5jMx51bQlyAo6pJbjv9X0p/NUv2jkDLXIcg3RSx8jIQj7N5fXBfX CyyvHIqz3KJTTJIoUdpAgBx+Hs6JCataid11WFuVGaetmO513TzKHFUDei1dZLc4YS0O sS2FgXRItH6GaRVPKBETKQemGYeto8Y8lL9a8H/JMyRXsNKTUcabezm2aG4df91Kk8aj 38GdBpa00plk/xuisBpeIPABJadcGCU6ZViUpA8D23D0vLfU4YydJI2z9FpViHNHvuAF J2Mg== X-Forwarded-Encrypted: i=1; AJvYcCWWJ5dAdtTvZasxgWH1PYj2gqTvL6RJgO+E+rbL5eL+pyN3slRlyrrwpi2PxxbgA7fVB7Y/7RAse2b9X1l9u/cpic5Qx81eK5e15v1O X-Gm-Message-State: AOJu0Yz9lH09E1Lf/gYXqHjZsh7+NDx+MTufPJFcaoVWXZto2lZttJSD f+5xl1JZedutNa4KaTMpzXLZ/g6+ZitE8v1KaNZoRDAADgZFKljb0Ds6p8C2edY= 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(-) -- 2.43.0.687.g38aa6559b0-goog