Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 BFEDA1B4257 for ; Sun, 14 Jun 2026 08:35:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781426158; cv=none; b=hga8JMOR5Av42aZYAqdJCN3Eg8ZGrLNYtrJ5m0rSscGh+VFPYjMuwHExkTN8cRI9ob044xX0c0JkOz/3V1rc4FWfqxSGtvEH2dvzeNj3XjduRnSvHYNBESjdWfsg6RTrYs4WrHSX5N0T6R8NQEFeTEkmiYgXVJrizBZhNVfdavU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781426158; c=relaxed/simple; bh=QvqgdZHeqgEEqc9cqofJhBAJO9XcXQK5dg3RhzWhdyg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VpEh16gW5D/HmFp5Z3o3UjggxgdS47hqt2EI82MRZvfHe3+FrmtlbRsSpJQPKH9ShftSV3W2C9ackLDqMevsuu+go4ah/5De3DQEpOHE2Tj2+pw0ow8RwJKM2/PpmSxguI4EFhR9VJ99TkZf5TfJgdIS+CY48Pmy2vveoW34O2U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=I4DRH9SM; arc=none smtp.client-ip=209.85.210.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="I4DRH9SM" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-84236f9b638so1154278b3a.2 for ; Sun, 14 Jun 2026 01:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781426155; x=1782030955; 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=REc377Cx8g8BwECwGCoYljt/5HARM3EnQdjrMGhJHwo=; b=I4DRH9SM/IG2BWx27d95q7AB1e8qZtDnMz+O0+UJM18PK6GHT0Mt0jk7aNFCX600Y7 1B2THWFaBguXks37AJSnezEGfjrtOP9CA3HAqiojVDUMeQj4l5h41Nc7oimJFgQvarwQ oRU8lrPUicVGst1NkOwZg+4d5xgvY0nMgVEKEeIgH70WkWDWCTyuPsxpFXULyv1hqS3f tSLDcNZtsSgu/tpY44Jvzcq4at5OVFlk7RF29EMbMaMoiSt6PIw+ABYe65u0/gC3o41n LaVKu67LEga+8ZbwLVYcYjojP3qCMzz1Q5dYTUJLdbA8vxHLqnWEoEaA/fRXG+O6nh/N DmBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781426155; x=1782030955; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=REc377Cx8g8BwECwGCoYljt/5HARM3EnQdjrMGhJHwo=; b=bO7hU4s6AAKXjXKi6MuW6aRWhDAsoC2e2Cfu2L/B3WGv5xCerito59P17PhF+eSc48 tZ7L4lBgTNE7posqJxHdnPP12W7AniVwXRriU85V0/EXLybRrw9cPeertTfrDBOCjhgK gZ5fwhvau5sw8eiPXnwbBtpk4qZtMZRmRX2RgxqII8gQqRax2V51nZMOaJEdQ967Fasi SfkGCjoBQz4flraZG9G2fORjsjBsh4hf0etM+JWZNBF0XG3LamHdEktVyJ273njwvX/E zRzXjV224jKRum3pCtOuTTiFGiygMeKattqMgfX0MNyFHjENdojywHeMev1YhCzrpAFt Y1IA== X-Gm-Message-State: AOJu0Yw6HfTYDNszPfua3owVarWTU2EnLKtIVay8+xLtgVRyjGzmnN3m Imlvxqm8bX/nMijLe59Q2wz/wWZupV8VjSoi1EEqVGoLY765+V+BTsP2 X-Gm-Gg: Acq92OGjjPXasgWzCYeEFM9zNEoP8aAiloTqKaEaBzVvZfQhertOo5KuQjeUTjw56kI YBpsK+cjzDukb0eY8z9VcikzzJUkDiiohGZFplktwJLTi5tQ/ipMAF3Nf9mnJUXgRaRI1lsnJB9 riosZb9NUTcmH93UEGw89n87LEdAiigMYL9RjIj3mHwuVQYbM8KQ+h2Njvxc/RDDyTXHCfJcx7V LId68YOxR3BIRHhybbxFcfknZl+1N7Y4mUxx5nTWxYa/JhzzjuAa7iaaSX5UppRy3hQJjVNztni W3N5sCtUXyWBckgcwk1gXPOoqwHpn3+LqspPLr6ZZ9JO8D3OoMSEO4x6FhacHLlYv2R6fdks4cQ 3UTy327XorrKuRbt6ABOXJOu2RMVXbQK0w0n881K3ofvaWjtPH3R1JQiDkt9zU5L26uU7E3Of5L 2gRZUXFOq+knNYj0ElwT2z+A== X-Received: by 2002:a05:6a00:238c:b0:837:e9cc:d46e with SMTP id d2e1a72fcca58-844e1a2af43mr7234263b3a.21.1781426155058; Sun, 14 Jun 2026 01:35:55 -0700 (PDT) Received: from nuvole ([2408:844f:2361:d7cd:deb7:4e0e:26d0:4076]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8434afc8fc7sm7263053b3a.37.2026.06.14.01.35.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jun 2026 01:35:54 -0700 (PDT) From: Pengyu Luo To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Pengyu Luo Subject: [PATCH 1/2] spi: dt-bindings: qcom,spi-geni-qcom: Add property to force GSI mode Date: Sun, 14 Jun 2026 16:34:23 +0800 Message-ID: <20260614083424.464132-1-mitltlatltl@gmail.com> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Some devices (such as gaokun3) do not disable FIFO mode, causing the driver to fallback to FIFO mode by default. However, these platforms also support GSI mode, which is highly preferred for certain peripherals like SPI touchscreens to improve performance. Introduce the "qcom,force-gsi-mode" device property to hint and force the controller into GSI mode during initialization. Signed-off-by: Pengyu Luo --- .../devicetree/bindings/spi/qcom,spi-geni-qcom.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml index edf399681d7a..80e394c1c715 100644 --- a/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml +++ b/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml @@ -45,6 +45,11 @@ properties: - const: tx - const: rx + qcom,force-gsi-mode: + $ref: /schemas/types.yaml#/definitions/flag + description: + Use DMA (GSI) mode, even if FIFO mode is not disabled. + interconnects: minItems: 2 maxItems: 3 -- 2.54.0