From patchwork Mon Jan 29 12:45:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 767713 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.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 B427D6166D for ; Mon, 29 Jan 2024 12:46:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532363; cv=none; b=hdgvXf6bZt2N7O4AiZ8Sh936BLdU4TBFnuVq4/TQ9vxagxiDSBIgUg5UL08BI3ymMflUYD2CRSWMy/JHho5f0hQIXZRVzsA3GJP58Ql6ih3WI5n5BE5t1EZ/vW5b9bh3vaNMU9do3V2jUUi4U/scry3h6YD9UBl9KYE5XEhTSGQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532363; c=relaxed/simple; bh=hGwGcRNAY6z3nEOXAcPO/GTMblUWuls97b52uwcWv44=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ewXU+m+ak7bDNgq0ffeiq2EMp0yjdanLkPkeyQQLmOMlxxKSbwz3OjqcbLQeHtGNAxViVVdEdlriaiagQaX0F5Y8Mdi6p7RpaWz75TsOajIPRdCTvZhmMLtId4A/79PEXzs6ZhFz7XAOnSRRDCWWoWHDRz/kKvuamMnBX9bumjU= 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=f89HCGaE; arc=none smtp.client-ip=209.85.218.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="f89HCGaE" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a358ec50b7cso195465466b.0 for ; Mon, 29 Jan 2024 04:46:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706532359; x=1707137159; 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=NpWk+gUI1kF8qhFNhkLXzIkhTvjq9VbD2XVbc33Jwiw=; b=f89HCGaENbIPFUYHtFrySjruB2PS8oDgaOX4P4pIk0ny47ahTjXa8vUKK40kxwc0fc V+4jh6Z3PaWH4jt8Vtq5jHLkxJeCMF1MBoP6Vpj0jYg8rJN+3hfF2uRnZqVlXeMG6pjP VQC8o6wn6js8unYMhUBdwSfsQScMwwbRn0LHRKpuTrkhgPGnsjHGhyCUZ9nczKQtpcQ0 3hK8oZIog7ggVv1WXESVWlwkWlCLkyv7G8W1BIiLYakYfzFawZOWRVjqLoXEKfANJFNh MwnaGN0byIiurnBq+rnTiFQbie7UuI64pZIK1mH5JTV3sidE0KvplE4rAKFJIlDIXZOe LUvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706532359; x=1707137159; 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=NpWk+gUI1kF8qhFNhkLXzIkhTvjq9VbD2XVbc33Jwiw=; b=CE1wZv4rht4ECmfnS5WMjlJp5ebrv0KJOLWa0kl81y3/gzcsrWJKnYnqs4eHJ41O/i nDrPD1eLVntQ0+54H1+fxZtbvr4JfNAa8SUn3BrcR8qCws12aGbIAGMAaLcb0wCy9ynr BC5Paq5Jhw5MMGfFPUL6IpMvZSlSUl1BobYedWOjxRo1BMZSvq/UmrXHB78WGzNSoPxl x8X/rugvLLyojo+NxzdG6IkCdu3DQ7f0eqyyIo764bRo1b2/XjW410hXY7vO2Iz/FL2L sL1y0BOduURdaVGuCz6faEbVfa2GMwBlwkPwWc7U8GU6/+EIMKxxHcc0RRuYWeFQNWU7 mv5A== X-Gm-Message-State: AOJu0Yx4X8sACnJpIzZKtGTab0T08ZPPmz+2v31cK3mz1UOJ2bgqdzmL 61mBSjvs6kTGUAh3Yfxd6zHUXiSntaRTcuABRCkPpvGc55UN22DDbj1pBzUovtaZ+zX8v4Qn/BX K X-Google-Smtp-Source: AGHT+IEFdLHbIWA1lCyeH070PYYC1qOxOggYd61GoNaeLfLeTWzt43j9myrHAEBHenolYV8OPlG1hw== X-Received: by 2002:a17:907:1608:b0:a31:1a10:3b1d with SMTP id cw8-20020a170907160800b00a311a103b1dmr7244889ejd.7.1706532359604; Mon, 29 Jan 2024 04:45:59 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id 20-20020a170906329400b00a3527dba974sm3041495ejw.35.2024.01.29.04.45.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:45:59 -0800 (PST) From: Abel Vesa Date: Mon, 29 Jan 2024 14:45:33 +0200 Subject: [PATCH v6 01/11] arm64: dts: qcom: x1e80100: Add IPCC node Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240129-x1e80100-dts-missing-nodes-v6-1-2c0e691cfa3b@linaro.org> References: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> In-Reply-To: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1078; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=E0uYI6lqGwCrH+pcr7C1xTC5esqpTyDE5ExbYCu6A1E=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlt534TEuZymAVak3DFDwaveHhLMUkHZMt5etYU GlvT26lP2GJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbed+AAKCRAbX0TJAJUV VlxkD/0ZQ6lJ8q7QUTgeH29F7Mg7VoB5rxZCMtj9FhGRV2BMjlQCi/ms4HztnraBzCukQpRwakS pX7AjlY5aQ0SN7X0SF/UTzx32dvTjv6fxM0SeM/IZdERVC8A4VvDAug3bWSqYDlOwe0m3HFH8HG MT0IYRf3Bp6P7EB7y2m2ac2FXgwgo+U5Tac4Byzk1VmYAA/xOyZSa7+GlfsAljH1Gz2zRnRvY5P +NzVPceKoIKLh8ao4iF9QsvZzfN2oed/ZUisPH0+ZhXbm7iMtByl5kqJKgDyMQ7lQAYKEpv4Rj+ yLpB+0R355iuFxfo9Sy/GkC1ffJkR9UYXgJIWbJv/hA1aIoqHiFSh/yOK4VFD74jEa7jdiL5JnM WbvKWmVwcYqsBe4WjeOqFY5S+NGBC3yG9tcV8t9kpS02R7sb2pWPAslXUk44E+880sZJfpAYYG1 fbZUyLnz2J/lFIPEJCwh4qWdlVKSNMe8NIeUNUpNlnqcDaoYHiujl30KLpZYvw1mkX4l8ZiADNt KN1tde77GUZfoSjqdXduZdqIEBgAGnmbdCuGo2AI3OD5JKM4bzJl4cjDkrl/osmbQhJhX0YnLN0 7StaGuiFHMlS3JyixqjvZ1ujxRDMiJw+IVV/04fDizn1bY17HwjvAqKPN3nptCXoo5Fa6659ueY 7J487YlPXTnocbQ== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE From: Sibi Sankar Add the IPCC node, used to send and receive IPC signals with remoteprocs. Signed-off-by: Sibi Sankar Reviewed-by: Konrad Dybcio Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index 6f75fc342ceb..954f2bd9b1de 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -691,6 +691,17 @@ gcc: clock-controller@100000 { #power-domain-cells = <1>; }; + ipcc: mailbox@408000 { + compatible = "qcom,x1e80100-ipcc", "qcom,ipcc"; + reg = <0 0x00408000 0 0x1000>; + + interrupts = ; + interrupt-controller; + #interrupt-cells = <3>; + + #mbox-cells = <2>; + }; + gpi_dma2: dma-controller@800000 { compatible = "qcom,x1e80100-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0 0x00800000 0 0x60000>; From patchwork Mon Jan 29 12:45:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 767712 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 10CE8627EA for ; Mon, 29 Jan 2024 12:46:03 +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=1706532365; cv=none; b=eyDZYBWnguJ913SW1ScVVqvWM3M9sCpBrOccAePUMdqROrodQufTAOTFmHfvszGvM8UxXJizcDNRIMJyPCAJ3EGId8wYtc7BnBtywMeM2U3GYUFtDurIrB318G9Yvjaxt9sHDxF7fhlW8AY8ujeAWjVFDKAW+iL4O7Iv4mIwxvE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532365; c=relaxed/simple; bh=TcSH6PTQ+XJnw7PPfCZDpuCKVk8yXAt9SaMXMBrCZkA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lpkUAKdXaEyuK5AT1+oYxxeMGcMsLBAmrLdUr8ztAw6osZ6ZErGgpXne++3TYEIcxbgjKX1h+HPd5++nRyJ2zS65gsZnpiKcy8DQLFU/dSgZ36RsqTsZZUowoekbt/Xu/7vnRVDLoy9Q1GLO6MxOVVGlrFIilJzrvXgrVslkdMg= 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=t0If1H5z; 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="t0If1H5z" Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-55f0b2c79cdso934073a12.3 for ; Mon, 29 Jan 2024 04:46:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706532362; x=1707137162; 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=tYDA92LfZ0itUlh8YMaZwnv54pbCjg8ilHywXWo7zrM=; b=t0If1H5zGpghSzFLihLsH9a6ZumcjwQqfx85LsdGDFbGcjHzxKmuySW4y744lDduaT T//CU0jPKnxhKBYpPQPEg+voDXG5mKnpoLgCJ7BqSI+b4HlbOed1MTa5SFfapdoyghKE kxTTm4ayeGb8AxLltafrcQiEP+AAp2wfjCOsdRZSIWvczw5RdGZ9qaYbcOFmccSybH8+ dLNPMEY0aZlN2fOEMaO/ajzsqdMLhbs9mNrxhFOyTt9kAkZH4Qvte4G1YBzIXJywy7wf OiCNfjo1QQmWFqC4eKNdXvy0bSdHBlciVNzd90Atenj0ma6QvnY0GQw5nvNo+MojkwFo nspw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706532362; x=1707137162; 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=tYDA92LfZ0itUlh8YMaZwnv54pbCjg8ilHywXWo7zrM=; b=GkyBsMYPPIhz0dbI8ViNAeSLWrYq2DMvBMzEOUA9Vt1zwnkHHmSV6kLhKrnLij7+IZ hpnYaGX+IHugXk1n7q7vWJGNS2wJMG5oxxoTpSfH7FshHugDVHl0bh0pLOOgJLZJKskV uTEjp0dcTu++2rm4axCSQ6ggdPVXaTimBJFXaZC1y5nYFzo10sjx6Z1Z2mgJvVdDFINX YXbYHW7Ovyjlsq9PGVXcnM9gPsYbekcnAzb0W/V7qKJNEJ4I5TFPa22Z1RdHIgMXnvGM LtstqBf8QDMvl7QYCph6nUvW4LjDjDPKgUA+WTUR4LVtl9HSxLrKiNxDM679en6OO543 o2cA== X-Gm-Message-State: AOJu0YwMHif+mZtu4nPM1ia/jeLnDNjf7h/7RMM2vO0IkrFhtQJmYSzm nw5zv8jQTB0DJ7Xcnr7jZQvC4+RnqXZEQ4hgreDT4gVffwFFerrODficIDzj+Ji3QZRB70EexSJ K X-Google-Smtp-Source: AGHT+IFG+vHXui2FAjK51UJmxwGbCeTs7i7kkmH1+nxcJXNA8xcpbqa5Ho/ZX/2SZPwqeUtzeNsr9Q== X-Received: by 2002:a17:906:1b06:b0:a35:9a1a:620c with SMTP id o6-20020a1709061b0600b00a359a1a620cmr2572688ejg.45.1706532362191; Mon, 29 Jan 2024 04:46:02 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id 20-20020a170906329400b00a3527dba974sm3041495ejw.35.2024.01.29.04.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:46:01 -0800 (PST) From: Abel Vesa Date: Mon, 29 Jan 2024 14:45:35 +0200 Subject: [PATCH v6 03/11] arm64: dts: qcom: x1e80100: Add QMP AOSS node Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240129-x1e80100-dts-missing-nodes-v6-3-2c0e691cfa3b@linaro.org> References: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> In-Reply-To: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1127; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=Q8J4vtmwt2/riBkSH8HC4PZAyD7bl2d1ez2isASmfa0=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlt536IeSZOwzsaTqgGH9SznRpkkEMUmxUrw52H QbD5HI7rHaJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbed+gAKCRAbX0TJAJUV VqTvEACm5CwcWhpybi8NaxeeUbM1yS2Lt+frG7MuLniJUQe7Alem4E4SfVncTG1JyMFK1ZGoXwA akAWvUY4TlwCn/YnZCQNYJQ3ZvUt7V7s7JaG+1Qn62xf3S9iFevmXI0xsizxkORrVNPvBCIkFY7 2k4HbjPWoGw5AymUzJ/KZX6axsFT/FAH647QAReXR8OfusKDyGyv7ExM52BXG1W4PYxK9JTNAHo ciDN1CxXZR68miNzKXrwnHqzZ4nKfh6L+MmURetNB+vrLHMOrHEOfOxyhRs+E2Q+2VC/dBCg7kn yH4fmU9RMcYwuDHJ49aRtwzbGKhbSdTMk4ZOOFeNz+Zk69D7WId83B8SOOyp1dkcW6X3LR5NnTP R3yP+iT4anxTR6zF6hEiGTA6DBuUX4IFwdsoiFGPswgNZOCy4jy7+fXws0knxNf6PBUWNTe0Dkx Th13y8MsjBvmnx2CGMZnTbgT4rRGztgUPRrX6oc7X+l50vBYVDatfW96OavP0NdFgWZsSldSZwJ Uiq1PjW4ISytFkHgJf8gqZEnycvSPSt10MH96W3A9dIDd35SP0puO+N13w0257RuN4gqgzO6e9j h2PXus15eXbfbPW8FOF589vYrdSq/5X3KmSpE/Hj0Jx3kYHTaEh+LYb3GSBTIteDJxcVHRl1y9f 2/SiYexSJR5udEA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE From: Sibi Sankar Add a node for the QMP AOSS. Signed-off-by: Sibi Sankar Reviewed-by: Konrad Dybcio Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index 1210351b6538..3790d99eb298 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -2663,6 +2663,18 @@ pdc: interrupt-controller@b220000 { interrupt-controller; }; + aoss_qmp: power-management@c300000 { + compatible = "qcom,x1e80100-aoss-qmp", "qcom,aoss-qmp"; + reg = <0 0x0c300000 0 0x400>; + interrupt-parent = <&ipcc>; + interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>; + + #clock-cells = <0>; + }; + + tlmm: pinctrl@f100000 { compatible = "qcom,x1e80100-tlmm"; reg = <0 0x0f100000 0 0xf00000>; From patchwork Mon Jan 29 12:45:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 767711 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 BB01662A07 for ; Mon, 29 Jan 2024 12:46:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532369; cv=none; b=CNxmexQw+c1V5BLlZ7AKcB6XdmBgFGVVrdgLlc8mjPWXLDVZ80moO3TEjnz4uCjvIBP0GS81vsCJdtpNU6jhAieyYQyweVE+OwmyDRadjpA1f80MG46zv3pQwTxI2dcIpd+CbuBKx8H6mbSxeekp6VcauKF9pAwacajnhWutVes= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532369; c=relaxed/simple; bh=Z42Q6xkOTrQTsmOLrP2Z5e9O464q2Y3rJZ2PkdjxS0o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=N48asFP7ACxmBe0XspnEZgc5xlMioN6floHOFnf/UXc7D2TIoI7hzYNvJEO84rTcv/CEAM3Dd/AOR5VPucIrOWxM+cNcJneOm74RW9qHAJRMYKsnBm2MnDLP4XegGNtD9VbFcRfQSJmBmXj/YKredM8H26F9KAme1KHhq0i2iOo= 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=L4jUIK/Y; arc=none smtp.client-ip=209.85.167.54 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="L4jUIK/Y" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-5110c166d70so1763001e87.1 for ; Mon, 29 Jan 2024 04:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706532364; x=1707137164; 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=+nSUoAEGodpT/nnxbj3AEPT4VUq3C0Xk/xRQ9kzlaI4=; b=L4jUIK/YJzdD7124Jnoe+kHRNBxmHSt5HexEl74AwzpLObMBI/pi0FhuRCv89phIcQ qNTgYKkiF/p7qVqQ5p8vfDN9xKXJN4v4ENgdytZ3MFwzgit8SPpPnldCvrsK6QNTx70b GQUTAL1ixiL2LvvKPzl4X0atO1LQEVSBoCaAUF829Cu4CHcRX1wHFBB4w59jJZxtP/Bu 8YTXiGb+UyCFAgNHYIyxzGG8CrJOPSy0IF1r6PVsY+Gn4tTh4okWCtWFXqEF4m/lQLwE F1UyLeBSNIYICUS530NFK3RmZD1GT6bC39m9nAlsC3LU2Jfn3TmvAAZsjsxZwZqiNa7T Tbag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706532364; x=1707137164; 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=+nSUoAEGodpT/nnxbj3AEPT4VUq3C0Xk/xRQ9kzlaI4=; b=u6RIlrdLey970F5NIZPiKj+nbAtI2XSCR3lU0VggvLP1QhXc5AXnLkx2d5MlD+cw2x pcJWzghu+dcqVz5hPRcl58FBtF/z3pRuAb8kOV9LzHUdpvI9KWTE67GpviO73obp1Bh8 xd8zHiJ7SRNhOCfA38inD118AY+2rkif8W7w4dXXSKb6cgGmDuAMxVl01AbgE65qs7Gx 3DhHbvQqXQnSSrbr+XdvRH3SWIaCv1shdCIaXt/cLZEBq8mdchP41GpPt1zqhSbmCEYr dsDPqlqu7Ovwu6DR76YLpBjea8DFxo95GkZUFkzLBwXGj5mqJ8Rw0lfDQUX+9XSSpuv5 ZyXg== X-Gm-Message-State: AOJu0YxJRaGiShuKZNkpk6gS8TzN31TY9N4VKj+YF9kL33TFCDsb3yej 0rKRRJTvjsMoEZoJY3fFA9w11J3TSb4vARGCMn5ITidWB990si9DGPYJIfpfpJSfN1k0WTOIOTD S X-Google-Smtp-Source: AGHT+IFnvyM5aCOc/uryUcttgaEiMM5xVIifd+aWouDtbJrEMUl2c4KCoZ0GLvp6AUZtKeLyGOEBgQ== X-Received: by 2002:a19:ca0a:0:b0:510:d29:cf57 with SMTP id a10-20020a19ca0a000000b005100d29cf57mr3342919lfg.33.1706532364563; Mon, 29 Jan 2024 04:46:04 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id 20-20020a170906329400b00a3527dba974sm3041495ejw.35.2024.01.29.04.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:46:04 -0800 (PST) From: Abel Vesa Date: Mon, 29 Jan 2024 14:45:37 +0200 Subject: [PATCH v6 05/11] arm64: dts: qcom: x1e80100: Add TCSR node Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240129-x1e80100-dts-missing-nodes-v6-5-2c0e691cfa3b@linaro.org> References: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> In-Reply-To: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=873; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=Z42Q6xkOTrQTsmOLrP2Z5e9O464q2Y3rJZ2PkdjxS0o=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlt539DeTIBZk0L675oG7sTBXCNIKvpknFwRnYf BpPNFRm+KeJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbed/QAKCRAbX0TJAJUV Vpu/EACSR0eUj9Ur/xMANcI1GVBe3B5TW0LQFUQY2stOlWLd7wGbyW0xoK5dj2uen9DF/ilv4kt vFqJiKVNgPJZAlRRhQyeixbCITZxYf4OMr8+AwgjJR3Dwm6rY9IOr6pwire2crdn4WTwUsgxPAe B/KpuO/aeWIWhCixDr6E4L0hCofHqUPkazhA8FLRSQqXBmPmYkbNAdreAQyCsrxQfXPwN6JNhVQ 47D03DaGTGxW1T8g1R75fN19ds+gSB/eSOWETbWwuODRakB8tck6vC4gOPsRYS4Xyvy4ipXGX3F CzJZ9WhEsp1T/kKm5hTY+rtGKhq68V8VnMYaVWsMI18AXwUMldsSXgqh7gVYSlHEJIbO1KE8nVi XlVYfpiS0VkJKtoFUlAIk1RNDfVaTrzJr2VacFSurVxcehtgl0lJsmz0zraDDJhNHCSBcZbrhsC rYdMpUjemAEKr9N/GunWrQz74p/IBQnrftqArhkcslV4H6g+deCfCFYkqnXEF1GMDtVY5CmmhjZ 7F/pC12wCe8ti+5o9FtrxP6kotb9DN/VhnWJKJnljxe0+UBQsQX3bEFt5yb6S+wHKARTSBPZQfr 6/o35cu83QEMQttcfb4x/5YF27uamJpl2cuRS/leopC+2XTkQ7ErRp6lug66s0IJq5ggq10IzSl f2XvgN6T4poACHw== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Add the TCSR clock controller and register space node. Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index be69e71b7f53..2b6c55a486b2 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -2606,6 +2606,14 @@ tcsr_mutex: hwlock@1f40000 { #hwlock-cells = <1>; }; + tcsr: clock-controller@1fc0000 { + compatible = "qcom,x1e80100-tcsr", "syscon"; + reg = <0 0x01fc0000 0 0x30000>; + clocks = <&rpmhcc RPMH_CXO_CLK>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + gem_noc: interconnect@26400000 { compatible = "qcom,x1e80100-gem-noc"; reg = <0 0x26400000 0 0x311200>; From patchwork Mon Jan 29 12:45:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 767710 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 12A09612FE for ; Mon, 29 Jan 2024 12:46:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532371; cv=none; b=OoMmYwzqUmZZcxlATU6Se3FyjZF9mmI9iHJ7YSJz+1MXT1b1cj9DtBfLO7u20W15l4MlLajYGvrH6muHMkdCH6V8pgzjnmnUw8eQw3JAkaNlhxWzVCY/AMpQIdkR5xiPaksny+z5Sep2qqsKO7l9KMSD3Hq7g5Bxm0/6FISqm04= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532371; c=relaxed/simple; bh=bQ9nY6y+749h7uc3TVc/XBh7v5agWPCE6eWTcKwDRAQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=U/oZfFTBRQc5cHoKe32Spw3XqAK00dBR9gwhkrb9yhcF5KFVg5EP+dowmY6FfgYemx1JHoD2cn1N8x0O8hvDLT1q/uUtSWNrd0w5GWSSfxgurnKI3iFfF3mrj9fMYnHXnWRq/T2viy1P/C7GxPk8su27vHYYZsN2Ypkx7G8OjPo= 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=bTgkIWJW; arc=none smtp.client-ip=209.85.218.46 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="bTgkIWJW" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a3510d79ae9so269520166b.0 for ; Mon, 29 Jan 2024 04:46:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706532367; x=1707137167; 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=Z+yz9soX2acVnF/GYpskrWdSX3G41ibVCKEQCQUQg4c=; b=bTgkIWJWeM0B8cR8lO6mLRuN3Kfbsh0UCDYz9vxC5vMIuHtD3dMoejo1fDNVZ1aDvR 0UEhiQ+/9kBT1yoO95+mjp6y/82qrNPp9dMyFSmxYb8tawIn26wRV+zJprwRyA6E5mkW MRN5Xfajn7RaYbyUwmSUBMyO3S8xmLeRXvPtywE5APm97N7IactpJxtN893sUX4cxGR5 eWSI13HvQQu/UaIbNZiI3/JVhHRJws/1yqQiZFgkcg/QWIELqntFu46yfPwnEr1svz0v 6wyvbuJoiIQ40F24Zk3nVJ6G3ULzJkXINVFCgm9Q5Q5Z0OkEfwaGbafbVFPcJo/UTrPB OV3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706532367; x=1707137167; 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=Z+yz9soX2acVnF/GYpskrWdSX3G41ibVCKEQCQUQg4c=; b=XsEyzw0N2hCx5OuB1pI2IAZ82LOdGnWSFalldEoXko+b3bkPOEzhBZOXdPlRRJkuk/ +gK1Y6Zki1zpmB4CmuHpTccrsP7+hnfJ92YW6kIS637refLf7qs1JlCpq2ZGhb8X3NUH saTWtyB/17Wi3wHQPdImnlq97ZueLJRFnSZ7pIQo1BweZISfLTGXjqEQobj/anTHGNBw mtGBPFl8dS4lnsBr9bI9GY+5AGNy0PJ3yPjR37Bq2f9LHevVOiKU/Bu6rOn63qzz2RRF FlsYVWqsKOFxPGlTLwkoQzTL8Js0Z5sLAmBhpFwqFSNBGmgZMyNA6nIPKjYeS9iml79K CPRg== X-Gm-Message-State: AOJu0YyQVkbndHALInLwYMLJ4gOduSCxhyIhga+/1oa2uNaq3ZkfXuoy rRHxAwv5WrYrBAISnK6gcPENVywZ6P67E3fw74vJNd6sY67YPRzBs0Qp9Rmh+XHxBcTRltGvqAa 9 X-Google-Smtp-Source: AGHT+IH3ahiGKOcF/+rvx2NKTGbUJYWpIJpcLvQR89KzTal2kzysNyaWZpWTMXB1kX0HKyiG5hRPoA== X-Received: by 2002:a17:906:7f90:b0:a35:1e25:5a2b with SMTP id f16-20020a1709067f9000b00a351e255a2bmr4454562ejr.38.1706532367098; Mon, 29 Jan 2024 04:46:07 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id 20-20020a170906329400b00a3527dba974sm3041495ejw.35.2024.01.29.04.46.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:46:06 -0800 (PST) From: Abel Vesa Date: Mon, 29 Jan 2024 14:45:39 +0200 Subject: [PATCH v6 07/11] arm64: dts: qcom: x1e80100: Add PCIe nodes Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240129-x1e80100-dts-missing-nodes-v6-7-2c0e691cfa3b@linaro.org> References: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> In-Reply-To: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=8187; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=bQ9nY6y+749h7uc3TVc/XBh7v5agWPCE6eWTcKwDRAQ=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlt53/25RMIlBhd+3toZf03E+jnzNDKrQTm1hGz 9RiYeos9LqJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbed/wAKCRAbX0TJAJUV Vs4nD/9qhNwN2J8WHXyh1dLPb5z1ZvU1IdGTZ6ahNbTFClx5asN7wnTctsprd7F8c/RYkRQ2PhU li16yAJo6gfQ+cOOcB+9BSGMQeNNf/9xp673y7IdDMdafjPFGGkNb2N38eQP228n8XMEisgYzB4 pNazfkGf5ls9tOJy1RyJ111pg3yWncQ4NAP23vDZFTTEEoxchXMYa2Ef8Va6A6d5e/QZQxjKdSk D3xdO8ECfAaM972J5/GIWCCbWNEnE6fhenKW6e794kHpiyvmivpyCp5rcmxTb3uYYqKUfXs0Pv2 YHN2CxqiYH+0fLG5bp3gYh89CTbrfWRY2gf7b+YdZSTFC2WKsuJ9Cz4oPbLGuGGVvLOy0W9Qc3c brU/S2PvIPEMKrpjhxgtHfo7u5pdyZHNRJPUOwzZYOwtrS0De+9zpnPnQfc3UwwtmiqowRcv4pS KLyuRbyYGdgLfPKnzcjrFEl1Qdfvc6nLRY7ejff6/wfz8zh1q9vAQ7N0khWkM3wZyZuLl0uaMNm jj1lCBgNd/JEXMXyBheY8ks1qMAuob8d9cnC71ds8CWeZrfXP886RIBfddlYUF4P+nMutOIlEku 0WvtaQRnnIW0PMrT1oDVK8lmuvsSqeIun1rjprp2k1Px1omRd3QgufPXDWdTIkMgr7sTCGg6dKh SD42ovgKuqUmUCg== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Add nodes for PCIe 4 and 6 controllers and their PHYs for X1E80100 platform. Co-developed-by: Sibi Sankar Signed-off-by: Sibi Sankar Co-developed-by: Rajendra Nayak Signed-off-by: Rajendra Nayak Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 242 ++++++++++++++++++++++++++++++++- 1 file changed, 240 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index ee61e1cbc5af..20aa04aa80f7 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -732,9 +732,9 @@ gcc: clock-controller@100000 { clocks = <&bi_tcxo_div2>, <&sleep_clk>, <0>, + <&pcie4_phy>, <0>, - <0>, - <0>, + <&pcie6a_phy>, <0>, <&usb_1_ss0_qmpphy QMP_USB43DP_USB3_PIPE_CLK>, <&usb_1_ss1_qmpphy QMP_USB43DP_USB3_PIPE_CLK>, @@ -2722,6 +2722,244 @@ mmss_noc: interconnect@1780000 { #interconnect-cells = <2>; }; + pcie6a: pci@1bf8000 { + device_type = "pci"; + compatible = "qcom,pcie-x1e80100"; + reg = <0 0x01bf8000 0 0x3000>, + <0 0x70000000 0 0xf1d>, + <0 0x70000f20 0 0xa8>, + <0 0x70001000 0 0x1000>, + <0 0x70100000 0 0x100000>; + reg-names = "parf", + "dbi", + "elbi", + "atu", + "config"; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x01000000 0 0x00000000 0 0x70200000 0 0x100000>, + <0x02000000 0 0x70300000 0 0x70300000 0 0x3d00000>; + bus-range = <0 0xff>; + + dma-coherent; + + linux,pci-domain = <7>; + num-lanes = <2>; + + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "msi0", + "msi1", + "msi2", + "msi3", + "msi4", + "msi5", + "msi6", + "msi7"; + + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0x7>; + interrupt-map = <0 0 0 1 &intc 0 0 0 843 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &intc 0 0 0 844 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &intc 0 0 0 845 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &intc 0 0 0 772 IRQ_TYPE_LEVEL_HIGH>; + + clocks = <&gcc GCC_PCIE_6A_AUX_CLK>, + <&gcc GCC_PCIE_6A_CFG_AHB_CLK>, + <&gcc GCC_PCIE_6A_MSTR_AXI_CLK>, + <&gcc GCC_PCIE_6A_SLV_AXI_CLK>, + <&gcc GCC_PCIE_6A_SLV_Q2A_AXI_CLK>, + <&gcc GCC_CFG_NOC_PCIE_ANOC_SOUTH_AHB_CLK>, + <&gcc GCC_CNOC_PCIE_SOUTH_SF_AXI_CLK>; + clock-names = "aux", + "cfg", + "bus_master", + "bus_slave", + "slave_q2a", + "noc_aggr", + "cnoc_sf_axi"; + + assigned-clocks = <&gcc GCC_PCIE_6A_AUX_CLK>; + assigned-clock-rates = <19200000>; + + interconnects = <&pcie_south_anoc MASTER_PCIE_6A QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &cnoc_main SLAVE_PCIE_6A QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "pcie-mem", + "cpu-pcie"; + + resets = <&gcc GCC_PCIE_6A_BCR>, + <&gcc GCC_PCIE_6A_LINK_DOWN_BCR>; + reset-names = "pci", + "link_down"; + + power-domains = <&gcc GCC_PCIE_6A_GDSC>; + + phys = <&pcie6a_phy>; + phy-names = "pciephy"; + + status = "disabled"; + }; + + pcie6a_phy: phy@1bfc000 { + compatible = "qcom,x1e80100-qmp-gen4x2-pcie-phy"; + reg = <0 0x01bfc000 0 0x2000>; + + clocks = <&gcc GCC_PCIE_6A_PHY_AUX_CLK>, + <&gcc GCC_PCIE_6A_CFG_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_PCIE_6A_PHY_RCHNG_CLK>, + <&gcc GCC_PCIE_6A_PIPE_CLK>; + clock-names = "aux", + "cfg_ahb", + "ref", + "rchng", + "pipe"; + + resets = <&gcc GCC_PCIE_6A_PHY_BCR>, + <&gcc GCC_PCIE_6A_NOCSR_COM_PHY_BCR>; + reset-names = "phy", + "phy_nocsr"; + + assigned-clocks = <&gcc GCC_PCIE_6A_PHY_RCHNG_CLK>; + assigned-clock-rates = <100000000>; + + power-domains = <&gcc GCC_PCIE_6_PHY_GDSC>; + + #clock-cells = <0>; + clock-output-names = "pcie6a_pipe_clk"; + + #phy-cells = <0>; + + status = "disabled"; + }; + + pcie4: pci@1c08000 { + device_type = "pci"; + compatible = "qcom,pcie-x1e80100"; + reg = <0 0x01c08000 0 0x3000>, + <0 0x7c000000 0 0xf1d>, + <0 0x7c000f40 0 0xa8>, + <0 0x7c001000 0 0x1000>, + <0 0x7c100000 0 0x100000>, + <0 0x01c0b000 0 0x1000>; + reg-names = "parf", + "dbi", + "elbi", + "atu", + "config", + "mhi"; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x01000000 0 0x00000000 0 0x7c200000 0 0x100000>, + <0x02000000 0 0x7c300000 0 0x7c300000 0 0x3d00000>; + bus-range = <0x00 0xff>; + + dma-coherent; + + linux,pci-domain = <5>; + num-lanes = <2>; + + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "msi0", + "msi1", + "msi2", + "msi3", + "msi4", + "msi5", + "msi6", + "msi7"; + + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0x7>; + interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; + + clocks = <&gcc GCC_PCIE_4_AUX_CLK>, + <&gcc GCC_PCIE_4_CFG_AHB_CLK>, + <&gcc GCC_PCIE_4_MSTR_AXI_CLK>, + <&gcc GCC_PCIE_4_SLV_AXI_CLK>, + <&gcc GCC_PCIE_4_SLV_Q2A_AXI_CLK>, + <&gcc GCC_CFG_NOC_PCIE_ANOC_NORTH_AHB_CLK>, + <&gcc GCC_CNOC_PCIE_NORTH_SF_AXI_CLK>; + clock-names = "aux", + "cfg", + "bus_master", + "bus_slave", + "slave_q2a", + "noc_aggr", + "cnoc_sf_axi"; + + assigned-clocks = <&gcc GCC_PCIE_4_AUX_CLK>; + assigned-clock-rates = <19200000>; + + interconnects = <&pcie_south_anoc MASTER_PCIE_4 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &cnoc_main SLAVE_PCIE_4 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "pcie-mem", + "cpu-pcie"; + + resets = <&gcc GCC_PCIE_4_BCR>, + <&gcc GCC_PCIE_4_LINK_DOWN_BCR>; + reset-names = "pci", + "link_down"; + + power-domains = <&gcc GCC_PCIE_4_GDSC>; + + phys = <&pcie4_phy>; + phy-names = "pciephy"; + + status = "disabled"; + }; + + pcie4_phy: phy@1c0e000 { + compatible = "qcom,x1e80100-qmp-gen3x2-pcie-phy"; + reg = <0 0x01c0e000 0 0x2000>; + + clocks = <&gcc GCC_PCIE_4_AUX_CLK>, + <&gcc GCC_PCIE_4_CFG_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_PCIE_4_PHY_RCHNG_CLK>, + <&gcc GCC_PCIE_4_PIPE_CLK>; + clock-names = "aux", + "cfg_ahb", + "ref", + "rchng", + "pipe"; + + resets = <&gcc GCC_PCIE_4_PHY_BCR>; + reset-names = "phy"; + + assigned-clocks = <&gcc GCC_PCIE_4_PHY_RCHNG_CLK>; + assigned-clock-rates = <100000000>; + + power-domains = <&gcc GCC_PCIE_4_PHY_GDSC>; + + #clock-cells = <0>; + clock-output-names = "pcie4_pipe_clk"; + + #phy-cells = <0>; + + status = "disabled"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0 0x01f40000 0 0x20000>; From patchwork Mon Jan 29 12:45:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 767709 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 A333D612DE for ; Mon, 29 Jan 2024 12:46:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532373; cv=none; b=eJMp+5oo1TrDf1CQNwTDgQhmHaYqFMAJ7E4ThQ3jr+yA2ofLno4nkW6FTYP26XDk0tiGovhE2YJOAdtkhbtYYHHIAQZPEZS/v/1IsBD3zfj2nGwOHE0CD4Gubs4VNgNZn2FBvksVn4J2hpWj9NsSPfacYuI5Xd0KKrG0nW/w5X4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532373; c=relaxed/simple; bh=ps2ITLtb+wnuPxzAvuaCM3IjDOmZRmy6w8oxvg6tWw0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fpTPZ7730EKS+ZyrLQOsvMGeB7xJ7EnC0tM2wBe4we6Z6Oue8DDDhl0DjL0wX7hBJ3ixb26c1EXv5HzlXp3/3ZSx7g0sKu712XMxwyNqkrNAy4zUj3h+dqK1ut4DGhKIT0P/n78rbn6QGtMy4paRk25UJm9C7pvWAJNCcihoCMY= 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=PThqnOsz; arc=none smtp.client-ip=209.85.218.43 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="PThqnOsz" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a28fb463a28so293679966b.3 for ; Mon, 29 Jan 2024 04:46:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706532369; x=1707137169; 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=Ro+Hb2iobKdmEbVL0if24hsgyW86TfrhpfzGCL1Ai3A=; b=PThqnOsza70sapUg78nVWOjS1qYo0GysUB1dpMxDqKIYiMa+NRrFBk+M3OlA8WeRGM tvmh97RalTxsJuM9zuy4Rx4RtLOSeS/MGj64xDQ2GAuk2DXDBTphM5Ncr5usD21v6H0Q Aplp4Nw/EIovp6BqmNwaHpPtcKjt6pSTF+sHiIGEemnscLw7iyIXAhTxOfyuMPaj1hU0 Bna9hEe7pChQwngD4wJIDoWzx7qd7CEkOf2mg+qrGwybGsbxcPJpc1Tchm6T1YZQ4X7p EnuIVzfJzgiXSjVDtij5EPud/f4av+h7gDK0JsiXUgHY1rCvD3cVE+bM0GMFHUyxo/fE Jrzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706532369; x=1707137169; 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=Ro+Hb2iobKdmEbVL0if24hsgyW86TfrhpfzGCL1Ai3A=; b=SFzAOwHxRf/W1Q0eoU0P3Re7XCZfQYyss5UOQctqZu9tjIyPLKmrttPiXHDEJGhUOI I9P/C+pAFdoWPYNJt2AOw0mqyOwx1LxGUEvry6fHynCSr6QopSCQblrOjPBPE7dRegO5 bfGsBF1Agi6Th2O7xsEJUHH3XKHmz+LSoT9/m1CJc6U0u/d6Adp2S9rlJez9mR0c/S6L Fz1yhKTwwOVrec/CpX8M5C7MqLodRA53njymsiMgEZDN3ylXu5WZ+4Z4f19RNp+gUUrs 3wU+sCe3B/15G/BeMRhPfrW4atANtMiuuKHTEZNCVRLz7VbYPu49dOH0E/YkFB3TU0qD 2nHg== X-Gm-Message-State: AOJu0YxVVoEQwhAM7YO6dlP3/ZPNqhtdVDjulwG1lXdGTcchdBIIC6wl N18jIeF2OJRZYtDTRbR8m9qUaJA6UvVDlijbNwMDTrgnYP8ZalWiU52TLetpVTieEuOOo88M2xe M X-Google-Smtp-Source: AGHT+IHAZ9w16TCIpPtxLuEGNNo9TEYGlR4nLJwR1XDEizv/lkSC/8FtiYGbQ0rA+ItjrIPJjEdwmA== X-Received: by 2002:a17:906:7185:b0:a35:ec2a:2974 with SMTP id h5-20020a170906718500b00a35ec2a2974mr717479ejk.37.1706532369446; Mon, 29 Jan 2024 04:46:09 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id 20-20020a170906329400b00a3527dba974sm3041495ejw.35.2024.01.29.04.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:46:09 -0800 (PST) From: Abel Vesa Date: Mon, 29 Jan 2024 14:45:41 +0200 Subject: [PATCH v6 09/11] arm64: dts: qcom: x1e80100-crd: Enable more support Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240129-x1e80100-dts-missing-nodes-v6-9-2c0e691cfa3b@linaro.org> References: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> In-Reply-To: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=4648; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=ps2ITLtb+wnuPxzAvuaCM3IjDOmZRmy6w8oxvg6tWw0=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlt54Bm/Zrq/t46ip8TNBXID2gW/x65RlJqDzoF 4IvRhAWkMGJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbeeAQAKCRAbX0TJAJUV VoihD/4/HXcbYu3P/llByOnQLBZ2W/WXRv/V+W+S9oPmvQszjvjs0yI+z4xdh401t3MEXr5+nio sxWwnNz3BQPMRG64Uk9DN9XD03WJVzS5qWb9feT/WFcRpfg3w79sFwCiUls1yB9KxeUl8TZgocO MqlNDo97e4hlvUIqSbCaMe79s4LCn9MCUMbrG8v6sGX9tEsJlCHlHQ7DF6Mef2U+iQWKgdWeGSj GIErdITrVO2YHEhcvyxwlHpfjisF38u67AgpXI5l1x0tZZNYH8O4+nZXMAk91T8mhl6YILNuhp9 VKQlMYVLnkbaNPwMMkLO6CkLeg8ufWSRKDt0eyAw4+YGRlC4fM5s+PwSljD2ViKUczCkTIDLe+A vjQFRqs9oK+DIBmG1I33p7W0TWvbdMRHiU6yK1GFxFDsv6W2KfI4F7DwrKUfatDT3NaMzi0wgRY jD5o0ZOxiXu1Nq1JQUis6cA+w2btSeku/OFnirQhrbCZe4IymS7kwBj/kdVYBTQWmBus5CtSlAV qG8eI8Iojud+u6zrtlFmcN+KIY7foBytGj/0RsJMmvETsC1/M/uPtj6q6dzMCN9dW2dYqwlU0/2 aKXwxkjdp8JXy8r/KMnHe6AqxA03hqPDfAWalFe695pziLH2m4bC4Ido7JP/bQyOxKwRoo6c2FW 6i/MQ/25sJqCkUQ== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Enable touchscreen, touchpad, keyboard, display, pcie and usb support. Co-developed-by: Sibi Sankar Signed-off-by: Sibi Sankar Co-developed-by: Rajendra Nayak Signed-off-by: Rajendra Nayak Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 222 ++++++++++++++++++++++++++++++ 1 file changed, 222 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts index 7532d8eca2de..7e7cc8e43f87 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -401,10 +401,145 @@ vreg_l3j_0p8: ldo3 { }; }; +&i2c0 { + clock-frequency = <400000>; + + status = "okay"; + + touchpad@15 { + compatible = "hid-over-i2c"; + reg = <0x15>; + + hid-descr-addr = <0x1>; + interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; + + pinctrl-0 = <&tpad_default>; + pinctrl-names = "default"; + + wakeup-source; + }; + + keyboard@3a { + compatible = "hid-over-i2c"; + reg = <0x3a>; + + hid-descr-addr = <0x1>; + interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; + + pinctrl-0 = <&kybd_default>; + pinctrl-names = "default"; + + wakeup-source; + }; +}; + +&i2c8 { + clock-frequency = <400000>; + + status = "okay"; + + touchscreen@10 { + compatible = "hid-over-i2c"; + reg = <0x10>; + + hid-descr-addr = <0x1>; + interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; + + pinctrl-0 = <&ts0_default>; + pinctrl-names = "default"; + }; +}; + +&mdss { + status = "okay"; +}; + +&mdss_dp3 { + compatible = "qcom,x1e80100-dp"; + /delete-property/ #sound-dai-cells; + + data-lanes = <0 1 2 3>; + + status = "okay"; + + aux-bus { + panel { + compatible = "edp-panel"; + power-supply = <&vreg_edp_3p3>; + + port { + edp_panel_in: endpoint { + remote-endpoint = <&mdss_dp3_out>; + }; + }; + }; + }; + + ports { + port@1 { + reg = <1>; + mdss_dp3_out: endpoint { + remote-endpoint = <&edp_panel_in>; + }; + }; + }; +}; + +&mdss_dp3_phy { + vdda-phy-supply = <&vreg_l3j_0p8>; + vdda-pll-supply = <&vreg_l2j_1p2>; + + status = "okay"; +}; + +&pcie4 { + status = "okay"; +}; + +&pcie4_phy { + vdda-phy-supply = <&vreg_l3j_0p8>; + vdda-pll-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&pcie6a { + status = "okay"; +}; + +&pcie6a_phy { + vdda-phy-supply = <&vreg_l3j_0p8>; + vdda-pll-supply = <&vreg_l2j_1p2>; + + status = "okay"; +}; + +&qupv3_0 { + status = "okay"; +}; + +&qupv3_1 { + status = "okay"; +}; + &qupv3_2 { status = "okay"; }; +&remoteproc_adsp { + firmware-name = "qcom/x1e80100/adsp.mbn", + "qcom/x1e80100/adsp_dtb.mbn"; + + status = "okay"; +}; + +&remoteproc_cdsp { + firmware-name = "qcom/x1e80100/cdsp.mbn", + "qcom/x1e80100/cdsp_dtb.mbn"; + + status = "okay"; +}; + &tlmm { gpio-reserved-ranges = <34 2>, /* Unused */ <44 4>, /* SPI (TPM) */ @@ -416,9 +551,96 @@ edp_reg_en: edp-reg-en-state { drive-strength = <16>; bias-disable; }; + + kybd_default: kybd-default-state { + pins = "gpio67"; + function = "gpio"; + bias-disable; + }; + + tpad_default: tpad-default-state { + pins = "gpio3"; + function = "gpio"; + bias-disable; + }; + + ts0_default: ts0-default-state { + int-n-pins { + pins = "gpio51"; + function = "gpio"; + bias-disable; + }; + + reset-n-pins { + pins = "gpio48"; + function = "gpio"; + output-high; + drive-strength = <16>; + }; + }; }; &uart21 { compatible = "qcom,geni-debug-uart"; status = "okay"; }; + +&usb_1_ss0_hsphy { + vdd-supply = <&vreg_l2e_0p8>; + vdda12-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&usb_1_ss0_qmpphy { + status = "okay"; +}; + +&usb_1_ss0 { + status = "okay"; +}; + +&usb_1_ss0_dwc3 { + dr_mode = "host"; + usb-role-switch; +}; + +&usb_1_ss1_hsphy { + vdd-supply = <&vreg_l2e_0p8>; + vdda12-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&usb_1_ss1_qmpphy { + status = "okay"; +}; + +&usb_1_ss1 { + status = "okay"; +}; + +&usb_1_ss1_dwc3 { + dr_mode = "host"; + usb-role-switch; +}; + +&usb_1_ss2_hsphy { + vdd-supply = <&vreg_l2e_0p8>; + vdda12-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&usb_1_ss2_qmpphy { + status = "okay"; +}; + +&usb_1_ss2 { + status = "okay"; +}; + +&usb_1_ss2_dwc3 { + dr_mode = "host"; + usb-role-switch; +}; From patchwork Mon Jan 29 12:45:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 767708 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 BC8F36518D for ; Mon, 29 Jan 2024 12:46:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532375; cv=none; b=eRaeupWHmcPyEOgZp3XEtG8r28zXH7NQSNpOHLaF8kDvymnsYCF3DUc+0OJanY95KeJLXippd3POfAQmvSR4ZYgQ2gDEQ66zIBZdOOWGc1AkkmuJs7nkV3chXvsOaUyE4ylx4T9Vbs3xJvfaTBWHGj3cqPMOPjsavM9iJ5fmDUc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532375; c=relaxed/simple; bh=MAe7tKW2o5NmhX/EToIcX2pFwZbjxHgt/coTrFipYAE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=c4Eyxk5gGAPVd0W11RglX9957qfcrM2MHCZg6VlLK95ksTokWPCRWmqH3uzAM7NE52CHclCEoPjYllPMOg2vn9pKG14temeisXF5Iw0wKfFAbnm8QqPAnIU2xWtu7PS2osxd59ZNYtrRT2kwov9dBqw9DrK49tTIV+gQQdVRZRA= 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=CB8E5N/K; arc=none smtp.client-ip=209.85.218.53 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="CB8E5N/K" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a26f73732c5so292187866b.3 for ; Mon, 29 Jan 2024 04:46:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706532371; x=1707137171; 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=9LloJ96MTPtfEA9aMbD8AKrSCBSBCtvDbDb6GMMRvUs=; b=CB8E5N/KnemrzwDRN3yUlwZiB2Eq8rcKiZGugYYq1xNhJ/ESJrwHEO3JI7vv2EOFCB ZrNRzAJ9BRwc7p/qxabgw7rOrehPrRlklBNt02RITgoVbq9bQ5vsNDv/FJRPco6/2iBv nK7DeyC4xumEePbDRuYts84H0qvcixNz91k0uHbkbEa0h4KZL69VJRmCAQg+qbc2s5Dn 8ZtELqXcwwcey/NAUgph9R0DCbWzhzyZkz0vlJxlisHX9RkKud/icLSAdTyD67eEqVur MtbjJ22SwKBiV47akIYyis4tTlASmCh+2XN+uAc4/YIz0gwPqKQCN4U3fZ7ubu9e/A+B zsfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706532371; x=1707137171; 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=9LloJ96MTPtfEA9aMbD8AKrSCBSBCtvDbDb6GMMRvUs=; b=HbwZMuXIpmgMDGzGwQ38Cl37H2KgyEfXi1PNohFmkdvWLoiAow1fH4vbrUeNo/WyKF o8YERRay9y0X9YAGQ3/eblJvqJH70JpE/CMAiBuKnQBpPXcMuNKsEO7nPzLSCBpvjhtp /CultCNqCg2owyfnyqF3/gQWxCuvMMJh9p5CYWKEP1TI4n/oLWR0kzYykO1qgairaKYL ok0PIIUYJZhKgXzCH+W4VO72hrcBu4yfw5QeH1XHFoxwSWlP4ZHj2tOsTzH0UfsUo3OA f92q7XXG9hgEy4jPOQ+JbVtfBpaliPOoLfpQL+KumNKpfS07EOgMd4fr3lcw6ieRN6/5 yvmQ== X-Gm-Message-State: AOJu0Ywj6bir5ZNefMDdb27zM1+mwSIzuy+px4wIlI4j1HmArZUWPzSt Uz/bmS0KN++5/8HM/t+UPlmChnq1ALbavJCthVOJPKT4WOdKTKiUuO3A9ixoE+oMz4VHiP7+SuX T X-Google-Smtp-Source: AGHT+IFxpuarcz5O461GLpYVYLGNuN08ZejCo0QBuHVdmdKHyPC6exkr/2tTFiWNUG3gze3/xFPDvA== X-Received: by 2002:a17:906:b47:b0:a29:852c:dd21 with SMTP id v7-20020a1709060b4700b00a29852cdd21mr4267964ejg.10.1706532371779; Mon, 29 Jan 2024 04:46:11 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id 20-20020a170906329400b00a3527dba974sm3041495ejw.35.2024.01.29.04.46.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:46:11 -0800 (PST) From: Abel Vesa Date: Mon, 29 Jan 2024 14:45:43 +0200 Subject: [PATCH v6 11/11] arm64: dts: qcom: x1e80100-qcp: Fix supplies for LDOs 3E and 2J Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240129-x1e80100-dts-missing-nodes-v6-11-2c0e691cfa3b@linaro.org> References: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> In-Reply-To: <20240129-x1e80100-dts-missing-nodes-v6-0-2c0e691cfa3b@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1096; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=MAe7tKW2o5NmhX/EToIcX2pFwZbjxHgt/coTrFipYAE=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlt54EGZoPqe2ZIMskaZlX05Hjr6aH4J76PVUs7 0PU5xc7P7WJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbeeBAAKCRAbX0TJAJUV VnkmD/4hIV6aynt6Y0v3MUsv1Bl2G2OS7cCj2dk6eEFtv+0EflGBu+WOef/lgWwxlKeO07Af7Ew 7Tr4CQtN60wluCIgw1eiuZNaohXaPwv2qRvpF8/PmrlOB3eV3QlaDL5EEuDcSPb/qWLUItjtIGc EDtohEjpL816T/wpeEVqDpoffSzld1KEU8wx+mpP5GkNHGgnHmBdhAHbuwZWhPtqJ/Ti9F535Ya X1Z1j3IE98cI4VYYfQ9QxFFxz2yqeuBwpnoxD80ZtVccwcZR8FrEZoBQdbPuL38ixc52Go32Si8 3P1JsJUUn4BdgixYv58vMdhhlyoxtJOay5n/NDTXif29jXHgWKS9T8a0wJwzCo0p+d7sLZEQN5s Uf1OVZqPW18C+q2yHkyZA6aCuyd9zlGgIoeZZufoF3XJ3WfYj2SfYL1CG6fPmQwbx9iuhKHmYso qVBc//OcFhmvNxLk4qeyKyCkra2PpAWw2Ggc06PdecLiO1tFq0yjnX73MHvFt0MBVQGv2FiFFJ/ E8/noLL5n/Ki/Z8qsbQO4S7Hgx8GPUKxLtWCgVGfSR+n12Gsim/spfmXwb3PDFZuiWKqBMtquWY 7sniaJGdUoPYZrPtOlpuPf7aruLcuHX2A6R26eRBic2aGaQOoOC9TpxUDuuGHj/SMp7iF30hB8j DJKTga+ZpoNZE5w== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE The LDOs 3E and 2J are actually supplied by SMPS 5J. Fix accordingly. Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts") Acked-by: Konrad Dybcio Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts index 8dbf6d0eaac3..e76d29053d79 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -261,7 +261,7 @@ regulators-3 { qcom,pmic-id = "e"; vdd-l2-supply = <&vreg_s1f_0p7>; - vdd-l3-supply = <&vph_pwr>; + vdd-l3-supply = <&vreg_s5j_1p2>; vreg_l2e_0p8: ldo2 { regulator-name = "vreg_l2e_0p8"; @@ -367,7 +367,7 @@ regulators-7 { qcom,pmic-id = "j"; vdd-l1-supply = <&vreg_s1f_0p7>; - vdd-l2-supply = <&vph_pwr>; + vdd-l2-supply = <&vreg_s5j_1p2>; vdd-l3-supply = <&vreg_s1f_0p7>; vdd-s5-supply = <&vph_pwr>;