From patchwork Mon Jan 27 13:47:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951395 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.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 4DA1A1FF7D4 for ; Mon, 27 Jan 2025 13:48:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985691; cv=none; b=WRBeHLLKYkF4dRyQGGcJCY6i57DyyJ+j+lYOpR9dtiPJ3GAxdZNHd/jVt2STNw9eMsd7ft5RVUDzX8QYW6s/FMqJbft8XscQSxXdpyyUbEWBqFzZw9vFtQdGDNTXCRYRLNEyXe2euiwb/QahPr5SQrkeBIn9/NX60N6pKwVDSOY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985691; c=relaxed/simple; bh=UfENSiU1Z1EiZp0xMPahrQJ1WrLZ3y4ZDLqWk7VnnG0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WUFUCxXqkMgVykDG+JgZq+KNkjGJZBUH1gR6AwCbu+kTsNs2kXmHnxa4S/spUd2lUMPnOpNAOvNOQVxz0VW5VkFTGbcn24m1CdbBFFAFAViSaAmSj9AQBl5lva4eYbhMebzr8kqye6y9xvSyI3tzIPligr/cEwPpkImQB7QGeSg= 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=FcOtoimq; arc=none smtp.client-ip=209.85.128.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="FcOtoimq" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-436381876e2so2801555e9.1 for ; Mon, 27 Jan 2025 05:48:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985687; x=1738590487; 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=GWZdyuqhtVX8cKa3rZC6C9ew4qGleoXt2cULJLHpLsk=; b=FcOtoimqJfrAW1zqfR/KDdPep6TIu0wblalAoYO8nrHVDhMq5IXBf1GpbSTU1+7qLm gDQ6x1jeLa5IDGJjxj3icZJNdC/Im/UWlHbdkvjSQsuhxmsMOBcMRqmNeYTSlXS+UX6F qnvxPV1S3v7MX6P+iete1wnw50ieOFU4ukb1Lx2LvlZdKWcd/cDCAclMqzaDgx5eNwoV J4L0b5LhA5FG+f/PzOtfE3Dv6wX1AOt6RlodeCSiJ8iSjsksONGGc2wE17CTgQTA3B/g NM7zp8RJejTv2wgQQonwFZKpWw6kaUZGxBkM9/NsTDRmQyczztGytOrBm7tDes1FTpOf z2dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985687; x=1738590487; 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=GWZdyuqhtVX8cKa3rZC6C9ew4qGleoXt2cULJLHpLsk=; b=IPuZis3M/Z40AXln80837aFdfczYolXmrj24WR/JVkoC11/O3e9lKnU8vzc03qxMAA NXn1soJVMCpMr1bKmIfgMSIRW75+9oJgpuPzooTz+h4ULK1REYNy+kk4IQLnhyiKuTCC GsrYITneUi/xTa8iOosX1yrlI11GJYo52/KJfQAxWbbGNsAWRXG3WFRc8Zxzv6qu3fEq Be/yT6JWuZKLRtxEjOSy2dk5hUmYWIKj0w9XPWedS6/KWW+d0kN6aukefHMaqWlF3qe9 r+zClH3G9ekX90vylLHYWxzUayTWtko+7zAOYlhg9wHWf/Qwp5RfMCAKJekxrjpalG01 aLEw== X-Gm-Message-State: AOJu0YwM5EEYg0e4Eh0ewbiCxNsJ7qEZ7aTDktNqXsOompalrQ0t46qR aRKAxydXZIJTyj6lpBOPrVQIsbgf4010aED4NNSIWp6AKMHSSbetO/RpoWtvj+aUDDT9qiGqSgs t X-Gm-Gg: ASbGncvM9z4cdyfZDxlTrE5jTfaLqAv/WcK5jIubry6aO5Kqd/ksgAredZSc5E4d3jk kpEMsSTOkraNmAZj7qTOda3dYhXjQXariYG9cFpl8Q/HAPS/WUbzNRZxQ6SLuUr/eoZ316M4i/x ug9eG7VGR4PTlffisxnfgeRAOXXxodRxQRk48uy6mx+e+1BWNmg3gh2j7RKIZ1z4vU8RKL9gHKC cKBehVscbSRKO0OwgQ9Lu6Do0842iDwf1EarXJZjH5wOF8bR7CXsIVraRNFr7dKX0jG/qVKVXxL D5AS0FQnrhvm9IBK9h4= X-Google-Smtp-Source: AGHT+IGI/OIMZv5zxxuAaPROZkgJ01jByKMgLdXZXA5Orw/xyDS2l+HhyZ8L42nIl3C2HCHio+TsuQ== X-Received: by 2002:a05:600c:3ac6:b0:42c:b55f:f4f with SMTP id 5b1f17b1804b1-438b17d0086mr84392675e9.6.1737985687579; Mon, 27 Jan 2025 05:48:07 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:07 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:34 +0100 Subject: [PATCH 01/24] ARM: dts: qcom: msm8226: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-1-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1763; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=UfENSiU1Z1EiZp0xMPahrQJ1WrLZ3y4ZDLqWk7VnnG0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl45/U5wIHf5qN26zn8VdUwtZRXVX9hwhDEYMV uge84GaoReJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOfwAKCRDBN2bmhouD 169ZEACP4jFaf3f5DK1SXPYDX6oY2rgfTU1R4ZpB5suhrHIpp0QfXivLvOelE+Y/X08zcVJPq34 HzswX8gl2vylJPwRrC9tXinry14gjKFAfvaV4lYN2ikHepzMAw/XDKC9mSmyfBsPMRsRz1oEawJ 13/uETiGzBc5e04psYg9ueIOKGybHeH9zg1cV/C8s9gXkvTx4IkYcGWuStK+jtWebABlg0Fe84K 2A2cZA8i1mTOmNGag7JTLRk1xoMPccnqOTNF1v8ChyjOBjhMq33O3oGsIwx91B/ry2QhcIwVp+8 dCR3+ZO8XWQyJ5AjztrK9FQ6NmR1PCR0vJzbC14B7NI5rAopk1R+skj15Ay8qep+L5U/xBmI2Pl FBUjFAm17PhIVimXtsagPwtOXe6CpBysB+HKNWhIGEpXcqaIv+ss0txXI3ASifJZUdx1C+K3OrX TYWS1ayRUfeKM4oSSGNXp7pqehxGuPNu1Dw1FM8lQwVgV0FtkZCJs6TTmw76lSrs6ht5+TbZ/dd 9um5rfRn6F3u0j/c4rRATwxTIW+6H45i9mDdbT+eJko8BfcSddLZCFND0O3UXWGOX9nKMgegW/s p4gdLE18JIRJw48oD+hCRbq9ylxrDd5kALkV4HgQZjZUCwCF9oImCd331oqcHt5p603RHwKVE+b cE6Y6Pch/ULz9Pw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ Please wait with merging till this hit mainline. --- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi index 64c8ac94f352e46dc4a18f902d2c30114ecd91d2..c84320ef5ca24effc50a6f22ee3b403d6d6e85bf 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi @@ -6,6 +6,7 @@ /dts-v1/; #include +#include #include #include #include @@ -983,8 +984,8 @@ mmcc: clock-controller@fd8c0000 { <&gcc GPLL0_VOTE>, <&gcc GPLL1_VOTE>, <&rpmcc RPM_SMD_GFX3D_CLK_SRC>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>; + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>; clock-names = "xo", "mmss_gpll0_vote", "gpll0_vote", @@ -1060,8 +1061,8 @@ mdss_dsi0: dsi@fd922800 { assigned-clocks = <&mmcc BYTE0_CLK_SRC>, <&mmcc PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; clocks = <&mmcc MDSS_MDP_CLK>, <&mmcc MDSS_AHB_CLK>, From patchwork Mon Jan 27 13:47:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951396 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 85DD11FFC73 for ; Mon, 27 Jan 2025 13:48:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985693; cv=none; b=cHx57q9FtkyGuoKsGQKbidmLmlDw6vB9gg2zt22En5bfoXdc0+UXAvpD1SyfB4NnnjEoQimlzzldtjQlTPwDqsJ34ewsGI480RSiDnpC1LZUZfr6a7pYFdw3jidSeaOCcoFk9TZGGftIyCes4PUPvTWqsqE23pdBWoaHdnLQLBo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985693; c=relaxed/simple; bh=/xQudqtCxeqrB0ErnhOJYPSAK4eJAE2jYZ7/chNw1DQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Zfd/6890X6LItc+tK5JBA5iUMAQd/n3O9HF5peu73Cw8YWadNLkvnzRV+x+fr7vw+aKIusKIVzKzdYHeaUr5+waIPVtLK8rUy1a76zVR++CPKD1WdsV8dQjTrrpkDKrJOrtHjEu4m89gS2a2pbBqtaPsg1FWHqf1j4Rb8mTVPVY= 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=zxBNuz8R; arc=none smtp.client-ip=209.85.128.50 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="zxBNuz8R" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4361f09be37so7286725e9.1 for ; Mon, 27 Jan 2025 05:48:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985690; x=1738590490; 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=UO/TGdaYfbbJAWZ5sXmjr9WMWvrhCE+Vvt2NbPtHrcM=; b=zxBNuz8Rui9m1RV+pTo1MjukpfhAv3mmyC1tHQ72Bpq/mF9k5ELBiHdP7qoPhcD9Ep 0C9kWiFobMiQUQTEDThWxH975psYgNgQ6R3Yx+ZfmwgFHx7rucGLhW8ovnR7Pi4vXuMv ag0rW1bLkj4Xd392pU8T6/r3syME6Q5IO/eQCyuHyp4RxkP4lHC6eFrGJK/7BC1GETlS ggNGjBgi9HXgk43bwry6v09X27k3xT294O3qAzf9kTPZ/6TOoMRnKGSq1oWmzwgVMfZI 7AB7/qhVu/RayKV/QA3pdQF9hv/axDL143n2HX/lc/YldgYhsuo4sTZkki/Q2jiNTvF+ V5Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985690; x=1738590490; 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=UO/TGdaYfbbJAWZ5sXmjr9WMWvrhCE+Vvt2NbPtHrcM=; b=WL7GHn1b3V7gFdqugDHE1lPbILWU+M5QrGw4tLGOT4zDR81qSgdUXKkz5/QQTYB77Q 7NrHz+TN7AFMheVoMG+7gow2N67RkRO53saxgKAk801Ds23Q3smzaRllSxnkKSgoqfkR w/L5VKmP5vBW1CvlLY5fw9mu9z8IJUrGlCipUEBx0CNW6+axa3b/WpDVndJl1ssz4yVO dZvgGP20UB4iGhYH05D48ld6i6vLBcaaxVhXCLHX1Qde8D8t6MN/SFq+/f/jGzk/9KY7 alXAX1G2UlKgYAiJS46/bjYJQdhnOUVZ5T7tHQ4oLya9dBc1ksQ3owpGorVAofPOKCxI 4AQQ== X-Gm-Message-State: AOJu0YzmmzGrxwFb/6tNgQ4Mxi3Vq1l2C6i38wSeaLoTcEzKJihVQyVD qraL+p5qARkWWW7YU5BpkMPAi0/HnzwZ0zF42+UznwvKQ7wF1NKDeotUtrP8VtY= X-Gm-Gg: ASbGncu5RftVzCBkwGole7j1fheNv55p/bHaiyBTqGPoEuxnuc3kLjDYycPVN8t62Gl +7itK8f9EOyaEzw9c+o1rlkWWrS41M7WHpAs9q/6g/kKzj5HWGn46jcVfNJd8Z5tTW3+NVgzTV7 3soEk7dOM0rPuYdPRKSX77nYS2bnaBKtAfrbUUN6XC3PQVXeSI+g+8vMEAXGFyXqV7h6wYSa5ZQ elO+J4iRNnY7Doru1H9T2S9hKhkEMK08SaFwpgRtk9//iVzkiVPNVW+XgDxZ67lrbEqYiair9la K6qzlzQpHQeSquIU430= X-Google-Smtp-Source: AGHT+IEZeqcVjKWYJrycKAHg9B9LDmbIACsnF3VQqjsTthNpyDX7q4+omoikYew0mZXuVoAC5TruQA== X-Received: by 2002:a05:600c:1f93:b0:436:ee2e:ef12 with SMTP id 5b1f17b1804b1-438914318b9mr144823995e9.5.1737985689769; Mon, 27 Jan 2025 05:48:09 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:08 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:35 +0100 Subject: [PATCH 02/24] ARM: dts: qcom: msm8974: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-2-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2496; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=/xQudqtCxeqrB0ErnhOJYPSAK4eJAE2jYZ7/chNw1DQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46AzW7sbxwFLqMYSEROwN0M6q2JnbKPlGlkP iQxmAmg7tWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOgAAKCRDBN2bmhouD 15x5D/oDkZAk3JYdcdyz1bbG5TobvxL6fskayWRoDO47SAZ70kBO/WH/oE3fJeDcIUPXPYE1VVL /uKcfONG/KgUh20ay+Aa8he/WBFwLbAYuMCEvfLfJreK/KROniF8P88JlPtn3bqWVdAWkAKt/SP vt8owjJCeJi0PIp6Tbx+6lQTQr7kkKXNcTSrzcYz7cUGwHay5n4iZIMeFtnbwKDH4PHhsADlJgh x+uqRHC29daHFSXD2rDs1jiAH8YryOmBvTD6p2LaqXESA2IU9bROsjkJzIw+Wyo/Fhxw9EIxhBt 3q4ndYnuWYETeOGMMmPvXS+Oz1Fuez/Q2zQLKsdXNIKLvvUYaBKStbyKZrlBRAdemMqbZJTt15z ejtZkz9dXkVl1bKfZpP+XqGGc6ItZerOFJAJ9Vc2HEUOiQq/+MgspPjXJmunUBUJV7+F0ZcOFPG weFlqh6Tbuh4TjI9v2KWhl78IbbR3tTSvMsyQ+vJX6ITNM1IgbKEextw+CVVGxTJDbZTzkiNxUW Cih5bs6McZG2NcyFhnJamUQU18fDLIr/tJv+TKKGBJwoCN3eBwHosmt39A1iOLxwBYxu44LavbN /YPG8lGx8fa2aIebBvg32lfPecPnzbaKzRw1M4tRL51KadCnbG9x0Tf/1V61dxs+NDWIDWqCP8t HWeBwOHk/WaUiwQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi index e3f9c56a778cf8c64735ede1e85286bde12c1c87..7e119370f3375573e284587d48aef6dca3ed707f 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi @@ -3,6 +3,7 @@ #include #include +#include #include #include #include @@ -1871,10 +1872,10 @@ mmcc: clock-controller@fd8c0000 { <&gcc GPLL0_VOTE>, <&gcc GPLL1_VOTE>, <&rpmcc RPM_SMD_GFX3D_CLK_SRC>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi1_phy 1>, - <&mdss_dsi1_phy 0>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, <0>, <0>, <0>; @@ -1961,8 +1962,10 @@ mdss_dsi0: dsi@fd922800 { interrupt-parent = <&mdss>; interrupts = <4>; - assigned-clocks = <&mmcc BYTE0_CLK_SRC>, <&mmcc PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clocks = <&mmcc BYTE0_CLK_SRC>, + <&mmcc PCLK0_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; clocks = <&mmcc MDSS_MDP_CLK>, <&mmcc MDSS_AHB_CLK>, @@ -2032,8 +2035,10 @@ mdss_dsi1: dsi@fd922e00 { interrupt-parent = <&mdss>; interrupts = <4>; - assigned-clocks = <&mmcc BYTE1_CLK_SRC>, <&mmcc PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>; + assigned-clocks = <&mmcc BYTE1_CLK_SRC>, + <&mmcc PCLK1_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; clocks = <&mmcc MDSS_MDP_CLK>, <&mmcc MDSS_AHB_CLK>, From patchwork Mon Jan 27 13:47:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951397 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 CE96E20010C for ; Mon, 27 Jan 2025 13:48:12 +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=1737985694; cv=none; b=RzgLy1jsFrYJHbUD+dG4VPMb8MKqA6zPNd5GRHtyfvSkyMb/cxFthj0ak55awI3Nx03QBz3WZaTqkm62bfFRIisbP6uiXemezRlYxrTIsXevfMLwlo0wn4Y06yY33pPfgDSN8BKunzF9TiHiuNPDUeme1wIXZWc6KKu/T0WIji0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985694; c=relaxed/simple; bh=1f9Aj8MwC8AbYTn18IevGUozb9K6WSQzc+/GF0jpt+A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A+E1qJ2MgCLz4mZxwWIlN4rwDfnrhtGi9djODajwBIkQuRR6IPCAbnhZ3xxEULu8EXV7ARSmS/G+XCBOOaCp17E0uEXyQkSeRoHnEbwAyOzedxWBTg8e7H0rNOtqi4OkX3e+EtIpjxW8Y1eMI5H+H4y2zC9Sm2JTCsfUJHor2G0= 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=dyginTFx; 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="dyginTFx" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-434f398a171so3928735e9.2 for ; Mon, 27 Jan 2025 05:48:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985691; x=1738590491; 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=OiGtKjTaDDkHUxHqSeI5XYA2koECpvjRyleWrpjC2yI=; b=dyginTFxvPj+AJr4j2S056iFPXn60vVEymbQEcsmVswHMSiS+j3jN8mFawEU9S+mvG 05oxzYT8Z/OjfRnB0VPbNwKhf5bbWerE2Gh88xcFNjd/ifxOhLeI1CcvadnQT4eve20L sSeOM6CXSn7G2gBVw/upOTqfREh5lkEb5bExZt04pXzYTqyV9KWhtHa8h9+t3O36FPJl NGOktDmv8lnKtC23RFkAQWMme9ydcEupCNslidlPlXrQd6vCvLfbxQ+OxNa6ET0fYcW5 +nml4a4vXRpJv+6DBi/9bgN9VQBXMEkKB+ucewbB9/W9mUIevB6CVcKOJVSf3QQFMiWF 3dxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985691; x=1738590491; 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=OiGtKjTaDDkHUxHqSeI5XYA2koECpvjRyleWrpjC2yI=; b=DB36otrLrRGaTVz/Vz5j0FcTVlZp6TqCJxa+uuhWJ7wLhqw9pzXcnOsyq0kAgz+kZ0 EeUMJfQWm1TCWXislxRsqs8JwdtiIsA+++io9YUXEH9vlY/L1b9dDrMk/V4G2nDC1GMD iyapxPM/RJZlurkiGshOUsOnqumcYJIZ2j4jzDV00yGawSKTARLcV/24fFN7wEsORjTy SdgfITPpoAILvaT5VHX4X6XTQg73mDuogcZN9hW29ofFPyMn+I2yOb9QrYGro1dztEni mz1KI6PEHgulB3BYy0u5PGk/ThH1Wcgk/avyrPZYhB3JjEsMDk4LTymKz56OUtekjeZL SIPA== X-Gm-Message-State: AOJu0YyLuNnzcAQAYAbaKZc0JU3VyOrMimATOtvaGsCea1IpArqtng31 Cqy6BuZkAk6LiJewVUn3H4CwsM3CNd4xaoYQsqQtRzHgtYzQmq/L+lMrI40VVqqWU4Qz3G/fgXG w X-Gm-Gg: ASbGncuEZeBqSlVzfuyic+679/kjlsIXWZBdlFrR89qkH0P5NHMb2e01QTaKwCbldhQ LbkU5/9R7dmRQr9FhYrHRKP+daeGOOcP1f+CQJwKszkpxXCcsIfqUp0B0Ej902pGjXN4A3/ivYf NPYfGmgC6t4EXaMRCsQ+SgyIizQRC37HFaxkaF0IlGDKMIjwW1OYCXRwNLLCS4rgD4h3de2ATe8 mUGDxAyzYu8fcyj2+CWjISmJQV18K8JSdpFL8qpWn7yS9XRTXATRjsVrP1ssC2X2yVWLglJd9vW Q/uDoipau3MqMtqwFpg= X-Google-Smtp-Source: AGHT+IE44ZN+/hIIcgwp3dbYnDXJoz1iH2JzxerQzS0d17DbohyAA3wD4zrmjXywfBP9jlWOPObXcw== X-Received: by 2002:a05:600c:4743:b0:434:fecf:cb2f with SMTP id 5b1f17b1804b1-43891460b86mr146300945e9.5.1737985691088; Mon, 27 Jan 2025 05:48:11 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:10 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:36 +0100 Subject: [PATCH 03/24] ARM: dts: qcom: msm8916: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-3-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1631; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=1f9Aj8MwC8AbYTn18IevGUozb9K6WSQzc+/GF0jpt+A=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46BGhb3A5yQnfXIW9zoIDHUsnHheABEzxtP8 dcDGIvf3LOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOgQAKCRDBN2bmhouD 15vSD/4nNglo55cz8k5DRzmuVoECqrhMm5X5LmnI/u7+3PRAo48l5E6p+7bjdE5xJlg5eNUE0F/ r12jVYn7RDB5SbeaOPv3MI5rn1JG4uOjdzDQ/8Qa3V/FmWyPanzfwrQm2NWIWVARsuTw4lZjbnL UL0fzlbgXuv1U3KxUmJpilq/xdWiaQhseGNgBAe+bVE+nF07NCEOr3dxTE9AZR23sGh33zzIkiF zcO3KLguWUHS/wpJFw8ioBJPd3F5x8K1pXyluY9eMheBwskykUOJuwcnI9VqsZLFUmD7/ceqhto QM5GATSaFBJoHpC7jz1VQ5UjKeIiUfYyiKWKGWx+cfU//SIqmunpfHsBPaFpB79YbV1td/NRfKk jkDz2qASQSXKHDQ6pj8yfFqPtMvORkW4c+Vdru2L6guTtq7RB3EpQ+qzC2VOroARsWmOV3W6bgM WTkVd3ybgKMQ7GP9wJVamNWXaN8BPzhQW0yoR9VaVgOkuMyV1ujmFLhELu36UEAU2LrkeNmuXCx 2HKCFUVsG5YIjKOIqmElq3mKiskipP7H9tcsHe5fIUrN2Kum6vXjaK/h2IoC8PGVqpNGyMokgWG tsadW14aRlbhX+P4Tdqfp4SV1HBnrtgPqJ59Kq6P0O1TUjQKXUlSiDjO1ySlD2krMA+ztHAycjJ tAiieigXU+z738w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 8f35c9af18782aa1da7089988692e6588c4b7c5d..c89f9e92e832eae8f630555e9e7f5817d6731d4d 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include #include @@ -1497,8 +1498,8 @@ gcc: clock-controller@1800000 { reg = <0x01800000 0x80000>; clocks = <&xo_board>, <&sleep_clk>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, <0>, <0>, <0>; @@ -1590,8 +1591,8 @@ mdss_dsi0: dsi@1a98000 { assigned-clocks = <&gcc BYTE0_CLK_SRC>, <&gcc PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; clocks = <&gcc GCC_MDSS_MDP_CLK>, <&gcc GCC_MDSS_AHB_CLK>, From patchwork Mon Jan 27 13:47:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951398 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 13638200BB7 for ; Mon, 27 Jan 2025 13:48:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985696; cv=none; b=dJLlYWdZlS0y4bHRq1fvHPh2PDbkFI/hwfRQiU9ihPMYJNiT4SbzrN2y1XJ+fGp0wkgaOrQQCz6yZqiP8MVr2GMNu5Gzq6+CpXyLfiA3cNpwyj5+sVBWtHAM/kUTCCXFoD1+Do2V05Fk3JflIr73ITqCVMsalQGc9+E9nTdTrps= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985696; c=relaxed/simple; bh=zWUbLAUYpft7hbv9yMmY/s1ZO5A3FIp2EXzOJ1TgXFM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rZgqiTPs3YH1/lO4bBtrunUWi6VSHOcN2v8uTKcDiNZxKEdv4nt9TxTE2xm8Wdtlov4lpM1DTIOYjdNbnlf+lS+9bZbwH8/DSL/5TRNU/2vyeghptVCZwgion7q16ZE4PEqXRSRRWJbkKLET6vzRNd595lbVHM4Tvuin8tEZTE8= 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=lWmd1LSq; arc=none smtp.client-ip=209.85.128.42 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="lWmd1LSq" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4361f09be37so7286815e9.1 for ; Mon, 27 Jan 2025 05:48:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985692; x=1738590492; 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=ugABKu0ItW2Lpbs1ECvxbL95EBd7mRq6qs/bbJP0oRk=; b=lWmd1LSq5jSZSwTDagWaUxLUbMfN7cPgdrrtrkqU/5SKfAiKST82RNr6+AGUYkKwQf hr9pOlVEJxzDpkqfVtib9840Vr0DZJh9AfcUEElGkZNz2fmreceIfNJi9zAr+2GF/Q72 JLqUHI7lVaV+6XH8A0gw8HManw8xGW6MjK/2v+suU7X2HU460YfUYaXLF7uk1+xACFGA qCdFUyMBdr602BcWFxy1LOHqq+XBLXXNtOC4kiaeaA3rUtGHKcZqv1DlorKUP3aenQlq NOl1Ol7v1ru3X/ZrlTBoamaeSokJDsmg+ovY1K8F6FBiVEdRn5pvJVN0jjOH3l0z/crr lFjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985692; x=1738590492; 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=ugABKu0ItW2Lpbs1ECvxbL95EBd7mRq6qs/bbJP0oRk=; b=bn45kIfNce6hR3Gk60mUZ/alkeEqdzlybwVrLn7oHB3GQIS/Fq9JkOlbhcIN35BanQ MsMFDmPyypj5Im8i5kRV1t3IEj2SMRLRUA9SWeuG6t9Tg+cpdkoFxXWatWEIpbuBJvq9 OWHomHKDCxbavdKwuWbJc9vw4241I/lC7eZbLrsamfLAfyNSHXhUd3/kb9/Z0Yzy+PJs 7Rsmm/TFhXEHuGnM/7PGyN6u3n98aB23E/uaVbLz4avYGB0BHMaibeiCD/n1JeMSdyPL yqwbGkvlcKywa5WOkCObF/4AdIjuYCeDVyAVn8nePE0E/Exz35Jrl4qvNiD1v00uw7ID YUrg== X-Gm-Message-State: AOJu0YymnwCq783D4jUnyXdXBZxEYoW+Sm22JCHuJWUxAFo2XNa3Vfcg lGqP4xUHRYZDBOiMHOffS4l5ud7jdglzPwi45X+ABs4F8jEUhd7GVo6Y3bB8E6U+8EwPyANGcD0 V X-Gm-Gg: ASbGncuNqQt3KShnyOpTAZUj7e3P9+mVloSHRxiDP+TUj83i7o7AwcLtRTM0IYJmcBy Mb4LimYrKcyEjgzONc29VmcEP6lcJMxog3+Mzuy2eoEKvdf1+xy8xUZ4Yvv/eRc0WLwmQV/9lu8 MH2Eo4oZ2K3HXf5bHIc0iiKDYw0Nn6YGiQcJzQ2+afAW1w5LfD0GLc3495WUqQHCmBQul81TMr5 WCH+fAxgdQPR5n9DYeHBaUQE1iEHuwnA8KBLX/iZnAHDnnEWOhoLQW35nrEdPjXfggUC9+zj8mT IZqE98SirR9t/LZRSkw= X-Google-Smtp-Source: AGHT+IFURcwVWxkrZZuEH9nTG5+V6mgWguZ7UMUGNEDvLhaTuDXejdIdMBU5y79UNKiQkHfzoOpd0A== X-Received: by 2002:a05:600c:4fd6:b0:434:f1d5:144a with SMTP id 5b1f17b1804b1-438912d37d8mr142295605e9.0.1737985692387; Mon, 27 Jan 2025 05:48:12 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:11 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:37 +0100 Subject: [PATCH 04/24] arm64: dts: qcom: msm8917: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-4-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1709; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=zWUbLAUYpft7hbv9yMmY/s1ZO5A3FIp2EXzOJ1TgXFM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46CwQ3qQBaqodlJow6zbkr6wu2ISgAF7O2zt EzVZYdYmmmJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOggAKCRDBN2bmhouD 1xHRD/9KNr32DohntcbRGldHF8llr2mi7ce9s4AW2OT2bj3M3l1PwupU8QRJx5Nr9XExb3mbO71 EfrIqc/Qk27SzJYVRoZ8r6442F5EfEpMQc6UDlnOJBOZ7JCf82b6bGKtIMn85Y08oh+h04Y9nb9 ki632RraezT0D6D1uVfyeGhXJEd2JkSsTPll+TZKWe2yBCY/ZJivoslASJBEBVkcqlwP2o789Mh 0cqjsrn8cIkCumK5B53DSH+zLJMSbb2I9uOONYsnrIp5+H3687RhuZgx8YJViUzgz83UFf1qDJG h9blvk4c4WIbJ9Gq3jFee1L5RBN+N6DVuM0sCujmE14QxHselXVffC49TMfq3lliC6k1ykcTc02 8NZT+PgCp28qnnm/iMA0pFgFA6i+fWpfQ6qlb41x2659wYgw+vzJCm3vomUyEsXJ8F+a3t8UQVD idmcYt1+pwrtiqittII5ZydCFKxhZJYmnYlv8Z3Li63PrBl3CGH7TVsoI6FaqRNEd437CmubIZM zxKOnTLdIn7rlKvi2n8SHmRcU35E8ejiTs1YdXcU3h28PevK9X0Yd8OQgRgFkeF2KmDZ12cEwWY mSmdpbXFpIeMo8LyC2lvFziiu6Gmjw853nhAOR8fItyhlZ83y3D3m15aPSOBlJPZj8RkIf5/XTg zgu9WCQ4pcCJQkg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ Please wait with merging till this hit mainline. --- arch/arm64/boot/dts/qcom/msm8917.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8917.dtsi b/arch/arm64/boot/dts/qcom/msm8917.dtsi index 7bf58dd0146eecdc96e29187f6dd475598669c02..dcc79b851ebfc77623e4bd16bdf939789c7c64f7 100644 --- a/arch/arm64/boot/dts/qcom/msm8917.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8917.dtsi @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only +#include #include #include #include @@ -961,8 +962,8 @@ gcc: clock-controller@1800000 { #power-domain-cells = <1>; clocks = <&xo_board>, <&sleep_clk>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>; + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>; clock-names = "xo", "sleep_clk", "dsi0pll", @@ -1051,8 +1052,8 @@ mdss_dsi0: dsi@1a94000 { assigned-clocks = <&gcc BYTE0_CLK_SRC>, <&gcc PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; clocks = <&gcc GCC_MDSS_MDP_CLK>, <&gcc GCC_MDSS_AHB_CLK>, From patchwork Mon Jan 27 13:47:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951399 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 44C2720103D for ; Mon, 27 Jan 2025 13:48:15 +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=1737985699; cv=none; b=fT29r/uFu04rilNd7sp9haJ9WsU1pXa69iwkGkTY2Q9c9RkdhhTTshL0A6PGn15B3a4k7PfZvjNleleqV3aSIlE2No/X99D10DdRWMv8t8MsdBiojSAvMg5L+uJBu1WvgjJDELekg47UhhVRReIsZ5dum7cFW9RRb/YOHZVO7zQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985699; c=relaxed/simple; bh=02DMujMQn2T1XhC7RvzjIa2ucfVSM94krm7R6DPwio8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZiQictlivokQ61Y1lFDwhvyzd7DPCNDUGwU+lNoQx3kwsnpZun66/J502Q2SQT1YpMR9lF9BRcGw14HZZq5mUFwkQX6ZIV1HPROLO+G0zWRjZZQjqjBOdSLE78uFvUU1Z3cyrBhGph/AGu2dcIFCeVbBw+iXI2U+Owd9hehTTmk= 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=XhSCZk0i; 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="XhSCZk0i" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4361f09be37so7286845e9.1 for ; Mon, 27 Jan 2025 05:48:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985693; x=1738590493; 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=XINxUO6RsL+/yLXF/kte390dxVrYuWbYZgqCNw/ODrQ=; b=XhSCZk0iUnSa31Kr8g1012c+SOwJNYd5muQzwrTQUWXjlZTVuZ9oHdfQ5k6t7741bn YUA/+pVYv5EeFEpDNbpG7qEJxI04nZdsZQmRL/RbFFPZXJ7qDDf1vD4NLK+y/Cylatug EciErJgfGTAusrYZLi8Und3V+ZbFOYDnT/1rOiT4hgBjeBimlyDxvmDhkDbE30XOA9C0 y4xUcq66EHmwiI5qTDsnQepDBwYyBBG8sKCZY3lhmVUW2ntjUIW7Y1DYjmJVGyzjoc9W bbk9UZCGmrl9Kd50wge5abHkEAJGOCoA6FZLgz+6FEDpdLs4wXOSW0+5E0EmbaZd0Z5c w3Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985693; x=1738590493; 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=XINxUO6RsL+/yLXF/kte390dxVrYuWbYZgqCNw/ODrQ=; b=SgJEJbvPbf9n7NLxuNhISoYJc5OrBD9lgkIu2NODjVhyDQGvpyBMQ2adDI7CPpmsit H29GYyPd/BERRP7MplBmz4pRS2gUvyZPGyzPA3E5wU2nW/lVR53L041AT6/5FKmxYN3K 7g9eYs39Vp1PxHrquV1LjMjNEEUhuMETP/8wVYuTsN4fSmuM/FEFgOm32k22+tsnwc2Y UhDFZi4/x6rou7QWCcvSvlDi2OTWImpMs+M/GpIMiyiQmTZskj7VzMNHrao5WN9266wS 6qLtqLJNk0wqQztINR9O1rpYdXG0gwtWdOS5X2rl8+FD7aZsUGEN7TjGYzuBUoPZcAHZ 1usw== X-Gm-Message-State: AOJu0Yw1mJgTcogSUKet7AjFq9Sngo9Td50dsBnTgnBcMISRNIna4mBL CWx1IhBfHLuUw0WWcmqEnWwEUOzRFCH1Ohe5EMlaCmbf8SVP/7QAXUL4riE2ePA= X-Gm-Gg: ASbGncv31QKPiyL54GwkAM8bYrlAnFq8vdb9gBDBUiqdmI/FxBxzjmP+vSl9CB2WrHw otu8jWBS9SlFHnHv9SuCmHn2c3IhehOpnk2w1qSl3rIAV/kGrNllNK02x8YO7CoXnj8xxyacsfC rabNdTPKjzvS7j3yz4bNX1inElhbzzI4pwRHUHYHlGn5jfEsZW3Lt+M84lST2c3EKNicgJDSkng wgCBV4mzA351kBkRyMQplLNJhwTXNx86jExfhSK2S/xg3QY+glvABzcrDLtRr4ZYmS7DR1qPILy 8tqq11Rl8YzRQypqNYA= X-Google-Smtp-Source: AGHT+IF5eCzx5sh585VYY0c6nXMl4UjYtR7pwjRxVVYFLUtIRaznI9uSnEF5/wTnTUlO93pwQXLjow== X-Received: by 2002:a05:600c:1d07:b0:436:17f4:9b3d with SMTP id 5b1f17b1804b1-4389141cda7mr141182545e9.4.1737985693551; Mon, 27 Jan 2025 05:48:13 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:13 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:38 +0100 Subject: [PATCH 05/24] arm64: dts: qcom: msm8939: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-5-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2053; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=02DMujMQn2T1XhC7RvzjIa2ucfVSM94krm7R6DPwio8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46DXYqCeBvjczYMSbTtjGRcDg4MzevHGtrmO tMCfEvWpjuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOgwAKCRDBN2bmhouD 1+6LD/oC/ZGvPTNqAO5BRYpJOzp5sDNS/Vhp4/3yfmD3T9cAxkFO4KwID0NtwGKw3U5HcF/9V8S FAZzB+riIKHeTt0rKWpz+NdI9uYjVE7To+dCaOUl7rqZrSi1LSTqfi6hSX8ZNHNB4Ejg9RG6hqi 7c4piRqzrpj0X6kSzGVDyJxU8fup3dVrOLnBcWul6FzO56JIJmIWVOCjH9Pdy1WF2TSRRdZjWA2 aibj22RheJeRmYNXhu3EV1vGfC2QXOv8U4Amkln/3EFjrK7HBamCvslGjCrv+D5EPH+E8OvuY6a +VWoHFtcMxuulIpl3cSe55WofH0GFNf0sBaxi0Mqbz7L/21qUbHG9UaZYfWdSNSEdSUxcAOWIVz a/E6GVNO61r9H63EVgRtBx8FB+Dt0oKwCDw4RWEzkTE4EIuWaWaHa3Na+p84l8yNC7uli72Vaxh QL1x4/KD2Cak+iOQVMzYd3BVinMf1y2V87YPBYba1KwzhEnqUITHg6037Y4pvaK5JZZOtLQaTyt Ut6Im7EhbUkbb+3TOcBo12ttUe4TZqftgkyNG70+42HH2rCJv0+xTQzUBWN/MEX+l01+KAPG78p 0bJ70978E0rxztI9PkSyoGDZWe/CQwElLrizCsSf3WRjFSs/5sNzmQr2Kl6ryoNQboCwcDaM7RV LekCImniR0JayZg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/msm8939.dtsi | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi index 7cd5660de1b33def5b9dc8a0d02583c3eaffb17f..5e8c3ac39de8b1f974a7e1499c7c805f21735569 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -4,6 +4,7 @@ * Copyright (c) 2020-2023, Linaro Limited */ +#include #include #include #include @@ -1172,8 +1173,8 @@ gcc: clock-controller@1800000 { reg = <0x01800000 0x80000>; clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, <0>, <0>, <0>; @@ -1291,8 +1292,8 @@ mdss_dsi0: dsi@1a98000 { "core"; assigned-clocks = <&gcc BYTE0_CLK_SRC>, <&gcc PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; phys = <&mdss_dsi0_phy>; status = "disabled"; @@ -1360,8 +1361,8 @@ mdss_dsi1: dsi@1aa0000 { "core"; assigned-clocks = <&gcc BYTE1_CLK_SRC>, <&gcc PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; phys = <&mdss_dsi1_phy>; status = "disabled"; From patchwork Mon Jan 27 13:47:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951401 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.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 18AE2201113 for ; Mon, 27 Jan 2025 13:48:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985700; cv=none; b=oPXq4IcEbodOONXk1XsODOxG3XWI32slV+n1pDz+yIcNWe9kg7HMFfDGYwREBam4hX29vXty1EqvCkSL0/M6zQs78agZmOtLH/ktTRerib4mXuykfhMBng8AqEs6HT8nGwtlph6P7ZVRlyPdmMA67kjUd4oosh3ohuSDFRh1fo4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985700; c=relaxed/simple; bh=xnXmj4e3tGtHbKZD6dRjpRih/cmTT/iR1kKvlqmHanY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cj8s2K/bYWj5sfdheXG8G4rgTvd7mJHDJXS5/sEyl18w/7wJCpHwKjtOmwKyOMI8R8D2Pk0qO7U68+Z+kzB918Zt8sUL3sEn/2C6OHbHvm9LEfTfIpAN/oq5zxyCIbRhHgx76xYM78HQ8UtZd6ce2Cx8MFtYlMV4NUKclKv4HCI= 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=tqgzmOpl; arc=none smtp.client-ip=209.85.128.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="tqgzmOpl" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-43637977fa4so3928645e9.3 for ; Mon, 27 Jan 2025 05:48:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985696; x=1738590496; 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=4Wipkn4oUshaV2zs7mkyIs94gtpMOU1nFJLilmOSM5I=; b=tqgzmOplxgsYhxjRbSeZvC6xEc9fkruzyyKFD0MtJ4pSu9JTdgq3LIJrsdRHZh9N6V pSNpv8+9rDMojNOkXBmyd1Ig9lfCZrPE/y416cI2qoCHiNwcpPDJE+Fgqp4CAWab++2h Fi8v3mYYXynd/FNIDYckjr9FvToDmAHHdL/Whz0xO0LHGO83J4T12wpTycTTEw5cgEV8 KMiM9vInRANYizoiZlJlB4N8gWG87Acz9vY3IEH5WgAsICBfLSAy9+79iyhB7GALGwpg ziBtX69KxvCjPdN3mEGLQdjP+ZvYPX7BQ2fPv0SxODMxX7ncBTCVvHtUwU6FhT3ibc7B d+kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985696; x=1738590496; 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=4Wipkn4oUshaV2zs7mkyIs94gtpMOU1nFJLilmOSM5I=; b=KDf3TNgDGfmWgT9jjB5r/F+NK/wFWU/WPHLGCwQFcwTaklaqQ2jiKnTC0nF1RJ4Alz t2k+HxmIH4R/hQqzuz2frzQvGW5DFnUxoTigdHw4+kF7V3kOcX9/S4cQQ/y0prc5Ligl MNJ/LhqZg1A/8zgWnb19q05NEPVZq/cp9S5npdUhKTNB8Os4upxBQEcMYeN2HPbX3TSN VJxJVwaCC7OuE0zne3p9yWYKK9AxWBfAxJEgcpTycXECgSgIjZlbddRu884Y3++HFiUP uxzCjKuw3vf+9MU5qDW9kfBcnp4UIov60asfvsWRLH2B3Eoq2X1opaBtF0nFyMa8oXEI vaVQ== X-Gm-Message-State: AOJu0YxiIKtR0ZgXIR7P5sfEQUijDEhbALfPkw3ZKf/LC2u5bdihxAUU ITog+FTFSjdKI/waA8lJE6hyM+yIVTEILDUtBzt7+1WrJUGvhEPoSpNYWBF/lLUpCnrRg4cv2iX d X-Gm-Gg: ASbGncsXZ3Y+nYHiPyf0oTos1IOPqqrwijCzeysIaMYM47HQ7fWoc8km98ScY4MpGRo PJJRTD/Do3JEi9AjQUylIwB6DglpJeI1jpQnsC6OZXHbFlBabMaUjB7VzEpFwl8d+8CWxF2dbMN ar8PSpI/bXxKHiHSrjdiPmhS+KYdRHf1fYBLTaNRr+sbwSUcCXlLDRqEIvDxvwIQzLiOQUxmOR/ 8NeTTsPkxVhXhYbdojbSwfU62QZiHXBWsJ2xbSA5nZ7sTV9AXlmIIwYoAuFmmU8qJdsGvGbiJKa xwxevmtsTu5gQfHtwKM= X-Google-Smtp-Source: AGHT+IEmbmkAIgTWVJa5wTjurZcYUWJ+ZmHHBmFejHicvGcRW/Rt3PrDTapMYDd0YE64Ue64J6uxvw== X-Received: by 2002:a05:600c:1c23:b0:436:488f:4e4 with SMTP id 5b1f17b1804b1-4389149cc76mr139232945e9.8.1737985694929; Mon, 27 Jan 2025 05:48:14 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:14 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:39 +0100 Subject: [PATCH 06/24] arm64: dts: qcom: msm8953: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-6-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2265; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=xnXmj4e3tGtHbKZD6dRjpRih/cmTT/iR1kKvlqmHanY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46EpdpNgSQQ06lYinYMBv4a+LtI4XQ089eRf T7TW9jDrDeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOhAAKCRDBN2bmhouD 1956D/9GubEVTvKDe1gvVG1Bv0gZ9XzelITEiRjL7SrX0NlUR4BKKjFKkbGxQlmnUFTu0G/21IT wlyNBp/F3bPci2I75u4mzsIKsiTlcUn0l0yQVOAfZcOggoQicGuORl3znUWa/yqK1lIph2592+u lqdDOI3MOV3GEqEAElOjUG3FCOvqOfMUJYNTh/4TTAhp0XyjMRMnFZiaMbsmGvFSyaS350i2QET xdty7/BYcs9hHcRn/HV9UOKrwkIx64xjP3nNCw3La8BbdNOLvOnMUd6JhsOYcV1BRewYtP8yav9 vOmI6ma7ASvtgTEYuZevJ6TuUyQ0tsh4blCI9Fd30f4nHNi4vnGpSzaTTKdbBbT7bpHTNgd9zSm IWP8IpjqjrL2CR5sXy34SdnX255gt9PTDgX7xBpg5gjib29BqEH7SWFEgdphyW2XpvuxdQW+yCz Ye/6nybAQK+o8NpyrcVRasQAA8nqOkdtNFF8RFidLRg53t3pmnUsnGWo5/oCzKVQQgS5aaIyvdD IBnnDzNIpsiPksyx0e+BI3CQ93Tt/FrRydGHh10lmG1TCdKKk8Drh171GKsamkkSQsCWmogB/i0 Qsp3lPl9J74uelMyh457jHjq2xdE1Slpd9ohuj3RMSuKMOQ9vxoos9Bny5lReEWy+eNcLtMalTb uQvgd2yNy1XZTNw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index af4c341e2533ef2cca593e0dc97003334d3fd6b7..4793a60fa946195d3220b6c44dec170d443f56db 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -1,6 +1,7 @@ // SPDX-License-Identifier: BSD-3-Clause /* Copyright (c) 2022, The Linux Foundation. All rights reserved. */ +#include #include #include #include @@ -807,10 +808,10 @@ gcc: clock-controller@1800000 { #power-domain-cells = <1>; clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi1_phy 1>, - <&mdss_dsi1_phy 0>; + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>; clock-names = "xo", "sleep", "dsi0pll", @@ -917,8 +918,8 @@ mdss_dsi0: dsi@1a94000 { assigned-clocks = <&gcc BYTE0_CLK_SRC>, <&gcc PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; clocks = <&gcc GCC_MDSS_MDP_CLK>, <&gcc GCC_MDSS_AHB_CLK>, @@ -987,8 +988,8 @@ mdss_dsi1: dsi@1a96000 { assigned-clocks = <&gcc BYTE1_CLK_SRC>, <&gcc PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; clocks = <&gcc GCC_MDSS_MDP_CLK>, <&gcc GCC_MDSS_AHB_CLK>, From patchwork Mon Jan 27 13:47:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951400 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.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 F3B3C20110B for ; Mon, 27 Jan 2025 13:48:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985699; cv=none; b=hECqOxWnKmeibFaWsuwJ4MfpXMFJkCgi6GObyby0z6srUzgM8sYKhEvKkugXh6VUFahB+TFS28XGjNWOacWElvMTFWctt63OsdTGsTOn5L0ZYTe9QnvotXXK6/0onF/Dg7xEGh1ESKvUjBSm8v3W8GNG+sgAL+yelvUI7SgINi8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985699; c=relaxed/simple; bh=GA1k8TYbedpcAFsOCae4GWSSdJdm/ok0oyOAciynePg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m3UTFRCvtoFeGWnpUX6KL/X97lQMo3PE+Hjc5As9MaRbAqUxl/hH28pcEg8FZzhTh+lwxwPn1e9Tas5DFqcfOfwSIuBKUC+FBKNZGKHVgrrczbf/GPyDWz5AaKsXCi81MrdqrMRdnxULvu29FKy9FozxZLRMvRO5i/+3NcDe2Fg= 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=iHGXoLeG; arc=none smtp.client-ip=209.85.128.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="iHGXoLeG" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-43620a5f81bso3932195e9.0 for ; Mon, 27 Jan 2025 05:48:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985696; x=1738590496; 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=YwUBZyq+pVmnivBgVi2ugvPHF9cV0ulYZgN2tN39zds=; b=iHGXoLeGTftx/fetx0u1eG67ahL5WKu4qWo9xRPnrncqzplqfx06AQBZHx6TmnAO+H PqBH/wNCpFPiC2Te+YiTGSxXSw+oCADbwayQMIW5L/z81ZbQGKg4M9p4qFoAouUM8Mrj s6Hy/2EvHMVosCH3usFNKs86S7S2KubXBKAJ8G7EQgF9GPPV/0MBKHr7vyNEfSyu9RhC +Drt1ejYJvU7fDjxIM6WiYWTyMdFp0qQk/pgfkquZdBG6fX7i6+PD/LTky61aX0+gyR7 AXYHQuvtGqDNPVsdo1F2GllDcjYGqQo0EtTzaHkY0jSCyjJTUU2+O8BtXhp1YVYgk/mR TSHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985696; x=1738590496; 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=YwUBZyq+pVmnivBgVi2ugvPHF9cV0ulYZgN2tN39zds=; b=dKytqnhsuCnGcHGLBndIAvyULPSQdrq4lFBPFJW2hiSONLfEM0MJu8Vsd5cwEnyjUf VuC7A/zii9OZOVw1h2qDe2kqQpci4sXBeauIzB4jPCqKhOW2JTs5wDXJRCxmBg4Sgbtw wv55YdNO2SXjZuSHVmkSiX+13mgMJ1R9i+5O6VHGuwcY2XBwewA8cGMw9s4b86TkqBNd 8bd74Eo6X6FdWDJ5BrvR7/4G8Cy5FtdqbuG59gQ8vqZjKou5f2goNfR9ov29o5Dbgbns vdj1Q/tA4N4kaSjHP8vzxg7wRYAcC1kkMv8Gjx6d3/0MD2bTIbWAQOAYGGKXFVmZkwWG 2kEA== X-Gm-Message-State: AOJu0YzcBLkgHhT50Zwf2E7V4C2AH0s7JTZHA7IseB/5hqWgyA55UbPs Yf0I/pElUv7nWKUCgEQysIlH5hVXGg80cGyg01lVDrgp/p7wPMHr2NlV7u+OfzQ= X-Gm-Gg: ASbGncutnBy2jXnS2odf635vsLoIEAgtIhOt97fuigqXfNQaljeODuVdFEGQgnqja6M 6hWJ4R4OcAzRCfllmzI6xbA9os/ntZ9EfLv0uTrNqbOoiZzEO9NMP3REqKSb7lzcD5LKHe7wpAb Qybu5TXHF9X8pwS3Anmip0Yv0J3VY1zVup3QJETZqFpNDt4KihDbIXqKGTwR62O5G9GWSy+GbWe gvdWq9202hU4NrdsmWtoTAGYsCr46R/Y3t4HOQkwB3l6NsBkR0kfNtI2aMsTuBRnUwhuKwJyTjo FcqFD43az1/y0dVBCweETzEUZMOCuQ== X-Google-Smtp-Source: AGHT+IHLil/27HCqKNAZevv846pc9FZqnVTEupmYya5yOik+b/4NdA3/ddeiXQh1gyGr4PPfZthNbw== X-Received: by 2002:a05:600c:cc8:b0:434:f5f8:22cd with SMTP id 5b1f17b1804b1-438912dba99mr143207065e9.0.1737985696075; Mon, 27 Jan 2025 05:48:16 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:15 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:40 +0100 Subject: [PATCH 07/24] arm64: dts: qcom: msm8976: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-7-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2176; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=GA1k8TYbedpcAFsOCae4GWSSdJdm/ok0oyOAciynePg=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46F6+M33UWJHuGIzIjk0esSv0a9tNawykT6t vmL+Wo9PoGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOhQAKCRDBN2bmhouD 1yALD/4oY0EU3aV49UdprPBoJMGzxI3560YdaB4nqKSa/SpNL73kXUgMONx7OF8fBP/WjvbLMi/ qrM6OXo7FbNXKE/wC8fY6aBasP8jrH1K919YGLWbRgY6HM+ql2dr23IHbEGhewwKFaoAtuOMoZq i0+rlCsSZC578z3mmH9ytYytvs/Q/b44ScNM5JkBqkWYvar3QyU1pGBV7tCL6KI09/6oIRL3k/M zEt2N+Ciq9FWTC2t5Eq6GqFvFLh5y7SEopqKiZqTKDiN1Kp5zEs91SzrPS4fbzdFyfpr/J/ypKx OwxAukbd2cuAX6bFVZUR9jwXHjiNFmSFD0m6gFAKJVKAWgaRO9cWFIttg3tlwjU44ShOrYE1e36 +sXZDZ0HLyp1XvjYad0GbyGC1Y0NjW/24TLufN1liY2IK2hPxC33n5lr7LTXit9GrrYGXQHclXE 9CHYeLA/dK3shNObEs7B+5BTLKTKviKvuSsd8tn2wVL2AEi17zoUG/7ge+gWaECQA/cNzhq2Uqw 7k2bpGD0/cVZ7CdNgbihIDjVVONqblPwuQAY02/atH0I+OsQ5/oalltY5nhVQ3Z308NjRI/WWwx GYDQ1NytyKxcIJIVIOf1rX4UPUCLYkqLipcflc7tTZMREijlTN33bxx5oHQN20lv1l61sBdHcvW P6BRYGdYAzCIcFw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/msm8976.dtsi | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi index d036f31dfdca162debe18ed6ed9a7767a34aced6..e2ac2fd6882fcf47e846a92d45e0fcb9beba633a 100644 --- a/arch/arm64/boot/dts/qcom/msm8976.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi @@ -6,6 +6,7 @@ * Copyright (c) 2022, Marijn Suijten */ +#include #include #include #include @@ -824,10 +825,10 @@ gcc: clock-controller@1800000 { clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&rpmcc RPM_SMD_XO_A_CLK_SRC>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi1_phy 1>, - <&mdss_dsi1_phy 0>; + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>; clock-names = "xo", "xo_a", "dsi0pll", @@ -970,8 +971,8 @@ mdss_dsi0: dsi@1a94000 { assigned-clocks = <&gcc GCC_MDSS_BYTE0_CLK_SRC>, <&gcc GCC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; phys = <&mdss_dsi0_phy>; @@ -1046,8 +1047,8 @@ mdss_dsi1: dsi@1a96000 { assigned-clocks = <&gcc GCC_MDSS_BYTE1_CLK_SRC>, <&gcc GCC_MDSS_PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; phys = <&mdss_dsi1_phy>; From patchwork Mon Jan 27 13:47:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951402 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.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 2129720124F for ; Mon, 27 Jan 2025 13:48:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985701; cv=none; b=gEq2LekqAZsx5F3FfAtLH8XdEAo3HmJKWPeWranZ5Pf6drQldld9tEb7ek1R6hag/nTgkSJvxN15urYlRBrXv61fXWiIQ7hvKF+H6Hc73lrvm0en+k5DeNodQD4xrZabaWzplEnX7gMc73PnmVpvOmpX2j18cTo18Yh61exY5HQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985701; c=relaxed/simple; bh=mGmkiRUox02m1ce9g+fXSI9Okfurl5mcDze0ywnCPTA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fDyiqSpHCBQpP3tmm8oSQICIGypglCOg17tfM4dGhjYk+/QZwafHC5f44MCdtUwtsjkZMRkuVjQlXAzwI0hUgG+38PSGdsdYkXn1WgnCRwJK5uhgpdGz8MBWwfU1T/n55bY1352gc1l9WZrUYYUFJUOlIegazVewE867bbEbEik= 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=ju/LvIK2; arc=none smtp.client-ip=209.85.128.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="ju/LvIK2" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-43620a5f81bso3932265e9.0 for ; Mon, 27 Jan 2025 05:48:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985697; x=1738590497; 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=DsYdqxLem48YZjot1iomOsSqvGDW5MiQT4ANEtmq13Q=; b=ju/LvIK2MREw545RJiVWEqo/OTp/JNn03KcsdADbqgTPKFV7hL+BDKTfPBnz2MZ67V CXGyx3zEZiMBUrt8pgb+KaSCzm8y8TLTjRAKseFL95uRVzKgNKUuFr2m/c5L/z0bPzbG yG0B4xi/KJQLW5vHiBNdPCakdCSJ0/IMhBRB/bwDgdfZDH/vJOQlxY38ZW/iQKMyqg1W 0pf8/6nG+HJPi5zERKXoGI2axsrqJiZdhtLfOvvM5RsbwpwsfxQW5ThSyEyZ0ApgFSl0 5nrYXsq/B5DrFz5QnVEHQScKk2KQpPtvikm8dnxRdE13/8QHOmstiHmGi8VO1TKGizHL K1BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985697; x=1738590497; 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=DsYdqxLem48YZjot1iomOsSqvGDW5MiQT4ANEtmq13Q=; b=JskH6NkyWB0hL2L/3GFalKu37X+2klqvGtphYkJPd+YGikv45jnoZL0lZtbTXIc+As f689hdLPLIdhwp3irs5Y8ORwDFL9bzyStfp3myZ83NItRs94bsACvCnb+G4gZcSycadI /9QQFWkgo9Yq+GQyQhZU8j4pTuc4Arg3tnaKeBq2HpMm1DB3x2/xO8zg3Epu69nQp/Zu JTDhs7WcIAb7Eev5tiHWj05wLjBLrZkspb/HoyQ3U6wfhYaT/VmC8gnpA8sOTNuklCOe 7Sp5PF3tbHLnh+AB2X33wG9z5BBFvVeKusBDU+GDgWBivTeLyxTQ6KI14hxBwqGMLu6Z LKeg== X-Gm-Message-State: AOJu0YzZmo/jeu37bxh814lCqwSYp0oq0dQH00Qd9SPV3KMEKv5Dgqpn Q3EQctXOuomCXvVwPErro7OB78T2+kynnK23ZRGVcuDDtgYloArN6D1z0rjmHR0= X-Gm-Gg: ASbGncs7vr0Hz1rwho8KPeStZquIeb9FzaU7WYQV/L8TKdXmwLJwEjGG/Btx5XRcEsX JQIyzhUf5vvxK9w7udwCjNYmKVO2MHuFbm1w1qY1FErjtP1FG6cWXd3oKqfsbFBdKnuQ80045z3 UwraVyq4ZIlsbbibo+UNmsv4MralWhJJAaLgYOtQ/2DgzzR/z5H4osfOEjRyYeFFW1fgjWU/PPU cx7qA63XYiKYkvgfjkhQ74nfakopXwbxqArhv8Htlr66gypWBWtVWgOZ1MUOnvMCPwGNUmZSK5i rz2y9eCB6Hhw8ajhTu0= X-Google-Smtp-Source: AGHT+IGWhtd26JfvnoMF16YXOkVI5YDOFjYutMZkrc7n5pifAjjVTYCTn6T5NLO3rpuXEYUWsS/Dig== X-Received: by 2002:a05:600c:5486:b0:434:f335:aa0d with SMTP id 5b1f17b1804b1-438913c7b31mr150024535e9.2.1737985697489; Mon, 27 Jan 2025 05:48:17 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:16 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:41 +0100 Subject: [PATCH 08/24] arm64: dts: qcom: msm8996: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-8-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2456; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=mGmkiRUox02m1ce9g+fXSI9Okfurl5mcDze0ywnCPTA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46GTwW3fkZ3DvRZsI1kkXZlbt+DCoLpMB+4y XRo09ycjEaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOhgAKCRDBN2bmhouD 15CzD/9LFeiQ+bU/RuM3QMVlbdvDAnDcFyHX9WvpMdrfsAbKU9d3eFjVWSAGNwzCfHrIc30OPPp RNHzZp/AJvEITda/EEMlK4sYWoNtFVozszvM2xcxZDIc+eaQP19tpfLuLi3jP8CjUE/At/8g8DM FhadCgItWKt3a17fSMZHDNzGwUCcrIpEuWOicGtAVavyP7ovDyvFXVQRaTOXcJ7cTKGTF5eUl9l l/i0LW0w5siQ+YZgPUeFi66/n/4DXnt0/Gc6T7csd9e40wcOp7PNFpiYoBSr0KavkAY5LD28UCl pj8WpTim4GC6pEtx0SoMVamBGaX/W4d6ILEZcLvBBzyP6KTAyaP9/Jr339cPRX2dM/GOXYEvEfh BWx/LS9M0KJxvZG5tgc7tOglGXaJM3SHfM7xvhaC+h+x5yfaOh52E+fGNj/pa0BPCgh1jEnpVyj 1LeVqZ1BihNpbCAW5Q1BVtgZoPlE7hUR3mxJe9kv2ci8NYaHktsIlVtCd/LwUP6e4x86wxCB3mD /Nw+rbzIL6+35P8XVbSEVHvZOlNDMZQ0MltctxFqsP5seHGOvg5ewKSwCB2HP9V171aZ4SpstV6 Kvsmk23tib5XKtZpaOBMEZLJ3Uq5xU5hAK/Y0mu7hwSEhTzki928fqUTKe+/8KmTeCumY5u1bQJ WG+eirzkPRCUk3g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 4719e1fc70d2cb15a6a63d3e28622ae078a367ef..ede851fbf628428f5740ca8add65ffc05360cc62 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include #include @@ -937,10 +938,10 @@ mmcc: clock-controller@8c0000 { clocks = <&xo_board>, <&gcc GPLL0>, <&gcc GCC_MMSS_NOC_CFG_AHB_CLK>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi1_phy 1>, - <&mdss_dsi1_phy 0>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, <&mdss_hdmi_phy>; clock-names = "xo", "gpll0", @@ -1071,8 +1072,10 @@ mdss_dsi0: dsi@994000 { "core_mmss", "pixel", "core"; - assigned-clocks = <&mmcc BYTE0_CLK_SRC>, <&mmcc PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clocks = <&mmcc BYTE0_CLK_SRC>, + <&mmcc PCLK0_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; phys = <&mdss_dsi0_phy>; status = "disabled"; @@ -1139,8 +1142,10 @@ mdss_dsi1: dsi@996000 { "core_mmss", "pixel", "core"; - assigned-clocks = <&mmcc BYTE1_CLK_SRC>, <&mmcc PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>; + assigned-clocks = <&mmcc BYTE1_CLK_SRC>, + <&mmcc PCLK1_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; phys = <&mdss_dsi1_phy>; status = "disabled"; From patchwork Mon Jan 27 13:47:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951403 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.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 58E7A202C27 for ; Mon, 27 Jan 2025 13:48:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985702; cv=none; b=jhELQg4xPvePgF4WiX3n+oaMbSrstUrqg9VNNg705rJsexMBlxTadc3OEkwCobPRl7JcXUvx/D3GxNGGFIOAcgb0c0dOFnzmEoEIgvHeBn2bQfuNuLFVyMJ63BhUNi/kjSgJ/MGJcE7r8Gcm1xMKT6SQmVLPQH6F7lt4fM5+zCw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985702; c=relaxed/simple; bh=4mD3I/ZH+PdMbOED5R6nzE3D/5QdVrqSyji8jpkRaM8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eEs6uqWX1hnuH2tdUsKqkaR6nz2QA3OUe5nQQIsL/CHSKg4U/p18lTtCVfMiKVI1Yuqdy/tPsgztR+k74XoUe88EnDYZGQaxT+4O221UVWxQSj8q/7nu/eJNoBlikD27EHItG1juIJeKvJ1iz0IcT+o8GLNyUgQ7Jkipbn3zV68= 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=kD7rOlr9; arc=none smtp.client-ip=209.85.128.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="kD7rOlr9" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4361f09be37so7287315e9.1 for ; Mon, 27 Jan 2025 05:48:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985699; x=1738590499; 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=Lm4HhrVX4a7NIDiUhbpv0ZMxrzHvg+gRo9Ix0RAstow=; b=kD7rOlr9KuYc99+hzoiGjvaoT1a6aI0X+7BxXCynsi00woojm8nzFlYCYy+Uhu/OVO +DoCo77fKY1yXNscQD080dCuec6JTQXOzWz48kOABB6pQaBcsVOfEMMXeS8HtffsCai1 wfDfWRg15sBFSXV1mbzjJkQy0LNmbfjoBfi2KZyHFmCuDU+QiQRmMc4nvC/q8ShPEpUl vFOHbQgcr5QL9To+kgbhMa/0aNX/PzYGrr+NCQiyehVlJx38o8Y44ovQffMDv3gPEigT kBFyBOfDgkkN0/gIAFvU3/qBkBdROGpjqp/v36f/UpwYFk5oopjkA1NjY3wm6jx2ScvD qFww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985699; x=1738590499; 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=Lm4HhrVX4a7NIDiUhbpv0ZMxrzHvg+gRo9Ix0RAstow=; b=YWuFTAe6VpjJwI6jf6Zmfl+9AnhFUEe+ZokmvbA+6ohBoHWiCukSknyxJcIhF6yyZh +O0WXGbx1pkoMCZ+XNnfXF0tPpXh+xA+boiZ/Mdjei7+/L1gpkkckpNkyU9gdkznVHfn Oim1xE8CJSRX65Q2NfzUmdjqPm7YUSaboP5Befw3LZEfDwKXz8T1m1Zwd1S5Qv2lzdFP d5OAa0wB38bG7iLJbo/R4LL7h5LgIKp354qqD24hprjToHUx9Xv+CLf4Ekde62h/iOG4 sczp3mDRIlgoCAOFyBRnZqLRCPOm2GS/XcjQywgT+utPflloue75WCrvdz9B2yURd7AH 3+Pg== X-Gm-Message-State: AOJu0YxMbmjYIXUx3y6vAfJScSqGHk7VedGWvK2XT5WjZJ9lBGSsI49F IuiEIL9o658s4i95/ftAk8mBqtGRDjkicfa3jNRHEzrx+rBPyFYoWJKdsBKQApQg1JBlaDkstqi t X-Gm-Gg: ASbGnctLUD0wglwxIiTHO9c5Q2NSrzIB+37bQ8uUR+m0ydnRu/KkJ1EDRlwGXMKRC0Y XNYRbNdX3n1ZKpzKPfML+QqBWvzoleYKMfE1prVLlTcTdUTW7K6Nm0yVpDDHReQQfzRM8sNFN6Q SANgvGeHvtQYgsJqLrVbfsjTMxsIho3XGmALNHHDv4StaqMXDO0KUuYmEs281FNFSgjPIpVXJUq ijUqkDzrg7nEdHZQCFbf2HrrJ2rlhEQFo+KUNI0VbufHGtdWNathxmDy10EoTehApjYe8Wso+Jx o44yDtzGcI1z7sT7KRA= X-Google-Smtp-Source: AGHT+IFK40baDRBZZa6LvUMXD8hYfDj5xeWovQYJ4OP7ULhCiP5URrdhjEsPWUscdWPDjg3wpJznXA== X-Received: by 2002:a05:600c:1d07:b0:436:17f4:9b3d with SMTP id 5b1f17b1804b1-4389141cda7mr141183655e9.4.1737985698720; Mon, 27 Jan 2025 05:48:18 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:18 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:42 +0100 Subject: [PATCH 09/24] arm64: dts: qcom: msm8998: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-9-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2371; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=4mD3I/ZH+PdMbOED5R6nzE3D/5QdVrqSyji8jpkRaM8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46Ht5aABc5D2AU3J7klIw+w1xSxbOm+hCW+C atGq1lNkdKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOhwAKCRDBN2bmhouD 12aBD/9bzzfLTUYcYOypfpT/vV0aAcEP4DYAEJ/Rp7ohCLn/VPTxD2SsfMSDwhguddGwW4y6rR2 iPcTz45rqkVOZoGkObvw63TcJBGHApgF9Vt2RvDqIX98rov6IxD/Vj52RLn6h1oyAzmtaNgjER+ lBY1gv98nDIkjD40suNn2Zk1r+TAt2uWYuy6JCwycBDBfKPHWn8xYiP2UI3+muxSJM7fnZi6Re1 4DkqzjfVvTekXXLEvm1KuoSloHnVmuM/aGLeb3DB0a3aIXVQ9ei4BqN7cLxZy4uqti73sgQ7Fjz A5h555k2NTZ9SnmOc+Dv1K2JKBF/O3Gh/N02Xi4RTbPkOYVoyqV29ylCu9hLWJHZbaLiMfTnn3t NtjBZAHpCitjshVbJz5DzQNE1Av+3Gz9xs8rYRXz0jpp4j8U+CPj0PFVcea7HgribBgX/InlSA8 W8+GPXgU2AO4EpV8a5ncApa8J+EfQ02uBp0fhlqivhnmv3JhUrVKUE2tsgN/5A8Dtt/c5AX6qiV 9xQ2GWtef/bPpHCrrWDK3ftYU/ZoHBsHSqdGFqZl6i4URyqz2iUnZs7Hf3gDN7Zxd7SGPGRC3oN O1rUzp7jypTyBXXgcZrHyox503Vp6+Y+91kud74QO/1BcFTf+pM5aGse1jnyaVbjhBm8hKHc0mR jiYyHrDfaSBvSog== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index c2caad85c668df2ebe900bc560e39480ae03e353..7eca38440cd7ea60caa3e8467097aaf0d7928df5 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2,6 +2,7 @@ /* Copyright (c) 2016, The Linux Foundation. All rights reserved. */ #include +#include #include #include #include @@ -2790,10 +2791,10 @@ mmcc: clock-controller@c8c0000 { "gpll0_div"; clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GCC_MMSS_GPLL0_CLK>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi1_phy 1>, - <&mdss_dsi1_phy 0>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, <&mdss_hdmi_phy 0>, <0>, <0>, @@ -2932,8 +2933,8 @@ mdss_dsi0: dsi@c994000 { "bus"; assigned-clocks = <&mmcc BYTE0_CLK_SRC>, <&mmcc PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmpd MSM8998_VDDCX>; @@ -3008,8 +3009,8 @@ mdss_dsi1: dsi@c996000 { "bus"; assigned-clocks = <&mmcc BYTE1_CLK_SRC>, <&mmcc PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmpd MSM8998_VDDCX>; From patchwork Mon Jan 27 13:47:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951404 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 1D8272036E4 for ; Mon, 27 Jan 2025 13:48:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985704; cv=none; b=E68DfQnRPgWqTML9P5MmIbKPfCvo4jVwXarkFmZDUL/jE75eYyi/M9/pNyreUTFxMm8M7wez/AH7U+5JNL5q3nWhwhw1UUPyxSVjdpRl6SiwnGQnfUecL9nvjDHSR4qp838l9+pcV2ggKGsMIb6Aq5C4WUK0TRtJ/0gN1T5qfjk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985704; c=relaxed/simple; bh=FIuKkW1CzSLhLdhFLxXXMbgC7UA4/tekSoGDFuKEeog=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MvxD/Ne8D+WqqW7KRXbYHfL3glUcEDnvmaw2mf/+7gHwugDz7vGD54kPTsvmx4HW2ot5G0zkVpJkzOx6GeUZnPRfJpjmKA0s7qTYgDzK2Nf7F3wrdUtrxUqv7iaoolM9QE4Bu0NX9x3gl4ybls/rfj63H0V52RHeAmpdLF3KFOE= 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=rCPKPR6I; arc=none smtp.client-ip=209.85.128.41 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="rCPKPR6I" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-43658c452f5so2811705e9.0 for ; Mon, 27 Jan 2025 05:48:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985701; x=1738590501; 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=McytRK8bGbTfeyZruSunW0cr38Y4q03c8wd6GjVq/Uk=; b=rCPKPR6IowTKrGD7rFXeTQd457hOjRNmvmooI6SkT0VXuumBo2Y2VmiMzr5Vpv5ti4 hI6SDx8tFON9/d1WQCjMVXr9mXxtkyG3NBbYDGj59jDOqURJmboGHilUsAJpo48fPHsZ W6F2vz+yg3LGqrkOs5fZ7u+1JvHUne52D+bVYLtPoL8E7NCHAlf/FGU0CY6HLxfsffLG vDlev1bI0lc899RlZ0xQVhxCj9nCdMDav7KKnt5XnkLfbJQW+QVG5OuZhkeyFDYd4uP8 rwzkVWLSQDF42JbGOVxWFfwO1cvfv54y7BoBdP8HWZ2RRs53Ey9i6XuX+FUghmkrL+sS bLOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985701; x=1738590501; 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=McytRK8bGbTfeyZruSunW0cr38Y4q03c8wd6GjVq/Uk=; b=XY+/zoB9luafyk3O2/PvkaVc7V3v5sTvtk9qhJblwTEM22UGvWj8m3BYNFylW8Gvh8 cra5DqmtnYqpQ+/0F2CpRIn/Ys8PBz0jNthJVNiGfULRM5HJxYe4T/S8BM6Op1V8TSRJ P12vbukVU2w85pMmDdOokWCM89ghB1gWv0/mawp8G8gDMe/K7VE9X8uESG9k/toczl4f 5mTmuA49ApXoc7OzbkhZUsY9n1hXTh++I3C/jxksmqH4dZTTk2fqugSr7MCGeemSTCxw GpAYuUxwq6ifTsSvUPhaRvJ/L7LlEBLJPNiAE5BqJ5nuOVWGCLMunuMELTOfDBbRnBxx bx6g== X-Gm-Message-State: AOJu0Ywa2KZ8SsZGp3sy+LhA8mzvCweEirFocPkG5OCLwcDG9t8f1tBC pil8W7rN51WhBvTw1/NfQWJGMAWfiI1ylbnl1dB217OIlx4glyVPAHyLASJJyWI= X-Gm-Gg: ASbGncv3qkiTNVpgdceuU8VWE7Wm+po7DE1SEojnX0Vy6zSsiQSRaPRhl6zgNm2uRoO zXuYclhveWDxA0VG2u8fsOkjpVnq8gY3h0YbHwY1Gwf2c53HrNLqjFNYJ5T8iKkxNhkD3aE9KLN qi+utexuLKH+XRx5nxwuUTYMi0MaXeoZfJNb+Jh5opgt9S45TkSxuj5n6hIgYTtcsTGJEKASl4M FzH5QsL32a/nuWopSyIUC/k1h62mVHVsOu3jRs6L8Nh5zh9UY6lpp7rLwTGnYq+c5EGDzcrzRP1 qNtmJK1prOzffV8oQCY= X-Google-Smtp-Source: AGHT+IFr/nfu8dn+mL0rBT6svo5ztHqGkSUKYgUQ4qRyj6fKtRgVrrmY1jIf/DPMzgSC8OtGvNVjbA== X-Received: by 2002:a05:600c:3b8b:b0:434:941c:9df2 with SMTP id 5b1f17b1804b1-438b17d5c3fmr78857675e9.8.1737985699986; Mon, 27 Jan 2025 05:48:19 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:19 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:43 +0100 Subject: [PATCH 10/24] arm64: dts: qcom: qcm2290: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-10-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1784; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=FIuKkW1CzSLhLdhFLxXXMbgC7UA4/tekSoGDFuKEeog=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46HPzEiHrY/cCapjCm/rM3XUE7+Ud8Hu0aHQ WnMpFc88cWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOhwAKCRDBN2bmhouD 16QBD/4j+hdbkDOxylfYJm2zYNdRbemqv79e91DPTAdvPHFdVg27bsNs0TmNOloaHpyyJPghd2f OzQ/bRY/zK9jnPML8dA3DVXLLp+HtK0ZRHFHMDoCvMBBE+W2vqhmNlzoOl42Md3JzHSannTsBJe lHWtAk8I3gvCLk1FS9VkYuNgNGrJ6b3kvr1JxQ065TaLkzXKDx1RWXea2gZhJbgWpR+wmLdQ8Pm Y4IR5/m2ghRNbJp64+K9bTxGtp66ImTuzwwFG2vBWrpR3+heSDVuZWNHNABR3HYzoBJ/rKnVjsi KYNkhx1zV6/ATv/u0g/r9kiNbvl6C4u+h9G3yctyPGMcEw7xesCbtirq0UFfydfNEhwuduOowuH 3+ZI+nOjjA2ooUKVL4675nxjw2fz36yl+ftuVtppoOlCtwW2DY/nfK4pylcJ1Vt80oEQxMbYVo6 lI6uX6y7bwmdub9MgVlAKK1W1y4WOjit2vQgBSpR5ru3gIofE5ZK67C28Qk2b6U9pE8hnC5O6X8 axW2BXyWMH33nO0MTYzcbZz5X9ZR7/41wpIpS4t0D7LfDLK+jBld6Ap2UhOv2ihve9kTqLg+heR tJHCAhIpmwcon8b3WEB1FeX9lWqdFzKD1flSuPCus5A00xFJ+7xdWdp0JSqyxV3pEUC5PGRM5Pk /b5h6orkz0qMlzg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/qcm2290.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qcom/qcm2290.dtsi index f0746123e594d5ce5cc314c956eaca11556a9211..9000ae15a3994ea388fde9f4ca21977f58a2c60b 100644 --- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi +++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi @@ -6,6 +6,7 @@ */ #include +#include #include #include #include @@ -1702,8 +1703,8 @@ mdss_dsi0: dsi@5e94000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmpd QCM2290_VDDCX>; @@ -1785,8 +1786,8 @@ dispcc: clock-controller@5f00000 { <&rpmcc RPM_SMD_XO_A_CLK_SRC>, <&gcc GCC_DISP_GPLL0_CLK_SRC>, <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; clock-names = "bi_tcxo", "bi_tcxo_ao", "gcc_disp_gpll0_clk_src", From patchwork Mon Jan 27 13:47:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951405 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.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 36E48203709 for ; Mon, 27 Jan 2025 13:48:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985706; cv=none; b=Q85uR3Ns95lzod5QePjAecf1Jw9d5Xzc9jXhK08NsH8UDy9R9XMss4R0sUb5/p+5yQPr/jt/GofKWuMs8ZYPGfSYJhOmMqNfeQGLRGRlBEhdBZ7goCSPJvOaFR0npSQ4WG2bCsfBttHHSfWD3Tuq4dokzZWc2MxLVSAf9Pqgkqc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985706; c=relaxed/simple; bh=5u7/X5AFxLWe1COzKU5ZQH6Z0+tmcJoxZpz7+VOErhE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iNLBbqBESDX8iGzlkZLEXFniqfNqucni2NAWHYDwBv6UMng8u8+iZL8ODhAX2/lHANna45WKhzbS4kleQhLjQdeptue5K7BSrr7Soct6uNkadyPPH8OUM6Bh+osWlFUizhiWVvCiWBwYHcZvoGedCJjWVwmWsBQLlWKS1MN3eXE= 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=P+Tqi8QT; arc=none smtp.client-ip=209.85.128.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="P+Tqi8QT" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4361f09be37so7287405e9.1 for ; Mon, 27 Jan 2025 05:48:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985702; x=1738590502; 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=6fNEbenU3dgOTNnq78x1RhISVr6Hys5p8jVTqDS7L0Q=; b=P+Tqi8QTovbEnzTbOu8uM3LjbdELGC/H0n2BsjijPVl1dY85DSjHbvjmutQO7buVGO fWBT2xL13r+6Bz4B9vmY/rX+go8e2Kh7XwP2VoUBcJXia4V9JeXf8s4uNkt8jvy600Ru ma3qNpwDnLzqhzfS/LqihQqJaWbZdlKhb22bdPnZ9YvXUDDoFiNeUvmfBwXmtN/3FmXs RUr49KxHX64Z0rse+Q/p7tPKRV6HwWLZme6xUYMfZZTH/RYz8s9zgW9JpgTOECrxXZ7F S6OdLFZA8WFyYAbCMOeNaWExOjRMA+waBJdRUjBm+zDHLmnXCtS/DmNUbYc0jhngn5df nsag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985702; x=1738590502; 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=6fNEbenU3dgOTNnq78x1RhISVr6Hys5p8jVTqDS7L0Q=; b=QJPtffid26ME0iRGy0zeIGZOSjSGeRuo/YB4dzUMg+U2UWbWqOatUgVkvZDADvvbzy ZhvoMZgAAEZO8W0xxDx4cAj2DLfddaVCOJFYpzcmGvXA32E5KKtvyYpXBN5z0LAu4hez Q4duYOdZAzCNqlPQ+w9FaNmGsZBSIBv2/cJjNDUVGWcs0vTimOLs0F0O7EhprZtwmXf8 l8lIuufwdXsXgUbX41dhJXD9Asx3Fo0d1pjUAFsxTmuBWzgsf2IeljpDvYCzkbZLdwHg qMhiN7TPj/v+NSQavD8+IQQKx3ubdkHJZp2+hSmZ4AgvKW8UZ/1ivfWlCEwxDQnUDV3O n8oQ== X-Gm-Message-State: AOJu0YylkYCRrjNEpdBz3JiTnVr/mhmNws5Eky+8OOdCFbPSL13YH0u3 25cB9wuqzTO8P5GE2S+nEgVE9tZvuwQRr3uuL6lmOV3PZB1KP6zONFeJpQwfyqA= X-Gm-Gg: ASbGncvHeCmU7U01M1iWcAlzBcWuYyKlExHd7ZFEvAoFMRgWDjVkKy0nD/qVj1TqZO2 TAXD0GCGoXLXCSC087VlldUe1+bfGdp37CztG2L2ddDTh4s+h19sqdw/8i0TLdYNN8k9/eFwjfD vf3qPcAdZA2TFrVi6fLykKX7umbEcB6q3NQMe4KN94Dmhndw/rIFQESbkvuleRWZPHoZXkLexQt JOoA4YUpuqiEEk2h0z6f3b4TwoWesbDRvzxRH4mKDDqbINZvf0njaWKE7yIEOhew4BSbiDw+haa 4cBnfFyxiN3XZo21LLM= X-Google-Smtp-Source: AGHT+IFq5K/2c3QNNN9rOef6+216Vvtbhk5F95zszBoUsLLjwdnDEgdsq8tPkVAee82U3bVB4l54zQ== X-Received: by 2002:a05:600c:444d:b0:434:f335:85c with SMTP id 5b1f17b1804b1-438914321ebmr149303425e9.6.1737985701053; Mon, 27 Jan 2025 05:48:21 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:20 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:44 +0100 Subject: [PATCH 11/24] arm64: dts: qcom: sc7180: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-11-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1953; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=5u7/X5AFxLWe1COzKU5ZQH6Z0+tmcJoxZpz7+VOErhE=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46I2Z8VcEEzNjr+M3gHIZBJURp8Jq21Oti6g dkNuyIbaeGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOiAAKCRDBN2bmhouD 1xY2D/9Ij1d2M+gHBTXpsIi+w01m0A4t7JxQmvIVtp35BkkRXwsFk5OfewBBWBkG2xbhdTlAQL8 6RKE8t1zf7L0ts8vyD4NLig+97ivSChozQaWx7i7NJyZLxpQxCWvmK1zY4XYKHEbH1kE+XtjnIr Q0VwcKt2c8T78M9pr3SXYGLuedRWswiggRlix5AYPuiP+tO1sr+pqXqYCrPBwUzbgMRikspseNP 6kc+qRjqkUev8D+D55i8xuBgXEdX6yJqekYj+U5WYZepN5/cYBK2QlvQgvPbBiSIdkb0r/qsFa4 gof2iiEJFvAP3Il9RDxGr3vyyn5XEYhWAjBgbGYuHxggzF4mptNKlVfeeUP5mlsIsd14nGIgH1w ZHxnmnH3NSPO/GoKYpTmneMXKVkiBNSTuOhvlmJi4+iCOZGf70Po4iEI3yFGMWbQNTIHNrnOJDf cUrtGdAXcieW5oHSjpnID5WtIz/1YcW62AGGQX9MDJ08SKeQUHdcwKvViXBPXHnjuAo1MKSWXI4 EYIkjfEwembwNDbPeEJOKcTjfdXsu41RBj7BIr1E8e4iufWro3rLfe7l0hAqEVGeISmI76EaZr9 TN24DlNF6Bqe+69LmH8OlMLbIi5Uzocry8Srf/oOk8cZCdZ6NhiLR68r8PwFLMxwBCu77elb3+s JYMpBMxGp6vitMA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 87c432c12a240f8035753ad10ce8662584a3f1f3..d157863dbc4a18b6861060579a148632f8ae9e3a 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -6,6 +6,7 @@ */ #include +#include #include #include #include @@ -3284,8 +3285,10 @@ mdss_dsi0: dsi@ae94000 { "iface", "bus"; - assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmhpd SC7180_CX>; @@ -3433,8 +3436,8 @@ dispcc: clock-controller@af00000 { reg = <0 0x0af00000 0 0x200000>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_DISP_GPLL0_CLK_SRC>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; clock-names = "bi_tcxo", From patchwork Mon Jan 27 13:47:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951406 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 A94D7203712 for ; Mon, 27 Jan 2025 13:48:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985706; cv=none; b=fgVhPr86AcdZsh2VVfJ6rCeL+EwAdRuBHOY49MYqBFiy+HSzdNxJfM6eMvjXcnUvBSMcqKhuEGTql7/XUNzdArMcO4GUZuCB4gLxi3GU1ibaso0PBVNgsTu/z2cymGmgwZMCBzBGHz7UV7fWRPSFeWrFeGbeZneAo99TMCECFD4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985706; c=relaxed/simple; bh=E3qMiGePTLHOvt4i2UMkpioqulIAIrX7oJdX/Dr1FNY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rWEZNmcSm5SjjZAbQ+KhOh9lhzapkrNwhjGngw5m8jhA1TeAH6dBy8i7vMMKA1/X2hNciUzCXRPJ9e4M7Ixj7Aq2OE8wi5HS+lNmuGr1vnXAnyOIQbM4TBZOKQURbFufFC9CAhaTjXGSoCY4AfNM20eDUoLG63+M+5oCaNxRfeo= 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=Nzo9wULU; arc=none smtp.client-ip=209.85.128.42 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="Nzo9wULU" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-43616bf3358so7277395e9.3 for ; Mon, 27 Jan 2025 05:48:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985703; x=1738590503; 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=fUSeHo0uYL31/wa63Qs+E/4wJtCju9nL7i2AxA6QCG4=; b=Nzo9wULU9Qd/zOMLvmvXf51cWyu6NRocX/M/EVn/LlESWtAl3dqtc3i7mkPOHl7kR5 Bf5OvW4dXlhS6vrtzYd7/OhdcEtbyvbAPNx4povJLkOVqiwC50mjzG8yTAV+4M4yuPtb Cf1BnUN6F325BYYPCihAcuaJt/8mYP5Y5j7yeKNSmUpObwaaecjatdDmHrOTuUz41xjB VKU2KU3zasHOzmjC4zSaDnRzhz1ho8uCV8L8VFhzs1X2RVL101OQBq1lcTI70bu4FE5X T2KYRVmhjpVpa3fSDkimNpiDCVoXcd8irm/F4FQeY4cqFhJWwoKX++gom/ufCbfrJ8Ee iH/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985703; x=1738590503; 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=fUSeHo0uYL31/wa63Qs+E/4wJtCju9nL7i2AxA6QCG4=; b=CKPJNTnNEKwgsM26D73QLTmmSQpOVWWuZ/Lhsab9baAW9fj0RU9+m6SCPpZs/j7ohQ XTqiuf5+pbKEu+Zc1slqSaU5gZhWRN/U5KmoW9lZNo3jsCGO4r9WKiRAQOXjxnWGzZDE KSWKSyFO7DDvjcxTJYNBkI/Hu/m5STHJ0GUAdsl2BXMB1fI3+RPG8DeRwWvZf7PfiOTY qb/Wn9cQU91rHjJZ6mss1a+hva8eKisFt5pDJecuRn0Jx1G9LSmPUG6YSUMuF1YVNiQR RtMqx6aUy1Yf6kQnXBAQ1oseh4hbHthe+hqzn8ivkUUtcScj8zPsIZFhLmwJm7nu4Jsd HRGA== X-Gm-Message-State: AOJu0YxVTliCDQfQlk8/n79cSBG+GiDz90zPN9SyJRmzuz8QDKDmZ/V7 t0rSlZ28SdAL/mvqNft8WXBgytvI/dW+cwSb/G6mL7RLzZ2wiEiFyeCLTOUg6/Jpy1Po+Lf4cyt g X-Gm-Gg: ASbGncuEMkYI7RBUGNE9tOzIINWQUyzW8rbfY8dePMkybCBG4TeW3NI3CtS8hAuRJzk 7Weg4uXAm/CW2+IZ8CXKJQkp3dpK9q7Nx3PIaenbF0SPAO5Jv+CEHKJ6I0hM7bFw1zMEse9oRLi A9JwokzJkp0egClFzIGSNhPxJEobKAYNE3TidkTQRjZwn22xuYThuB20pbb4bBcO7AOFF7Czs6K LV6FJMtcavuY2lcW5+bkO3CBZwCZ1L3twRcgLOGB2dq5gn3qQH2lMDXuWSbo0UGN706Zne5Evt/ usDs7UnLC+nUonIdUMY= X-Google-Smtp-Source: AGHT+IGVHAu0I5Sw1x+SEZPSL6gAtpQBGRuiTeDkV3hMBJeELvP3wQGgX7M8Uju95o7qI4A8V1FqvQ== X-Received: by 2002:a05:600c:4f54:b0:434:f9c1:a5b1 with SMTP id 5b1f17b1804b1-4389141c9cemr144222565e9.3.1737985702190; Mon, 27 Jan 2025 05:48:22 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:21 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:45 +0100 Subject: [PATCH 12/24] arm64: dts: qcom: sc8180x: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-12-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1503; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=E3qMiGePTLHOvt4i2UMkpioqulIAIrX7oJdX/Dr1FNY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46Jlh/4jOiYEh4Mck5PmnJduHHKJfNyS3NE1 0us2f+jW0eJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOiQAKCRDBN2bmhouD 1/ETD/9xU+u05xQ8PYc/4FNLzThBNgcNBWBa+y6FM0N+GR6v0F15YS3lA7GdcNZdVLDUhPBsijX Jg73XIGB2hvqT/GG4eTkMVdND1p23betkQVmLjYXrNijm9yxab3JpDAsY55e42rmK0w/eL6FuTL 79roGxHnHJzVNab9Yzqu6/nq4hDkIE1eOmdzP23qtgEyL4eyQ1F6gSz8i68g21hrJOrPX1M0zTP s48lKq2fTfnSXA1Yt8wPJ4FwpzsWtuwaDv7Mg/LM8qQT1xNzCAVELDV9d1T7as1uDjjbSBq8YF8 lGxmqzsCMg056vgH3miLpJufNKvh4vvCCzMAUaXER+ocOYnBGQjVgbCquIiTgq1UdqhmFaFnhiu 6487lm6XAaMvchNrlmU2fMsJB2JrV6B3S0uixsIggpQ9kMJIzQ0WjUM/z5HaqotzfCXfK8y5Fli iVpEEt+Mgi/xLlE5HOznENlx0R0ZvAWWMP2z1SBz3/5mRiN36UZRuVcUDoc0iEaEbc4NfatT6g0 6CkpkARJo5XRkCOwEmecZdSIpuvU6ih971GwA0j5lkPMoghfDyLTW7HQ8/7zP3fhgTF7hMxsW2V bfrwlVIUs0hES17KR1hUrZOHrXlezIhddQNdGl4pIDDOLJodB7L5Z+WBqKj8RYVIZDfc0FTuXd/ E5NTEVGuK/ZxJLQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index 28693a3bfc7fefd883a7dee69a406235317c3047..547bf2a0249fef88d0778a5390cfda76a9d7e4f1 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -5,6 +5,7 @@ */ #include +#include #include #include #include @@ -3465,10 +3466,10 @@ dispcc: clock-controller@af00000 { compatible = "qcom,sc8180x-dispcc"; reg = <0 0x0af00000 0 0x20000>; clocks = <&rpmhcc RPMH_CXO_CLK>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, <&usb_prim_qmpphy QMP_USB43DP_DP_LINK_CLK>, <&usb_prim_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, <&edp_phy 0>, From patchwork Mon Jan 27 13:47:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951407 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 A11E5203709 for ; Mon, 27 Jan 2025 13:48: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=1737985708; cv=none; b=W2YAirs3GrCGOIMAoKUxD0xa/Y5xQPi8MxZacOp7Zl6lFN6hfPRjHx6G93rDYEAcYecoQQOCR+vaeiZAixrYHOCBHQUbYIXkO7Jz66wuq8uSL8BKJWYYmfo3TyVa2Bn5X2bltW3qxvdBK5GwpwiN2aQ5TsYhexof/44ZO5o1yZw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985708; c=relaxed/simple; bh=8GCpFvKrkBXZDpAxmDG8Uefa/6eLrl2pBtUGW0GW1GI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=E0kq1zqjZ2cDpjpsQTB/OcvD3g5h6vhQArV9StxGHMFVYAuuliFYAtyZUBWYhB9oeiCufEXWEYMZOJ8aczxkANHzYzVpOmKt9BYFhdjbMQEg20UfjzJPZlsXUvc7haRvt4MRAlBcmx97fb/Wz35U+hFIEdcYiaZBxeg/E++7ghU= 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=g/9hv6H6; 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="g/9hv6H6" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-43620a5f81bso3932505e9.0 for ; Mon, 27 Jan 2025 05:48:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985705; x=1738590505; 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=/VlHxHVydrfwCLar2bdBkhg7ucMhIThep+6XbGebqQs=; b=g/9hv6H6k2Pd6rVlp0142QVxGE6cG3xVgkflIQmYnVggg138aCFwnX2CQFU+LDAfLT KI9avsPp2LB6pQhSGW60TwWyVVN3MfwV0HJsOfrjjsFmM7NTmqj6zi5Kzl/6jdEbG+Bo rjHvm7ks1KK+m/0cR0FcOT9wNVJRJ7l7VtT4T7SckLgyAEG686Awt9jJms3VyA3n/g84 4asfMbDWO4eCCxHzUbRfZa1ojfSV5iB2plnxrOIxXKgyGW6DVK7KUesyNJ3aO+TKgfe/ 3hhYqbCAHrK3hxPZBEQv12Lyv+z/A28Xddfv7lMBeA1oqPi7eujLFArRDbYTyHNzI7bg 4vjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985705; x=1738590505; 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=/VlHxHVydrfwCLar2bdBkhg7ucMhIThep+6XbGebqQs=; b=czuenrYgPSLJTd/WzwCdXkMBWAV9WI8cNxrxqdM86RdCZRHhlq016g5y1L/SVRcbeT XP8tPaQLZ3ewspXZUM4CEr0mIieQsxbcnvyCOFyhsaHMjvI2DwrS9PF3NJYzYYED6aOR C7hAfDycMpHtLfGxZit3lWAliEesAxbgV2CRZWTi55FQm+9vkI517/k9J4OegGtolGUG /NaCeRIsC75N7eUrYYgxJJyH90Z/E6VM2WOOZRr8FjrzJ0y9gxlIEHmytoBsziTlp6gI bX5NO8eEa0jLdGgiIJnRCGfKn1VZYkaobQWdXK4LmzSpTkYgqLfOtcP+eSVpqKMrdroL akjA== X-Gm-Message-State: AOJu0YyTS0nsEo+Gj8i8ixOoeRMYw0WwLKskwRIN89OTLQDPdzP0t7QH 3byqa2VLxXSCjfGfEuqNnPDlUs14q+ND5zWDsE9O1U5sGvtm2gDLjyMTi050cn4= X-Gm-Gg: ASbGncvHTalX7Xhen+1tfOmGlDcMsPKdQE9liyD39aPKoHRx0N1WLbQrTWYmuvZAnhx /KAu7WztrxV0P0pZJcMEwscZFyxvR3VHQH28d9aGCf3K1WrYout+fWOkryCF5A+89zKbJoSc8uV l0T4p6ynDfnc2M7FCxdsv+aDF+iYb/Ry8SeuzXvsEsf06HC+ykgVP2Y4S1wpbc5rUcaar3WBdym yB+Br4OLI8CeyaUvW7n9iyCzqskkg/vp7AC23ag6wOpaODDjWBARdqh61PzkU6Y7aUyom5B8ndC rAnxmVzVDLdzJ51aBAU= X-Google-Smtp-Source: AGHT+IHcIaqJ4/Xnd7VtV9UNqS7fhzrwlKL+mg9Iufu+alfSuu7+hupDf5ezE+hQEonTXHqPJJeJRg== X-Received: by 2002:a05:600c:5486:b0:434:f335:aa0d with SMTP id 5b1f17b1804b1-438913c7b31mr150025835e9.2.1737985703589; Mon, 27 Jan 2025 05:48:23 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:22 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:46 +0100 Subject: [PATCH 13/24] arm64: dts: qcom: sdm630: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-13-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2782; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=8GCpFvKrkBXZDpAxmDG8Uefa/6eLrl2pBtUGW0GW1GI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46Ki+O9FUw2SbVkgE4dCPjBslewExTrax3m8 YVG8BNW9WiJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOigAKCRDBN2bmhouD 13dUD/0WvWxayh/q8iOGoE1wWt838r/gfziUkvA80LE2mitlD4yNpCPqKms/R55DEBK0xXjLy+3 UzYn0QZ49Y7GazeOAM4WHwTknS2aFxSiMfEYG8nBD4Wp50MNt0dSnTEs+qawG2LkNG1QM5bqe97 ryihbm9LduzGky+ncP4wJwWRo7YygY5qfDjicvd6mTO/0DnX95JQWoWrkVW2BUOgzGIlAJcm6EI ESHN4UdSQD7ioHm1RU5OzHc2EK6lJPlqCVF+IrdtYW8br6Z9EVqFGlHAmeo909HiGzMSK+vXKYm XM89HnwsINX0sP2aIIblFeGjBIvRRpwUonF7Q7UdNeKZU4SviANtLvntsGLR2DlG+JH3HLhfiBd fdC2PcSM6+EPl8IQqQ+qfyJXuPDqO4HTiFbYcw84GSltLHpmyk2SY334Oz7hRM5KAjqs+jTW1Jk YdnqogCsPPECNhjN7BeL3ErWNz6jsMd0QlQseRm3dTMw0yNBhftku9eHB/x5JN24Dm4LaNfx6Nx MPQIpNrEREHYokXXFwwl8doO4NwvBzAxVh7bxpa3uIq8ru/HzxupzCrdOb6FTMeOvHa0/Rb0l4f IOIExnE7vJX/ifcrE1+iIAeg5D4YCEmdu02JANANY1raUbAhnpGPukzqPYFiYbORuPI1q6/UhjH ttcEpxq3CKxTO4g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 9 +++++---- arch/arm64/boot/dts/qcom/sdm660.dtsi | 12 ++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index a2c079bac1a754643563718c8b0244035120be7d..1d3bfa224b401e7d0de803ad1e17156e67b31fc0 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -4,6 +4,7 @@ * Copyright (c) 2020, AngeloGioacchino Del Regno */ +#include #include #include #include @@ -1538,8 +1539,8 @@ mmcc: clock-controller@c8c0000 { <&sleep_clk>, <&gcc GCC_MMSS_GPLL0_CLK>, <&gcc GCC_MMSS_GPLL0_DIV_CLK>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, <0>, <0>, <0>, @@ -1661,8 +1662,8 @@ mdss_dsi0: dsi@c994000 { assigned-clocks = <&mmcc BYTE0_CLK_SRC>, <&mmcc PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; clocks = <&mmcc MDSS_MDP_CLK>, <&mmcc MDSS_BYTE0_CLK>, diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot/dts/qcom/sdm660.dtsi index 3164a4817e3267d458d81cabf2ae4223a7a94963..ef4a563c0feba7cd651158cdfa1b4d3cb7503c7c 100644 --- a/arch/arm64/boot/dts/qcom/sdm660.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm660.dtsi @@ -170,8 +170,8 @@ mdss_dsi1: dsi@c996000 { assigned-clocks = <&mmcc BYTE1_CLK_SRC>, <&mmcc PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; clocks = <&mmcc MDSS_MDP_CLK>, <&mmcc MDSS_BYTE1_CLK>, @@ -239,10 +239,10 @@ &mmcc { <&sleep_clk>, <&gcc GCC_MMSS_GPLL0_CLK>, <&gcc GCC_MMSS_GPLL0_DIV_CLK>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi1_phy 1>, - <&mdss_dsi1_phy 0>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, <0>, <0>; }; From patchwork Mon Jan 27 13:47:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951408 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 761212040A4 for ; Mon, 27 Jan 2025 13:48:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985709; cv=none; b=sPgMI+43CVd/BUVJal5OhyS0aSvvhI0/C4cSM/XP6xoB4kMtJT+YVS1tx7YgPRtdA3L9daFYKlA4NW7MTjmxVjdKBb/sf8zWSiHVJMssLcDg3lvUVd5aPeKTjBKPG3i4rMa5RQHfK4PBjBMFNDgZ3isZ6h3yA45j6U+ma1yCiLI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985709; c=relaxed/simple; bh=A4jh4RbBNIgIXMFXvk6TkDFlCVLpy+TudNDtmBl7nR8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TcsDFmYOUFgmHJ5s4c1w6YK3SlXCaMJ+ZgCG5AIzEcB6sZzLQGORtfrfdXr0d0A3dYlKrMxZmPnfd7/HhkLeWP+jmFUSDtzUyAJ0iJki5AfOBkHcdJqeEIbBvcZU4e2SKtLx+H+JR6upFJl7HqZcnEfB+jjeYNgFuRD059A8LLw= 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=qWN6L6e7; arc=none smtp.client-ip=209.85.128.41 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="qWN6L6e7" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4361aa6e517so7278945e9.2 for ; Mon, 27 Jan 2025 05:48:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985705; x=1738590505; 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=AxDkLiT1iuiEy0XM63c5gTLyzgBblv7vcY5wp6/QN5Y=; b=qWN6L6e7s3H+lAn0YxJTbQaoETY6rsIC2TmSdac/8IyYcs0Ji6MNNZ4/ouuH9yomFS EvhG/kTjWhNUP/fmITAx1a2kAv/juvbpjtD8CT/cc2RhPiyg+bFxWogz8HfjjFxu0Jcf BRQ9r8JyUgMpVejYMdRxZneH82QbLzSKOCtoxq5T382ocLpXTREByQweiyPwdJGnbSr4 SV0gYPfaCXmSWQVvPqJRl0tpY9PA4UblMFnvIpCs0HcRn2SBluYJ9xVie2YxvlXCO+Ik nrdVVuT5eGtNTFdjvPJ2P5H9qQ6NTkwQMKxkA0dwDnavhc8eYVR63D8bbKkwy4ZaG4n+ 8gYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985705; x=1738590505; 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=AxDkLiT1iuiEy0XM63c5gTLyzgBblv7vcY5wp6/QN5Y=; b=CbuPBuSpsmcG7I4lCGKerNwHSyB/hzqdM50/WU6Ak1gyjqlVuuddnDVARRMA5ZmMIt Ii7qObz6+N2BOouQdNZiRaH9uwfj7Z9jEHfm+lfc35OPwKerekx7iv36sKVPDgJacHPc 2n+Q6PgR1Kg5OKKVarltyWOYdIirijz74gfn5INunWmGyCqfND0w4mIYKXLUuNOXrKPe fBFLrumMEUfyOpLUixeSK9UOjf9gl0JZRW9nWghinCcRxgt3SoeWvAGRaCkPxDmR7pA0 kBNd9nDBx3mXrhsMrmw3Ac70ushOaFEHfswG5wkWFYctndeCIPd5nPwXpC5EAAEVvBO9 /OAQ== X-Gm-Message-State: AOJu0YyjI2qczzFNSu/f9qAeGghJHOu5yDbfwBbfgOGkybgaaTULNMJQ 5kXu2U7dniqel+ODZyP7TdiamKxCB4NjMa+C0D8rvMJL4tSrL4Bg96vJmtVGaFk= X-Gm-Gg: ASbGncuXEHha7AWA8wEiy4FvFybe3fRA2Qn0U3MMhfldn5T6PyMv13IkRN0whpr/Paz HbWbuRUv8m3Y7sJi6yIECL+S3KBkDZhapylloFA5KkiKBoAbuh1OCSRBShDUQSD0KnHWuLZGt6O 8e4b6xVVI+59sj/L5nhMZ5u1owj5cgHJENllRq+B2TYnyb/9bK31yTODdrGY7LYOE+z0eTV8GG0 1bgDg9diSbblhY+akqPooVuzGD+5IJ5DAEir0W8aSyJ6cQAHklAZvF3vegp2+xGHFUDTubgBXV1 u+FzYb+RRgqw8zVahzQ= X-Google-Smtp-Source: AGHT+IEE7kfq3MD73carBdFcpanLvRlHkJKr/C2qCxdpw5CF5NDuBrt4IQodaGF40XhqlFAWwtLWKw== X-Received: by 2002:a05:600c:1d07:b0:436:17f4:9b3d with SMTP id 5b1f17b1804b1-4389141cda7mr141184745e9.4.1737985704822; Mon, 27 Jan 2025 05:48:24 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:24 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:47 +0100 Subject: [PATCH 14/24] arm64: dts: qcom: sdm670: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-14-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2351; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=A4jh4RbBNIgIXMFXvk6TkDFlCVLpy+TudNDtmBl7nR8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46Ld44uolfric/6wlKBJ+FAn7k0ixIKsQMv1 bINY4kGhKaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOiwAKCRDBN2bmhouD 1xzjD/4kiCUqB9FYfBF4sS2uXF/knF1uLQJa81H1eJZyYOxY2riA0ZeXBU5dcOUcyjx0p93Hrwt /MuEtf2/QwCvyMES+ph4/kRFhS7zgA7B9LVLIGqX1pW1jGp8YNAV7Hj3lxT7C8zc2vtG9MbV8dD 8FLynf0dGe6MKqP0b5OjsTZcxhVkJBSkSxQK/lE88ZF5OZ5c32QU+3WMIFRtiNQVFf3kgY+q6mW yfOSPohnS3+jcurKnGoN7jof/qFSZS25uQTOblFuMwwU18pIKQkjqjnZH5e8u7mx7SGYr9o0Uch y+q+XtXWpulclzNK9kTYgBBIj4M8tJsqYiUackrXlWn3AikZF/OGJHcaOcmlBQskL8lyf5Sz1Th 1lFPfQNYi79Ng8ZY/WChiNEGJKorE/Ui1jB4KXDZGl8YjiZIVAQeXeMYfHjeoruZsWN25uW8evg jy587bEhx4wvTBYqqW6AumIyE+dujyG/VUWxDh5Q7VCf5WqpNlHn4hd3cVcOnNSulGClG+Hynq0 ugxACTeyiA97CYgR49wST0Ju5HRej5cQwGg0MGn0SHwb8+iRHU//frkjs/4m7tk1BqLGKDYTwGD xKeGN/TlkXfEbP7mtlV10LlxUYQboEn1hpYHIUZLUNkhHMQelDyWCD+Nk6zVNGMrVkNhRg/w5aO tXtiIQWb2gh3mxQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi index 279e62ec5433af70c0a7c594f2c5241800b465cf..a68ef6741f8d4f875a8897493c9f903e8ed3734e 100644 --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -7,6 +7,7 @@ */ #include +#include #include #include #include @@ -1720,8 +1721,8 @@ mdss_dsi0: dsi@ae94000 { "bus"; assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmhpd SDM670_CX>; @@ -1794,7 +1795,8 @@ mdss_dsi1: dsi@ae96000 { "bus"; assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmhpd SDM670_CX>; @@ -1851,10 +1853,10 @@ dispcc: clock-controller@af00000 { clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_DISP_GPLL0_CLK_SRC>, <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, <0>, <0>; clock-names = "bi_tcxo", From patchwork Mon Jan 27 13:47:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951409 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 06B93204596 for ; Mon, 27 Jan 2025 13:48:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985710; cv=none; b=TSCfZGuEAiIWpKvDWb4/YgMXGd6bb9GrYLYpmxt2SpkYfbGqIJaZr/2Y4WVJS1L+1zf/R0AI50SevAtKV7MQBYwg9wj8CBQDUXq5eihN9ezRMAcXPKno4kpcfb1JI56quhDrMKRZR3DANfhrsQr4fOlJQgtydkQX7wGYqbl0ndI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985710; c=relaxed/simple; bh=RHakl6Gwe9BOnWGUgPUObCru2zciOH1VzMJFF6WWnmQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MZNswJ+m6/6nS6xBygLyAfkuYgoOpVnqIYFBz1q0Pjg4XlVO2NONrTMJY23klOrSKo3lgT4krHMcmciuhsC9B/sWDVASzmuxz49gPTLwagW+FH2NC+xf/+yAv/mtrMrrwYVVvtKgOknuVdi5oKdM4GzwqlbjKoVVWA5ixssstAY= 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=E6b3V1dN; arc=none smtp.client-ip=209.85.128.51 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="E6b3V1dN" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-43616bf3358so7277495e9.3 for ; Mon, 27 Jan 2025 05:48:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985706; x=1738590506; 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=9nW0kswqbaD7wcuc2Omvx4WC9VvYaapDa+Yvo/2x25Q=; b=E6b3V1dNkSbfBWT2Y78MdwblvuDsNUkVAtXODEH7gAcmHZddpuddBsUjqLSEcC9Xos K4gbAfljw/uIIRJMEndhQoEl3L5/JYphuqmzmXvm4MxbK3HzaH0lZ8PONbiqzSzIVj06 e+xQHq2tAqML7ID3OCzE7MqYmrwvS8CAsPFWAiTPfRW23zcPJH+EoDiWg9fbSBb5zpVB +VzoPcXKhGyK9YtHEwLruMUL+prZoDMaSeqKom/MGbfIcc0OIj1TjFYGT9QjX57tu8qT R9Lv/XUbOr+uFA9UsQUEbFYP8dp6+0e9fZRTHCJYAqCJCBIgtwG9HZ+BuXNRn6I8m46l k9eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985706; x=1738590506; 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=9nW0kswqbaD7wcuc2Omvx4WC9VvYaapDa+Yvo/2x25Q=; b=dHHUdYEbITOuAJ/136oduw61bL8u6C/yu28IAxzoW5RoprKxEfgKyr/zS2pz07lzLv ik5j/L+OcvRVnnJZZH9MJLtTm1SxF9bnZpGGn/BpgJV4yznhSPFihZ2IYqkBG1btRou/ 7Os3BbOfMwm/ySQ/JM6fnr40RuGam4No1YTPVEfL/Bmc7LZK/ABdoEgjcCHYkeGU+F9D ESz66yEh89JzjijInJyteFzdpzcv1kRMaTC4/pZZfEKmJNp6AwQ3Ui1mm35joKtogUu4 mviz2JCXy7yBfVSmljhU/Z54fazeu36Q/FxADLwHVRkX1ZazRrzQwHYO+jLGUFUxvL6R 4eGg== X-Gm-Message-State: AOJu0Yzc0gL0xowqIus1DFtw4cHl0Hl0qtsxuOqrjuqcnjqiZWwQX+3i +aevHXpWlM+1WNVP0D0pjhV+ZJbc9V/d4GHto82S+YlphmiTFMW5eM/x54JYElk= X-Gm-Gg: ASbGnctRtloxGdLiRv0S+ILYPXMG1eTERzN0p8Nox3owxoeVc2vk9V0dZm4YmFP6eE1 ebfxgV1mS9Qr/mpQmG22a/h4jcl369D0nUkFRPu0Fl54l2bc2DCvuyZnadK9txY69ke7Oqb2XNq B6fkr35lM/1MxRVyehWiFVoBrioSfT8/QlxkDdcHSt46oy9EHJQcMrZZKR1R8xUCsYvUGTdfNKB OkMgegbm78VjFKQR9+1akiCo6NKmivyQxp2AJq+SPwc1N0MVViyJoytt9xapgIsssM55wH/CZie rYAlL9oITUIvDpF7N8+juId/jMmrsw== X-Google-Smtp-Source: AGHT+IEIbITCww9p7YTyiyRU6ri2PgRYfZEXmA5pm2lEbb1IQhlwafmn/5kQVt7FfB6v/5JxCSXZFw== X-Received: by 2002:a05:600c:4f54:b0:434:f9c1:a5b1 with SMTP id 5b1f17b1804b1-4389141c9cemr144223335e9.3.1737985706173; Mon, 27 Jan 2025 05:48:26 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:25 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:48 +0100 Subject: [PATCH 15/24] arm64: dts: qcom: sdm845: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-15-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=4072; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=RHakl6Gwe9BOnWGUgPUObCru2zciOH1VzMJFF6WWnmQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46Mjqvx8HsY5ayuuiiEjYUUeFPjFJlPlGcg6 0Jiujexu7aJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOjAAKCRDBN2bmhouD 13LgD/9dz1YsIMQw36Y9c47lwENUW5jh03+ew5lqV9xJhxBj8mPArbuSX4/ED3eEnQypWcsdbQ1 jQD6T9UtTX4TKKT/b5Ag0L9VkHLMM0RLe7jjLpJCe+7UHCd6BZ6OhPORbNBlFJ6/Pdi0D+3JBCm 0mglagwrogiG2MbGau297dt+L2zImuay6OeyTkYODhKGotApc0ltO+fs0odIhueIB9mwkY+1Y9s GVnjYIsamdozHH6z9VfQdqYbnGKvmJoqZqaASM/0Hd6f1ECTfT0KYaj45OKIncS2FE+3NufAgmO BeObZPiFFyxkDiKv4OE4JCdr+3kzpl5KbrIbJzqWCvogvTg7zt/PKb0o8xWx+BhgSn2HNh7cjzD X28/FzcNWIvg8dzUXmGq8zUCE7GmprvgKK1oPUdcpLVgpBsWoywz5POK6d2sMZHpxm3Af3oaSCz ldDQphrPJJlwD4X1anPzaA4r6jTyfzXyWfGTKO1QQGu4Y7ZpJ3EuYBTsuU1g9oHokT72tdzGsgo niR5e2k2oMSjoMPbpwh6tHV4Hm2ODCXYcfoGsfvQD/PvrqhQD8zbkJHwKYalmux97ayvaXwzmEn 0X6VJHxKU6iQOvXQ/OscyPvK7HeX9CJOYpAa8sAoYzZYRvSOuo3taTe9FU2gTTgN2f8OOW27G/Y ftPpbs+NMkCkRww== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 3 ++- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 3 ++- arch/arm64/boot/dts/qcom/sdm845.dtsi | 21 +++++++++++++-------- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 1cc0f571e1f7f3023efa08adf2791ffce5f2fecf..850c4307cfa903938b56d5805e4e0cf37f565cd5 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -559,7 +559,8 @@ &mdss_dsi1 { qcom,dual-dsi-mode; /* DSI1 is slave, so use DSI0 clocks */ - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; status = "okay"; diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index 2391f842c9038a3030511a1c9c8edd31bbacf2b0..11b19613bc0e607df219fe800fe64b660bb6d027 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -499,7 +499,8 @@ &mdss_dsi1 { qcom,dual-dsi-mode; /* DSI1 is slave, so use DSI0 clocks */ - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; ports { port@1 { diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index e0ce804bb1a35047b092d4745988170738a3cd03..d7fc3d301f64ce64e71921d234c2d1b3a9655d09 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -4708,8 +4709,10 @@ mdss_dsi0: dsi@ae94000 { "core", "iface", "bus"; - assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmhpd SDM845_CX>; @@ -4780,8 +4783,10 @@ mdss_dsi1: dsi@ae96000 { "core", "iface", "bus"; - assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmhpd SDM845_CX>; @@ -4975,10 +4980,10 @@ dispcc: clock-controller@af00000 { clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_DISP_GPLL0_CLK_SRC>, <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; clock-names = "bi_tcxo", From patchwork Mon Jan 27 13:47:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951410 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 0ED8E204687 for ; Mon, 27 Jan 2025 13:48:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985711; cv=none; b=KiWHQr4ML+IshT6tO5zEwgTQRxzeGYm2YpAsmr/ZRth5CUG0/NEHeRtkRbE7UfwXcVzPK9i8NcqARMvbCAW/4usp7P5xzxqA4zzJaNvxv50WFE+a6fgtlwg9HjB2p+zmfahXB6E/SzvE4FfE9UFyJwFFAuEBL3825g8IAee5OR4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985711; c=relaxed/simple; bh=h0cVw3WhBwhxWApd6NyQCFGpyPBt3xdpuWP2D0cWTpA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YW3jcmqaAusS5Xrv+e4t8iVqts3HF12BfWqx0IIwyecG5bWOn4Tlw/9NIses2IsTnqm4I7/5KrHPicBbC0IdyJ8cpxThRzJOVxN0FmUG6/JvQ2oxhhwGtjpI07Y0UNG9Pu3f2/rLX8YCtIq+hjaaCWIAA2XRA4+a4+A6bA+jkLc= 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=XQzmbsoD; arc=none smtp.client-ip=209.85.128.51 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="XQzmbsoD" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4361aa6e517so7279095e9.2 for ; Mon, 27 Jan 2025 05:48:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985707; x=1738590507; 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=mY8RQtjFV+gxytYKCRNZfQ8KR5dAf8lraKLA1ofVlco=; b=XQzmbsoDb+cNFg+diIMTuvC1R71gpzLIcZtZkrw3+yQTMlI82mR57AmaTGAdBIkdSl gSJg98K67xx30IBDT2mko2+cWfvuyaEFC/YPpyTUO4E+Twq6+aMucWHCFSikVGWL+4+m kVUYH0SEBztixhGhZLIJUkiXuh/Pm+C7L0CUed2KeABPY5oIPYmBmbytNCc5/90SndhL CWlY1Vcov/DshA/J6al0UtatdxQgvC+D6/7xtj/0uC0/SBgLHBaiYx8J/ykt/rjVY7x1 gWS3KpHbhQK+dii43I0TNoE+Cl2qlnMGfYhc+AAAXmVMu/sRsi2Y1fzjEPTPm4/h18ob gwow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985707; x=1738590507; 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=mY8RQtjFV+gxytYKCRNZfQ8KR5dAf8lraKLA1ofVlco=; b=t8XEyswOLSDhulXVVIUN346TqY0UJdtR0xRV7zZAhQbqkCqp47evnFBl9z3RGZ9ogr vtLMLkH2n3BhBQI/sunjbXLkKt1P3NNQOdf81fkAM8GEXZcipKAlDeCm9xxOke3fQdn/ sDv5Ns42534/GB5gEvZFWht+Al03L58uYhePrlQ/2gqfiQakL4NK1RUliaY6xT3+RQ+w hiNKtBvg6icecTf5i6u7p40CRj0DU4MPvl5S29BTjB0QHAxGuIODgSoCBqlFJP4hXumv Vks6Nul7XM6kuqUbX5FbtDAVe8D1p0yqf1/zLwatxsoI4t+iU8RIf/HLIa98+OMRywZU fV1Q== X-Gm-Message-State: AOJu0Yw2scnYwSbKydzD5hzNkiQeCfZDwP+Qfnv2VYMDCeYke84BiaT4 KsCqXUs1pNl0Cr55Dx6H7yhgPvj01RQ6flqWsEI+vqU1QRlRcAEMv8/+6LUVH+0= X-Gm-Gg: ASbGncvBVlF4gMP05860z+tHIX5taFNIfUpbFEsgxZ9tUK//0Hbe+4OPjh5dHhhrdyB e/3T+H5VDerAxV/LQ74euZIcfrqIAn2TMs9ZV8zppzzzmRgFaaPBr2YgfUUapICxLB0e/EmoIMI BU57U4UPeArrIZ8yZ6kl2FqN9ftOXjh0hCHcwyWYnz+noQ11Ve5Y9O0mcMVm+tln+WvNBp2WRw7 odcTFd2OGue54Qh02emA5CsAdXM8LexcU3BLkWMu1z8m0P9vNiHc9I6BTniFs85J865wirrA1UJ COFxZ/OSSG+UQVP6BfU= X-Google-Smtp-Source: AGHT+IHYNAjO3ohTdcNEKnNNfGumM+VSrKwMfMbaJmkLmJbYqUNosj5ab8kqUUiRToaXhPBPSxsPYQ== X-Received: by 2002:a05:600c:4f54:b0:434:f9c1:a5b1 with SMTP id 5b1f17b1804b1-4389141c9cemr144223645e9.3.1737985707345; Mon, 27 Jan 2025 05:48:27 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:26 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:49 +0100 Subject: [PATCH 16/24] arm64: dts: qcom: sm6115: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-16-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1770; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=h0cVw3WhBwhxWApd6NyQCFGpyPBt3xdpuWP2D0cWTpA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46NdjnUQ62jxyJHl7jB+tJb+rml19JaIusJ2 vlqC/BMnTyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOjQAKCRDBN2bmhouD 1yijD/sGCCYjELVMBo9So0fhD95G96vzudT1GT1MD0sR7vK0T/5CvDitMC68zZ23IDMAR/Ao+/t /66qC0MY57ryHytXZw8pXTbvK4wWmvLQOFiaT650VHSI4vglnSqjL8hROyDZ0z+8jOVtTvfBjze vohPzJlPeDOLQamXS85KrFFFnsZw7ogVkTIZd7k40GlnOVTTt9GqgbzIsv3zx6fvTs/o2R/q7K7 uJO36P5CioBxZ/vNiZ4alUFrQWlO396abBk1UKIwYCuvHzYTkn9wuCIn+CDJwfy/veP5IVHgmlO 64dA1fEI+Su53VNkn1dhXApV5yeesGt77T18I9J+lg938rj/8tqvT9FVTJCLtpnHgQ8mtkXnpYs JCGawBRAyzR38kT6bcH50mol4M5I1xLfwAbTry5rqJzLhXRJcKZI34WPHYjH9WPbLkDumKoPBtv 3EnGGPAaijQBbNq/XyxDPyXXOahvGt8Gghz9UPfvlnw/eyuMF614hdu++xJCuR8BIyr4BkV93ys cOS+jBCquqhqB5fkO/4XHf47EuM88WGnowYEFu2dhd2J5UfiAIGcFKresZOPtHIcYvYjYXY2rut flWYkoAXXQr0Iq+bijTMfl9IlHKyjszWD4ZySn7BVxMfTU0UlHuoyJ0NQG92ugmmovp9qF7McRp LFBIEQ6XX87ZHpA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 94c081bf7a892654e684ad806621a14dfd4407ab..55a0db0ed9cbfa2560e94ca8160a31ff3f1efc25 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -3,6 +3,7 @@ * Copyright (c) 2021, Iskren Chernev */ +#include #include #include #include @@ -1960,7 +1961,8 @@ mdss_dsi0: dsi@5e94000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmpd SM6115_VDDCX>; @@ -2034,8 +2036,8 @@ dispcc: clock-controller@5f00000 { reg = <0x0 0x05f00000 0 0x20000>; clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>; #clock-cells = <1>; #reset-cells = <1>; From patchwork Mon Jan 27 13:47:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951411 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 35E64200105 for ; Mon, 27 Jan 2025 13:48:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985712; cv=none; b=XqYTaUtrNgCunt3WMvhhFxlELrSgjJFpQAyEeJcCx7PsOkEv5boBcrT+pGKXkwuhIaCbD3GnC4ApOnd1q40upe9SipxIpiuRRyH962gQyoeIsOKyzTma3B4XtrJZey9KRqCxnfnVV0Z4KdqPr0WzcKI/kZN9df4n+wWeKp+HwCw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985712; c=relaxed/simple; bh=+L433Yl3Zzrnry7JXzlnKWgfrMjqPTc4+gapWr3I8Ho=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Abr1UXcKxL6F3wvmTKpjA5AtbWbKsQu5a2hG37s/lKO1M/3DOz5YSvCA7OuvdIdqdc9yVhWjGPuLp3MmaJHEiAAlZaoL4P2puqH8fmMaGd6uXmcXNZVtkxDMv18TXhyQfPW5WOEIx5d936gdN/H4cquYVu4mVwvSmcapW6E8oO8= 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=WfXC+wYF; arc=none smtp.client-ip=209.85.128.41 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="WfXC+wYF" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-436246b1f9bso7075355e9.1 for ; Mon, 27 Jan 2025 05:48:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985708; x=1738590508; 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=MYkNGe29Upyq6ssbNwJlDIdHAdHJmuQtSsDGs6xqZMs=; b=WfXC+wYFZt0KTQFxeLpI9cTMeJZdseuzmIWNvl/eIcflE2PUVjXyUMHjkS5xZCNM8D Y5j+MYTNq3xhwtl7T3d6VuHaNGvfknjJ58ansjsqTCFCgFxiKaLBjeTt+OcT6EqkOXZL gzz7y1MzQzxHL+oWhzCUafKO9Celfuq7w1+KOOS4HIjc/DkDbUGrvI0mgTx3Nlq9XBkc gIpYPSyopVHz598/AxlTmrERbwAICrmrdY5rtvYQzUe0bMabWbUzcVJVI/2QjCK0hdQj 1Z+2nEqojEzKlul7ozlQmhBZAOBNq/sDYfwaMATyL/s6GeTXcManI/IeUBN4SD6mdpYy QqyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985708; x=1738590508; 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=MYkNGe29Upyq6ssbNwJlDIdHAdHJmuQtSsDGs6xqZMs=; b=Vl1RoOchgYULMVvJrNZYjQ29UYRWazxxE3xuc9kGWA/agLKtiAQuthIM//pJYA4rhm neEJz79vcm2nTrYyAvUx4fMnAOfMW1Al1bPmQX3p+B1kB2dycN1Y75NT3ffJa1RUZZhr VyoF7cxm865X7j1+hTaKTAyzkrc/Mtdo01hYISQG8sKqjeS11iuffSmsl1OlxakcSgJd Rw1LBbvSy07takom7mJ4FXNp7Kz+qLTRgvPFS4YxCESDYLkJr8V9nNw+oIs4Nv14UqAC 83QJ7ur6Tkhd7+qeNPfLe0L6l0sF31DznM/50IUjnttUE7c+gu2RS2/kotuPlZ7vaPot ocLw== X-Gm-Message-State: AOJu0YxVQSJU32bao+Ov0Ddt32hiJegyMZrtWt5R7EhdVVz9ONtOpS/b MtxbVfMSe9uJYgqZ0VTEQ0+e7uFtkTdwN8hZc6ZoAlVsR7BVPtM5FZsGbuCVvMo= X-Gm-Gg: ASbGncvFUZMn+0Ogbfa533CT2uMG4Z5LwcUo1KD7v25sAG+3c4UJXspBBLF09DYyJ6Y Siqw7IhBVrTrUHC7Yt6+AERIn8JeAaeZj3Z76Qcl9fFzIPCMYLUx+DpsGsUmxFuZDfAyhjkFGxf yQnqNwPT2Jb1PRFIUYqh2EZKfeyxerKSmfQVTPArtt1gQ0m0BXYExUYGxQWtZYvcfxPaU5Au1kH nXg++601CxCC3onlEJnOJmttMlIBGef1g2i+W6jS7nZ/qFz9fLcy3UCDDokEE/idhgIyuJKC7lJ dtQo+78Uh/n0blCgbds= X-Google-Smtp-Source: AGHT+IE5KEYzBDGYiS2uQmvn5C/NU99+xyOP77f/1jGhwDCqLUW41RJp6oOJLKD1EdXIQaREcbNJGg== X-Received: by 2002:a05:600c:cc8:b0:42c:aeee:e603 with SMTP id 5b1f17b1804b1-4389db13a7fmr143638795e9.7.1737985708555; Mon, 27 Jan 2025 05:48:28 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:28 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:50 +0100 Subject: [PATCH 17/24] arm64: dts: qcom: sm6125: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-17-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1673; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=+L433Yl3Zzrnry7JXzlnKWgfrMjqPTc4+gapWr3I8Ho=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46OknAu0+T56HuIeLnhOy6OqkupQl2wN/jO1 3Iuh/wj0+aJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOjgAKCRDBN2bmhouD 1wtTEACHggAnsgBUonHw9//LYN0VlB4gy7ZCRs719mespUZGh4beNDJ7e+W/3oQBhPaOBTUYCmm gO9PlPAmHw2vC73yE30LVLOYkJaGpApDjG9my2E7/+xcZ8u2v6syoRffJ1sFVYFROUnxQqJsbWU 8wyRpn9sh8wMAG2BavqTUqg9JfVOF3g2nK+PzfCdmdBVmuTafymuaj5V6197rxiOecnMcM3o0v7 XBiSyGt0Ju8JSJduI+XSIhXwW4dn6+WPGi7/Ses1AMgY/d7fEkTRaGDD9g4wOLX4ryf+4CUEq9b GHXDqZDcCp2gsSfGduUEVUvXpT2eaiinVGxhG9V6lCkXUdb578dycyUvgio5+O6g5aMziQbbweD GQ5AxZsTVPCJPC2dY3rqCW4RPsKsH0l+sdDJrtKm7Uuhc0moXqpJbBoljiNzH6+5T/rLUQsjuVa ypwSGkNOCY8e/XI5mWaZSO0AZjUfn40RwrA2CfsxcoyEH9tP4rRO6UOoZ1utRDW+9VTji/f8ee5 hSDWK3/6f7ZDqX2Nqd54zMdrk5/A9HDIaCmBpQ+Q0DIqZDzxuYnmD0vZsXSZOc6eQ64OcKkFq0i 9bMmDQ8T77kUI4hpiZlUf/5IBuygfyJOtTOyKO/lnZDowy8ClXDyezdaosw58t74v673QLeV5ZD TepsH7HqOxg+uNQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi index 350d807a622fd9276e1f12ef7f5bebab50aea15e..091dbdd171b46c1aacb37b90c3fbce14422aa031 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include #include @@ -1340,7 +1341,8 @@ mdss_dsi0: dsi@5e94000 { "bus"; assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmpd SM6125_VDDCX>; @@ -1415,8 +1417,8 @@ dispcc: clock-controller@5f00000 { reg = <0x05f00000 0x20000>; clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, <0>, <0>, <0>, From patchwork Mon Jan 27 13:47:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951412 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 80B84204F78 for ; Mon, 27 Jan 2025 13:48:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985714; cv=none; b=aPoDx6hnw+yH444ju1fS8z5NtuR0KDB+RqKCQWuV7maSLBixptmfBcwlxow98JfnY+/A6o8mB2s5GFWEMhMGiujx80P/3TywmPOo+4u1NqIU65SrubNHig41t/hfzur9MAZ7Ep0n8/t2kxPYkm7mipqOjfWBTc4EfD2Yivlf6Pk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985714; c=relaxed/simple; bh=T8F9q6L3xxGtSl+njNnru6ExReMWCn8MciYg/Hh1kjQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kjULDDUQ3B0ebUINc79qa9G+CtpRmrOPZUvn/4vTs7YgDLbYfN7BIhHb9B3Cz9FUzM5bjZDez7cItwD2hoUDCxExeZzyrNj77QJUJp3lKLCowanLtVVZc5PmULfJYPdbDXyWOFxOlsm3QB/8eR5Lsi6Ynu9zj4D271wNl5O+MXM= 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=JldgJlkU; arc=none smtp.client-ip=209.85.128.42 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="JldgJlkU" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-436381876e2so2802145e9.1 for ; Mon, 27 Jan 2025 05:48:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985710; x=1738590510; 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=JXi/CyMU7iHWGF7/c/KfypBCsJz8/NJCXYKeZ5FTdwQ=; b=JldgJlkUrjdVDBT5W7rMPhK3PNo6q18URrFz2sUvS0QmYWLUpWj34oTUL2LUOWZb9q H9puOm9ZyIwyPkg5w/CpMxPWg9noj59mz4jErKuUvd02BntBQcKZE+lT7AdyxlxKJ3Rl DM7aGAk4R+xliQPS0vbF8Hm4FtLbbzn9f6tqrpKJ2GBpe47f9sEE9qGWHvA74FaGUrSd WNGmTFJYVRfDjnSdYYUntc029MYsq2bHJLYp940ZWR6beyZGVSmK6M4hM/DRbm8yB0Sx PXV4+Z9PHNAuX8XBZiRAa8HqWp8YpDtKQHDMiSa8YUcWMxaWB8j7OjSiv2XVzS0dpJ3q 8b0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985710; x=1738590510; 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=JXi/CyMU7iHWGF7/c/KfypBCsJz8/NJCXYKeZ5FTdwQ=; b=ZuBLbb21RVffFjaVdIWPggh7frFfD2So8Go4M+QUnbecmsXTK68C9YeHAbKr7aHvL5 0jtpISPbwMpE6nta3ePl+NMm/7zpQUoHhuHx92KDjGBDXoCQJxXjFV8gvRU4svkMCbnI 5onAJkuOvP/EontLfmA1/b0AtylpT1G+QSGkBSMgvBXqkl4j0CaCLsaDPzmkXIZg11/n tGsTc6Ni5Mg3tSldEgRD0Xgyr/eUr6Nf7UhK+Ev6rV/6dT5kbSq30gamO0utApzQ7wKz ngYQxl6FN4aiFzsQzdAqM6ge7teY7kCAFbVRHSA8GnlMjJLLy5VXkHE8ZYU0pKMFnqpV pkDg== X-Gm-Message-State: AOJu0YyZH09qflJc8uYTQRZIiV6ou+p/CnbjzRio4Y58uqqJhXPYT29d r8DlUqQaWFWd7weIIxkqVMJ53NqvTAMxF3W8+ywwbXvF8jIG/Mn1JbX329ajHmI= X-Gm-Gg: ASbGncsj41aYHNn2ouKHFvmAD4bUOUrB7PeH6PlyecTkVf6kLp6vJ+2aFpJrn6HdrsQ 7g68NbBwwvoZo4BOVupcWKIQiqguLm2UFRa9w7yPm3YR0bqYjjfcFanKFdWGea6nUxMRNdC95y5 8zDLnRiAFgoEH9HiNXkZLmJHTNP+IO+n/rXW9lCgJTIu0yT4mZPi1hRSo5QjPdB0gE770VFzj9f Ku9uZkJ+aqXr68KBoJGm2BYasTRAKs7lnICQ8aYPEdc7aZ8ly3g0vrWGv4RadbxpsNfcyC2kdg3 vREGtFdE7Jze8afjB0E= X-Google-Smtp-Source: AGHT+IFmbJ7jxH0g2r/Eb8E260JnyPVAj8wzNGaiuU6T66k83KEA1UxXp1+/ZOOTTuK2/CI8ziBD5g== X-Received: by 2002:a05:600c:1f10:b0:436:fb10:d595 with SMTP id 5b1f17b1804b1-438b1763eeemr81292315e9.1.1737985709741; Mon, 27 Jan 2025 05:48:29 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:29 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:51 +0100 Subject: [PATCH 18/24] arm64: dts: qcom: sm6350: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-18-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1792; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=T8F9q6L3xxGtSl+njNnru6ExReMWCn8MciYg/Hh1kjQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46Pcyuxpf/bTwq33iGyggn9dUtrF5hZUBl8a 6KTMc4ZxLSJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOjwAKCRDBN2bmhouD 10BXD/9WTf8hzDiwGJQDm9Ix2Dd/Ilm1vJig+OQlOo8/uK20O45NjFQasEMw5kPXukMtjftEscr 2iOUIZFPNTuHx7aZgfYDxWh2gXii+IIPxFMXYACmib2uocABWhUmZXe07MMVmaP2JYSYtsbVK14 2bvSe0oYUS8RcE+BCIpsuDWU+MjgPwpTDnv0LuguURx68rN7gbjlKfAbbJtDCzfAcY5Qoylg1pf n7/9iszt0yKsBaLQbNlF9Gvol5ztxkYApCNwWmQA9sZZ2Fsu6a823xVczUiQsjNAhFyHNoNulC6 rBKWfcj826t/LqQ5meHrUDAicM5mtwvp5lsHbMpy5Vm6SrH79HBgLUA+3/QQWnkWArd4yl6Fe7b kDUpZ+1xaKiv2g5homkKE2z+k5jJI1O3mZN/XQfy7kOvn+sj8a0KZ+gHI3PTaYAYidDsd9vt4KQ 9+F8zkQYuXmjptY7QH4qI1taceIoZ8gFt4AC5ZyJGVXMPx8eq0c87c/JVSQplKIE2Gik/wN+m1K HYiPkblcYh+3GfpQNbRRdmp19M1J4A4NMYVDqyxwoYnK7rUWqzn/R0lsMc8KaYrb0GM/VB8yG5g sKJstYsibYvNNcD/CNXfdgMtHTie4b4RJBXgucQ8M8FTjNi6RPD5IcBDu8tIp6Ik2Byl+6TazZW zCNQaGgSJDc5UvQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 00ad1d09a19558d9e2bc61f1a81a36d466adc88e..1f2ac20e537eca90d96f755e9c76c6c3fc7f97b1 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -5,6 +5,7 @@ */ #include +#include #include #include #include @@ -2269,7 +2270,8 @@ mdss_dsi0: dsi@ae94000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&mdss_dsi_opp_table>; power-domains = <&rpmhpd SM6350_MX>; @@ -2347,8 +2349,8 @@ dispcc: clock-controller@af00000 { reg = <0 0x0af00000 0 0x20000>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_DISP_GPLL0_CLK>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; clock-names = "bi_tcxo", From patchwork Mon Jan 27 13:47:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951413 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.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 8588E204F98 for ; Mon, 27 Jan 2025 13:48:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985715; cv=none; b=StDAJNtOgoMZdanTeDCrPRSkxmCy7/X25n4fPUzWru/lM2zYY21GcHFQIe2PIS/sFECjGkojNaznO19aaTF+ZwLEVQhPzsKiSF4eAjTvHvp/Wb/fTwkTDselpQsK9HSCSMPAy5YJZFXIrgpU+xmKKAyU+8UhBg3iHRycJPwaQGY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985715; c=relaxed/simple; bh=CyufeZicSnDkcW59HxvT9leNYEDXngWCu/28kgii9/g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NCDbWdsaXGtiAKXORbMpCrsJkE6jwuYxrH9ed5i7XU10CEWH47Z1th8OtxiEZdHhRHXRY9ZQeXC0IOH2eWLoZmV+4dzi6aRcZLhG63VSe9IqGfGFOIUlZjIu1lVyO/N3jJkshQx2fucIY9YCaBj76jjqGb6j6DBNpDafQ6WHZcs= 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=wV3Qm5gx; arc=none smtp.client-ip=209.85.128.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="wV3Qm5gx" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4361f09be37so7287745e9.1 for ; Mon, 27 Jan 2025 05:48:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985712; x=1738590512; 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=lNsJqIvq0L+hRpO6UD6pxYUSBx1K0BT+9I87jYJmqR4=; b=wV3Qm5gxqA2G55Em1NIVT/xfRArXiuz6Ia5b2BG32tYPHkbZCAU6VBTlvKA4WOZm2Y ruZZRSjvKDUgtoifdaf+lxZefRDy4Edk7JoBR7l7Aq+aO+MuddeDF2xr/NUxbYHHDq5P oVZIB71NYGk/iBMtLMyqjipYdhUAXHtFRKPFV496uMRytfrGIZc6DgbqMKxIgbxYnKj+ mxMhMU7SaiaHzq6wpo2AXL8TpJA+WClUErGYa9V2AMv4LPftKJWP1lPdecr9E0NhTBfZ xb24g2IBM33Vk48zPBC0ZTZ3KwyZxJeBHr6XETLiQUtXmYUdUXBDQ9snzrtXj+splnNP w1Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985712; x=1738590512; 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=lNsJqIvq0L+hRpO6UD6pxYUSBx1K0BT+9I87jYJmqR4=; b=dx74t3Bkewwvmhs9MfN8XNeh1KRc8jYa57MePtkD1Az73a4o2SfW6/SeRrSzI2cZ6V YRmLjhRYl8uVmAmQOVRixA0iLzHt+FCGi5E8o6XVjo6LMJv3v5WEpYs1j7JXpjlAJwBw yK7UznVozsvBs99ZCpuT1wJbxyutqyhrV3rsTkqrx5itK87MbaQbKyna71KTv+pG/Ri5 6FTIg50f1+rZ7I3mvrFH1KrFbGgEyuxmFla5QxBJB3KrJm2oIQ7MCSDJPsu2NjNPiGpv YYo5RFqivXno9cT7w1/kHg2lauw3uvNr+3Z/7mluC8KKhEyStJvTlMI/gEHODJSJKcb8 Ys0A== X-Gm-Message-State: AOJu0Yyo2X7602tZtg0gEshgNURhUrkQXkzhTeZqN+a6ch0GJ3Nps9m0 6Eap3OSEp3QLyhx3G2cDmhrWwyFOkNL/bDbuu1cSXm2/CjtF6lnOadNdl2pf1Is= X-Gm-Gg: ASbGncs9r+R4N0q5piO9HJTLDKdY+v3pzIfe3vm/O3GxqaweEOHZNcekoGPoaJTytKA gZxuTb8MZ1ShoMsrEbDzvC9zTmb80v/hvx9LPGtjHNGjrdH40YqB1Px5DH7Q+Mp8C0JbF5nx5DG 08F3py31LK8p8VMv9Oxv+QmgHq38zdYFcWjolNLCcgdHzIUcEksoj6oKtOV3QDy3o5tELzsynsU tvYGNeBZeuGMdO+dL9wP38QTgBV3FdiooO5VUHNWwxAW+aYC4sqAl8HkrW2whgqW1RkdYdoOXDx BTjt58eni63N38VmHsU= X-Google-Smtp-Source: AGHT+IELKiorTXYsFawg1cagsmxlVOrT8UrfJu1yytT59/UEPeHOSk+B6MdShlt9yVBXrIXIRihu6Q== X-Received: by 2002:a05:600c:444d:b0:434:f335:85c with SMTP id 5b1f17b1804b1-438914321ebmr149305885e9.6.1737985711907; Mon, 27 Jan 2025 05:48:31 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:30 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:52 +0100 Subject: [PATCH 19/24] arm64: dts: qcom: sm8150: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-19-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3141; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=CyufeZicSnDkcW59HxvT9leNYEDXngWCu/28kgii9/g=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46QXXdDZKeNRCKZUZ7IL2BUSuaNPjgYxX9AF ZmHrGi62Y6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOkAAKCRDBN2bmhouD 18aeEACBCsWMSkEtIN0zSs0Pqp2GhGoaDAsZ3iL8hVTNJG3E7fupM+wftFkJl6Fq90h0gERPWFx XiCxSmCNsjoPo3/f1VWWMzRTr9D5c4cFrFjhmceme8FvEmpiROdQ4zHqWhEBx31wYrDynDy5laq 3P+gHA1A6V3VX6BEtMUWzs46SsPIQbBfWZlKD/wy7CpftR8xp683J1Q4bBfdp0475vIUfZrzu4D cmyyOFAKEz6rB/pB0GJn0/71ra8qsvuB9t8Cgvqc72bUWn+E0jj3iCKL/eCaIZow0lMA+u8S+4R DkCuc4I8gpxz323LppeZzPUiwR3e8OtpyhSgbyEby8UgI6d2vd6FGmd3ouJxycnpWPRGktIhuxj X4nGeGFUbHndEqZM9zIUEc8BEgvST2myGZdgYpSYtRBkSp2XOQ6FEFuZrdTM2qYwf5vJqtP9kcM H7aZ9odbO/4WDqYm01+XWGCaZD3vAssA2H467VtEeIsfIpX4nsevlmSlTYIBKPtFFP19hX0v0e6 c2FcasvnOf9TcmJFqn6o51Fy+B3+70DgDYQ8NPr06Ff14ZoOSd8AIbXz3vioHlUstPkND70FcoR LvNMrKwnSvJPJ0qitHdKq9b0cqk5AYsQOtH83B+vNBwF0yWaXkxy3fLJ2vaF+W8vcfnJech/p7+ n+cE8s7GUMHl9Jg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sm8150-hdk.dts | 3 ++- arch/arm64/boot/dts/qcom/sm8150.dtsi | 17 +++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150-hdk.dts b/arch/arm64/boot/dts/qcom/sm8150-hdk.dts index 6ea883b1edfa6c511730550f4db0cb9c25fc633d..20587535ccef881df1cdff33f5d21dc1765949bd 100644 --- a/arch/arm64/boot/dts/qcom/sm8150-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8150-hdk.dts @@ -500,7 +500,8 @@ &mdss_dsi1 { qcom,dual-dsi-mode; /* DSI1 is slave, so use DSI0 clocks */ - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; status = "okay"; diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 4dbda54b47a54d1fa9c3fbeb441f8bc852e52f75..2aca3fdae47ceef9b3030613ec2b8f3a6c1a3356 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -3981,8 +3982,8 @@ mdss_dsi0: dsi@ae94000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmhpd SM8150_MMCX>; @@ -4074,8 +4075,8 @@ mdss_dsi1: dsi@ae96000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmhpd SM8150_MMCX>; @@ -4130,10 +4131,10 @@ dispcc: clock-controller@af00000 { compatible = "qcom,sm8150-dispcc"; reg = <0 0x0af00000 0 0x10000>; clocks = <&rpmhcc RPMH_CXO_CLK>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; clock-names = "bi_tcxo", From patchwork Mon Jan 27 13:47:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951414 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 BC0732046B4 for ; Mon, 27 Jan 2025 13:48:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985717; cv=none; b=Cl/KKSjjoD/5lwtTEHEWA02621gxahGY1pibmU5+jASY3+78K37vuD2VZ354+mrFB5aTYk2DokSkqQwwQ0DK3b7D1DewL67UqixrB232qg5DOxcyNPt4GRry47AYb13KR7v/e8rh6T5hj+paSisRk2NRjFE56i6twn7tg4OG8Qc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985717; c=relaxed/simple; bh=eTiJpd0ZzHSjlbk+10lATAcIQTHEVoGhG40y5TkdTPk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FULltboebosiGDy5s2oswBYVf7+VK8MB//66ug7iGlSy7VWee3o5yrVNYwvWPtyhY+WKAS0+QMTuRt4KRWJJvYR1sftFtzcqYYfRfSwSA0rPdkEheBZMaVIQDUu2yHclgojRbOQ4wcgnKQhwo0oq3jA/oFnttYgEQfhMfD7LsTE= 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=u075diKw; arc=none smtp.client-ip=209.85.128.41 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="u075diKw" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-434f398a171so3929365e9.2 for ; Mon, 27 Jan 2025 05:48:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985713; x=1738590513; 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=Uc3dj3WlB20OL3wdtK23hDevRCxJCQRLaPTSMnYGso0=; b=u075diKw41Nghg0rcPFDr7TghjSeDsvQVCT1cGSYUzJrdNwSAlvtggKM4KE8RvJSAR +4XCCpcTOQtaNoaBCi6V9wSrp64D9xnJj/dhxIAkfghJn2o3HpCkpyOFlLXmMHBVrjQB kpz9OFPXRaOCaVUj1NaT+2UG2UgKT8gsdq7U3uqmIcdXx9s1myki9abkuew9G4kw6277 0fkLey+TQ8ofm4/5SdQt8Bsp3EukoNdwc8mwNQOLgFNtM0m0LIiN1h3gtUVnaBBld/ww mD9BzhpmrcoP3Wl2DLvD4ACbnkHggESXmgKAmynnXqToXZvB+RnHjd7BiLNjYUfmecQw +QNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985713; x=1738590513; 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=Uc3dj3WlB20OL3wdtK23hDevRCxJCQRLaPTSMnYGso0=; b=enbBDxcwQJd2dr8SAZaZJ4qrspbqYH1eSLnDw9ri/WemVmasvJcxko/qAx7SltmExc F1IEpnvrvlWQ84W+sCRxRp0buKZNN2y9Q8/c2DAOMtWnYHoVJOX8dK0FNEoBsuwR8hEv QADr6pnVKhL+NCpx51ABkZjiZN8LBQcbW36+DOhzLz4K/nMR+BsDhbq2IJhFnHmFs6oB 3zX7JYlR5AsdFibxk0Myb15jfjek7KiMdkFn0QhYnJ4BhFA6xdsQ9eOR2QuyBQqlxSVq 900dFbxd69nvWPG4A9cybaAus4R5TUF9e2JImglonMQXPZyWcqNjAU+2xULgUYyva6NL huow== X-Gm-Message-State: AOJu0YxWIn2VkFtoxi9y2VZfEv5f+QvxydD4krstksI6DcE7U1JRM9+e N3x1yYLy6pj2EFphAaEZDMqley+FAQ1GGCnorzc/B4JTlMKFB7+310NVNqH2LpI= X-Gm-Gg: ASbGncs4YkldCtIdYrsCtP6ENpiqSBCI1pX4ofNpMAykWwHvTR6+vrX/tKLf+hAtWCb pw1CnHCB0lrfKKhiFtZEdHBmWBjgMvsolRmOelwTgFBd3/8dsX5ErEHpGx9/zk+OzSKMWJ+tW6a 05dHuvxNbo0vsfqEwOMUTvrZOu+41zYETtUjhH44mB3x6BOXUBlZ9iZriA5SSMy0LvGJP70qh76 WSz8v46/mLJ9mimZrULSOTRQXkZtxIjXNhXf7UHbn8cmrDEoCirIa/WvqixJM/sytXddQ8hEDjU bP9UeOxrp191V/+a9oc= X-Google-Smtp-Source: AGHT+IH6OF7thGtOTMQu5GRLiqAbg2ec6UxonHKN/DjUiMiDjkVTclueN3IU3wVpGmOYthb9GZohqQ== X-Received: by 2002:a05:600c:4743:b0:434:fecf:cb2f with SMTP id 5b1f17b1804b1-43891460b86mr146305505e9.5.1737985713101; Mon, 27 Jan 2025 05:48:33 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:32 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:53 +0100 Subject: [PATCH 20/24] arm64: dts: qcom: sm8250: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-20-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3495; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=eTiJpd0ZzHSjlbk+10lATAcIQTHEVoGhG40y5TkdTPk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46Qx4Rsd/ipHmsAz0AEE93cfNo9wO5uLc9vO /rB0zuC7eaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOkAAKCRDBN2bmhouD 13TeD/45ytLjFUbH544Cx01YhXBr7uJYwYgHHmlUUD8xJiWVD8DLw53bTkJaP3nGKqHGjt5p7cP pZeNVClL8kwkjkvbmqPYLOL8xYCGxyo0lrknowQmX9Sj21OdQsnxkZmVNfKxVvYvvVa0zizSW3v 0HEy/9mDRyg1eady5GiMnKBX8RO8PoLHIQTRub0Z8JkAmjQJYnB4YDGPA4TIy6C192x5nPqXvgM 094PqZp/9dzpatUxi4Kn/gMVjqk6yHbpj/yQIocl1CQ90tDznSFU9IPr0JNyArviQduYeSmrFHX 2ID+q5LbAEfMbbhMMDn6CyAgGUTQGR+Dd4UxrvcWnO1UGy2VkyW1BBg+tOGiIgsXxu/Ye4q6mIx SaO4K8/Sr5iotaGv75orPPqVSIyDRBG9yq4TdNr7w6FRcOf/ha9QXoGadxu0BxHeSL8Q/Ym9Xnt GbftzuT44hg/sPhW9taZOIVRJvDQzAd8IYhOMlTd2kf/7b3XOWnGXr1CqUgLXlBWgknSVezMPSi W2LAUPU3FsLfT5HJ1hNQn7P7MbbdsOkou8FkDgUkdaLtaltjVU2ScTiD+7/ER8pgJihhIkL0Nlm hdEeY3OzQ1Rm2LTt4l1/PZJmoQoCZO3AYNbdK6ylods9npasgBmOi2gc1Sjs1zKJfHRGZL5yCDc xl9QBsRpRfKzGqg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- .../boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi | 3 ++- arch/arm64/boot/dts/qcom/sm8250.dtsi | 21 +++++++++++++-------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi index 813b009b7bd6818b92b243f0982d2c7ef903d421..5723999db89afecb666db1e6c937794455cf7342 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi @@ -659,7 +659,8 @@ &mdss_dsi1 { qcom,dual-dsi-mode; qcom,sync-dual-dsi; /* DSI1 is slave, so use DSI0 clocks */ - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index c2937b4d9f180296733b6d7a7a16a088f1f96b76..751294c5ee4385437364ffcedcfd64248a42f6cf 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -5,6 +5,7 @@ #include #include +#include #include #include #include @@ -4861,8 +4862,10 @@ mdss_dsi0: dsi@ae94000 { "iface", "bus"; - assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmhpd RPMHPD_MMCX>; @@ -4953,8 +4956,10 @@ mdss_dsi1: dsi@ae96000 { "iface", "bus"; - assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi_opp_table>; power-domains = <&rpmhpd RPMHPD_MMCX>; @@ -5011,10 +5016,10 @@ dispcc: clock-controller@af00000 { power-domains = <&rpmhpd RPMHPD_MMCX>; required-opps = <&rpmhpd_opp_low_svs>; clocks = <&rpmhcc RPMH_CXO_CLK>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; clock-names = "bi_tcxo", From patchwork Mon Jan 27 13:47:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951415 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.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 0294A20011B for ; Mon, 27 Jan 2025 13:48:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985717; cv=none; b=S2UG8Za/4kWcjeNhHjymBbIvhh9NW0KzwtDyPkWV6H5/kVvzGQAAPofcdo+FqxhEEubh0ErIp4BHReGqgTiELDUMRraTBuSUrjQEDtzINIOKycyj1E6rYsXsbUr0nzd+1nMwYV0E4XtP4JwrA6MO+IpVY1u4EigFiLkMTkA/sNY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985717; c=relaxed/simple; bh=7RI98BXbtMqmF6/Mmo/fkSmn+6UBk1FUfXB31KjI4pk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sLHXioZzDLfkce8VGGjHpV3c1N8a5MaOIfeRKkqVHj2eNW0n8CiyT817kz4vlf3brTesVQJzqVNrYnCipY+fgseC1oe1FVGVNbDtUzgUyKEIjAWyLb3hgzZWDyyyp0AcmPgwfR1eNhKBNqb438pyjXNWiNBb/iC9yuzTdUEhJwc= 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=LaqFDE+D; arc=none smtp.client-ip=209.85.128.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="LaqFDE+D" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-43616bf3358so7277745e9.3 for ; Mon, 27 Jan 2025 05:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985714; x=1738590514; 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=bDNuzXFJKLOjm1m/inz0tGDVZNbMCzuLS2z3gfVVaF4=; b=LaqFDE+DWN0ws6FYMWA+80Cpyqq822StiNIuwI82ZVPlWwt18mfaB9/96a5GGGIqEz 4d5dM+iRp5mmvaccwuC3K8NfTDaUVO1zeCYna8frqT4xb8jpfaLLtEWTM7Nh7M0gTaDu XxOD00VVCYM5/yIO0KEu7gY1VBiGS2zfWjfLducvER4tSLwy3KTuakEdl4Z4fI2LS70A qn7bAjCAB1D8cAK1b38o+P5Y+CEjZK0LHAYvdrHMppi/+7vOmvxblPqFIGgiTcsycsp9 a1oUPr5n7RvCwtg5bRMK5vQeoSfVJdeS91GPjRycLu7m2+Bd0mPcfwUUqw/vYj4bwJkn meng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985714; x=1738590514; 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=bDNuzXFJKLOjm1m/inz0tGDVZNbMCzuLS2z3gfVVaF4=; b=I8q9CZQfnznktIxpn0NPh2Dvwy7VghntIEPHO5mU9myx02d8wxEcXSuiMCTE+WKr3u pBp2eWiVFbrBXOCBrOWFBTYNY6VYsrrG7CNa3VrS2h/E7FH80mdOEF6uCTfHsclrEv5e rKXOry3HoHgRnhLXqad8zuv/XTrWTy5zZD+jkxsiDoqGI9eru6gpGYiyF86AgFYuaNNv 7FRmgk928RWfVlvt0yGrYeDR4n8C73mZH2JkSpI51E3Pq1JfWI35GAz8gQx4D06Pd6lB dtQlI2YCz2cJxAHFp0Of5Jp4SJaj1vxWSnFwI6sw0I6B1477HmnFIgatwXXNR1LOnNzb OCsg== X-Gm-Message-State: AOJu0YwIhGCKweSsZjLakzpuihTsib6sUQR8xWU/0viVHHaW85kM3qE3 BnMCuMAktWa4j1rnpTfUY9h8kc6sCZTpph4/EKbqPSHncVszUNZJEBoy6ciDKl0= X-Gm-Gg: ASbGncuXB+eF5PA4Tk5g7aAcoBmKBqfAzMDz816HIymfZ5LOBxpA9lq2ZO8O43Zt0Jh 4djNyq6kWbVDKwmJVD08JxJReD1++EBDlOdlvm0T1kuRuMoMlBEJes1WMhnipd+YTQHjM3c+uqg QemztoZ+hR6YmqpQjQV0/eeZWVw0PYPYwFQc+2HNI/4TONCtadHrKqu1Pihq5W2STaR3muoxtRb oTVTSYoqEuMRAU+z/QtoxeXl0IDhjpxBqPq4oOFVpgFHOEDyUhNa9GkmxpnkWQuDhOY7UAhnx6h QUlyug+tUa8MgRrclFQ= X-Google-Smtp-Source: AGHT+IGcyPjT4uFLvFPBuRzWjALlW75oYOxp07cABtHmyZgQsmcktqkXukUbBODGIERg0dBhDdlt2A== X-Received: by 2002:a05:600c:4f54:b0:434:f9c1:a5b1 with SMTP id 5b1f17b1804b1-4389141c9cemr144225005e9.3.1737985714312; Mon, 27 Jan 2025 05:48:34 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:33 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:54 +0100 Subject: [PATCH 21/24] arm64: dts: qcom: sm8350: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-21-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2488; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=7RI98BXbtMqmF6/Mmo/fkSmn+6UBk1FUfXB31KjI4pk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46RPLCR09Vq37UqXRtiSe/H+aa2TQiaFg0v6 pTzh51y1BuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOkQAKCRDBN2bmhouD 16msD/wN/Y6K+NOBViqANrZ2hKRKHeK1REPbQADHtatWKNjBTw8lFBaBdPtCl0eoXppmJFnnrul zFruQfLV1R/ItQxOQLg6YXHF+VTMFDGvDDIv3KW0icTHNrK7ELIV7vezHRQcJQaw1MfKMPYPBFZ zT6CJ0WaGML3e38ctj5F95Pa5ZwKzGFgsKU0ZeT2Hl6qJrPZaQtWmkfEKSdViCpfS3FdrPKWJEX do5oBxnpdb7IJ1qkkncJbWXa+yOik45+ywQo+ogVv/eY4Fe34nQX2fjS8cDvQdDjp6ttzcKGyNx okxvMwo3MqCEPRUt2du6gwj77I36xxyshBUNevNTfpCFlzoVlbFxP0b1UYRGCZ/3pSeA4Kr0HkN 9+LzVTaF0DEAWKgwD4w96Wid3U0chGprY8XncWXFEF89IjjAAcDo1UqYXzF4wY+X0nVXprOrqLc +aZnaEsc4FXopijeIjgJsh0iHONqKdK1ffi6SPMFN/KjEgUoV9UWCUuCMOLQcBQlh/P2U1nOFUF Rjja6Td3doZ0ImYfRpzcMxxsA/sXGJUfewcpJdXyEtIlJjRbNYMM3biloeBBIfCBuXcT6kgrtFM xXCGxglvEHKw0J4Up2y5nX9xy6ctHUB+tp0QD2tcHrBozxyfCk2ZlFB6s7enIznYdtMFpTuaXhR awpjfI4WGJfw6CQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 69da30f35baaab67e51afcbca3486fb89c14f281..ada1456791d152696aaf35f6dc115d9cef8170f3 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -2960,8 +2961,8 @@ mdss_dsi0: dsi@ae94000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi0_opp_table>; power-domains = <&rpmhpd RPMHPD_MMCX>; @@ -3059,8 +3060,8 @@ mdss_dsi1: dsi@ae96000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&dsi1_opp_table>; power-domains = <&rpmhpd RPMHPD_MMCX>; @@ -3140,8 +3141,10 @@ dispcc: clock-controller@af00000 { compatible = "qcom,sm8350-dispcc"; reg = <0 0x0af00000 0 0x10000>; clocks = <&rpmhcc RPMH_CXO_CLK>, - <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>, - <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; clock-names = "bi_tcxo", From patchwork Mon Jan 27 13:47:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951416 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 3C0F5205AB6 for ; Mon, 27 Jan 2025 13:48:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985719; cv=none; b=ZYLkyZTvLUI1zZMl4YS/4OxVFdUR5VzaVuucDwQtpfitTbM6CyEcj8ynPJcWssz6MQ0jjnKoESGnYUr7Sy9G1ymKRjscjoz/tk/3amW28RLiMCCzPoiCL17mXTGWcXBZjrcyGvpdvDfemTdeXb/xzkmC7iNcIURgp089o/kfPqY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985719; c=relaxed/simple; bh=TZWn+bkA4sKfJBmjubcf0b04gWs2OCwTu1WFNr9cbI4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TvmhDxQ/J+VAmljCGTSrr7BTlUCQb0mfhj4D54bdeFNq2i6GGHo4X9Ol3pWtSXPWskZ1ATWgYdnx7krdpZt5ugvMjos/gnw1lLQtBiicRp+9yqvGBTs+02550pOE6Y0FgsaRqLUoHFwNaQisvjO7Zc3HYpn3n96meM3FUwnAiqc= 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=buoeUXe6; arc=none smtp.client-ip=209.85.128.52 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="buoeUXe6" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4361aa6e517so7279345e9.2 for ; Mon, 27 Jan 2025 05:48:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985715; x=1738590515; 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=kJC2kYYOv6ZshO1xsuu53XITiI1GXSohd255ycEyB1E=; b=buoeUXe68limynUK5rL+0ik82oC5mjoOgXKbdLBWsBpdYKpsSxSDqmX4DjJDbx6rVL v2fnvKFtWXv7vmjNEr6ff7Wt1GKiHSACx7QeIymkbiPjbYAFhy04WaZHeXonJiRqihuk FWtamhDAut10enrQy80Wxs2r+vLc2cZ0eOo1kONcMLPl3X18BAnmpHqBqMOzwR1Sv8oe luNZzpg2sB9y4gG5ylUDEt9XsVhfapvyfaWxQlvlHwHeAoC4hZ51TmocHr9303aEoPdT g05bPHFeZT/+XvMcsrOhKINvh+v5MJ7G4K5/xIDn2Sgy27XpUNC7kG+NlL/+lvFh+YpW /zWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985715; x=1738590515; 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=kJC2kYYOv6ZshO1xsuu53XITiI1GXSohd255ycEyB1E=; b=GX1Tl8DgNw5pJPFJ1eUYG3QkUHJLpPQqhWnRM0pWz+OQ5CTNFsiv/oirXec6XQ1q32 Bcqd0VTm6h3YOJqIqVapUSDPBe6000ObxEv5D8Kh9HbBvhXZ2De3b47r4Mf8p2fCBiTB LEuMAOv2zNGIdm7Ly6EIBnn4g4PgEowqrLxk1osbH1pRg9M9eYAyS7wS5zejHpYw8GzU IBkdNVJFXsJTqz1jItL+mDo9kDs2gz4nFXRO1uFnFBy9jU8nEG+Pei/CE29TqbMuwxVW fxMk4dfZXfdwO3RGahOOraxyZ7PmqoYXOH0Ti7l6l66cD1DwTRilf6r60M8lzudPQqsd mTvQ== X-Gm-Message-State: AOJu0YxRKWrigFbGZXsufP6T33gYDwBwSBgU3f5GQ75DC25Nne7MwmuB E81FYW3QbBCkkdEnpNcZweBUFBHJttoNyT6HP5udOWfqh1wfM7Q1JA+oGzkUnB8= X-Gm-Gg: ASbGncsUMyuqINFSQkEa0QEakWjcX6V+k+WOXyWxykoczQTodH30cph/fBUKNOlaVAZ uZc1GUXFwucyG6dRC1CoHE4WlS1WV128kZdKK5SBCRWmGhWgVM+y0VpUHFyVnQaaGBMzsta3llm KEOiDU3nAH68DE4DeXmPcv6hZF6xca+4jP/qEcanVCUMqmAcvaYKXfzAyeB+L8k4XjkMPdQRzLs OnS4Gk36Cudth1sLdyumqbRGMFMB7FvffeLfTJNx9Z3MtdhFiJ6ZDgj2QafpMPj64yVk+5eCPi0 dvdjUKDj+z5BYruS7CE= X-Google-Smtp-Source: AGHT+IGV9U/ryY+IuCqgtrArEagPcJ12P7J2i2wOTS21Qzy1wp79fRu39odiyFWEyQhBYtJoWtCn5A== X-Received: by 2002:a05:600c:1f10:b0:42c:baba:13cb with SMTP id 5b1f17b1804b1-438913bde31mr148681365e9.2.1737985715519; Mon, 27 Jan 2025 05:48:35 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:35 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:55 +0100 Subject: [PATCH 22/24] arm64: dts: qcom: sm8450: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-22-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2652; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=TZWn+bkA4sKfJBmjubcf0b04gWs2OCwTu1WFNr9cbI4=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46SfWrrwj09wB1bHNKEhlezCf9etsQY03TV3 lKpUc3DSKGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOkgAKCRDBN2bmhouD 14zuD/9oO5OaKY4JTePK0xMmOU01XfToGD8etGjW5CpC0fK06N58/7zDPKZj9xGrp5nYdhiK/Wd Q3UbjklHYkLaC2JRu81MQW4uLwKrEpQAz4AJh+gGiNKXcBhSl+pNGYw4V0+XIrSdi66yZ3UscQQ sahkQuO3JmZSWwVMk4tLv95iBzMbpLMmH/cgOPgA+r4uitMetchmqRibHg9ZzV9SWyaR+nKm9Ls zEhdm9Tj8FwyiGGUActNIenc1Irb9X0ZKap+L6RgYT6fYjFdoRT7c1z9SQmHKrE0B4Z86Vcu5uz Nzh5pILpwXZk4lLg66GRwBE3bVBSHfTbV41N4qIG9mUitmViUzwJPQLGKvU5X9+XKhgIUVB7AV8 K1Yay4GEC11dBUSszUyfqKDS1cp0CIUN86FtTp/Nnj42x39OgBPjM/IdwSJIgGml/ReBQZm/jHW Pq6MQTce7NTgyQf1ZLWl9sEPEsHcLvbIVtpaql9f4VDMv07oa4DTgxRV453sGVvAzHLTG+X7X06 HOPet8WBoP75zSH/vv0lQzrM7FE4nTVv1AWAu2mQCSgwfOynBX1H7QvFvVtcbJilZt1G6s5/yMq 2mQy7/9FE9oemLniK8A0asX+z/XlZnwXU3zaV9hNb9Z5nRhdhX8mH+O96TXQVLuT/bLSCwpEZGX w+AEbLgBJq/ri7g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 9c809fc5fa45a98ff5441a0b6809931588897243..02ffbf129f2feab29998273e9e38669101e26f8c 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include #include @@ -3456,8 +3457,10 @@ mdss_dsi0: dsi@ae94000 { "iface", "bus"; - assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&mdss_dsi_opp_table>; power-domains = <&rpmhpd RPMHPD_MMCX>; @@ -3548,8 +3551,10 @@ mdss_dsi1: dsi@ae96000 { "iface", "bus"; - assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&mdss_dsi_opp_table>; power-domains = <&rpmhpd RPMHPD_MMCX>; @@ -3608,10 +3613,10 @@ dispcc: clock-controller@af00000 { <&rpmhcc RPMH_CXO_CLK_A>, <&gcc GCC_DISP_AHB_CLK>, <&sleep_clk>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, <0>, /* dp1 */ From patchwork Mon Jan 27 13:47:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951417 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.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 2B360205ADF for ; Mon, 27 Jan 2025 13:48:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985720; cv=none; b=Bg59ZLwGeuSb0sVx77skX8FrCN56oRsxTaQboWYdANQOqcyxQKUKe+hDC9r6Z9j60efNwPUsqdgWHrJpBx81HgYg13vDyJr2X041jkgGlQ1y3XGMoeAOHQ9KQ3+9TEZpf5xtEcTEbzJZd2gYiX29rcg9GTcHqjrq6EoA6V6TeUM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985720; c=relaxed/simple; bh=L3a2WacjZ+MNx/dij2um88p3actXpiNo1WNj6onDK44=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ghXPomSP0e3rQZ3lpUOSVq9xShfhf/XN8eZkHgb0mDTdN5d5sl5ia6ppsJ4XF0Dq+WmM3TZTYvgTgTQJqrzfO6GCB0fR+ov8uhI2gy0biqJf7qC7XLoH6oqz+NpNNKJzumE7aNKqcrEK7uZqw4fuRQCfRPGFjSHedAhdRVfKilw= 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=ECwEymLU; arc=none smtp.client-ip=209.85.128.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="ECwEymLU" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4361aa6e517so7279445e9.2 for ; Mon, 27 Jan 2025 05:48:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985717; x=1738590517; 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=qpyS/JMEgIOlxoS0lYjkGpyZVyMAhIc5jQeBdSOZ92I=; b=ECwEymLUjokHRj8lpQEwgHyB3HVc+v2ZegcpR3K8ucKAUocVQBD/lPLW5/r3yqXCHh C1LVeJ6hntX4kSOL9wE3iH950lccsOgjrz0rtQiJf7/F5mY90pQXZzuJVFoZd+txipw5 Ri8f2bOfaJg3zOZja2vnMNdL+M+WtiJ2J9QGq0p+unZDoqPuAB8xZ2TqmNqsoM82hQk6 l8+l6ODa7HOPzcWmybWKlYV/pC4d4R/k5Gm+ZQISO7G0lTAK+xUgnxYVkFGLzI3qR+mH BJJIUoIPU/a8QPBy/oK0BhD86wMjinkP63ismc4HuqOvlfOolEyCEsEUC1XhKYSQFmY6 T7/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985717; x=1738590517; 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=qpyS/JMEgIOlxoS0lYjkGpyZVyMAhIc5jQeBdSOZ92I=; b=c0hQTrArz5e+NJEP7bkhJqwnS8u0exOwmnf/hrXlvVtpb9l7s8GgGfKVgMAwhsVnzS gmvc3948hGP/TGr9TZ6OjhTtZdxPyC/Kdu3E/qRbdiqzYB76kAmKZrWjYoxZ1F8no/X6 Af0kDlgmwf6ntKfMwBD7uxr0chu5erB11+kGflijjfWNj9SnSNNg6l5KWFaXlI9Vjya+ bmRIE2qQne+7YIKnkVzEMOw1IyutxYY7/P4bkaWK6aLIa3+Wf37OZjGjAwUnQfgQY/IB 8osAWvtxYdXFf28Pwxk1e6O+AaT1T1H6nrj5+nYRR7ewSlFxLU8QN4AHiGjaIayjphWE ZKEg== X-Gm-Message-State: AOJu0Yzyma2bhAD5sY88QibcTjaRJNlxuaLdIYMI/azBekdB40TLeHA/ 2SZbXtcMBacDOarDawe3bDhNg4wXVN7+P5b5T0+ppEmb8LlaSUnOLQQuLrX5yAsKs0vi68QPHaT / X-Gm-Gg: ASbGncvZUiFRxCXTYoJb2qHHMKyHSx1vUS1v1QhVKf/5WKAKNfaFJcNrK/JNVvpzdY+ x4fH3eQNMQvVROeXBg1C/DF9X5Hs1zBtJm5N5GqSKqSeMpkn20nZGNbUSjExxEGQWl5XcN/VlDK 0RN4wrDGPhENe6u8qUSwGkshPs2wSI+pwx8Fp+guNf77W8rmNmg7EE5EayTw59LLhy78+X7hDfF rRsHVwhPPJZAFtDV5vkvQ3vT6oQQGTOdvHoC7HmLR9pqxM/AOFFj+SlUHBNCqbTdPhQXJy88Q/R uwrpVUv0w9iLg6KgLNU= X-Google-Smtp-Source: AGHT+IFpT+ZmK0Rn+X9cCVbWv/dHMHrV//ZcB5E8cYpjKg8/txXg9QACxyN2BTSuXx355bjNEpu62w== X-Received: by 2002:a05:600c:1d07:b0:436:17f4:9b3d with SMTP id 5b1f17b1804b1-4389141cda7mr141187125e9.4.1737985716749; Mon, 27 Jan 2025 05:48:36 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:36 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:56 +0100 Subject: [PATCH 23/24] arm64: dts: qcom: sm8550: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-23-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2281; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=L3a2WacjZ+MNx/dij2um88p3actXpiNo1WNj6onDK44=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46TnkM5SGZUK9KFCbvxqJIBzBRyOmbvMAG+W xSaq0W+QouJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOkwAKCRDBN2bmhouD 11BZEACFrhJ1CGDzkhX/poCOGrQshAWPdxCdDiRfZjsBECLVXuECFhT3W6RlkThbY8uD48lomvI rYrWvz1EDHG5ihXxKooXt6wFf2wWiBfUzWEs4JVe11gMRBgUUWtSSnVk5AGpdx31ly334Nju9c5 iuZVcT2KRtiPAGSN/fi+VuoCDKsrMp4j+FjnUiB7r4tfjRXl/TKnxFV1im3kS3oociRedz8PozZ WCtn09w+kqC606l+r0NgMHKJevCJ4karpVg7MtUIqgbzriZLvyn7jkU8ujKWohS4pmKeBGw8Qu/ RFp1Dz8SqjJeiynj8yTsqH1xw1uJvvGu3ehv5nubXC0zxHQmKRYWsx6OZR5thuxBViCSZy3AsP3 VKmLxjiZllAREg0WU2iO2/4ynheDJZ/KlWEsZnkOWDegWwA8XcorIsH4LVkIc6WOfRAO3rjr3Zc ZulH6qJP1B5jVwJGVkMcMHUupT4zcxp0FsuNdGYFPP0VT02rHm3hwipkyWeBuiR7DWp03oZc+Wy Dqdpy6mYOPpop/JTN6BQDiU6UAVa7olzkFcrLYSP/tFTvxOpqZTBd6Ym5eKhJPIOLDZX4z1+Fvr rBPPglnYg8AUFqGOF+qLddjyHhk04inGw4g5dvSv8cT2Sz1B2TUNzBjh8lltKWXyf9JGSXbl9JC UxdOnnYqnm5YdpQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index eac8de4005d82f246bc50f64f09515631d895c99..20d04488274aa0fb4b135008d5fcc45315595c46 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -3,6 +3,7 @@ * Copyright (c) 2022, Linaro Limited */ +#include #include #include #include @@ -3215,8 +3216,8 @@ mdss_dsi0: dsi@ae94000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&mdss_dsi_opp_table>; @@ -3310,8 +3311,8 @@ mdss_dsi1: dsi@ae96000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&mdss_dsi_opp_table>; @@ -3369,10 +3370,10 @@ dispcc: clock-controller@af00000 { <&bi_tcxo_ao_div2>, <&gcc GCC_DISP_AHB_CLK>, <&sleep_clk>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>, <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, <0>, /* dp1 */ From patchwork Mon Jan 27 13:47:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13951418 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.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 70DD2205E24 for ; Mon, 27 Jan 2025 13:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985721; cv=none; b=mdOhccvkK0fIM2SZa3YftwxxoVn5unNOOP6k8sOCkJQR5N58Slu+3HcVdjy7/Z/iOAzrT8lrIRqHjuMYVc9r4PS6PBtIb8+TKSpPTn4aVIS+hVK66fBoI0cyY1wu+twtH23YmghCwAuMXq7fOH8MVfgcDMt/2axNnLvfqQTaBzY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737985721; c=relaxed/simple; bh=ZNWZ53OBefAHq+U39bFO/GXkFnaY3CgEkgNxkdiZPqI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AG4+Piqh2IBVaN63zaQJMiGwR0iY8iKWaVlXFfYMTpgjVlM/QNJdj30cwWM3cJCKh25PMFAdE1vBCzoNWg1eE43zFYUVPQ4+TqsXFCKc6Wl+ZdxdXq7jEOidcQhFFI0tL0Qz09UXtbIH8Szxuim7bytDmQBc85DgQ5cfZrynKqM= 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=B8LDTQd0; arc=none smtp.client-ip=209.85.128.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="B8LDTQd0" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-43637977fa4so3929225e9.3 for ; Mon, 27 Jan 2025 05:48:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737985718; x=1738590518; 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=79VuYiWG+YdXhRY760GBNkt8BJQ+hNMP5KMAUVHB8vY=; b=B8LDTQd01Ng725dRGRbuUySTTgDUCVT7WxQgRIdexF23YBWnFIJMNrhBIsiCvH1ivz nREFwl9N7elIRzo1pkPxRGHEuLKvPSWldIm6+u+04Z1w4MoAjw9Smvv+fQOSyIwRnSuq m1NnX9s1r7rd8G5d1IShCf7nbcDaolfsx/qzMHr/wdZpjltfB0bsZAzhMG+AfgTjFHrc rDa2c2bZT/vscYRFIZfMeGCVnZ1Hl5NDy0VxOCtEHyDLbSAMwqyYEl9IrIMuiKFtUHSi z0clXWhjFrn1B1eIUmnYgd3+cOtc1/Go7bgepE3gBRgRNkjldKc/MeFM+Vzv1MlqF+Mn FDQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737985718; x=1738590518; 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=79VuYiWG+YdXhRY760GBNkt8BJQ+hNMP5KMAUVHB8vY=; b=kdE5HELHMJSVX0/vSMySR8tKqnUS9QX3/BRJrBRSXclxSFXsBbEFprT6iKONKvH4aS 8/EBktIb4Rx6J+PY9dnFscxtx+Qd3FQqgLxbDgdOY2JBoYO94w8PofLP+hUHE3/si3zq MX9lKKb2F+mwBShNv8jvDJBBlZgCCUDBpBaFuU1nEzrWmTdZac34fsT4AsyQ7JzStlGT 0NwvXcx+Lhrh/tkAQCxG/FaPSrwxcj70CFxr/x0vCRhbR66max1swjXLfOv9zEOHBsVm r1QZvrEHXIC9lxBliir8tebq/kB8t9qG7YZ3Gp5e0mo7NBeQGkqZMbO+1Hv2KujSqQQ8 WgXA== X-Gm-Message-State: AOJu0Yxzih/OHhvvwcciIHwsDj8QmiZhbnGsvaseZ0Y3UassgjMo+jBZ fsSp7A2w93FQaWPOUSgHbNnRFeCmYjaoX5ZhRMym5Yx2oZQG2SGSyb0DqY+hI2s= X-Gm-Gg: ASbGncuwxV1RlRWtjUGZyLkUMYP1J0zq7W97NG6eF7PrkAWUVZ32P0eBXg0Ch75nSTP 4zxaQZylRV0R5X/3ELEnp4BGb7A+Tv90rbob6Jt9hgSbmJz5K7Be/d3REiO56fL+Aib5nPHUvk2 R4kSmugx2sBql4PjKqY0wrHkGaWBP9AxSHdf17xjtzSxGqwfiBha16VXc7duqI3N+gkUtt4KC0N Xyc4qwFe7RkjwRqXxkgCrY2Pye0NyLcAXRGSAcIMuTgCnncIEkBq0a9J56InlUiQRvtrdjFjAHC YKCKJzaCgGGyjQtidVI= X-Google-Smtp-Source: AGHT+IFIf54qA23eh4T9bUqg1Zo8GrAU3j4GgDYJj1E5G0CMaHC0UfYtPwHm5WxXURw0EoE8aDk0IA== X-Received: by 2002:a05:600c:4743:b0:434:fecf:cb2f with SMTP id 5b1f17b1804b1-43891460b86mr146306465e9.5.1737985717848; Mon, 27 Jan 2025 05:48:37 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd47f292sm131038555e9.3.2025.01.27.05.48.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 05:48:37 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 27 Jan 2025 14:47:57 +0100 Subject: [PATCH 24/24] arm64: dts: qcom: sm8650: Use the header with DSI phy clock IDs Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250127-dts-qcom-dsi-phy-clocks-v1-24-9d8ddbcb1c7f@linaro.org> References: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> In-Reply-To: <20250127-dts-qcom-dsi-phy-clocks-v1-0-9d8ddbcb1c7f@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2280; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=ZNWZ53OBefAHq+U39bFO/GXkFnaY3CgEkgNxkdiZPqI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnl46USSj3kBLnNAOz8JkBctwkOUt5CZ9MXTC/d yHzQU8sDU6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ5eOlAAKCRDBN2bmhouD 1wYvD/4gN9t5/79kex56ZlZ8tA3pa0ZszOSk70ssn9R16hp3+Jg4PvY4b3nn8ebBSAAJpdNiAD7 DWFws4yMLYRKp51T2uowCYw46L6uIes/zOxs58clUB7wkUBQhcpoKJLPrLrgKuSKsq8aXiGju0y yR13GJGdCiTWdgDyUGuL8o76Hqzl9tU9QMPbGjpyvrG/YCmSIbWIxq4/XRV2USCBCZV2pJpVEd/ /9BrkGLeUuv8h9pKYzspb/QvZg0zcsuuui0OQNwtdj/FBTAyyKtPcvrKO/vXJyEIC6xKFUMPkww YgVSG+1NaNMc7kuELjbuvNP5Fpj5VniFhP43djK+YiZQsZQiROIro6KJxhIOxjSNFrDuocgJnT6 EwggS9qCHyAKG7UZJu4oTMlqQJQgktqWTZOulLBaOw6QCelcYy4ol67qLZeedCtC3CqbSFOUF6V mxMMZY8mJiXJ1rdv+PXmblnvSIM7cRLS80bhGZjLe/G2spJSXW+oR3XJRAPM73pZ1lrNQxr0b2o NgRtw72jJy9Hm73tJ8O7JmwUqEENVxRY45a77/5Efxsjtcc2m/+ZqeigPs+WyQXG7e4PG4v8tgO FXJqh0SBwXJ1s6l4brDiJhFLx+yD1GfaoAxgvuvkQkakIoBz8JFonjqZak0fOOd+O5fpAUnA7Tl LFGHRv+OREZNaww== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Use the header with DSI phy clock IDs to make code more readable. Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/20250127132105.107138-1-krzysztof.kozlowski@linaro.org/ --- arch/arm64/boot/dts/qcom/sm8650.dtsi | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index 86684cb9a9325618ddb74458621cf4bbdc1cc0d1..8c26520201e5bd2bc830356d9a21d9fbf9897dbe 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -3,6 +3,7 @@ * Copyright (c) 2023, Linaro Limited */ +#include #include #include #include @@ -3775,8 +3776,8 @@ mdss_dsi0: dsi@ae94000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>; + assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&mdss_dsi_opp_table>; @@ -3872,8 +3873,8 @@ mdss_dsi1: dsi@ae96000 { assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; - assigned-clock-parents = <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>; + assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; operating-points-v2 = <&mdss_dsi_opp_table>; @@ -4020,10 +4021,10 @@ dispcc: clock-controller@af00000 { <&bi_tcxo_ao_div2>, <&gcc GCC_DISP_AHB_CLK>, <&sleep_clk>, - <&mdss_dsi0_phy 0>, - <&mdss_dsi0_phy 1>, - <&mdss_dsi1_phy 0>, - <&mdss_dsi1_phy 1>, + <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, + <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, + <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>, <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, <0>, /* dp1 */