From patchwork Thu Feb 22 14:19:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 775270 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 7ACF41487F1 for ; Thu, 22 Feb 2024 14:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708611594; cv=none; b=SFKcteANIcybEwZ/H6nnz7qGjqxQWjdECTer67SBJwECiKCGy8WA34OT9jKo/5d5dXHt0L2yUWZ/gr4kw4T2R0dRpAS00fOdBTgtBlWXEYEZTV0V3LtQlm4zWdYyMD0W5Rt2NzQ7bNLrddBIlEsGEAeVVWfJNPm3WtoFiNaNc2o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708611594; c=relaxed/simple; bh=sYm4UC59pFYo9TF1jdp93oOV6v1Lqp4RwJmDvWwLvFY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MCQv68l7QLbW3P10735B4rRBlJUiLQcjDYaXPQNedMOzTle9VCu9HNTAWsnGMYhkV2kDuYsVR7/DKZidpFeZXGuQoYjeqXXzY3ye7PH+p+u+2n6qn5aeh1HKgsVPISfKnWFGAvBXWLGKyHN4+2NzIttD15KEGTz8QxO0v7tnKfg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=fI+Oo70D; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fI+Oo70D" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a3f5808b0dfso232731666b.1 for ; Thu, 22 Feb 2024 06:19:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708611584; x=1709216384; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=RcPhEN5B+MkzblfBdXZtUZFZ+b4Uq+YeLmjHGeuzy7Q=; b=fI+Oo70DP1CMSvm2D1oou2nWAIbyuPdJHO8EQ9vhaCOSS4EC7W1FRMzpXCXaBFdysA ktfCvuc83YWD2NDc/qeWBYSeoIuukg2dQH3Vkqs0GhbA+vDkXDffJWC5uDrfEUgodx1p plxrr2f7gWe3Y+fp2X2bHrLIPH9ErmxIs9l3WRsPu7KMEJE3gXksF5znOSIzFeIpUTY1 ZxAmjcFenn1rRV6H7XLGwwXWoAHv/pw0eRwqWN6gTeEBpYOyquSpdhLYXpykZfaYImvb VhUaPnuwgKDvhW9CO5m4xz+h9T2+vHQMrJxIgHeNO08w4dePcmZ1o5AE/l6YNZ2CS7cQ eZIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708611584; x=1709216384; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RcPhEN5B+MkzblfBdXZtUZFZ+b4Uq+YeLmjHGeuzy7Q=; b=wu9YLphNjKoVUXkBL2QrtxTg2HiI9NsbaHCh1bGBmk36GArmiFaEbVjYfA4Yc5pJzY I02Uw0EgsLCzAukALb9FFqrqb0XBjiR2Tq6fQaSH9uYRNRIsqUiiUC0K4oqk++kvPVAB 4mpbDYf4Vf85wxNPFEdASGXkK8lOjIhQazSp3OM0i7rf9N6LaxavFitfI0jqoSxc3PdH ytnp3KLBaVViqZLLz4ADSsZd/z6Ibzf2A25P4qDY7iGDf6IKjiLHdGhjEvvaT5kGR2mq Wv4dJPl379mEvljYWgNqEDoPIVnj3RVcFhC/xOK4xllJ+PtsiCpM7K2TYhZSEWm9+eVy oGRQ== X-Gm-Message-State: AOJu0YzZ4adzCiAl5m4YoQep1aFgMRtQBAKkbNmariPEqZA+WhtxRNma 3DJxSDkksJq7QG/KFNHSGmRXFItDHasKNU9fUWo+iE2M3r4IvYsPOOxIKY9qanU= X-Google-Smtp-Source: AGHT+IEvKpVcS8T/fuVD4sb/x2XQkV4EKLGn2d5ooUGx0oKGT//PXJ/YcB6lH+FCbi/nrPP892kZfg== X-Received: by 2002:a17:906:138d:b0:a3f:1530:ab16 with SMTP id f13-20020a170906138d00b00a3f1530ab16mr4738063ejc.74.1708611583979; Thu, 22 Feb 2024 06:19:43 -0800 (PST) Received: from [127.0.1.1] ([188.24.162.93]) by smtp.gmail.com with ESMTPSA id lj7-20020a170907188700b00a3daf530fd8sm5992588ejc.210.2024.02.22.06.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 06:19:43 -0800 (PST) From: Abel Vesa Date: Thu, 22 Feb 2024 16:19:22 +0200 Subject: [PATCH v3 4/4] arm64: dts: qcom: x1e80100-qcp: Add repeater nodes Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240222-x1e80100-dts-smb2360-v3-4-85a691d4f68a@linaro.org> References: <20240222-x1e80100-dts-smb2360-v3-0-85a691d4f68a@linaro.org> In-Reply-To: <20240222-x1e80100-dts-smb2360-v3-0-85a691d4f68a@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1855; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=sYm4UC59pFYo9TF1jdp93oOV6v1Lqp4RwJmDvWwLvFY=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBl11f5BpiniMpJWtbbmEUe5uzO3PTVc9S/DQ/Nk zdeapc72SOJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZddX+QAKCRAbX0TJAJUV VnVeD/4sqGocK8wd+bpM6ANoUcZY80lWfMK0B/i+zeCOwT7eX1mSG+oodwW3WMpt+XoQbwPStKl vJBcqtDbsji3kn6jGV0eoseAzPPaLXVQSpSGTwyVff7yovJhCBV0TzFNAWQkZfhcr7NBFGorIA/ 8TujCxbfao9jnB+KyaxtleI4JAKlArMRTAti1PX+ZRv7F8v+hz8OuAi0dfsn1YrYzM5aW5Btwbv Z8XocEFKQl+HrvDwj0oibM/qUuqRPzkqEhMEBVvZ0MO4Ga+gCXKTpJWHDjV6Fi1eHXWtKuNTg9V YT27aWuq5u/iV8Zik8/xLR4+YIsTAS1CpnkaxFRUaoMhsz+PZH9y8adfATUiJfwEiEluODQi99g eLWks5MZswgDi2+WlK9FcbHz9LMwQGv9dKawIrlQIoUM96w25Dz4JI29WKK9zmSSBnDfW8kxLlU evmFs1nA/F8zl1ZvNwCkk1Iw4PlQCFguA0ThyMf604uVWBj5Z6UFwJeY20L53DfNJ05YM8MxKjd sreB4z3Qk0SQ0O0AglsvNfUwg7tMghaJ4fGjONuj/VhW+zJe7qQlG+F1XomcFaK8HjxI2U6o7Jg VFnh666YafKBUaXQOxja6p/Ml4HkS/QFxGp4TOyV1dVXigfEezupsPDIL9CuU1TWcee2IYQ8jUX DwEAihgTi8DF5vg== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Include the PMIC dedicated file and add regulators to each one of those 3 eUSB2 repeaters. Tie up the repeaters to their corresponding USB HS PHY. Reviewed-by: Konrad Dybcio Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts index e76d29053d79..35580ac3430d 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -9,6 +9,7 @@ #include #include "x1e80100.dtsi" +#include "x1e80100-pmics.dtsi" / { model = "Qualcomm Technologies, Inc. X1E80100 QCP"; @@ -491,6 +492,21 @@ &remoteproc_cdsp { status = "okay"; }; +&smb2360_0_eusb2_repeater { + vdd18-supply = <&vreg_l3d_1p8>; + vdd3-supply = <&vreg_l2b_3p0>; +}; + +&smb2360_1_eusb2_repeater { + vdd18-supply = <&vreg_l3d_1p8>; + vdd3-supply = <&vreg_l14b_3p0>; +}; + +&smb2360_2_eusb2_repeater { + vdd18-supply = <&vreg_l3d_1p8>; + vdd3-supply = <&vreg_l8b_3p0>; +}; + &tlmm { gpio-reserved-ranges = <33 3>, /* Unused */ <44 4>, /* SPI (TPM) */ @@ -513,6 +529,8 @@ &usb_1_ss0_hsphy { vdd-supply = <&vreg_l2e_0p8>; vdda12-supply = <&vreg_l3e_1p2>; + phys = <&smb2360_0_eusb2_repeater>; + status = "okay"; }; @@ -533,6 +551,8 @@ &usb_1_ss1_hsphy { vdd-supply = <&vreg_l2e_0p8>; vdda12-supply = <&vreg_l3e_1p2>; + phys = <&smb2360_1_eusb2_repeater>; + status = "okay"; }; @@ -553,6 +573,8 @@ &usb_1_ss2_hsphy { vdd-supply = <&vreg_l2e_0p8>; vdda12-supply = <&vreg_l3e_1p2>; + phys = <&smb2360_2_eusb2_repeater>; + status = "okay"; };