From patchwork Wed Mar 27 02:04:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 13605475 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A3F8CD11DD for ; Wed, 27 Mar 2024 02:05:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rFyQ0lgXLuU1Kz67YgZvXKTvXik8OKrxpLP9cMwFbSU=; b=S+V9x29CmlMfOH IBuhEi3pfJtgjK/N2WlPBnKu0GCIoiWKPpK6rUTmhZaUL1PrlLym2eHPMBXXUqF4gIp7s2BaZf/DM fxQPy6JYsHrHwdeeT7RLphI2se/06MaxlO0hzWOGy7tcINWNWbFame8ZtwWVsiT6UsI3E+h2QyFk1 gDx7+FJeiEtyRP0u1y7CMniya8d+uUWgss582JpnifEzkExf5WMGWR8Y23RPT76xETlQ7sIUFZn/3 SvoLzkKhBwP9+yxA76b8B6o9gTgm8/Ln2lOxZWjXpMAaotBTaVShqwvx5kmk5JNeD/TNob/9PlrFT qQHR56c+nsgKIpxcuqpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpIeq-000000079tE-3wDp; Wed, 27 Mar 2024 02:04:54 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpIeg-000000079od-1SBG for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2024 02:04:45 +0000 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 MIME-Version: 1.0 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-Originating-IP: [10.49.16.6] 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_190442_495589_9F7C3C44 X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Reviewed-by: Konrad Dybcio --- 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"; };