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 3102730F53E for ; Mon, 20 Oct 2025 12:18:22 +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=1760962704; cv=none; b=OexOX83wz/+22TdMtTrHPoAyLhlZybOPVu3Raf1xTwGEtIhr4a2oI0l92srl/QaPbRDiZFM3X8S2ULNcAdnCOTKrKwuDSWuSF2za+CH5x/t0SvRZo0mmyB4fsgiQ4ZV+qpkMem/Xhhlo6eKLE/IqcTGtsGzHL/Ga1jjm5Vhrtnc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760962704; c=relaxed/simple; bh=JQyBbrrNd0mm8U1Bo4j5gPqwKwaeQWPHs7T7FyQLS60=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=afjfvnW+Z+YrDrFkaeIOvzbCMtDUjToSNa/ntq79Ft1vR4oL49YemqS7ATtgkVysEIn4My2+cZVURWMqhnid5pbOWWzF4rtc5y86vFhUagOou8MB+eq2z/NZf7PWNgif9bTXqhbQ33VF8i3RvV2jtnUuHq2GinnaWMxRt9JVquw= 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=ot25lxks; 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="ot25lxks" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 59KCApbF012725 for ; Mon, 20 Oct 2025 12:18:22 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= cE7Dyq75Q/xcBqg7SFVSmiEHpS5H5EqL1ZTAD9WNYfQ=; b=ot25lxksyqYSoG5H IVDHlTFkozwKx1htJCf1Qrp1HoUg6l3P26UiOPzNbTor3HE5Dd/b/J+TpTyudrvh +/1x0njZ7IOk1Bg3En8PbZ/1UwBD0pDx4sm06VQwRkszcDlxUiLu0O8CCbBiNDlz VAJQ3seCVre3MbgFfPEQnHllE6YdW4hZGLFPVFQ+xG4nrKWcLoBRnG4LdAfCssVf xuR5Lx7VFEAbUMS6OjLcvSvDGFraNZxqSEJBgtLhV3qGkeXALMMMcNzPEQpjsBH0 IVaENuL6P1KiTKbU8u01+I4YoBcFHUibCxm0U9VyZt13+tZM6dLhXjtJaoIbFV6O nWkXzg== 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 49v3984mac-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 20 Oct 2025 12:18:22 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-890921c382eso126138285a.1 for ; Mon, 20 Oct 2025 05:18:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760962701; x=1761567501; 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=cE7Dyq75Q/xcBqg7SFVSmiEHpS5H5EqL1ZTAD9WNYfQ=; b=WXSKFgkKK4xsYkxvKWKptyuoG0sOqNsFr0Gd3irc9NIWSMS9jn/VHY4QKPBHoREpJK wZqRtQQpnrsYZwKhLVew6CDXamHkJwDSs15rDdTomEuCuUSTmpExhRvHqXeZcebPtiaa n0uLv6dI3B9KSZJ/5fzokXSAzGcWJLvuF7EjHtLwXeT3kpnuTtcm+Al3UOp/CCu9voM3 01AJK022qzaH2c8eM2prwoQLXxKRt5RbQ4xKkC4cKgHX8Fyjk2FU+jrD18SZbyXaoYt+ 0lxeEgc2Cw9ziY3e9EyDW4zdmMAGLrjXXX002UXGVJ8/BUcB3OuIMDGBbIXthOzNKneu Gwiw== X-Forwarded-Encrypted: i=1; AJvYcCV0qX47YdIwihg1fbc8viS7lQd0bY4cDNXbObxTph6zoxCLkpFX79DCADT6nLWVJJw6LpcQWByaJuuPBNgN@vger.kernel.org X-Gm-Message-State: AOJu0YwzuZOWEsdcRHkSWaxxvjYUEhPp3uj7DZ7UK3yAd0pLH22zIvKV 4A58DMDICgvHMmsea1mqCSHUfLpE+pAG/WyVJy2L0hcX3Tf82gtZNNVTkwYF1ASShId6DpoTls6 32/vRBYOT4I25AZpYJ5WVLUe2yxK05YvQ0V/HhGhVDYyH3YJZqx420Ehlbnhym6QWY7u6 X-Gm-Gg: ASbGncvQLb3iysW+kd49KPs1cWQCtTmNSiQuI6Ur++gOi4aKzrJPiTVC3yPmoqOPik/ +QXdp1+Ox/FcMqW9TfGfRBcpRmO2MzUUFmE0Mbz5VGIJ1b99wPH+xpzhfN2WRhaXhqSFBWDqKNr xbto4d/NO/ZxqwsOjGYAjxYLS0xnaES8qC6NhEIEOVA3yrNfzEx/6OBUB85RwpR/o3JzdMOcd6I AX1PVsBWPd14W1iv9+nKLB2cz54y+L8tkf2TzFBtsv025JlkALrVOPxYrWQGPlKs9RIpgwfZ30d 2eslX2ae6LXc7PP/OaKxtFbHms2oVbPowlUKFvYKTXBf6p8UuNMXZM6CBXXEY28X7DAXUXs5pen tCUtDoa2qft0kWoDOfWmdgvP6ECcqXl+fO5NzexTUb1v6DB0hRjPOy/Hq X-Received: by 2002:a05:622a:164c:b0:4d0:3985:e425 with SMTP id d75a77b69052e-4e89d30e815mr106752911cf.7.1760962701150; Mon, 20 Oct 2025 05:18:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFW2jzWducq/z4VlSauqwRLwVg5I8pR1dRqc7QS25V52ViV+2oVv1O7d8i8/hiKWBfxR/Ve2A== X-Received: by 2002:a05:622a:164c:b0:4d0:3985:e425 with SMTP id d75a77b69052e-4e89d30e815mr106752711cf.7.1760962700696; Mon, 20 Oct 2025 05:18:20 -0700 (PDT) Received: from [192.168.119.202] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b65eb03649dsm775507466b.50.2025.10.20.05.18.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Oct 2025 05:18:20 -0700 (PDT) Message-ID: <7e5f753d-a26d-40fb-9cde-ec17eff85c27@oss.qualcomm.com> Date: Mon, 20 Oct 2025 14:18:18 +0200 Precedence: bulk X-Mailing-List: linux-arm-msm@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: =?UTF-8?Q?Eric_Gon=C3=A7alves?= 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> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <7C2DF8E1-D84C-428C-B064-3D8CA16FEA29@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=KcvfcAYD c=1 sm=1 tr=0 ts=68f6288e cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=NEAV23lmAAAA:8 a=fGO4tVQLAAAA:8 a=EUspDBNiAAAA:8 a=-Fjz05TWtv6Y-7odKH0A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDE4MDAyNSBTYWx0ZWRfXywDBolYy/X27 vWtu00itgz044TWGbdYLc3J/4YByVgMjfi0+ey58B1DYN3Pc/uvC0tXRM4g7b5bA26AdVaAZgjQ sPfZw5Bs8FFb+7DxXrfIDPHNODWLb1QNvII1KzUbItSqIShjIyfviZTzhBp5Rq2lFmd5YLVwc6U SFwNlPkxNyeIuSBQBUTkEcY7xUZzDW1N9hbLdbfzTkhHapXb/9PSsYBqjYfnyFGovHbREJy1Ole GeTJ3tN1biBI/jVDKShWBi1sbCVLXPIrbfU4r4tpou0K3263aoRXaCsOgizpRI7WcqJRky0YMk3 a1vbm1rrC/hkCjJ91pKDBpQ5An+QeYatf3RKedYW2z9kRi00S+FFSMqKmBwdoPa9hciyRpQgBsw cacqSrR4BnruHM0zDNRdVTs0dWXxEw== X-Proofpoint-GUID: 58ovM6EiQgwLfPFcmGdpv9tUN35djVW4 X-Proofpoint-ORIG-GUID: 58ovM6EiQgwLfPFcmGdpv9tUN35djVW4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-20_03,2025-10-13_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 phishscore=0 priorityscore=1501 suspectscore=0 impostorscore=0 malwarescore=0 clxscore=1015 bulkscore=0 spamscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2510020000 definitions=main-2510180025 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) Konrad