From patchwork Wed Feb 7 11:15:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 20051 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2154388dyb; Wed, 7 Feb 2024 03:17:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXRZrIJfuYQFzaQjhDNwmL7jQ2fHhot4IWJJeQ5Dk2nw9Dkh7PP+2ud9MDneO72eD7l/Xr4jZUAhRbeLt/u59eR22DNnQ== X-Google-Smtp-Source: AGHT+IHIlUAwt5DrG+fLeFoe55B+glLZjnNXIku395L/1k4X0ASE2b95TGTGyODnjTXEd2osMbsS X-Received: by 2002:a17:907:788c:b0:a38:984e:2e5a with SMTP id ku12-20020a170907788c00b00a38984e2e5amr58333ejc.33.1707304643065; Wed, 07 Feb 2024 03:17:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707304643; cv=pass; d=google.com; s=arc-20160816; b=Kqe3jRDAfFcoRjrMEE+UNW+pYwR6qDzMV3Bt1shatI81XzK8dUiEw7Jsda9twiEHrr pQxFZXbBhkJEkgjwtVzBRCR5CNLEVDDVKouVTepq9WSvyPkfRAFvY74ajPysRC1FMah0 9UJvTavFqRbKxwetTnECb05YO8+N4hIXwkNUWLOnJ+yljoKp2osU9H20vlMrPAmlXQd2 3dUN/ZCRO1r449DttZLJv3zSekXNG9zaZteIZuxm2P/jtncrBNqJfyNKvhmCk7V93h7P 70h1iDBeLrflb3QO8OfIykpbsrGHFpm4mubpDvm1ZVqiRLMIX0ryHTamq/r796L0B26O cYBA== 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=bMnb5HJhS7G41QVRQROXaO1EL3gS+emI2A/pWCIDppQ=; fh=rYb1cNuu/NZqSyDExx49VoG3K9+D16ds9BrRDhTZzUI=; b=jz2t6iOW052Xom1hTPII+bf5gDa4/mrxF1IX8BJ5MgXF7vSGZjIzZGjf72CUSIMsNt 4dVDuFC17f1TvIRtzJfxSTJS5cAzNYuK9Z2cCvjin9ccZavKdujt9bHtMAOxYExSPN82 fu2s9fox9z1+TSvhmVm7TZlDyQgDuMJHi84W2Oii03gs3S8XY3mLlD3za/1UGhIJwpzy I0jqcHvuTFxPDPxI4AIbm0j/Egzvct2kclTwoBPtmhCrqfqOJ71Gi3vU12p7HE4+hflk FoBorsmmaQd8ly5zoLxBsyYkg5ns2ZaJuStwSAjjoBFjZGxo1vkCwpGgIwt3MNMRawYr EMMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jxxyNyE1; 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-56373-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56373-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCVeD01woHQg/bZfXjbj4F0AQ+EWlcXlIUTs4GOGjJcrIMJtemUZ7uymhToYJy7x59AAE5+h/lHrSyQW8hiBV5DOhYs58g== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i19-20020a1709064ed300b00a384e9cf2ebsi777584ejv.442.2024.02.07.03.17.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 03:17:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56373-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=jxxyNyE1; 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-56373-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56373-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 9E5AF1F27E5D for ; Wed, 7 Feb 2024 11:16:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75E4228DA7; Wed, 7 Feb 2024 11:15:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jxxyNyE1" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.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 9F2BF23759 for ; Wed, 7 Feb 2024 11:15:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707304524; cv=none; b=hL74XRkBvFkqZZMGzfY0ZWPOe/9x5sdSFaVVz6wyk7zfZfmCU2TaoOb9jrgWbgtHEUJbKD9RtOlh2iAJK82nh8U8TdKtkFfoQtFEkAxCk5AGP9bu9EIUmxPi9qa7RFLErTtHGghTEIIn48FOVEAjA7IfWIWh/8jUdnMpSl2T0MU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707304524; c=relaxed/simple; bh=SCPR2qSc7UFQAu1LKrcwc8/FX4vyYYychtz2gG6sa6k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CaYY+MDjBXSOTfMewsG14IVBnYPYmw+ylKX2g/YCydp6w382U5zuh80lExyxTqkkuMweZCb/C0OQTWWG0Tvuyrwa9F3HIwi5cTCJjGpro1LRsFdcZxqrs6EUvckLGAWUi7lia1tkeeH7Tk4hZD5a+l1WXs9ILFsDc5ylxpomQkg= 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=jxxyNyE1; arc=none smtp.client-ip=209.85.167.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-lf1-f50.google.com with SMTP id 2adb3069b0e04-5116063585aso543313e87.1 for ; Wed, 07 Feb 2024 03:15:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707304519; x=1707909319; 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=bMnb5HJhS7G41QVRQROXaO1EL3gS+emI2A/pWCIDppQ=; b=jxxyNyE1IUdKZc5SKmskvucNqSysMFEmU7tsQhKxVdzHTwpgqnXWQeYXgWILkJDJnX I1tb6tFWJf3Gd04KqBRKuvXhZ68o87bt4oW552IC0blmsXnKKW60tE1oGQbYgzVLzHnd bVh/TdhpnrW+iwaZ/ROpSRMzWYFskbWRnrdCNOvVrU3vjdwxA7R7zoKblSXvwlFABn0t wCcdfnYD5Z8nwb5AwvUIGaysqtoE9D76ueJb6lTvn3C4LnLf+Uq/LTOr3achFKttHT0u S39+ffenPB9zA4uc38o/NvCPZUBC8nO5hnqf0q8jacsnE14URUBuqKlNmEb5FZecC+sB IyYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707304519; x=1707909319; 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=bMnb5HJhS7G41QVRQROXaO1EL3gS+emI2A/pWCIDppQ=; b=spU4+ABBFOT5QmQ+uLDUr+x3GdZ3AjhIZueYZa0+clluo2W4xaczgCitZigQE+4VDW 117z650uyjtyb7OyIagOVNXcar08ihy7KFBLi+tJJziWLqKR8+ll8mIxgQCS+4A3rOeU XAsXTW6bpnQdUaNi6y7UcPIHyYSr1t/g1T9THSgsToTEx87jH7LE9ricahDXE9jEdw2T ERw8JY5JtT1q5496mAWnxjQkDbhFAUzCyZL0B2uRoOwwRBqrMVZY8tyx+8CfW1LOG8cF vQW4i0OHQYqUIuJ5aVdrZFw5Hv5DTVxDxwAEgjuFd5nQmym5PINfTRult/++bu2CH7qI tahw== X-Forwarded-Encrypted: i=1; AJvYcCUYXPiAf2LQS88sRjtUcg+zkQRd30xSCsnhd8XPPPm4e80pEOMtv4W/IffPVuG48CB0YdxlQ0SrWz1JF5pdYSTCT67yYmaOPoi7Oe9y X-Gm-Message-State: AOJu0YwylzQ4EFM3pOObQw+p5XZjylh1ZroTLy9Ze3IAsq02CGzAcJ5v +uo8+qvRqyIuBJ25Ce9sfrO3aKAg4ZDfNUL4Iw88cqx3jNsZPwGtNtgFZD4+31I= X-Received: by 2002:a05:6512:3d29:b0:511:61ab:406e with SMTP id d41-20020a0565123d2900b0051161ab406emr3012942lfv.28.1707304519410; Wed, 07 Feb 2024 03:15:19 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXUzup+s1uQRbpAdflsODdHWm0qj4MlCpwuH2pfrt2Ir/2vtrkZaqGew624khQQuCwMkkDJF8HQs/NrowL5pDYpkzjrtCW8w0gfqJSLRjPFJEIlrJU+8UG6QL7CaK0Ri8d/9ezqfUK+oKZIT2b+A4yYcGJNZI3c2SP/jyw03pFF6FeB27hBaKu+yveWvwF+pmiCguWPXUgt19TxF5HTWQy4KRTWHQi5TVOk3SN3g+z1cel7IinEo1kMR1cDNKe4tx8L0J12fPKBd+/MQnxfrRe3ySpvKGzK5n6ne3N8sPCY9dJZ08Jvw51ouoVVXlu528M1b8vRDdydKWLjnVTCIRXAlz0vIrTnJUW+mcRbfhxJm2n09xLs5giQWa8BcWl5n3czj93UghepfqqPKGM0XJLSUCUPDJGr7Vx1W2lAqE2MwPfTDGRqO22otQzHjwULgnVtMer3s4iffalzM+9FDulnIxFf4cdpKNCQQWkDWdGSuKDZ0XdeeeDgau6IEIE/RMURAXGU7TcUcKLtD8T3r8bF8VynxT5gQuzTa4OL5sA6JvEu9uniF4lU3sj1qkRlqZo00EabG+I5IgupFeRSEWYdhA== 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 l14-20020a05600c4f0e00b0040ec8330c8asm4983260wmq.39.2024.02.07.03.15.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 03:15:18 -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, robh+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, Tudor Ambarus Subject: [PATCH v2 0/4] spi: s3c64xx: add support for google,gs101-spi Date: Wed, 7 Feb 2024 11:15:12 +0000 Message-ID: <20240207111516.2563218-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790139025572308570 X-GMAIL-MSGID: 1790238673355741880 This applies on Mark's for-next branch. It can be queued before the simple cleanup patches. v2: - drop the include linux/types.h patch - patch 2 is a preparation step as per Sam's suggestion - contrary to Sam's suggestion, I kept the style for the s3c64xx_iowrite{8,16}_32_rep() methods, to be consistent with the generic implementations from asm-generic/io.h. - s/just/only - collect R-b tags. v1: https://lore.kernel.org/linux-spi/20240206085238.1208256-1-tudor.ambarus@linaro.org/ v1 was derived from: https://lore.kernel.org/linux-spi/20240125145007.748295-1-tudor.ambarus@linaro.org/ Tudor Ambarus (4): spi: dt-bindings: samsung: add google,gs101-spi compatible spi: s3c64xx: prepare for a different flavor of iowrite rep spi: s3c64xx: add s3c64xx_iowrite{8,16}_32_rep accessors spi: s3c64xx: add support for google,gs101-spi .../devicetree/bindings/spi/samsung,spi.yaml | 1 + drivers/spi/spi-s3c64xx.c | 85 +++++++++++++++---- 2 files changed, 71 insertions(+), 15 deletions(-)