Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp28632lqe; Tue, 26 Mar 2024 19:05:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWcHZzfZ04NlGhIXBUeQt4qvOwLdccGUebpr37ZBjrXWghoYFvvj/wQ+HX6/oLISZftDyigNc03rfF1OP9hRYAA9OgfxN7kuz9kjzmiPw== X-Google-Smtp-Source: AGHT+IFTpFFrMW//+BNDfyqEB1yT0vS0RhA5wyPvg9jD7+PjdLR9HTI/ImEDQ2rEJut5eSSybTt0 X-Received: by 2002:a17:90a:9a88:b0:2a1:79c5:1c88 with SMTP id e8-20020a17090a9a8800b002a179c51c88mr157878pjp.1.1711505106024; Tue, 26 Mar 2024 19:05:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711505106; cv=pass; d=google.com; s=arc-20160816; b=asYshIQvv6jFHIvekVnfx9mq2ha+Q07szqbZbSrKkXqyUipZh9odqX0U9SV025fd6X YTx0WyipAKOHARkWMp1ifnFIpj4ow3aFiA5jlRTodlZwe0CPVfr6NSTrBOIOOtOzHEDL nWeP1epsbqtt+quk3N2UNRkqgJXAZ0/W+IcAGrLi34CH6HMBfISI4TULt/tiDJO2FDZ0 BD2dca/B5xbIsKDDcVvLkA7C1Nm8lK0JlpZDmYqrwqEVas6+FpNImcLyD+zGFSSLTKBd rndyTLUVbdZT2V6pCjphDSaIRNXVyo6LKS/wlCR7jB4hIxwBXaZp9dYc9rYCEWQWBbJx PHhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=AYiI7olk1kWz4JEe8So4zIwLR4wK6tGFf5eCXaa6pYI=; fh=x+S1o6EOakd3Dz61iJB+vHkVvMK1Gc9k9GlOTedy2cw=; b=iwLJd1boibtq9ysA2JQLzQpTyHm+t8wOqlqHNM9eoCcvo1U5gGDGXZ57MmLdBh/WkS YojsR+8USzCq6eQVHMP3DcAgIL6AMlYvImpKKqPKJEzhSlbPOBlmpKMG8YsOsVGrjSkh o8d18e8kDrCTa/wzWlruZfK6jDlbs1fcZMxvmwj/9MAPe65mCl4KkklkVdWIfV+rURQU 4GEvvXYeSYxKk0eIzvlJ56UTEoVo39OiyEm5VxI9J1s58kVHsKhlEir6cj/u2PScampf MRMYYKHkQEFlEBIHOaDyjy2M0BDvs1GbJcGrcxvobWfPvkOfzv5dCyMk6l++NxS+7tI1 Bg2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=A1zdoEob; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-120196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c1-20020a17090a8d0100b0029bad21d757si456344pjo.168.2024.03.26.19.05.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 19:05:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=A1zdoEob; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-120196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 769CB2E3F51 for ; Wed, 27 Mar 2024 02:05:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADE8F219E4; Wed, 27 Mar 2024 02:04:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="A1zdoEob" 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 894D61F60A; Wed, 27 Mar 2024 02:04:45 +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=1711505086; cv=none; b=C8Ih7zRuTPmCYtjYCsptrx8Zr1p58OiRMi8kH4CSLlERXn8AK4xS+MvLLz2UXszvCjL42eQ5eEJla+HA8RPPT2iejhTQHYdQUOWkCSVysRAvhTcG8iCjRNil9FX1ygBAZAjaxml4+fIzAfpxX5Hfr1ygkn6ECgN2qhoi9VTWNQA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711505086; c=relaxed/simple; bh=2q3XmdhCrp5V0Qh058jRSaSu37Y4N5p7jL1h2CErt+Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=iA50FtvbhCyVsbgDG+aLI4rqXgRxg1EC/5JB5Ovtxsfsdi6EEhyVZyfwWTFieWi4ncMMqcblfb4jqhnCK0+o8hnVdpo1no+IoUaI4p7gRbVHcnNl7d1oxW6NVNjY3aovcq74rqTjSw+YS4EQQkRPbDTwFcWimPY6JVuk4q1fS9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=A1zdoEob; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42R1o4aW032726; Wed, 27 Mar 2024 02:04:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=AYiI7olk1kWz4JEe8So4zIwLR4wK6tGFf5eCXaa6pYI =; b=A1zdoEob3UejTrceCUBX/tyJlKO5TyKdZM10CNNjPk+uJdSX4D5+ji3Q7Ay SHyejo3Jf6FL3zxmieJzVVwTwfIojKQFsL/vZZrRcWMriV8Hml5THMLbVHat7geK aNt28wQy9u6bGtKQWhDu4vF8+JDX0FtI8uzKyY4d9+HoL0uyUWuduWShcNyORXnZ 7R3OP5DWCDty12fGHrfwvfJV50J0i8pSe8IhcBWWxBzPx6MWQk8e/Yxgl0U961dN 0s2GI++O9BEGl6W7MksfMzTzXJvzKoHulXfQDoVDEoNSP8pvsn3XTy0XgOulBRMF L/KsLHN1vfPCIC5CreR2iND1iNg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x4780gbw2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Mar 2024 02:04:31 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42R24UHa030762 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Mar 2024 02:04:30 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 26 Mar 2024 19:04:30 -0700 From: Bjorn Andersson Date: Tue, 26 Mar 2024 19:04:21 -0700 Subject: [PATCH v2 4/6] arm64: dts: qcom: qcs6490-rb3gen2: Introduce USB redriver Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240326-rb3gen2-dp-connector-v2-4-a9f1bc32ecaf@quicinc.com> References: <20240326-rb3gen2-dp-connector-v2-0-a9f1bc32ecaf@quicinc.com> In-Reply-To: <20240326-rb3gen2-dp-connector-v2-0-a9f1bc32ecaf@quicinc.com> To: , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , Dmitry Baryshkov CC: , , , , "Bjorn Andersson" X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711505069; l=958; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=2q3XmdhCrp5V0Qh058jRSaSu37Y4N5p7jL1h2CErt+Q=; b=IMY0mnWRcbRU/mm9djEMzMkf672fYfNSC5lkOG2ZaPrEzcxB7w/fBuHRUYsykJ2zRWWQsVYav Cmk6s0p+l2SD63OVh3y0NsuGCVA2ijKTOWSg0KvLIRr8IPVn3UrFkcV X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: iw_8KntqAIAt5MrWcYno1sgPcL_Qr3Rh X-Proofpoint-ORIG-GUID: iw_8KntqAIAt5MrWcYno1sgPcL_Qr3Rh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-26_12,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 malwarescore=0 bulkscore=0 priorityscore=1501 mlxlogscore=998 adultscore=0 phishscore=0 mlxscore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403270012 The RB3gen2 has a USB redriver on APPS_I2C, enable the bus and introduce the redriver. The plumbing with other components is kept separate for clarity. Reviewed-by: Dmitry Baryshkov Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts index 5b267a94a282..2f94b1b865e7 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts @@ -485,6 +485,20 @@ &gcc { ; }; +&i2c1 { + status = "okay"; + + typec-mux@1c { + compatible = "onnn,nb7vpq904m"; + reg = <0x1c>; + + vcc-supply = <&vreg_l18b_1p8>; + + retimer-switch; + orientation-switch; + }; +}; + &mdss { status = "okay"; }; -- 2.25.1