From patchwork Wed Feb 21 23:19:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 204481 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1353177dyc; Wed, 21 Feb 2024 15:21:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVOUlOUIUGnEouNDUm/7JZRx7Fe+f5vkg59oN58znQFuTIzKrHfsXAshXENIlalxuwBP96ALfigBIEdY6vnfOYe6pBt/g== X-Google-Smtp-Source: AGHT+IGL7IvKVUuFAd/QzrPhD1YmM3TGCH9OeCPYtwIXS+wou4EomtTQ02FeJG5ASqv8L5Bpx1rh X-Received: by 2002:ac2:5925:0:b0:512:aaba:7657 with SMTP id v5-20020ac25925000000b00512aaba7657mr6335681lfi.26.1708557668176; Wed, 21 Feb 2024 15:21:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708557668; cv=pass; d=google.com; s=arc-20160816; b=IGc5SIt6iQK2HOkkT5qsR4uI7KLoU0YAOiJjBFo5+lGqMtWD5nBKqk7MMeJySdqUnA Zzg+V3KZ72ajpDkHCN2coYpDUtiEAidNC0tK809dQrDhYwWwbw96+Tg12cmVxMbJ15PO YRjpmooXj2ClnjgD8ty80bVvhbKjL4saajSiSXfUq71SG8eCh2K6ehrdx/k7tjsDLEhE 7moqXlrr23twEZBcBB7IAj8JZW4xLWRm5OhGQOOseRHHwm9Q2Xh8I1wGWhLywY6nc6bk 1jxgCbCwhKDsz/L2g5jswB785JS2YZSoRHbXksFC1Ye9/o2uZzMbU+hJRKsIn8VRxKne H2LQ== 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=D4LgidvEndL3vEKGD6CEujrHPjeSfHEBUouRKygfBfo=; fh=Ph3D4iPhMs0qfrBSt7uGZnxnp3Fv4RZ3r2ELq4z6NQk=; b=V+vAdDeIrKDTUvpZ1IBjFBYHoJUVv1xFdCqJFYIdqhXl3IBWuKQQyCpaA68klJrlH0 PnP5JL7wK0LN6uNkK+jpJgFXn2GSPRcAs6+YC+V09DRVO8bFhY5lRVXb65EUJ0Vr/hbt ww5+OzQpn1TNGj8ti/8VEyA5mOSw8uIZa+NJD5Mp8QmPtG7kLBFP/61U+a5flRCYJykF sxGI7wr3/rsn2Rj19UliIvNjzVu2T+4Na9JuEoznaVwRMtR9h45gAEau1L03rmtlAIS8 7/7JVHwr1lXLGSri8k+Yo4Up3P6Ie/UHEIOM9eHGM//NZadEBvH0GiVs0TSiqgiUUlgf 25PA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=L1lx0ezd; 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-75642-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75642-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 15-20020a50874f000000b00564d26c941bsi1724992edv.57.2024.02.21.15.21.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 15:21:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75642-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=L1lx0ezd; 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-75642-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75642-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id BD09F1F23C9E for ; Wed, 21 Feb 2024 23:21:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DDD7130E32; Wed, 21 Feb 2024 23:19:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="L1lx0ezd" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 49D2E1272B2; Wed, 21 Feb 2024 23:19:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708557568; cv=none; b=YetQ+EL17lB7vBwh4nn8EalGg4yHGrA7rhQXS4h3NiLjHoZbksptVYmSFvlIf5tpaPFoH5hx7nm8ODQ+fcv8pG3lu3Df8MNrIpg/E878DBu/34IXSkSUCUKvZ0Ajtk152liqSG1rLs72f7x52LoEF3bXL6qIwGeAqO64eUWYzjg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708557568; c=relaxed/simple; bh=ijqglwDc8WiopNfqSSR9fe0J9bSen9wiW+HoJ1qLCKQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=c7Ozy8XqurMYesqLThcmjsp2Vf/uRTdLP34x2zo5nxO1djdI8qoxemkhVyuwOrR1k0nIE2jB7znG69LJ25w+Jf7uoIUpf6Uf/hP+W48U7r4fs0nNgGzwrwfbEGLIuTNwfji2DKi2q+L0vouRqx0QmvNSTbuBuCPKoKHegQ/cOvg= 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=L1lx0ezd; arc=none smtp.client-ip=205.220.180.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 (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41LKviK4026736; Wed, 21 Feb 2024 23:19:17 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=D4LgidvEndL3vEKGD6CEujrHPjeSfHEBUouRKygfBfo =; b=L1lx0ezduSLpVxBjh58korma8Gmokij/j96oVdxOqvV2XFOZnyn5z+0+kuM a7vTdht7nWdHG19WNbg5X52byvm3b8FWy/mahbvG1ylTkKcFJWdI9iP+xReTVUD3 H/BvbHeCls7z+IlHX7q4ipWCWxYkGjnjOkzIH8vSImczpxZp49xozPdZS6aqqlQl JiwRL4JymImY78b4UHnN2S9HL+7MgFCAw8pHN3/MxA4HJwPGqGrKjE1XG97RPmWQ OqtWx0yZE+a+WWP0cpyXdYShoyc9j+68ct+uCXLdxJeu454WP5/chj4uREVmB9yC blrCiy/u+N4mKDfkuI9D7fVXiGQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wdr8r892n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Feb 2024 23:19:16 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41LNJFuR020304 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Feb 2024 23:19:15 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; Wed, 21 Feb 2024 15:19:15 -0800 From: Bjorn Andersson Date: Wed, 21 Feb 2024 15:19:15 -0800 Subject: [PATCH 7/9] 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 Message-ID: <20240221-rb3gen2-dp-connector-v1-7-dc0964ef7d96@quicinc.com> References: <20240221-rb3gen2-dp-connector-v1-0-dc0964ef7d96@quicinc.com> In-Reply-To: <20240221-rb3gen2-dp-connector-v1-0-dc0964ef7d96@quicinc.com> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , , Bjorn Andersson X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708557553; l=897; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=ijqglwDc8WiopNfqSSR9fe0J9bSen9wiW+HoJ1qLCKQ=; b=DPmSIcOOmbn+TMCAOQgjorGGuDX/M3jiG2Qw89PZbuv3P0LZaaBJKWt/+lAsUpiQiOQCm01iW vDElaoN/VArApuRE5vzH0MD4TUVBHKj3th+TkC1Q6W0T0nTYbB74vK8 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-ORIG-GUID: P-Q1vnuIKcqO7l0XarTJ3uZAsmLxQqpk X-Proofpoint-GUID: P-Q1vnuIKcqO7l0XarTJ3uZAsmLxQqpk 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-02-21_09,2024-02-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 mlxscore=0 bulkscore=0 priorityscore=1501 clxscore=1015 impostorscore=0 malwarescore=0 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402210183 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791552565451204790 X-GMAIL-MSGID: 1791552565451204790 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. Signed-off-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov --- 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 079bf43b14cc..171ed979d55f 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts @@ -465,6 +465,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"; };