Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1256359lqo; Sat, 11 May 2024 15:04:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7layhfT7FrepK0KayTece9eYK9z9Fi5XSiaewgUlzvmlbnsCGmHXUX/mHv5Tg967Qzwg0BUZW9/IZUfvOF7x4ug+PERvDBbSQboqw7Q== X-Google-Smtp-Source: AGHT+IEykVJwV44G5HHRfo3gnYFo/TbMH2JaRq1Tf2qN+in3WPjj6R7lETVeBRg5AdpR48EWVjVe X-Received: by 2002:a05:6a21:9995:b0:1af:a49f:9826 with SMTP id adf61e73a8af0-1afde0a9a5bmr7900359637.12.1715465082929; Sat, 11 May 2024 15:04:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715465082; cv=pass; d=google.com; s=arc-20160816; b=Z5RaEryuB/LfPVJFj2rIDuRvkASLoUEPdx/8OI4g8/+Jjps2xQ25NeFMIG2zPxqLpj arotmWuwkJmQ7m1H99p9QEzU1NDq51cpnNkj2pWySq5IanaNjIQ8ogTi9rFVNWIeGavI r6PRCxBQrob0lCkwsRlUCV/MbHpVUFoWFQlSK62mXPtcL/sujuQI+5KYDEgFlzIUQzUU ymqzF54yMNWQqW+hYPqWNq1umgFzp6DcAfreViNusqMVrw2m8iCajj3NvvaNqtOMgi64 YelmTQT7GJzWSn5roZEutFa52PqFmNEzX2rO90++UM9THikuH6XHohj/t0/cTLgvgBBV 9iWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=GSQqghrOzDlNbI6LKWKOXhmUUiNK2fY2zBkeOHld4FE=; fh=MLDLWsn/xSrwhglP1x00c2+9k3uDqYjCw8qV1ebk8ok=; b=AOg6L/9DZJ3WPlrX+572XZ1cYEvDMC6V0eA53YOPbsfbe9q5R3GLjN5z/10oJ/x+7M ytO201uE/x0e0XHjP3UPDwmP1yjSH/uh13Y6KgtDFJMMC3i+uhNaUF6nDa0sPGFPe3mE 3RSBrG0AsUyTy/E+9PrBNBAv8su45DO2Lc6pUik2/mAiPI2GBiDAkpZSFRmnprFtX92u RgcC//gb3uCPfx/dKUvjOauux1BV/YQ78jtF0sr+nTBmUNJy+ploNuBBZ775miwdpqCW FjGPIn/b/4L9Uf61yc4wR1q56isAH/BfIP4n9snBySSbjMFB8hiE+wTHiI1iVMbpW/nO xTMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mPyC1yxJ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-176748-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176748-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b671471d1esi5523360a91.94.2024.05.11.15.04.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 15:04:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176748-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mPyC1yxJ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-176748-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176748-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 72922281799 for ; Sat, 11 May 2024 22:04:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 539AF47F5D; Sat, 11 May 2024 22:04:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mPyC1yxJ" Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 A7081249FE for ; Sat, 11 May 2024 22:04:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715465054; cv=none; b=bJaBIO22XxSE1xJVxhK1Kwwhn0OQXRbqop4cOGfu8JupOY3Qnl8cU5RtnbQufIdw5uMpPSdCBh9H3S82YhfjjGeKP9AhlTOO0TSJ1bfLNxOXDuYqq/8wlmgsTug5FB/MBrajFTFrFAX21HoOcxvYqiVZM2JJcR/LX7VtnrJu8lk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715465054; c=relaxed/simple; bh=Jwd9rhQ0JDu40ZBPuVk2gO1cB7XlxbXe5F6OjmzPxEg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WLYog9eOk835tjSLV0ZKPJj7e6iYlVlOIDyHetJBcb2ow+VsO7MtsUE2LXcIfetwXtpK/VPNxBdxLa8WJg20lmy3ETsPmqAfkD1L93813fov4HF2JJO3ZudsJmoCAU5MSga7aBlEwWlOoDOD6GVug9mkdFJJ1IK58z8tsVpOd/c= 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=mPyC1yxJ; arc=none smtp.client-ip=209.85.167.49 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 Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-51f45104ef0so3283472e87.3 for ; Sat, 11 May 2024 15:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715465051; x=1716069851; 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=GSQqghrOzDlNbI6LKWKOXhmUUiNK2fY2zBkeOHld4FE=; b=mPyC1yxJPMutYjZ8kHgcK7rtLDfOp5/jKrfXj68qISa+ZmDwZ7nWjv8AwrnT7qW70M nAk9DiQb+6Wl0qD8G8erAHYWV6U2zFiJYoAkhgCCP6EFpohH+bnSsR3In2uuf++sWUBi dWic8MiNLKyWmjvPEWufcsIdiJdjqPgDCCmgKJnwlI2gsAsnxmtrkK7oL56noZhv3cQ7 kLvhiNtTvkAS8MKtnJvwyEckuj50KaRX9TwEQVTJbp4PnlVFwPWexyQuHXmJBhlRZS4v Apo/rHDle6hCFxNdr5N8hof/9Ph7aW28eHEF4bZtzWJXTdqmEzUlvkgYUW1QJW5JdD4s CfFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715465051; x=1716069851; 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=GSQqghrOzDlNbI6LKWKOXhmUUiNK2fY2zBkeOHld4FE=; b=byMnLHmuPcpUccgROpVE5Ezbc1L4+bdNr9RBFDT98XT6NWmV+c1rl9A+66RAKBI26+ jRMJbXi/Dya/SMR8DiSCVl6Mqix3bYEUkYL8CwUs2GdYlZ8UmlYyL9mLjEaDm0xW6Pxr 6TQOyTt9IsTU1LNLxLbPywLBcp+kIPBRAsGTz901L3dYXBzFDGcT4UVmRnD3ICgt55JD A25IkQt/cwLGQMyHZFxhyWAd3PsMW79P1cOz+smvFLtpdl9TD6mtqGJqyX6oKJKP9jjt T4/jiPW+zhSzjSc/9Qs6ON+BIuMtBdLB1WkJSLi6VIjnrhoU7yWZQtcaRcJDqIKTeMOI 3Aqw== X-Forwarded-Encrypted: i=1; AJvYcCXtYVIdcUr5CNGdeyKNGn60nEJ2pK13b2j3q81vud5tFWeUAVvtBOOCCVULnmqU7bpGJVwF6+cSmUtd33guMue1oKrz5QXVJGGa+F+p X-Gm-Message-State: AOJu0YzgejvMQqq5whO1TPLmm2Pacmx0++u4TiViIY5KKUTw7N7Zmj2X howIIYas9EAvIH6PtSTKoQ7HXi4IcTWAEjBqIhEes9uLiBE/sURlpAF6mQqxgXM= X-Received: by 2002:a05:6512:3b20:b0:51d:2eba:614 with SMTP id 2adb3069b0e04-5220fe7a025mr4864617e87.53.1715465050938; Sat, 11 May 2024 15:04:10 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-521f38d878fsm1123875e87.206.2024.05.11.15.04.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 15:04:10 -0700 (PDT) From: Dmitry Baryshkov Date: Sun, 12 May 2024 01:04:08 +0300 Subject: [PATCH v4 2/9] arm64: dts: qcom: sc8180x: correct dispcc clocks Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240512-typec-fix-sm8250-v4-2-ad153c747a97@linaro.org> References: <20240512-typec-fix-sm8250-v4-0-ad153c747a97@linaro.org> In-Reply-To: <20240512-typec-fix-sm8250-v4-0-ad153c747a97@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bryan O'Donoghue Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1954; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Jwd9rhQ0JDu40ZBPuVk2gO1cB7XlxbXe5F6OjmzPxEg=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmP+tX6+qiXkBU0JXiWCdi7IxJlyO8ZsvLk4cU1 HGuVvpquWeJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZj/rVwAKCRCLPIo+Aiko 1Uz9B/wN/QlD9xubscmi2AT7q1HuAaHjNh11kLWGTwSK9za8pxSJW0O6M+LGibWZ37HQMFMto3h 9EbExutNm0oiYMmk7FhIu95e9Wg17c/GQN+/CwYKy8SNKIISCf2Cpq4/n+FgQd5B2RJ7NolqmAy hmjR2TEElD7KGmPQdtt+1rgSM+OHFxqeSIRPvqTSnPaTrum/rWZAF1rN0kwJffueb2kdNFtvbY5 tDnns93Xq8XMFmnmSNQyuYLtdhPeOj/XEttodJMQ/UOthp96zS35fUWP4h0ueNcdCa4r0tCm3hq uUcKaZ4QHByxKdwcVI04akyLjRIQx0DlEQpFftIvsu/UaGhj X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Correct the clocks being used by the display clock controller on the SC8180X platform (to match the schema): - Drop the sleep clock - Add DSI clocks - Reorder eDP / DP clocks This changes the order of clocks, however it should be noted that the clock list was neither correct nor followed the schema beforehand. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index 067712310560..b92b6fb73057 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -3308,21 +3308,27 @@ dispcc: clock-controller@af00000 { compatible = "qcom,sc8180x-dispcc"; reg = <0 0x0af00000 0 0x20000>; clocks = <&rpmhcc RPMH_CXO_CLK>, - <&sleep_clk>, + <&mdss_dsi0_phy 0>, + <&mdss_dsi0_phy 1>, + <&mdss_dsi1_phy 0>, + <&mdss_dsi1_phy 1>, <&usb_prim_dpphy 0>, <&usb_prim_dpphy 1>, - <&usb_sec_dpphy 0>, - <&usb_sec_dpphy 1>, <&edp_phy 0>, - <&edp_phy 1>; + <&edp_phy 1>, + <&usb_sec_dpphy 0>, + <&usb_sec_dpphy 1>; clock-names = "bi_tcxo", - "sleep_clk", + "dsi0_phy_pll_out_byteclk", + "dsi0_phy_pll_out_dsiclk", + "dsi1_phy_pll_out_byteclk", + "dsi1_phy_pll_out_dsiclk", "dp_phy_pll_link_clk", "dp_phy_pll_vco_div_clk", - "dptx1_phy_pll_link_clk", - "dptx1_phy_pll_vco_div_clk", "edp_phy_pll_link_clk", - "edp_phy_pll_vco_div_clk"; + "edp_phy_pll_vco_div_clk", + "dptx1_phy_pll_link_clk", + "dptx1_phy_pll_vco_div_clk"; power-domains = <&rpmhpd SC8180X_MMCX>; required-opps = <&rpmhpd_opp_low_svs>; #clock-cells = <1>; -- 2.39.2