From nobody Tue Nov 26 04:24:40 2024 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 EAC8519ADB0 for ; Tue, 22 Oct 2024 10:46:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729593988; cv=none; b=YIuoACY7ml91EQYNc9sa3Xtfj/cKOeLT3jGryLFLB3HDZWPiaWxvUJJbyWBN3Pbj3c8vgK+COVzKd5Lw1YTHPwI4UesYRDCwXlrc3EvQeY03FYGq5zh4ZFKRY/kHfFxj/3ldSgxlA3NMB4V74++wY6dB/k33RcA1Rl8IjQoTxWA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729593988; c=relaxed/simple; bh=s5wW5s/cD5yqaf+Kj0BZH7F+fV8K110LaMpqTyExA5U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aj9/GpYKObpQaMr2LkJDJEWbeY94zTfvEb5t1UlNs2VMfIvDIsKlUcncet9M+C5+hT8vXZTs2TRFb+INH/n7Mz3tXDS8rApiEGz1A3N7dj/ftJS38WBwYrZ0hxmmuEJBorFey6GOJfnZedfS58flGEDWMqGHGrUr5qsUdpV9PXw= 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=GzfCQBXf; arc=none smtp.client-ip=209.85.128.44 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="GzfCQBXf" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-431688d5127so31290725e9.0 for ; Tue, 22 Oct 2024 03:46:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729593985; x=1730198785; 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=3HC6qEeTLNotxJtOJr20jgwGYguV67cZzDqq4xFtsao=; b=GzfCQBXf7bmZvTWsLdpswYDinecZEiQ2rTw/C3WltjrShZPp9jyj2+xyjniqAoEVhh Wcm8sBYjSPYdueXdZ0NxJ3dcLpLmeqhtM28NAzstiwlI5Cwzk83PAJdTnYmbd3toB6jo N5SDAfZgEi0J+VwYFbyGROvIxGhPdgeuJPuoMnDckkqAo6XYVKrk3jjK1QjZMIYmFq/x qfIgYgMKiMyqdezniFsjlG8NuLEoDqGm9+u/JoQ2UFeZy6i3lt1JlkRlcwnv1qkiFBtZ EVjoKP6ux03F/RaBNud8lIsNPWUnCyC4MEhBMhOZndo0w9WcrdDc/03q8YC1FqIgRlZl T40w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729593985; x=1730198785; 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=3HC6qEeTLNotxJtOJr20jgwGYguV67cZzDqq4xFtsao=; b=V/P0mNCS1/3GKE970kuK2Xvt/M409ShRZPeZizkPMPf2kASge0mts+ByMqpK9kdcUp OpCn539CTBSsO0NBLH4BHyOcRtgY69WF9WYU4iG65QWhLjJ6Jlcrpon6Bsa1/hgpr2G/ SED1L/eagxTmjSJwkKoIvi2q8oQBoChUGQ18lXVUIHUNISyu9we9H3g5udWJetM+s1h9 DqwfMIb+wXh/9wOmRYTY8HJps9ab5R3jmDrzfxS0/UoQtKX6HvfWONAVlDy6BKkvEsk5 CAYCXAH6C9tlWKnkn+dphOXQ/GOJ4J8Wt8Zm8Bo2eYgHuxBsNgvX4snf5vvVwK2l7dw8 A7fA== X-Forwarded-Encrypted: i=1; AJvYcCXDHpzqElJ1QF0W4KupD5OB9XvXo8qMLDXceN2j/Qww+VwM4GojrGDvrrXH4oArBka/8ltin8Mk3Albwb0=@vger.kernel.org X-Gm-Message-State: AOJu0YyRF48KXqUDFZFowUaBlPFKzReEpnLGDgq9HhejkiiY0yC5r/3w ZPI8M6l4YH9o79kScKdmfDwmuKlFcIyg5VTNyX/SvwNkx5MpUk33WxYpsj7nKwE= X-Google-Smtp-Source: AGHT+IF4EHhL/u3V1fu+puO2uNNossEwkWSRsRWHxmV+fWsZUt2jagCi/Ri9XplGyjUS89+kB4HviA== X-Received: by 2002:a5d:4f05:0:b0:37d:462a:9bc6 with SMTP id ffacd0b85a97d-37eb488633emr9552000f8f.36.1729593985273; Tue, 22 Oct 2024 03:46:25 -0700 (PDT) Received: from [127.0.1.1] ([82.76.168.176]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a37e1asm6351943f8f.20.2024.10.22.03.46.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 03:46:24 -0700 (PDT) From: Abel Vesa Date: Tue, 22 Oct 2024 13:46:09 +0300 Subject: [PATCH v3 2/3] arm64: dts: qcom: x1e80100: Describe TLMM pins for SDC2 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: quoted-printable Message-Id: <20241022-x1e80100-qcp-sdhc-v3-2-46c401e32cbf@linaro.org> References: <20241022-x1e80100-qcp-sdhc-v3-0-46c401e32cbf@linaro.org> In-Reply-To: <20241022-x1e80100-qcp-sdhc-v3-0-46c401e32cbf@linaro.org> To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: Johan Hovold , Dmitry Baryshkov , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Abel Vesa X-Mailer: b4 0.15-dev-dedf8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1463; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=s5wW5s/cD5yqaf+Kj0BZH7F+fV8K110LaMpqTyExA5U=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBnF4J7PUJaCAZJ0pJIJeJecNygy0fQMgpvGo7cb h4s5sNH1xqJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZxeCewAKCRAbX0TJAJUV VgoLD/9UpJuCPF/P9ccNa1Xtx5vxdUngzKAGlZBPNL16KmLSni+KKEHACAOKXxCfuXCTH2xVHF4 rQRft4oTWHeYDoabUOvFb8Ml2pMGTxtTQIT28rH4xQ+ilIB/TqOs3XKv/pRTRDP3QGtI+YZr7/w Y2IuhfYqKG71oM/PDJRMfzbDKgPQNuuxZa7Dk2fNAtG6B5vGZteiGOLCojEDmJS8qwq1RZaE6FA LUbTW7Y+6g+L3vz7yJUgqg0p9+A1PNyNjo0VOYtLaPXOqS7yotE8xDSXoe9dYyj7B3LLzVe2c6H Xuw8fCI0B/muIiT9aAlGvd+ZEszsjWtxsj873LHn2F9j8rOF6Ub/QEdRNW8VMk67Q65aIipDXEM pRUwZcaKTtexBVnDP9++Um/2faVrQPDnOR+EllVF61dnCoSV/+3PgtRBbCQF9dBL7BcOngY38Js 23QjLrq22+NC205lHGi8PPnOgCAOCzWeQVlO2Hnie8YG1ULpiqyXktwSIj4MswaeLAO8VSf0H7F JzrW33e568aX+lS2+lSFHFAY4n1HWbJWcJrXY+0kKMe2UMegdXWS4P583b4OgRXuWwa3B0MXkIQ 1cNIE+b2b7I5yLBLr8nGVQApYQTgQVdNtCYGGFfRa9I89qkWlUZPM5hUeicyXNWdXZdhE9D9KMl vfMpboUDBFOnJDQ== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Describe the SDC2 default and sleep state pins configuration in TLMM. Do this in SoC dtsi file since they will be shared across multiple boards. Signed-off-by: Abel Vesa Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 40 ++++++++++++++++++++++++++++++= ++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/q= com/x1e80100.dtsi index 2d0befd6ba0ea11fdf2305d23c0cd8743de303dc..59cedd16b174f01d0db90caefd2= 555f5516c5f7a 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -5741,6 +5741,46 @@ rx-pins { bias-disable; }; }; + + sdc2_default: sdc2-default-state { + clk-pins { + pins =3D "sdc2_clk"; + drive-strength =3D <16>; + bias-disable; + }; + + cmd-pins { + pins =3D "sdc2_cmd"; + drive-strength =3D <10>; + bias-pull-up; + }; + + data-pins { + pins =3D "sdc2_data"; + drive-strength =3D <10>; + bias-pull-up; + }; + }; + + sdc2_sleep: sdc2-sleep-state { + clk-pins { + pins =3D "sdc2_clk"; + drive-strength =3D <2>; + bias-disable; + }; + + cmd-pins { + pins =3D "sdc2_cmd"; + drive-strength =3D <2>; + bias-pull-up; + }; + + data-pins { + pins =3D "sdc2_data"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; }; =20 apps_smmu: iommu@15000000 { --=20 2.34.1