From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 CBB37318133 for ; Mon, 20 Oct 2025 12:18:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760962705; cv=none; b=sr0QTvSE6zaBXJz78iFhW+onifoI8OgPMniqESB6oOhHKtZju7WYHRhiMnVyxbdqGv2fCiSPNfOqHD+i2biArJU6xVgMo92BmOrkfxOio/PRO7xkkfllNtE676A7IJ6uXAPjH61Ol9LmGFhgrAYtzIefidor/oAnF2LRAaP/PM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760962705; c=relaxed/simple; bh=JQyBbrrNd0mm8U1Bo4j5gPqwKwaeQWPHs7T7FyQLS60=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BKdI8v/EAzQ033raBztzuzn9+C1DmziDu1bj6CvT1aHsi/vEYgGfsTNMTEUmotuZcGR8RGZtJMcyjE+GeqIDFu3L0xl3Ai/1KGJtUbgSYamht3khYzeS7WzEv0Idi0ipaSKB+mzE8Yp9k/FEFgCUR0OoTK0R4Qkrz05yEH3C18A= 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.168.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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 59KC24dt009102 for ; Mon, 20 Oct 2025 12:18:23 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-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 49v469ckuv-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-qv1-f72.google.com with SMTP id 6a1803df08f44-87c0e043c87so19080466d6.2 for ; Mon, 20 Oct 2025 05:18:22 -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=ko+sY8wYUiXyyR3zEBteErjUjhfOWypxQjZz2WfYp9XGyyInXl/JgIUV7A/IRYyqhR MxY43u2WJtFRfHRoQKOTUYtKYSwzvz4pAviBq57fmmBDu59tXhokboNcQ/dweTlY09vA soWz4tIYw3Zy8Ow2dLBMli4KU3mI68KtDRLluPTxwxNp+1Ij29K5X+JJczD6KyCbSFfR VodH82ccFh9dasA8FY97HrL/UmrqJYOsdL5q2uoi5xj4bLdEpWOKrtrmiPRpVXaqynAp oWojsaJtF0kqiQ6pi1r5R8KL5cECA/mCM9iltR8WRz1eE+kGj9HQxEwA1r9ZM+k4UrhD SUUw== X-Forwarded-Encrypted: i=1; AJvYcCXJG/LKROUuQYCbci95xu9Rx1G0prjWtCFTUKUsWWFMvXQ8RD9nHhUtiEd9sB1nMPyvVdnXNP4pE5qOWzg=@vger.kernel.org X-Gm-Message-State: AOJu0YwbdDoILr4gnUGeES1pHFveaPlagLYzDVamyh5uueDWDHaugMrC G9TXZSKNx07czMSdFxyMfO9Q/WC2AOBX5vC2gLXXQAmeBiWoa93ezO4ztLg78h4bh8ysb2IULHk SKC+ZsX53pLIZiELolzk+xKrjIa4O6MpBJ4M73FFMBiJMfmKrO3sHZNuGFeS5YepOvc4= X-Gm-Gg: ASbGncsEl9qi8P3EGqTlHA4y1z0LQ5bsMLrIEGXbU71woO8Rh2oAKzLVhpc0Mtvz6B3 t2VOD6Y4MfECkIeSdxltLt2oDufMDCYFL+ahEdIylGY67e9RlxXRSMHW4i6edQ0NE3nA7aekB9o Zz+INKJQLIsrWxrJKm2cbOd/k4+h0aPT3+MZCkhL1K7lku/mWhEqhUdwb5vk7u8kFNMw6OXHpTX zvI75+W8OsnrGU86JzgoUDTnf8cTBkeaY+xDcmqkTj80wTMtt6U0YldmTPKZEH3E+ycpJqBJrD2 r8RiZ07cVx1DlLu38vdWSsWrKgjaOIEnJizUN0t4hkKnt0UP+CAXE9sXJjO4hQpLpJqJkMHhFQl 08w/Iw7xp+dHT1o+GczvQd4pjGyDrhRATHhL16nBf0KzINfBFb2950Rjl X-Received: by 2002:a05:622a:164c:b0:4d0:3985:e425 with SMTP id d75a77b69052e-4e89d30e815mr106752851cf.7.1760962701141; 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-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: =?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-Proofpoint-ORIG-GUID: Ht5cj7aCr8NHB08Bw53qIQCBRdkFlkYc X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDE4MDAzMiBTYWx0ZWRfX4CSeZGDBoWWS +7X7uev31Np0K0LbvDsF85jhQcaoXQji1yy6nrHBBygeRQuNdJWtGvsnTek3P7yHjGrQOd3OsB5 ykN7GnPLHRPJqGMpzcJcqGLr2OpM/z7M3h0nwCQfIM6wJlB2aNACMM9f2f7gYGcaHz6ZEWzs0QK PbDHfkwJGfMDozV6VrxcfPKauUx268OkpKYMu8LF5GiPYCEvghQh2dT8zpSZmzwwpWfDE2NN6nC C7nCn4z1lx9DBolJWPsKksSUiGhB2zVDUMdvrOQGPnmFDYBMnpXr/3i9mx2cgGAgbRvk9CXsxcW JO3nNhWP9vqcuBzL/uY5QQy7ysdty8+KrgrNy4juFwH/cw0CoT2FhEG3RYcBanspA4eN4dUO9PN V5eckGQDghWp+AhE0BnlCuIHaiXmsA== X-Authority-Analysis: v=2.4 cv=U8qfzOru c=1 sm=1 tr=0 ts=68f6288e cx=c_pps a=7E5Bxpl4vBhpaufnMqZlrw==: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=pJ04lnu7RYOZP9TFuWaZ:22 X-Proofpoint-GUID: Ht5cj7aCr8NHB08Bw53qIQCBRdkFlkYc 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 impostorscore=0 adultscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 spamscore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2510020000 definitions=main-2510180032 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