Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1998603lqp; Tue, 16 Apr 2024 04:39:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfSfpt28edyKY58+1nTttN6ac2Boe4lp/cste5mAcb8m9SmQKV8D+LVWH1k2mtm4x2cL4wQ8hGWs5cXqrT8XiJjbHoIJ71PecyQvme4w== X-Google-Smtp-Source: AGHT+IH2m2nlTvp6+OErPBHIIJuUSTXWKzcnjxeqw7qwR2rIcawk/RjK8ZzDeAkhdbg55Mn8AFqk X-Received: by 2002:a17:903:284:b0:1e4:55d8:dfae with SMTP id j4-20020a170903028400b001e455d8dfaemr13284439plr.4.1713267542061; Tue, 16 Apr 2024 04:39:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713267542; cv=pass; d=google.com; s=arc-20160816; b=dDVrZVwFpYs7LD38bzRKn18sU14UMRDI4G3sBKq7naRe1wkWIL1XU59sQFdB8HSn3N 2hylajjHrYunvOf9dFQ6rh8qfzGBL/IpeH50aqqcEPjOzmMlbSvXyfbPNOMwzl6N/RN6 uiE2Wzvww74cHe9Vj0lvmBPQwB3qTVgpIPUssaCznnjwsUGGTUvcejwQHIka6vSf+Mfh E1JlSDfa8Ym1Zmo53GN8Q8R6dIs7ifrnNZ5t4+fyw85mP6FbnKPwwVkJRROVWow/Nrrt X/GxURf66cBzsUNAmjEtrhFa9yCpAtJb24rSc8T2kYnyDX6f8BPjg+7KzqWVpQTt+wD7 NQUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=yLga7OC4nYSq9BYdu8C0P/BImJRfA0KFWKdGFi9hq8g=; fh=GpJM1Ta1uEuOSVT7EneZjcvX/WYYy6jX8qSd5l1JLYM=; b=kZCVjDpgqJtKXlCmGu5me2Hm5CF1rd9TcMK3p0XDwpSyJm+0sJMMmKehysH+NbJ6mt 6L1hGBhBKUeLwkvvKxh8CYI6EwiNHRNQ8/WMykl7Br61Rl3guAocmEBZeap7TYCdOzEd H+qCDlqhBXThbngCROew6nx3n1Lb9PWPs8XKRcWAj+tDCnQ3j/l8ULiH/VZUB4MPvDKv BwNY0C6JGcr6/d0qhzWJoRWzonqSllp4Xmpp5dFP67xuYrZ/HdRbehCyCmRAz4QgE/6u +YOlY8itRV+VdFeuUA+9X06ceVcWH/cZQwttq4JfeVXGLxxwmfVbJl8ymMojXcSv0Adw /HQA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b="k/MOR36/"; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-146714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id n1-20020a170902d2c100b001e4ad7873a9si9762087plc.162.2024.04.16.04.39.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 04:39:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b="k/MOR36/"; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-146714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 970A5B2137C for ; Tue, 16 Apr 2024 11:39:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02CFA129A71; Tue, 16 Apr 2024 11:38:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="k/MOR36/" Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4EF551292F9 for ; Tue, 16 Apr 2024 11:38:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713267529; cv=none; b=sKr05hcYp92LUybu0dFXIrKzVc4WzkQb6B61VaIbWlinE7vivWzH+sc3QdZPTa41xtSRp1VWYUaFEcfipOc89MkphX108GEqR5ibIPKAFUkJKOIvCUN3zMrDkVfH2svaNRQGqTk3CmVUW/2xFPmxA1T38yaH0U1EhbAGkjcor7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713267529; c=relaxed/simple; bh=78vEOqzL95dc+B7WbWraGxUA3wTUPg9rnOmG+t2Iy9Y=; h=Mime-Version:Content-Type:Date:Message-Id:To:Cc:Subject:From: References:In-Reply-To; b=CxO337HeX34hVsgJWeJgzElSKjUgbBaDcJW2xFd7IEpzNbwCl78aG553qOZCKznTEp9eeWv67ui9dqcIHErTTgnrmvLrHiltjffZ3K99jjTLntoDCdfDHx4Asc4TFgvCd+pUet4o1BV//qEZsDFWNFeqhxNr+4bMuQL4zouEzHg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=k/MOR36/; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-570441bc23bso668129a12.0 for ; Tue, 16 Apr 2024 04:38:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1713267524; x=1713872324; darn=vger.kernel.org; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=yLga7OC4nYSq9BYdu8C0P/BImJRfA0KFWKdGFi9hq8g=; b=k/MOR36/WBCAUC5+dkiiqXGmS4obsvDIBZlYz6RvPI82op2gyM8KmbYo+oIEYlAlD/ SkHj6oo84T1ovPXl6wnLHDqvKYvE2+xEuxdKlGniZC83ihYNW0cmkBUshBATeAFd0q6V 4kWySr22KCE2+jOJfGE4kns/GDu2EYUc5Ib3rO7I4n0x82+0i/F+RGiakp6VSGJalpJg BxySIvIp3ZnsGcKR/266LaxJ5QfzxUde3PTpljchfq6bBtXC50szYOdIuNeu9ByV6pS0 Ep2Hpjm3TCna32jrxg23ONEINGEKeCBRNM3L7l/KdQVuTi9QX94RaM3u2+VE8TKy+ndP LCgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713267524; x=1713872324; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=yLga7OC4nYSq9BYdu8C0P/BImJRfA0KFWKdGFi9hq8g=; b=U6i4jxVatxcsNDW9pAdRJnla+xMrqizD6L3whpuj2X68J7ezW4DKUHx1Ku9dlocZP1 ZmKpogcRwMiJOtxqOMO/PAwZgfyyhTTY/xbXaeZa20HW1MNsSrM5P745eNnVAoblRQU5 aNWYhG8DjCeQHm29DhuHv3FEBUdL57WHPv2mdrzThkGe2qjBJu/wiT4qUdjwjRUMzZ8C vb8GpN9tCHcYyWOCXT6QJ+vA+RhY7WNKDPSBt3AYDgml0qSuc8SOimk3BjFNt8Gsr3ue XRRgGQpTdS33vwKSyUKY0cQQP2Tkur9TyzmlFS2sejpMN2q0crSDoVKBuUTsyHEyaCB2 ODlg== X-Forwarded-Encrypted: i=1; AJvYcCWIz+1VrDM2MDfpGk/njcwUgVSalUIPkF/wmAXk078Nao9ATExFZeNZX6VSQESJrCAQv4p27D0XELRJupMuyKb7nFWMXOIbpA9s1hf1 X-Gm-Message-State: AOJu0Yz2ToezPf2aEhPgjxy5s+MhMOZoxpLCGxemzAJxu6kbPDhycqcd G1ldsJe4J06Lq/LVkSjPkxLLrC6/XnhO1was5GYhqYkjkx+zxtfAD3XjER3fq2A= X-Received: by 2002:a50:9357:0:b0:56e:232b:95cd with SMTP id n23-20020a509357000000b0056e232b95cdmr8225752eda.41.1713267524650; Tue, 16 Apr 2024 04:38:44 -0700 (PDT) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id fe1-20020a056402390100b005701df2ea98sm3207437edb.32.2024.04.16.04.38.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Apr 2024 04:38:44 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 16 Apr 2024 13:38:43 +0200 Message-Id: To: "Viken Dadhaniya" , , , , , , , , , , , , , Cc: , Subject: Re: [PATCH v1] arm64: dts: qcom: sc7280: Remove CTS/RTS configuration From: "Luca Weiss" X-Mailer: aerc 0.17.0 References: <20240416105650.2626-1-quic_vdadhani@quicinc.com> In-Reply-To: <20240416105650.2626-1-quic_vdadhani@quicinc.com> On Tue Apr 16, 2024 at 12:56 PM CEST, Viken Dadhaniya wrote: > Remove CTS and RTS pinctrl configuration for UART5 node as > it's designed for debug UART for all the board variants of the > sc7280 chipset. > > Also change compatible string to debug UART. This change has little to do with the SoC design though and is dependent on the usage on a given board, right? Also the QCM6490 datasheet mentions gpio21 & gpio22 can be used for UART_CTS and UART_RFR. But at least consistency-wise this change makes sense, in practically all other SoCs one UART is marked as geni-debug-uart. But with this patch you should then also remove some overrides that are placed in various boards already? arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts: compatible =3D "qco= m,geni-debug-uart"; arch/arm64/boot/dts/qcom/qcm6490-idp.dts: compatible =3D "qcom,geni-d= ebug-uart"; arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts: compatible =3D "qcom,geni-d= ebug-uart"; arch/arm64/boot/dts/qcom/sc7280-idp.dtsi: compatible =3D "qcom,geni-d= ebug-uart"; arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi: compatible =3D "qcom,geni-d= ebug-uart"; Regards Luca > > Fixes: 38cd93f413fd ("arm64: dts: qcom: sc7280: Update QUPv3 UART5 DT nod= e") > Signed-off-by: Viken Dadhaniya > --- > arch/arm64/boot/dts/qcom/sc7280.dtsi | 14 ++------------ > 1 file changed, 2 insertions(+), 12 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/q= com/sc7280.dtsi > index 38c183b2bb26..2a6b4c4639d1 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -1440,12 +1440,12 @@ > }; > =20 > uart5: serial@994000 { > - compatible =3D "qcom,geni-uart"; > + compatible =3D "qcom,geni-debug-uart"; > reg =3D <0 0x00994000 0 0x4000>; > clocks =3D <&gcc GCC_QUPV3_WRAP0_S5_CLK>; > clock-names =3D "se"; > pinctrl-names =3D "default"; > - pinctrl-0 =3D <&qup_uart5_cts>, <&qup_uart5_rts>, <&qup_uart5_tx>, <= &qup_uart5_rx>; > + pinctrl-0 =3D <&qup_uart5_tx>, <&qup_uart5_rx>; > interrupts =3D ; > power-domains =3D <&rpmhpd SC7280_CX>; > operating-points-v2 =3D <&qup_opp_table>; > @@ -5397,16 +5397,6 @@ > function =3D "qup04"; > }; > =20 > - qup_uart5_cts: qup-uart5-cts-state { > - pins =3D "gpio20"; > - function =3D "qup05"; > - }; > - > - qup_uart5_rts: qup-uart5-rts-state { > - pins =3D "gpio21"; > - function =3D "qup05"; > - }; > - > qup_uart5_tx: qup-uart5-tx-state { > pins =3D "gpio22"; > function =3D "qup05";