From patchwork Tue Feb 6 08:52:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 19985 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1406010dyb; Tue, 6 Feb 2024 00:53:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHoVIIt70zsj4pmGCBp7pHS1n9vw7onjl8XpGZvcI90zDGQT0a5eEiixMbhShqzrLwDH2de X-Received: by 2002:aa7:c1cd:0:b0:560:9255:7580 with SMTP id d13-20020aa7c1cd000000b0056092557580mr1223850edp.17.1707209611778; Tue, 06 Feb 2024 00:53:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707209611; cv=pass; d=google.com; s=arc-20160816; b=al4dljApbXxFtGUeuJYUZON+oMEdHXM7VnbhjyQngPAxj4BBQpFn+AMNDJ/MKdWF4y F93sqUINRA2qeia8Lifdc9FNBl5XywEpJtq8VFm9dJ7Udfe3ViP/WGK2dcOlGqbsamXb 8HlmksJqGYmzIaNgdcSh/A7kEUaaBQwOo6aCMjuiw+n3TfvomyztbNqpoS4kYLEPk6kN V05X15hmNZScyBgstbmxuonnos0rXq8+UWEm6cX8aBbZzM/Vuwim/TH39Va/BY7iKrg9 f2csekxcjizwNs0gVcrqgekd/OctAtwIQ50gCfTBsR2BNnsOKkURx9ELePb2eIm/VfWh mOcw== 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=LJK6CZxnAz6zjTFwq1il9bOgJsLfr46kOuud4kAwmaI=; fh=OqAh3xUElfqSLKWvSolGuNb1RkbBp7Kiz6mcr163YZQ=; b=xxkne++0+BR3si7kakJoM9mbC9EGzqL9+ZSDGSt1hNzaN/1y+umQ4J9nTg1MdVRDJz dmRIkbhk81gLTMVZzzQlZTo4gJQ/vE7U1gZdDxiaf5cnCoY4dmitSy6Z2AEK7e0k632V c8V5gKm4mC42v8A97dAQ50BWTelE+6Qj43RwkqMgJh68YTOjr1Bdc891ll4ErWYPW6YO HqCL2mGjTCrXXNX6MISItpy4fwhSP6MwjHoxCeSMzCIzJbCKFLoaOtNVfPRJD5IeblRd EFA4kkBsQKj8ARIP1xMOaaMfSZMtZjyXLcSXZhhxHNsSD8iCCS/nkPpxJJbHJTLwIXsa LBkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vbo+rsO2; 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-54529-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54529-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCXkuBPVG4nQUTvBrk4X2tfJ6bmYIWKUuVxdzsXOd7wvLP3rwhh2NKZ0vrZPr2Xx6KTR7wEtexhXne5uIewQ9whvrjEG7w== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w2-20020a056402070200b0055a38adfcd5si849188edx.547.2024.02.06.00.53.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 00:53:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54529-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=vbo+rsO2; 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-54529-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54529-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 340271F2494F for ; Tue, 6 Feb 2024 08:53:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37B1912D16F; Tue, 6 Feb 2024 08:52:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vbo+rsO2" Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 2F72C12BF2D for ; Tue, 6 Feb 2024 08:52:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707209569; cv=none; b=i/+/eEU3hluNkDGEG9Ou0W3Grw+plvfNW1sfSKTIoi84s9jn2Ky/eQmSzeEkCduuRuVHAHrQ8e2CKyw6y/7r6sZsHmTcDqzNJ6x6YOjQm04BJj/rYY/vtfcwomeL7uWLndEXqv86r9esw7OJ/7tDcodB5eH31pqcC01QnvV5bUs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707209569; c=relaxed/simple; bh=LnHiaiXDsTPC0I2W2x6+cuL9/0lDilQPIcB8iaehja4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hw/bfdM6TYOOI5RbhuHpwhh89ifxGD42SQRzzMtYEVZmC/rDdWApGqmeVqPanrEOVKFWQhnclwPRofFSojnuiB35TAnFPZJY8sTDfYAHo4He6lM1zUeKdc/zUaLcpQhrAbP31Tdsk7jp/cOlhjeUvmhPNCL19hzUrwKZh86aQZs= 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=vbo+rsO2; arc=none smtp.client-ip=209.85.167.47 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-f47.google.com with SMTP id 2adb3069b0e04-51124e08565so8232085e87.3 for ; Tue, 06 Feb 2024 00:52:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707209564; x=1707814364; 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=LJK6CZxnAz6zjTFwq1il9bOgJsLfr46kOuud4kAwmaI=; b=vbo+rsO2RM3pUbuZGNmFTW7DfqwjDw7BkAviujdsjypxlCTuIViZ7aYWWOkBFR1z1Z +Ab4yHIKyhmgFnVFuYuYQRIhiOHHoxXjN/tTHjjbKfuqV9MUtt5ucTduM+jDdLB0e5FO fhMu7yl2dOijtlLHX4Wj56Zy4gZOo5sAhADiOsIRySb2PBWXN6zExTb7QeEorQEM4EWf VNcdVeXF/boRSbgRZstbu6syqNXjm5lRQOdqsKosRxY6dxMO+47JFt1ADbjkdhtduZ0w tr9H5ORunfN7X4gmO39PmRI31Gdt871XV9ybVex8gJm4PUyjcROK7zgcl8Mb1/u6Zjdx vcGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707209564; x=1707814364; 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=LJK6CZxnAz6zjTFwq1il9bOgJsLfr46kOuud4kAwmaI=; b=VQM8IRxZLP55SRwV+JdxhEOyVPaweeotkm7XGKaDwg1mV5gvrtJrIqfq70vc4LasNo cZi5Qc/fvQ3SZ0jx0t2Xh6WdXi/dE36Z8fcZkaOuvTf6kOSKF6YcVuJ8si4O36fuvDWm V9bJkH9opB+SDxT97+M36CXamCHMyYtzG0TT5oCyK/82jIB6tKaYkrAnlpe3YxplQQBr pj74zeOKzDRDhcKmkHL2pf8H69HgWz95B4p49LUUg00e4mg76yRmsGeKyl2V3HvN1awm YpkwQGMXIhUd8TVSwBC+3130JfZIdjdnzH5/G0aDaY6xt/n0s/QWUl9pw2+62P/y/lDG vgzw== X-Gm-Message-State: AOJu0YxgucSHjXjfYR/3wSjbmP4c9J0hZ8OUfGChadW1Uv/kZgolO9DE GbUS5v+xXQQpZGMTER77XWegSdCIy6X2ufeZzRlScayre5rN3dYKscMTvhWg1Zk= X-Received: by 2002:ac2:5df6:0:b0:511:3cfd:fdaa with SMTP id z22-20020ac25df6000000b005113cfdfdaamr1193666lfq.68.1707209564147; Tue, 06 Feb 2024 00:52:44 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXnzPrhBSb9rRG9Fd2Jm7vfrx5wXPw0I7lcr2kqk2RU3SZH4CPD/VEeZ0zg1PivqX2r3DTIfRbU6LXzMn26OCM0RTySWBMnA37t3Q1TXrQYead+rvgRZhaotBF9g/144zMcox4Ntz+sMfPWt4nfn58K81+B2GldhHhDxzHp5MxBwFERUYH0daiziAEScD9J0ITXDFo1NaKgSzE0j8mhAOQuVRtNUhObY95RUCpYMJ2VA1q8TX5fBhvXg3uW1xtBml7fqF2aK1/+5+SW/FOg8aZSeEruI33+lcXc81v597Xi3QKOfq8oVAMSsxbXy50B5Hf0cb0Cfm3Ct7IqsC7Brjn3Vv1UFidEDxvHTTjis5nGMryGXbigr1ikz1ZRHseEFypUhM9vIqWD7vICO8MPM5+YSeZtVlkozEN7DjbbcLzzIwmgfk09SNZl7LWLrsBaS8Zah9cvgzJkjvZfelJC3a+2cvszJZCc/kXea+eNgnrtcADHr5Xea5TRP/+fttYAQsN5JFeaKtD+b4qASS5+x2SJnbeinYcE3tog6QeZMJgTWN1TQMwFRULTPxw0XnLqZrLtvks4xHL0TQrzTJ/lb/lZ+g== 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 z10-20020a05600c078a00b0040fe078fb03sm1221591wmo.32.2024.02.06.00.52.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 00:52:43 -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 0/4] spi: s3c64xx: add support for google,gs101-spi Date: Tue, 6 Feb 2024 08:52:34 +0000 Message-ID: <20240206085238.1208256-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: 1790139025572308570 X-GMAIL-MSGID: 1790139025572308570 Depends on the simple cleanup patches from: https://lore.kernel.org/linux-spi/20240205124513.447875-1-tudor.ambarus@linaro.org/ A slightly different version of the google,gs101-spi support was sent at: https://lore.kernel.org/linux-spi/20240125145007.748295-1-tudor.ambarus@linaro.org/ Let's add support for gs101-spi so that I have a testing base for the driver rework patches that will follow. Tudor Ambarus (4): spi: s3c64xx: explicitly include spi: dt-bindings: samsung: add google,gs101-spi compatible 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 | 89 +++++++++++++++---- 2 files changed, 75 insertions(+), 15 deletions(-)