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: 13548329 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 3FB44C4828F for ; Wed, 7 Feb 2024 11:15:42 +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=zeSBzD8b/ueTtY2fzg+dho6rkTrjL3ervQolJWG1KK4=; b=IZb4YH4sYtOSrE nXEPpWLKqQH4zO3MI3FuWCbzqK5vCIzdoEMg/6aKCMNKrymd2c9VeuHEgQ51zBiyCuhzA0MUP2c+E 1zdO++HQ9fmDMQNNdlHAHExcvlimhiFU9b/fEX7OkPyIAZ9MqO9JkF3sKHf0BAWJ23quhjta4E3mi wLdA+gXI7vek7lGImatbZxd/xb4FxuwVMEdwK5yay6r0QgL13M/03a1MTYQtFEJxP3ePzkVmSU9F6 PkZq9SxTe1MjV97Ef2EOk6UeVP129xYC4wXYwlc8mYcRwg9ZtDRUazS3ah+Un87NsV53VAvSkd93J AbyN6S0a/T2Gx/EqREYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXftq-0000000ASPD-2rrp; Wed, 07 Feb 2024 11:15:30 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXftk-0000000ASIk-02ut for linux-arm-kernel@lists.infradead.org; Wed, 07 Feb 2024 11:15:26 +0000 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-511616b73ddso840760e87.0 for ; Wed, 07 Feb 2024 03:15:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707304519; x=1707909319; 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=bMnb5HJhS7G41QVRQROXaO1EL3gS+emI2A/pWCIDppQ=; b=rNlhgryTOpe77cdYl5DTrRtVZg9SaZunUsD9ZEw71eKn1DJQvCLOKl29OSR+4PPNPX ShWddAE7g3HMyKUriyDhO1inhsuLj+2M0042RXlQvl537xUhVfc4H6f0CzvaFsXuoGS9 2C3QFRVrW9hlMiIGlIOXP5oF3N6VsTHNfo9s5Rt8rcZNN4SyuxApcyAf67Z7giQH7NzL z1oAYZ0x0lzDUSnF/pEZa6KveiEaEOf88uVtyi3atYAd9G7TzUQf+iHJuyR/bARzx+Vh g1ViApdrO1KY0NhjaPuUa6MNSHj/dx/AzLUJx4ZkCwxFsfTL6FHHwqv0VQOugx+MAVA6 YMJg== 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=pxcTj8RG7rtQhrINsEnLxfQoDxbebodkBgV44+B+0v2TXkwEO/hhrR84DPQ+mqhQF9 ZB3pRw5ZoiNteY/4BZ+fd8u//+4mwS9gN6p91x0lk6a375e0Xk9YoDfV4BLFhw1Uz2RO P6oI4umSK8nFSw5NNh6X3Y6YCvvAJx89etj+s1ZOmnoGOLcr+N+kXQwhY4lrJWyUO2ih +zh3otSMoJ/nMSwZdVwTrAuyX0LRp02D65q5GWm4QeJOTxk8Bv3Pea1Zv297vdbg9h9r FdxqZ6ad1d553vlB6qTScpNFmekZcV/hwC4SGTkdb8QHUFYo2x+nb90v1JeRGEANPw+4 XXeQ== X-Forwarded-Encrypted: i=1; AJvYcCWv1+w02cHduXrJuqDZpRW37et4FVrqMdbhb4V2FmN5eBozDbFnYV6uXw+lBFNTtfbniCfm0V743thentcaOaP5Ro8md2Mg0OOY7+rFDmoAWome+eo= X-Gm-Message-State: AOJu0YwR6C5gyJHJwJCe9u0Chqu4Jwt6d9PwLXAyogb4umDC2Qgq8wrd Rb1+O0UqKfbQlZbf43AcyyxMKkx4B9iiezSnIG4IiyLP9SJBDL7Zh0gR2W5O7lk= 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 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240207_031524_411524_05DEE519 X-CRM114-Status: UNSURE ( 8.52 ) 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 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(-)