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 */