From patchwork Sun Jun 2 14:56:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 801116 Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 D9E19B64B for ; Sun, 2 Jun 2024 14:56:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717340191; cv=none; b=Nyv2thj4Us0Mo3m9fS++uMskHVoqtq8QIkkVc2EeVpJtENZFks0/KTH+gsEDYqkZUfxoVoAjHCfyOA9zqo6FzZ7TkXvaICA0p6lFXdWYHDRTtRX0ENLwgmOBr8QsKHo7ijwatASeKtW39UlG8Z2ANZ6KISb0KWbq9XXr0kNmybs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717340191; c=relaxed/simple; bh=2ObBelmRt/in8OEiAUq7o4JF6ZbVPYm/ooscKE31fCM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=CC6XROCfH7vUl9jGMg/ROx4B/ejNN5GWWuGpb6OrsqJM+N0Ey7jlsl+KqOoXrG/9UAwctE6MtQuBr+ePZtomn1QK1Qgg+wJau2l1py/QBLAldqfsDVDZhTQle7SbNNgmnURKdcZUuQNXz8RJ0VFqh90HQG23u0Gya12AEkxlwWU= 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=IknShLyU; arc=none smtp.client-ip=209.85.208.45 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="IknShLyU" Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-57a2ed9af7dso3297468a12.1 for ; Sun, 02 Jun 2024 07:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717340188; x=1717944988; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=rHezFptI8xV5SgappCWjVOVv4jKoYs7pCH3rjH5W6Fk=; b=IknShLyUTfn0X98ykl28lUUE1PXxwiub4Dk8N74Ii47usF5E7mNESRb9yXsfBfeOUM eozInZgCp6rmWe8v7pCHmL6yb7OG97J6yI+UNR2J9k2ife5AAG4j0QeNfYlJBRIWSxXv n73h9N64GxE16NfyVrqovy02CRVzZS3Y0+p3Tm7mQQ7NwaO+V97OV0ZnenyTfckbqg3L CJXnZaPmnamAQHxQ2lWO+pMNkSGpb+o+noL05riZLnT3Z4HQkrf2MTrW/OV3blkBEtVN NrESdyQhDIlz9u8xXFcv2Drm3iEk+N0BqPBwWCgIN2EmY+Ybjk2gJDu468WrV5QAGvmX kP9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717340188; x=1717944988; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rHezFptI8xV5SgappCWjVOVv4jKoYs7pCH3rjH5W6Fk=; b=mwsnNls84Au3j6YMZpE4NSxnLHVnoPBf0/EF2cpbZr84CdLkGuErvBXggzlfAKkW42 SFLMdhs4wziGED/f00hszPpFHmS5Y6UBYUqkPNLWjs0EziPjVYy1wWjklXoD/3CNXCJS u54azEJywK42wPMmKJpL4QpCf7GRwwya6DM6W6TxDvHnPb6Jq3WHsm/NC+mew9PXd/WH AxbKJsdq65GF2Tl4GxzfObVAQutO/VIkYdFxAIe1HK6St+3UFU5JftvkyKa8gcM2o14Z N+KF8O1yEIn/zgI7Imy5zJGT0/1ZZhWoIDYmo2eu1T1gxAPQaIlt3uwDdbkMrSmb2n+s /vEw== X-Gm-Message-State: AOJu0YwQyD4SnTH49vVVGgoGlqm8buHrxnAcXUDxO+FLNC90QGr+ISLs Qj1LIR/7co47938aBnXtDjSCZGTw9f4sQH5arwO8ORadrGUcaKDeBzI0f9mNOTo= X-Google-Smtp-Source: AGHT+IERZgKay407I4D3jDF8XMysUJ/xtWwqu7R7su3O8OwYKnNPkwEB6giHEVwhFI9RhUnxNQsFwQ== X-Received: by 2002:a50:8748:0:b0:57a:33a5:9b71 with SMTP id 4fb4d7f45d1cf-57a365b2bd9mr5495512a12.33.1717340187967; Sun, 02 Jun 2024 07:56:27 -0700 (PDT) Received: from [127.0.1.1] ([188.27.161.69]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57a31b993aasm3764341a12.3.2024.06.02.07.56.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 07:56:27 -0700 (PDT) From: Abel Vesa Date: Sun, 02 Jun 2024 17:56:24 +0300 Subject: [PATCH] arm64: dts: qcom: x1e80100: Disable the SMB2360 4th instance by default Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240602-x1e80100-dts-pmics-drop-4th-smb2360-from-crd-v1-1-0adf4dd87a9b@linaro.org> X-B4-Tracking: v=1; b=H4sIABeIXGYC/x2NQQqDMBAAvyJ77sImVbH9SumhSTZ1D5qwKyKIf 2/ocWCYOcFYhQ2e3QnKu5iUtYG7dRDnz/pllNQYPPmeRvJ4OJ7IEWHaDOsi0TBpqdhvM9oS/H0 kzFoWjJpwoGaHMIX8GKAlq3KW4797va/rB2Cnp9h+AAAA To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley 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=1521; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=2ObBelmRt/in8OEiAUq7o4JF6ZbVPYm/ooscKE31fCM=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBmXIgZCJt7eLK3kMSxR7NGGEOcYD0tC41NYOWeB rCJTVSp5zOJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZlyIGQAKCRAbX0TJAJUV VkImD/9yH3m+NRfYG7iC1CB9cgok2e3kurQYQrZwBVmDYeQWeZT6UmAVhkq01grjSoLtEBePiwh iXNZoBZvZQ99DqSNhTNVK0OE8neD3/zMsGTzefMXmpwvfijZYiObi+BfxP7LViqg6fAm0bb08Fj H4JvreJkGRPSmXFbSWF2X/hmF2Mx9n8+0mr9NISb0MyHgH2HSX1Q8oRDNqM83ddtMdnlcB5LJGF BYIbSDAkQPvlt3W15nvZ9EL7IOA6D+GniFwL6mt0puhjpcQISnMsh4p+Ogk79o/wSU2GBG6hud+ +6qZaATiHk6Rud6HVHOEBufFXlkqIdpHA8YVxE/oFF/BBLtJ06erh+nSC/y6rpZfs2Vcf4wotMs szZOId/aHlzxZo05/HGLCxDzXIC661GbhTqNXYTvMWZbOrEUnsPbLzST4t0AyGumIJtFf+hlxyp u0VI/B3X3ZHAEgp7YAorCpcA249bFkIEP3RG5BClWuxvwDzgNFHRvMOVjuDePGJJO0omM5eHa9C Y9EofjRet7epPNIHEnELC1khtwyJpdC1OP3FA199M94kfZb+3Iguz+XgOuL2FCDmyOqXwtp8ree qHZeWbqkfe/kAwHI4yZDGcAlkxw92VRxbFzwbeKZbCdxU0acVlRZF0LK1eG9XmgAAThdAc0uRZW /R9SPkzJPh57bgA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE The CRD board doesn't have the 4th SMB2360 PMIC populated while the QCP does. So enabled it on QCP only. Fixes: 2559e61e7ef4 ("arm64: dts: qcom: x1e80100-pmics: Add the missing PMICs") Signed-off-by: Abel Vesa Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/x1e80100-pmics.dtsi | 2 ++ arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 4 ++++ 2 files changed, 6 insertions(+) --- base-commit: 0e1980c40b6edfa68b6acf926bab22448a6e40c9 change-id: 20240602-x1e80100-dts-pmics-drop-4th-smb2360-from-crd-501e8bb8bf95 Best regards, diff --git a/arch/arm64/boot/dts/qcom/x1e80100-pmics.dtsi b/arch/arm64/boot/dts/qcom/x1e80100-pmics.dtsi index a5662d39fdff..e34e70922cd3 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100-pmics.dtsi @@ -522,6 +522,8 @@ smb2360_3: pmic@c { #address-cells = <1>; #size-cells = <0>; + status = "disabled"; + smb2360_3_eusb2_repeater: phy@fd00 { compatible = "qcom,smb2360-eusb2-repeater"; reg = <0xfd00>; diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts index 3de7565dda19..0db2f3ecad31 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -502,6 +502,10 @@ &remoteproc_cdsp { status = "okay"; }; +&smb2360_3 { + status = "okay"; +}; + &smb2360_0_eusb2_repeater { vdd18-supply = <&vreg_l3d_1p8>; vdd3-supply = <&vreg_l2b_3p0>;