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: 13548333 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.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 96C7A22F0F for ; Wed, 7 Feb 2024 11:15:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707304523; cv=none; b=PQTtfZDOHGCS06SaZJ8gl/GQBOtuoRfwmUYAIu5HxCMmDy6SsWB/E6ntgHwJpMDstNOV72UghXPgO5HUXqTNctJh9gC1WJPd36eXGmipCzXbZOEFaHwW2c8N5I8ppk5+9zwdPiZPDQQv5eOkiXgYG21K1MHUjskrQsGqaX0ehRI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707304523; c=relaxed/simple; bh=SCPR2qSc7UFQAu1LKrcwc8/FX4vyYYychtz2gG6sa6k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j+gLJk/GFdWoII2WZ18dgH5bejAY0Lp1B35CwQYQbXD+PaPMm3+RUJpqMi57c3u4ZF0iYy7PozJcGbbjkKqNmzKSeiXheO3P//QZwhk0aUeNOoKt3sMeg7pD2PZo9hTOFQ3MVGsGl2ZKwZV23QxaawIXMMnEzsqAGXuC+CPulVY= 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.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jxxyNyE1" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-51117bfd452so765268e87.3 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=lCf932/0HwtA9DyV5tqYg3dF3uxHj67OFYSjMRtfjFNjHRMo4zI6LG3xNdKr2t232R Rd7J+j4jiGZbWA6gvEcyucbRnhspFvbo1ER8cCDPPd2TiD5OVogL3cUkVabgG/AqWrF/ r8b1GKA1jl9TTsyk/bBsfgb7lCuM6p83l2dpoIQZIaQLh1jz/kAqkPMm72WVq+D8NKcC Od1sjGTS53QIlzJt1d1JT2ZqnvrgHkskwiTDHc7lZASQqz5an1nnZNuoaaZkN3kExOPG rceCLgJYzXrrmH5buGtORXoCaG+WcsKspM2KPU8MjzUhMmhupy8wBl4FAUArPV7ks5XW 5qiQ== X-Forwarded-Encrypted: i=1; AJvYcCWRZGUWN86D6mRoPJhIkcyuL0S6nKlaCAUUGiQ3chq2EonXTTxoBg4NjiuTtIzqsUmzo63346OyMeFkldJy057pGfLu7Qza6L3uDd8RYehPen4= X-Gm-Message-State: AOJu0YwxVyJebwxuzMVpbP0CGfYfFJMUNvK9taqBSmrlkFz4V1Geuf0l 4uCvUyCjlTc9JMiCHyjO7/CEpVty43iRB5FyoQIBDczeS075VOs7sQ+lTMPfVWRGqA2reovGWCX D X-Google-Smtp-Source: AGHT+IH3+SKj/e8TPmX4R8reqgJaV+c9yh5OZQbKxNfKFS1eIQzKy98A8IPXAhgrDb1YJy+B9/KSCQ== 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-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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(-)