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 31A442D2488 for ; Tue, 13 Jan 2026 14:51:06 +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=1768315869; cv=none; b=BH+pFGuFyEu9NtedLuIdWxX4Vt//mKltGGQLyTnLdvjx2Bs33MwHsaVMe30EL52JHwm6DdeV90Z4yAGArWkZME4dM3BY+qyCCUZa6GojFk0+St3s9ZI4ug3KsSV4Gh1zTu6FdsUkSjDJMjTfxjVBiqvzbznxUUWsx/8cXDXj6Rc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768315869; c=relaxed/simple; bh=2nUj0YvcLFuPq/h4uiDiJYV9JPHbujqeRFJqXOynDEM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BoNHuj3hUiCBXE5/iV3lvvYLlnUCvAltL3sdN4FsoBJQ+URmlN8UHQBfQa7I+8pfNJhqhioQoUa/WbxPiUZSnTvxz9t9ypc5pdLOM7ru0J0HGduy1xxhjjKuEfzMjfo0fWYa+Cjx3h7yp1FqCIfNm1duHuazMFIZ7EqGdLSogvI= 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=Jk9+WCRW; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=BMgOL6F2; 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="Jk9+WCRW"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="BMgOL6F2" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60DD1F3K3637271 for ; Tue, 13 Jan 2026 14:51:06 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= jtSdc8DZrSmGyslV6uF/9RQzrVXkskQKPFX+tg7xvZU=; b=Jk9+WCRWb1fMEAze kOWfggqsomC9/9gF3bIVWXPdPjmYFAo8dQn1dOyiaIrBPgO9CI7Wp7ipl0z0cc8v E3CNtv9Td6R1rDsk+ZHPs0Qyy8mwjuQz1cT9qe6Q54MklQB3a0TI/xFZai/ePfM/ yKKDDdw+ADiifd25HP/QpBHDNKjSrGOwKuN6ABOcs+yFTLHJ1juHvhiCz9Sfhgmj yktNlhu9YUkMBPFWo2KCbSGcwuGuy/w0En5EGCfZ/3zGxO52iTkpt6tR6vYEetxc +axuNKKjU9A+CBd3p7PN9myUD5aefv58DW0bfyc4aeNdmwgcoq0OOjoviE65lXgz e3cw9A== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bng2c1ph2-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 13 Jan 2026 14:51:06 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-8b25c5dc2c3so154716385a.3 for ; Tue, 13 Jan 2026 06:51:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1768315865; x=1768920665; 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=jtSdc8DZrSmGyslV6uF/9RQzrVXkskQKPFX+tg7xvZU=; b=BMgOL6F2cb8UB8QVasVcxPnpTc/nAW6h/mhmt+Y0/FUsYCBsR9NuHKaFufViVhwpQN xzjAejlDSQ41LHRQiMeGLIhVHHoevPWwoD+PYh3SL57A1f8MwMNSeAlhSiK3uUxHUMRm MkfbpdVFfcKBWQV9QlVIS9FLELFQNiqioNkNSUbpfRHJOblR/TRxW84Sv7Cajr4djY8Q nD/QIjiceBuRfN1qAVm6wAx8eGPYZ27C1qhk7qbNQ2cQGF+Z9UohopUPAZzhMGdtlGu5 sjT8bNjtCTzaRDKIoDSFwqMsprM1cJ/iNM/gMt2tDbo1JPxOXVd2yfvxXc3ArbndbFxz 3Qtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768315865; x=1768920665; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jtSdc8DZrSmGyslV6uF/9RQzrVXkskQKPFX+tg7xvZU=; b=Aw3TTB4mJXC4lssZ/jQIcsh/MFQC2PLayHB+zj7XAWKViuyGHe/TSEssEnpZVxQxnC TYJoHLygGFqI8rSBMafgzxHYloUVbV7OVT1BkgPHHzNyfT97udic7SftyQ42RE4TpfvG JsaNMewXsSqxFhojjpKBve5ki05LDE6GM68k9uZ4044TiCJPgu6PpQnyhUo+L+jODTPn 0cLp6nCHgsj5o4xBIjkhQ+9GGB4ncRjO48QRpRYoogN6FknsHIBuq20O3hCGpAsCshZW UqaSvHx3J0AIG+7LjPhFmWRsCvORLf2LCUNfGndACDX9sUvsI0O8smYGscLsjpEr5ULJ 8BCg== X-Forwarded-Encrypted: i=1; AJvYcCX11W9s5at0bEqsvDTsTJgBWnv7lNxg6qOH6suKzsvuRQLyEG9U6uuTSX6qTOPq096R1+ciE4/C+6kmQ1s=@vger.kernel.org X-Gm-Message-State: AOJu0YyKi3wcPhQjYJihZJwUy7tDrP58l7BM3N2nxc2Q4NbQWWzBmxrZ evGXxst+kGE55QI2zlSRIplL3qTa7be79d6kuX5L+R9TNmVOSVt5vWfD1mLjp5MyUfxpoEfpux/ Rh+DOuS12W9uPPs74sbsESS7GiAtNs3sGioi4y2DgcKrJso0jgUS5U9M2Ils6FwYYmeY= X-Gm-Gg: AY/fxX5CzCIdIzUDmnvXA/8LevmX7uAZ5TnUMerIVy9nzYn/bc/9e7GkRu/M+Jk9/eV ohENKXN1vWMPaC8lrqtWtYwxdgGaJmhdl0C/TOe9KqUG8EV9yvkU+FmBmIyjLCMujpdhaBBjryF 4gc1fVHxmyh8OV+3QlgOd4fhbub+2cAQxAeU81MwlaejuGKUaUKiTkfKEaYNR4nKtYk3ftPcluz CYNJEteBrpn2zIIzEiICGbbpRwDtIaWAgsRGsoMM0TuvijFj2eWhYwBXIUI6EP7A391uMUMyqWW Sdw7tXTJ9lY4CeOcX5RYlLCqp3pLe48aIKdV0Irjd7I15IMdfDdyPRQk4GKiktP6q3IvgtkdbOj igMVyR+pmGDYK2FvHYpyp19yc2l1xXxz+cQ2IVz7A/Ge3YfJnSSn9rtzQwFGt5bV0q5M= X-Received: by 2002:a05:620a:700d:b0:8b2:1f8d:f11d with SMTP id af79cd13be357-8c389365c0amr2112730085a.2.1768315865301; Tue, 13 Jan 2026 06:51:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFLf/yNnTDE13ciYzPMadWSpxOvbX2cTLvRSze2xcqIJ+7Ha0WubguCkyEWH65yQ0GG0Vm98g== X-Received: by 2002:a05:620a:700d:b0:8b2:1f8d:f11d with SMTP id af79cd13be357-8c389365c0amr2112725085a.2.1768315864620; Tue, 13 Jan 2026 06:51:04 -0800 (PST) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6507b8c3f89sm20278699a12.5.2026.01.13.06.51.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Jan 2026 06:51:04 -0800 (PST) Message-ID: <85c067c1-8a73-4bd5-8561-2cf80e2eab2b@oss.qualcomm.com> Date: Tue, 13 Jan 2026 15:51:01 +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 v1 2/2] arm64: dts: qcom: qcs6490-rb3gen2: Enable CAN bus controller To: Dmitry Baryshkov , Viken Dadhaniya Cc: mkl@pengutronix.de, mani@kernel.org, thomas.kopp@microchip.com, mailhol@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konradybcio@kernel.org, linux-can@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, mukesh.savaliya@oss.qualcomm.com, anup.kulkarni@oss.qualcomm.com References: <20260108125200.2803112-1-viken.dadhaniya@oss.qualcomm.com> <20260108125200.2803112-3-viken.dadhaniya@oss.qualcomm.com> <5cdfe5a5-3c78-45a2-886c-768b224ad776@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-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTEzMDEyNSBTYWx0ZWRfXz3AWd/VZK2Tg cW/Cg9KqWkxOoOVHGuQLqsZ/PsZj/bgzaDjuamf+UXLmYLGmp4zBHo16ZWsOQBG1b+jrtNywZed 58YMutm53JrSg9sypZwt3KP3/7/l3I4HrZRJMZwJRrfzXhWPIPMKbrWQWhP+Kt2FZCOOhtrsRRS LX/yqyylDPrd/a4dKHlJUUIblXtVmzE6eBfm3XpXjrAOCxdZLsPe+gs2ZWBk2pdhVvWPJonkanq rweeHNA/Mh4KM+tCp3iesA/3rOR0SwQsQDGW/3FvUoj0bqflcYaGrqI4kfTFI5epNt2a7PXckW6 Iv77DZm1P2FbA7THHocaSntPBLC9hj/trDKYtTj/Qfsg36UDuczMiUqhvXQJhHq8Dn/jgplnpr9 O9Y+sNcpVuTZ6jAAGCa9kDo7L2x7ajFu+Z2kKYgmiz7NE5VivEGmZARLMdEDk0S5DhehGMilyoJ p+uMcaUVGYseur5uz9w== X-Authority-Analysis: v=2.4 cv=C5TkCAP+ c=1 sm=1 tr=0 ts=69665bda cx=c_pps a=qKBjSQ1v91RyAK45QCPf5w==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=IvRgekr50X0SvLIQHyAA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=NFOGd7dJGGMPyQGDc5-O:22 X-Proofpoint-GUID: vEobvPa-AESrmmZzpyYZoyi7Zynyy7zL X-Proofpoint-ORIG-GUID: vEobvPa-AESrmmZzpyYZoyi7Zynyy7zL 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=2026-01-13_03,2026-01-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 suspectscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 bulkscore=0 impostorscore=0 adultscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601130125 On 1/9/26 3:05 PM, Dmitry Baryshkov wrote: > On Fri, Jan 09, 2026 at 06:23:39PM +0530, Viken Dadhaniya wrote: >> >> >> On 1/8/2026 7:33 PM, Dmitry Baryshkov wrote: >>> On Thu, Jan 08, 2026 at 06:22:00PM +0530, Viken Dadhaniya wrote: >>>> Enable the MCP2518FD CAN controller on the QCS6490 RB3 Gen2 platform. >>>> The controller is connected via SPI3 and uses a 40 MHz oscillator. >>>> A GPIO hog for GPIO0 is included to configure the CAN transceiver in >>>> Normal mode during boot. >>> >>> The main question is: what is so different between RB3 Gen2 and previous >>> RB boards which also incorporated this CAN controller? Are there any >>> board differences or is it that nobody tested the CAN beforehand? >>> >> >> The behavior is consistent across platforms, but I do not have details on >> how other platforms were tested. >> >> On the RB3Gen2 board, communication with the PCAN interface requires the >> CAN transceiver to be in normal mode. Since the GPIO-controller support >> was recently integrated into the driver, I configured the transceiver using a >> GPIO hog property. Without this configuration, the transceiver is not set >> to normal mode, and CAN communication does not work. > > How do we verify the mode on a running system? I have the boards, but I > don't have anything connected to them over the CAN bus. > > BTW: can you recommend any simple setup to actually test the CAN bus on > those devices? (please document the reply to this somewhere internally) Konrad