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 D5430322B for ; Mon, 16 Jun 2025 16:46:12 +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=1750092375; cv=none; b=BcYlrAwdPPBqETlHlmuL2kQ+pGG57aqzJEmNOhaFCRRpYFHBfC42urzMzPAJdZ6+Lj2AqadIqlT7GYhwVJsz5D+MYhPAglT8uZDX9vHw/PGbDdp2hcEwEaQt17gtdPhCNLFoDixY/dkUkbnWsrFhdyQUJ6TbtaWh82bqUv7yCWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750092375; c=relaxed/simple; bh=E5U1yP4hQA8QXwz6fW4Z68bO+TMhLlGp8Tk/+yKLwYY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HkNTFjcaY23tnu70AE+C+VIdPloZNVuvijoN9ZANyWoizcmCBGErdpfTRZKBgQEjYGDmNwEIEv9ZCLBtDgbcCWnNH91e2A1H79WbG63R6vqUmD8sys1/fDNqgUPNNA37RiW4qkeDYkdg2S/Q/tfjhAeErUlHT7Qw8FEoXSC9tOs= 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=L7QgsVvh; 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="L7QgsVvh" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 55GGgDdm010987 for ; Mon, 16 Jun 2025 16:46:12 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= j+PyABmtYdCmM1nxKezq910pWxD+orgLkSJMDq63LKk=; b=L7QgsVvhZBDl2eQC +GokdLhoxKlJpcuAC99EOczeMBgps4eqj/FkE4SV+hfH2ZkdghpLUEKBshAVU3zH Fvj0Co2hqEMPc+EApeYjImqgI6x21mpXtIFaQsW9y8uJ5ghLr9RL2cPuKRo6Cp1r mI3Up+ZZqI90yEjsTmT11063TZ7BsJXGddJYbrN5qCwX5Tus2RfH/3tGq/bmz6sY B5j1DDyeVSgWHRYXCoy6qeLS6N55DhxY4WKbcFJj8uy5HcGdTRuUdO0flNelVZ2g 4CTBV+D3HU8xEOkByVp4dvkq9GeQo1stHrj09qeIY1+1Amys5rmnyVAUrsn2qm+q eyIgpA== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 479qp5kvb8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 16 Jun 2025 16:46:12 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-7d2038aae69so30427185a.0 for ; Mon, 16 Jun 2025 09:46:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750092371; x=1750697171; 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=j+PyABmtYdCmM1nxKezq910pWxD+orgLkSJMDq63LKk=; b=RYocshD3TvH8LntwWw7jLdojWJjHYMVGXYdPsb85hrj+2GO91j8N9Asq0gr1dSDqXc UpLGNquia8bp7DlXumVYNDIVzH6aIVCYQMWYmw4qFhblm9L/jMeqz2LH32fDjnNMnsnK 0AzTRuSqEPSBbpfSMPb0SN0yEp1nnkNNmyvSXX6UNlYJBH6bTk4iRrb9+RA0QuoagOJZ boiLxVw9NnOiGhpBDAc0mekXIdDrICc4im8BBwhZx7WbNxRMrtqeuMXZoHEkrC11AQNm c9CqmFtwo4nhpUsCLTDMFR8eFpWphxvypoRfqk6FYwN++1j4zWI/wgSlagDIXTD5kA7W 9mLQ== X-Forwarded-Encrypted: i=1; AJvYcCWQpI1UgT9Yp1QKYwSvg2bOjNuVx3A6i3Xxj1CdXeZcGXiUVj5WYKjlRIIIk966is5IIEhh7MNi7AQ2b4o=@vger.kernel.org X-Gm-Message-State: AOJu0YxlztiPTlbyXZK4bpC7WdFZs+bfppRqmW44O03ufquKRTvjN6U0 RBvZdpiA7ZB0cN3kftoBP41ZO1zJEhbq1SIEFQPZX372WvGVnmhu9xmG/6b4APA6N0a39WzCtpV RLdJTf557cSVFG0Tp9Qmf6p3F6RkBnLXVEKb65iq1NKG+408HESMM+3i2rmGf1XDOhxY= X-Gm-Gg: ASbGncu9nqach3XORu/DULTwAhrN23wgM/Wr3RUrdlBO5kTb8Zqkt4EtkdQAEAi/VR4 9qLHjYLcyRQ/zFxF4trqYLFmwzlVy/JduzedJF0FckOeZUOgmCacRlwFoU2saXJO/zfyRuNMZXn aozLooTNhoDUZi8JbYhxvS1IdilxFHaW32utGK7HzBfdOBkwcrh9NR9ajA1W/czk1bYyNb4lWjc nIFyY8/04l619CwYyhx2sfyyDOQuVW4e4S/U5m5Zh8LqgUh6CPXED0wsuLo2TipovnUmCLJagph QhvVLOnzO8n7Su8HwA/HWQhw2tFhmS/1wUphrhg75lGEalNmjF1jDTrAIBrf7Q1p/RTjOO/ATGB NC68= X-Received: by 2002:a05:620a:1a94:b0:7c0:b3cd:9be0 with SMTP id af79cd13be357-7d3c6ccbab0mr534393985a.10.1750092370758; Mon, 16 Jun 2025 09:46:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IECa0uf5zdXNpzOvYXV4+oB5gSMav8jAoDEuKhXiLul1U3ZDZicZ9s9ALB+gnNdoxN0MV5wcQ== X-Received: by 2002:a05:620a:1a94:b0:7c0:b3cd:9be0 with SMTP id af79cd13be357-7d3c6ccbab0mr534391285a.10.1750092370218; Mon, 16 Jun 2025 09:46:10 -0700 (PDT) Received: from [192.168.143.225] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-adecdcae670sm666104066b.184.2025.06.16.09.46.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Jun 2025 09:46:09 -0700 (PDT) Message-ID: Date: Mon, 16 Jun 2025 18:46:08 +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] arm64: dts: qcom: add debug UART pins to reserved GPIO ranges on RB2 To: Bartosz Golaszewski , Konrad Dybcio Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski References: <20250616143341.51944-1-brgl@bgdev.pl> <713cd518-935f-4501-9753-d33c9ea6aef7@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-GUID: 1OPLQ-14pC2XHDIfpnOTwzp5u4cSGJ0M X-Proofpoint-ORIG-GUID: 1OPLQ-14pC2XHDIfpnOTwzp5u4cSGJ0M X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNjE2MDExMSBTYWx0ZWRfXz7wCl7MgpdGY Ujdy4Wcfo2d02Wc9g+KOsyuC6Aijong2IKAvy4mc12ULKx/6jRxtX15rWNHTQnmr2ufK7szPdLS pHPVtxQxbxzopzAGwyfkdeKpjat4A7QV3IPo32X3pybaaSvSUQw5oUHg4Gd1Y2GanFO1ZixR6H0 1hSNjz4wS+KZAHzdhSlvA2SiworEzQgVSou96KqFhHXxd0wWP69qezrGJvgNUVesWTkIclU35H1 0sKnWOqndsg6OlN3wzO8zkqU/xHPak58hEjkuVYWzDqKvxzi82f/yYL5ixuzcuqQ+WK4VKR2Xsu GV2a8l0X0QyHues/jZPZmfWSs5lzDliseQBNzC5fWSKIaEtylmbILljqSXCvaqAAyf4yOa3g38K 2gXzsvIU2tQcxsdQ0om6CJP6xF8kD1HL5/6dBJ/cjaS/zT2kbFa+hYdm5/FjXqqkxtJ+vRbU X-Authority-Analysis: v=2.4 cv=fMc53Yae c=1 sm=1 tr=0 ts=68504a54 cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=6IFa9wvqVegA:10 a=EUspDBNiAAAA:8 a=KKAkSRfTAAAA:8 a=znVqVWsdYbECHmFFIgkA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-06-16_08,2025-06-13_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 bulkscore=0 clxscore=1015 malwarescore=0 mlxlogscore=879 spamscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 suspectscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2506160111 On 6/16/25 6:43 PM, Bartosz Golaszewski wrote: > On Mon, Jun 16, 2025 at 6:20 PM Konrad Dybcio > wrote: >> >> On 6/16/25 4:33 PM, Bartosz Golaszewski wrote: >>> From: Bartosz Golaszewski >>> >>> GPIO12 and GPIO13 are used for the debug UART and must not be available >>> to drivers or user-space. Add them to the gpio-reserved-ranges. >>> >>> Fixes: 8d58a8c0d930c ("arm64: dts: qcom: Add base qrb4210-rb2 board dts") >>> Signed-off-by: Bartosz Golaszewski >>> --- >> >> That also makes them unavailable to the kernel though, no? >> > > Yes. They could only be used by QUP - I2C or SPI #4 - on sm6115 but > none of these are used on RB2. I just noticed that my console froze > when I accidentally requested GPIO12 and figured that it makes sense > to make them unavailable. Let me know if this should be dropped. We usually carry an active/sleep pair of pinctrl configs - would they be affected by these changes? Konrad