From patchwork Mon Feb 5 12:44:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 19933 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp848312dyb; Mon, 5 Feb 2024 04:46:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4KpqnHK5Ywcy0CDaNwhggp+x3RhpeIz3DqTr8sxHuZpF/8q15CBMNfodQ1SPYuwp6CniM X-Received: by 2002:a17:907:70d2:b0:a35:fdf9:e7e4 with SMTP id yk18-20020a17090770d200b00a35fdf9e7e4mr10134119ejb.20.1707137184122; Mon, 05 Feb 2024 04:46:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707137184; cv=pass; d=google.com; s=arc-20160816; b=Ip3suuC1n7+nHkCyfJbbvoDCbN9C+cA6qvLcLhJPjS2TiL09cNZEeZLO3mfNaTiKVI KiN8e7VMXIQSosRit7NCjC+4iijit6bvhyKRqUpshAhqAgwfALZlDZr/hVJmpJ2aIkty SwPcNSDGxDwdAyEBOo/DTM1eCl096c6rBRInn/9lDz9VUuhYsychk6CVcUwIYbjdAVMX BHA4YfaiKVYyi6YWtcdmWc5GkXyxwRK1bHUrPZZUdnSCvV0NaCKnvGHlAzmBOplfd32I hud6NhdCUw+MiEIawDcgEwAVrKco2PK6CXGfJTyqJSJmiCQgvjFcn5US7rxC/Pn1Ptpc n8fg== 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=qzqV0UO0jd/4JdiYuZ+6mTTVkqveZDGGM2rG00rXSTc=; fh=0LYUZZlK+y6awFZooNCSabrcKYqdeRtuQS6HjW5z2hk=; b=Cr12oBgaUoidlnjDQ4w5gv4fbgcrHhtLxp6gOM/A/eH+iluPivJr4s46z/gxToCRSn 8+txn7NaWmC1RGaYGR5y3PNStfiVvO9O4U3aVcAw4z8/po4CZ081r7lf1r2FsMi4dDOn j9hRbJM/jkt1IW9T668FUaclCiJzcZFXYkfxgZ36Nz4uCC6yPyfGZeWpuTNVRRnhZJEy hs2OzOGEYyZqh6PZAFs6bEtf/DfwRCoqfKRIlN1adgL22Cjvmpqnwf+Jo4HJR6Em8Nyl QEEFCsYLvadKx+FVMYfnR6Gq1Aq8ioJj1V2EqHGwB5tpQF8b3ErAaJd6EdQlLwcMKbiz CPkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yMN7E8W/"; 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-52630-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52630-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCUnOA0HQUNIo11UFi2E7CPii4BtBfcDsfSzXPoOD1x5e00RkzxOUlXCKZF39Rv946iocLJH9x2jkQc36HMjIEU62a3fTA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u12-20020a170906408c00b00a3795df9f30si1570103ejj.254.2024.02.05.04.46.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 04:46:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52630-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yMN7E8W/"; 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-52630-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52630-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id DB4771F2150B for ; Mon, 5 Feb 2024 12:46:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01D12210ED; Mon, 5 Feb 2024 12:45:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yMN7E8W/" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 49BAE1BC4D for ; Mon, 5 Feb 2024 12:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707137121; cv=none; b=H6pTsUf1f1GNpMFi1DrPy4M4hW4BWM9uzJXyvwAXE4PUpBiV3C3YirSA0t7r5oneb+IGmTUsv/HIAUe4Gx0fIe2OJJS+iufd27XDWGuF8YBzKkpRT4s/p2XWYHE1t6DTt2BqdMsQFjjidyutkSOorvipAqe8W5yMcd98tez18cE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707137121; c=relaxed/simple; bh=bV+lpitM1SVsJG0AnsgTt3rvbBzyLfGeUChqy7K4Sas=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ac/mk4e9MM80eR2m5tqde1qC4B6rVPFbrYoSd9zFYwpVMifT0qV+lURahkPYOzxwT0TE5YFl2ys7yu3/9RKoo6VyWlLPqTchPy/QjauoTnM6VdqDWc1aThU4P6TWyf+raGMwDPF9neC7IK2yNwCtcbFFImOPSHNOHBJeP+x1k2I= 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=yMN7E8W/; arc=none smtp.client-ip=209.85.128.50 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-wm1-f50.google.com with SMTP id 5b1f17b1804b1-40fdd65a9cfso4459585e9.3 for ; Mon, 05 Feb 2024 04:45:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707137117; x=1707741917; 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=qzqV0UO0jd/4JdiYuZ+6mTTVkqveZDGGM2rG00rXSTc=; b=yMN7E8W/7mwsCLbH2DvVD/YJrFsAfAHEdnCmchRksw2fVy8JWQ0mBpJ+tBQ7MQn8HQ JZkKcUsFsMeI102/icXvIC+3I6uZwrEMeacCGqX6p6bVJDONVyHvXlgsIIaShFtVOv0F Y2wLoIB230FX5PhgVGhy+lx6MmduKK17WFUYAWkpwl9LxVuCW8h7R+m0Z8sE58E58VWO 422L1/VZeiA8AMvOvtgSTyiEoUK/VNRW7qIt7J2XvUiliOxqYm3NYStb5H9U5YD4gNJr 6SITGZKuufFN9hAOyeyUy/aehFSnCeH+qDzlWPbqyhYUaGML039kOHjEFcdJPyDjwiw3 0GoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707137117; x=1707741917; 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=qzqV0UO0jd/4JdiYuZ+6mTTVkqveZDGGM2rG00rXSTc=; b=ia0NTtfYDQqA8847WBfaN66AFMgsZ3eF1621xchan+LlIlJ9Lqt1x760A1VWm/ClkM awpD96LaUogE3uUOBMHNKw2EjLoYdMAvRurhO1zzkqFyoGOJk51Lgr1/B8ipKXr/Xgpv p83GfjeVMkmBG0tlCcsIg1W03OH1RpgIkWAkg8urQN50mWwAgF+0eMgM5BJVAgg6qfnt 0HN8r28EnKI8+XIduyEfcRx1o2DiY8SECGKpii9ujzbVYmGRSh1PmV/D22gEfbHjXtRO F3GedQr5+AmjuLhxrOgMcUGQs0Muegfj+Hboa9pV0686Rde0HuC3v0rNCcWrzu4FaCpV bAYg== X-Gm-Message-State: AOJu0Yy4trkZDjCb0rpINfLRbRpX1+nJyx8BKmeWPa+zV1P0lQkTW3Ps amIIdxfJbpn0mtHPJnPYL5WNIUOB8O8cPey0pbzxX33u96e1NTj+Jq0EI5thM6o= X-Received: by 2002:a05:600c:2604:b0:40f:cb0d:a44e with SMTP id h4-20020a05600c260400b0040fcb0da44emr4478868wma.9.1707137117361; Mon, 05 Feb 2024 04:45:17 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU409RMIzEsIUgcbbgdl7NZb9Og7FkKHQI6vdbmd+4XwjonGIBFjxdzOKAfbWMz7L6UZaR+he/YIyYAh3Fo/NXaoD14EoJof1rM4EjMBs4R+0EEJlKAVyL5JJkNilcHQJZ7yfLgXGblXcrnNlWnlf9BqDFBbLxFfbxi5NOrrpPXroJgGttBQexJdnNltM/8FvjnoHfUhtiAlkL3nmVTzVN2KxJBiU1mi82BaeyWjP+0wYyacGbQrdTWjCxkSUSyx1nT3JyfjOoaq5locTcXLd+jucD5B524WT1VRAJ1Q1uflMdHqhlgfXry1NVfiiQcaMJpt+WKxwYN8jP3xo1dfUbH+Y2EkprHbnBHInyVjMWFfJ7/5r5q98nl6tTky24pZkY5+9kl8OHY+7YwUPMyGQK1D8A+4n12qP4mI3wjE5+4bXrIR5YH2y+VIx1UtqckmH7fN+WsSpZ89FSYf6fPj9cWw0FOYJgBDq75Uaq4ZrXS/J9AGkRsOxExq/lCuw== 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 n9-20020adff089000000b0033b35da384fsm3650812wro.33.2024.02.05.04.45.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 04:45:16 -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 v4 00/16] spi: s3c64xx: straightforward cleanup Date: Mon, 5 Feb 2024 12:44:57 +0000 Message-ID: <20240205124513.447875-1-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.594.gd9cf4e227d-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790063079959106220 X-GMAIL-MSGID: 1790063079959106220 Simple, straightforward patches that were compiled tested. 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 (16): spi: s3c64xx: explicitly include spi: s3c64xx: explicitly include spi: s3c64xx: avoid possible negative array index spi: s3c64xx: fix typo, s/configuartion/configuration spi: s3c64xx: sort headers alphabetically 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 | 80 +++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 40 deletions(-)