From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C6D632E75E for ; Tue, 4 Nov 2025 14:53:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762268017; cv=none; b=S+QWbauCesMu0A7gloqIpdnG9I6pptdk28sJmd35GSBAzgJTnEsBpdmmOMvosEKLVj26o0u3VoZzrrYsqaC3ZNhE6XElVkPP/nIXocTUZbDdF2P2UxhOxbTL49K93Mi6PgdxTuFnxb9F2vvHxH3oDb99vNL40SEKOCD7/+0AMqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762268017; c=relaxed/simple; bh=cHB74vdMdM/PyE60x2eafaIirCM8GUdqD0rzzIoXHxU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=udq4ITRuJ7bJFgujNj+CXTsmqd/OoXdgjdrIEnAKphW3d2XoSDMaQ0+3zgltDwmf4r4peJMdgNJ3Qlyoqw9B7QRLnqd9s2sS4rLcZt9uc++n62IwIvhxyvX6PHq3aCI/BeJh7NvemtYFozd8JptulRk6SKVmBVAzVHhCsoOU3RA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=fQzm5Yks; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=IEQyT2xd; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="fQzm5Yks"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="IEQyT2xd" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5A4CffdS2049085 for ; Tue, 4 Nov 2025 14:53:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= cHB74vdMdM/PyE60x2eafaIirCM8GUdqD0rzzIoXHxU=; b=fQzm5YkssjMO5gmp vSJVG0C0vDf82X/6QzblspP/83xyP61oXVkHDvtZEspedwRNgP4Krj9FfMf7fjG7 NnGBKLl5n0y5gSmwCkOgXZAbk5cDOsblnwgLFH0CPaWoMAMIra1XviIlbDYfIpgh nZL7QIclDrJp3FW6gulLOJ6lb9h6XspSoX9ZQZJ0IrtZEOpPKh3K5h1I8JT48S9V XnQLBnc+EdBgyVP88ElXJmgOjIJX7qELQ1D3CZD9PoEgzgDOpj+9CrNlEARnDj0Q qWQ+jQIm2P/SUz6SPeXEE17COvsiDmpY3MchiT2Tk2SzwNl21yEDgNYS0Ta/8pf9 TdY7Vw== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4a7f250skh-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 04 Nov 2025 14:53:34 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8a16e430b19so155708485a.1 for ; Tue, 04 Nov 2025 06:53:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1762268013; x=1762872813; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=cHB74vdMdM/PyE60x2eafaIirCM8GUdqD0rzzIoXHxU=; b=IEQyT2xdNH/79CoEYPwH1r7aTxJ5+P7xuiJFA8erUpdS7Jot2Pd6P1ZmHlNEZuObKV lBwYC0LmTuAJI3MSXOzvmneqCS0651VX7c9SuL9wJs0tYAWjF1IW6DQNRf2dgYgBAfWx 4mqBqGM6C3NO/AWR59qhG+lfZtgh7JwvGfSwpNrKNIhT3CuCtcGHOM4KxmtO0qJ9REcG LRV5Szlw7dkSa3nB1pTxEwgE0F3jzIYpPx0H7pJEt2xw2SRIhE6RhGFytkTu0gWbHFAU WRX1/D1Rs22GcFb+lky6IGuMWx21PKqcxvPVYD1xNeg/tXm6FtGCTqxbTN3XbrStPwlG MURQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762268013; x=1762872813; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cHB74vdMdM/PyE60x2eafaIirCM8GUdqD0rzzIoXHxU=; b=DMjtyUYLXgjJw084lNpoufN1+TQFKr7CCWjdUhv73uOPlDAPDsxg8N5E4IE9yspJh1 xxYRXCezKcp7SarKRgfPripV4WwDwgQLXEmjKxZjU490Yx8DNwsRFT/heibyar5BdbOu /2b+SRv24zlMxdivr4V5DAHJlbYmLzO/vMbUbLsJbD58F13hSVmho3qKW+3iSN4YY418 15fCWfaEHH/eED2Em7X59/3mdmCqU13PcFl6TTm9fcOP3sd8fGPK/5yYrmh2Y3hiz60H p6lD9/cwFdeHeIIUIYWbwcsphbuDzMZVz9+dWAxsKNJeI1/P+JRBb5/mgW4KybW3mys9 zTag== X-Forwarded-Encrypted: i=1; AJvYcCVrNJ7J3TPlru9K/FJUeQLME1wzL6a0EY1zBIi+2luDqzQfgXN5Rfx9ORHbCT9XNEsVn6q7GPI7Pz08jWM=@vger.kernel.org X-Gm-Message-State: AOJu0YxyamkYlmhiyYppiwZRY5G6XP1iXXu4vk6xqsPED7I5seC/6qst Is+utv5JefNiaq4QZBi4XhVmlyTqBjAH6+BbUp21+QIXI4IyXgUTydMMT4hiF0NxsD0+Ju8hVbZ dUu9YXeIoOFYSqWFEayzxJivDtGXAkkkp3p9Q+YvJK4G5W7lsZCha1p+PGffTBZM1604= X-Gm-Gg: ASbGnctLOFbbPlu+J5Fq5uKZvN4To97iUPJVRTEdNAVzbvW/0ajm4N+0KTeMRtZ4c8h gtqxJ/seaybdghlcc6WyjL9Z58WBWTZ0T3rzrdR/oDLscA/N+lDhxrmHDh21OJy5a1c5v+s2nJ3 W6uVgXa6IVkHeWJGwqSTnCnq1K2bxln3SUdUEF2MHts/6gYjXqIigOrhABXt9isbphGUr0yAGbG 25UZlr3MCqAdyYs7kA59+PqOUqkCPqOXB0qOhtL31xBsBR+i1MnDMx04QlUXKALf4DySuksVrWM m1ADJiNBNrnBmpkBVPgaEUXLqAvSchZzhiqbWwPdTpNA9fGduDdJpYLbclVbVUGoVpLw6Nw45pK QdhbgrzKG8oWrTB2XtfD0zKtGeGWJpDcl6RXI+mOU8zdnxPWwtwhbXZNW X-Received: by 2002:a05:620a:31c6:b0:8b2:1f8d:f11d with SMTP id af79cd13be357-8b21f8df1c5mr31645685a.2.1762268013396; Tue, 04 Nov 2025 06:53:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFjbaCJNTd4JCMzhcP2fE6bDyiUfjuyPQRBF0MYao4qLk7yxcTazmOZsoPR2sao5ZTs0uBycg== X-Received: by 2002:a05:620a:31c6:b0:8b2:1f8d:f11d with SMTP id af79cd13be357-8b21f8df1c5mr31642385a.2.1762268012756; Tue, 04 Nov 2025 06:53:32 -0800 (PST) Received: from [192.168.119.202] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b723fe3b899sm228701566b.66.2025.11.04.06.53.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Nov 2025 06:53:32 -0800 (PST) Message-ID: <6ce3c769-f733-4e0f-a4f7-7b1b39ba3c3d@oss.qualcomm.com> Date: Tue, 4 Nov 2025 15:53:30 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/6] arm64: dts: qcom: r0q: add touchscreen support To: Ghatto Cc: Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Rob Herring , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20251014044135.177210-1-ghatto404@gmail.com> <20251014044135.177210-4-ghatto404@gmail.com> <8bd5486f-38a9-4104-8d09-234f642b45fe@oss.qualcomm.com> <73d30994-3ec3-41bc-9b07-638d4173dfe6@oss.qualcomm.com> <7C2DF8E1-D84C-428C-B064-3D8CA16FEA29@gmail.com> <7e5f753d-a26d-40fb-9cde-ec17eff85c27@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=dNyrWeZb c=1 sm=1 tr=0 ts=690a136e cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=NEAV23lmAAAA:8 a=fGO4tVQLAAAA:8 a=EUspDBNiAAAA:8 a=WALcMRDYb64__XNgrWQA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-GUID: Lsjx7Q1b7280C74t-jNKUXPf_m_6tkPx X-Proofpoint-ORIG-GUID: Lsjx7Q1b7280C74t-jNKUXPf_m_6tkPx X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTA0MDEyMyBTYWx0ZWRfX7FaEua0OqYPU SHUx5dQTvzIhhgv0C5RuEkyKnLMsabXHPegOLX8UKJJsN9qOL60zRMr0V6ZQWtGWC0X8Bey/OVn UdrfuX1+8KGJRF45OF+vSYZFm6G3uYs7Sy4jKi8iXLeGnp/msdcGjanwagvtnrhk5cswQn32ZVt 8yLBEvRhTylDfBk2W4+Jah/WNGY10eVnJhDCSPHGiVOvZBoZhuckHsNuA/O4QUTBtITCNZEJv7n rj/6fX6GtaNTFsuaLgEdgH0NSmOrIXNR/1Vk8hahlqOs5oEEqWHbK0P+vRg3TJMM8VaNZwHIHhm +JCbnJgYdA5ZkdC2tsntnG+5ulycmFJbeqI0rF+4R+Zvf7QvdtVh/zK9K9hlnEUZBAKmYQOcZmJ WqerTGp+g0KW8UtRu3FC+HNk1Dhp5g== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-04_01,2025-11-03_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 impostorscore=0 adultscore=0 priorityscore=1501 phishscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511040123 On 10/31/25 10:06 PM, Ghatto wrote: > On Wed, Oct 29, 2025 at 6:50 AM Konrad Dybcio > wrote: >> >> On 10/27/25 7:32 PM, Eric Gonçalves wrote: >>> >>> >>> On October 20, 2025 9:18:18 AM GMT-03:00, Konrad Dybcio wrote: >>>> On 10/17/25 8:22 PM, Eric Gonçalves wrote: >>>>> >>>>> >>>>> On October 17, 2025 5:20:43 AM GMT-03:00, Konrad Dybcio wrote: >>>>>> On 10/16/25 10:08 PM, Ghatto wrote: >>>>>>> On Thu, Oct 16, 2025 at 6:06 AM Konrad Dybcio >>>>>>> wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On 10/14/25 9:04 PM, Ghatto wrote: >>>>>>>>> On Tue, Oct 14, 2025 at 11:18 AM Konrad Dybcio >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> On 10/14/25 5:10 PM, Ghatto wrote: >>>>>>>>>>> On Tue, Oct 14, 2025 at 7:01 AM Konrad Dybcio >>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>> On 10/14/25 6:41 AM, Eric Gonçalves wrote: >>>>>>>>>>>>> Enable the ST-Microelectronics FTS2BA61Y touchscreen. This patch >>>>>>>>>>>>> depends on "Input: add support for the STM FTS2BA61Y touchscreen". >>>>>>>>>>>> >>>>>>>>>>>> The second sentence doesn't really make sense to be included in >>>>>>>>>>>> the git log >>>>>>>>>>> I'll keep it to the cover letter then >>>>>>>>>>>> >>>>>>>>>>>>> The device has an issue where SPI 8 (the bus which the touchscreen is >>>>>>>>>>>>> connected to) is not working properly right now, so >>>>>>>>>>>>> spi-gpio is used instead. >>>>>>>>>>>> >>>>>>>>>>>> Some Samsung devices used to use spi/i2c-gpio intentionally, also >>>>>>>>>>>> on downstream. I'm assuming this isn't the case for r0q. >>>>>>>>>>> It isn't, the device uses fts2ba61y on the spi8 bus - I hosted the >>>>>>>>>>> DT at https://github.com/ghatt-o/ss_experiments/blob/main/r0q.dts if you >>>>>>>>>>> want to take a look. >>>>>>>>>>>> >>>>>>>>>>>> Did you enable gpi_dma1, qupv3_id_1 before spi8, when testing >>>>>>>>>>> The driver probes, but it fails to recognize the touchscreen device >>>>>>>>>> >>>>>>>>>> Could you post a complete dmesg and the precise DT diff you used? >>>>>>>>> https://pastebin.com/QkYa8nMp (android dmesg) mainline dmesg doesn't have >>>>>>>> >>>>>>>> The link has expired 🙁 >>>>>>> https://pastebin.com/s4abJS9M shouldn't expire now! >>>>>> >>>>>> And yet it did! >>>>>> >>>>>> Feel free to just attach it to your message.. the list may bounce >>>>>> it, but it will still reach the To/Cc recipients >>>>> Attached the dmesg.txt file. >>>> >>>> I'm interested in what happens early when the SPI hosts are programmed, >>>> whether there's any additional debug messages. >>>> >>>> If your log buffer is overrunning, you can add log_buf_len=8M to your >>>> cmdline (which will make the buffer 8MiB long) >>> Is it that big of a deal though? spi-gpio >>> works just fine for touchscreen. >> >> It's like using CPU rendering even though your computer has a GPU in it.. > Yeah, but CPU rendering is slow, while the touchscreen > on spi-gpio is just as fast as it is on Android. Sure it works, but your battery would like to have a word with you.. >> Plus we don't expect the upstream driver to have such odd issues, so I'd >> really like to get to the bottom of it > I don't think the log buffer is overrunning, where can I find the SPI host logs? It clearly is, since it doesn't start with 0.0000000 Konrad