From patchwork Thu Jan 25 09:27:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 766160 Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.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 A54AC1C2A1 for ; Thu, 25 Jan 2024 09:28:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706174889; cv=none; b=cP6ddYd4CJwwaUDWwKOzR6nrIaXjfVl3+uKCM3jgjUPCtRJaAOI3sRkyNWpU3IcyJb/ntPvxnVpOjbny1Nhu4cYrZo7SpUW3DGb0r3c7pUcnpURUj4+KMV6kDurh7sEvlGGCjRj22sUwZET7OHk62x0tQOi1R9Q05arMjuRm/8U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706174889; c=relaxed/simple; bh=A4qup3C2FDXjGFn1GSGpqFJKQTN3xm3pX9MXCGXv7Co=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WRGpmPIxAyqH3JABaNJirU8pNLs4YdYlQ4HenQg8jugjUtc14UXf7ZCcSnW3UlqBLRb+ozHys7bkPMV/DBbLbKVjrBB/KVlCV+F/3rTVKYGoHreu0apAZRrXSqDK9aZea1C1p3YTTEmgp689p8OpeP4oc4zSe3PkVYfR+f2IYZE= 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=WGLMUdvl; arc=none smtp.client-ip=209.85.208.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="WGLMUdvl" Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-55a179f5fa1so7654015a12.0 for ; Thu, 25 Jan 2024 01:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706174885; x=1706779685; 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=bhafpu9n6kdY2zFZyqYNJW3i6ma8f82fsS6M+cKAnaw=; b=WGLMUdvlvUCaEKzkxXsfj3akc9Y7KJL1jl/6Ly/mcN0q/zv8XyGMHjsesjOYnwIALb Q0siI2A7HDHNhWhP+YLZisv+w62vj7CPAYZ+5YpeCWbQ7gbW3HBsBS35HVHuVjO4Ild7 bgDc0w7U49HqW8TUAqzds4GlrdSAAoapz9WQlAsdk6WYhqzotL9JAUr/xb3HvRVJ/sRk JiYeVNjVxSGKSd2wd51MMRvh7SXBSy99aPUnkOFfZbciBtHUhsvkf5/UvviAkWXFrxaq dkDe0wdbhfJhmOA01/Z0lisbhCCpQWYmyMsab8Elw+VvlEhd2db18JJOtSUpFfUyA6tB jB6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706174885; x=1706779685; 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=bhafpu9n6kdY2zFZyqYNJW3i6ma8f82fsS6M+cKAnaw=; b=RU57n65ZWcfGCA38RIRSMXyQuGbXtCD8qAGb0UH/99HesCOoREOotopsLRuNcP7c+T lxVCPOQZvSisKoP/XXrtUDvYKq5emGrI8HyUHUjgPLVsFvav5WZ3CS9bpyXWBqf6PnP1 RQqgkGiVn6OTtxWBAxGB2zWbxQhJo+A/aR/ckMX24Wl35HdTzhvtmgBSeIn6UFLwwkBE baQeEH8yInJ6y8yMmrVrrsTp0WmO+BU2miukthgWr2jqxN1j1sfo1zoqh2s2PkTSnsfy RX5UZIriP27OTvqMgd1V7mPNkvn4gXnZUhFVIBDE7RhRuDrkj8LI/8DhFHSZKltcE5VV e3vg== X-Gm-Message-State: AOJu0YwFC+1aHlnd8OV9qmD1RdBysdVCKsZEWhJlTqqWKTl4FP0PeGg9 r393BmfrIShYhrFhS1eSAes+yzwfWm8AGVP+oCTNRWurmhpjJHwCymaN3pA1ySRUR3mLkrG77am 4 X-Google-Smtp-Source: AGHT+IEZ5dM7lzbQUCh5S2FkPS1GYxebGD/3Il6uJ7JafwQG/IWTDxJgAeLaTfqXMgYwi7H+q40y1w== X-Received: by 2002:aa7:dd0c:0:b0:55c:7c3a:56b9 with SMTP id i12-20020aa7dd0c000000b0055c7c3a56b9mr370673edv.3.1706174884708; Thu, 25 Jan 2024 01:28:04 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id f19-20020a056402005300b00554af5ec62asm17356391edu.8.2024.01.25.01.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 01:28:04 -0800 (PST) From: Abel Vesa Date: Thu, 25 Jan 2024 11:27:46 +0200 Subject: [PATCH 2/5] arm64: dts: qcom: sm8550: Drop the Disp AHB clock from dispcc node Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240125-dispcc-sm8550-sm8650-drop-disp-ahb-clk-v1-2-0f8d96156156@linaro.org> References: <20240125-dispcc-sm8550-sm8650-drop-disp-ahb-clk-v1-0-0f8d96156156@linaro.org> In-Reply-To: <20240125-dispcc-sm8550-sm8650-drop-disp-ahb-clk-v1-0-0f8d96156156@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=826; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=A4qup3C2FDXjGFn1GSGpqFJKQTN3xm3pX9MXCGXv7Co=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlsimbJKjz62fbfbh4aCei578ryoIn9mjfGinxW WbPtuFjai6JAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbIpmwAKCRAbX0TJAJUV VsbbEACzQv56RQECz+uDsjAzHtrjKGxBosQek4NvlHT36o4rBZfj/52gxYI6QVHTlG5lxek9gx3 j0oJ+qXf6WBOvFRfird2afBMPrc6SiJC7kVv8VV5kSjXuTi+psZjqvrKRudDUu/5cHe0pN6sCUG fQlb85Gk4tOJ6//U3edszEXWkHiZx3sNztlgL/rnxLoY0GSpxVabUGEaC/jsgwzpSQchbLEJwW+ LB1jT39BvLJ9HOiZuiiTr5Q3SdYMBEbVqmg73pS8Sf2jZthxXOKcIhX6W6vLSLrtf7BuSZtKo/G +MHQeLBiSG01PwU6udPOeEG9RGBuaQOMPVCiUZdnbheD1fE1H2kRLlmgy7Aa9Y7J9lYFIEba8L+ g8koa6CZ6nnu3dXiG7ClNf+nQAexgH0mosh1aiWVEs6cm1k5iNqG6bQnh34ZEq73GabBJMjJhG2 0DNmzK21i2TRjjrJJbbGfmG9sc1PJzt5730khXle+dxkVZxKeVedy+ntVDZgtcH6KB0qiP+N7Zp 6ugIKauzKLFtxXfMgzRKJyBz0iXe1BvtAE3gCbzrHk50EOUZ8fRQA5qlbLRfQWMHI46ayHufazZ EAc0mUX76pq8TRB3Do2/kuBXuYeb3PChNdhtIfQShNN1Vp0jLxnJbDakZE8kLRG4/G+vwah2ETB 60bSnkDWq29OzzA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE The Disp AHB clock is not registered, but is enabled on probe, by the GCC driver. So drop it from the dispcc node. Fixes: d7da51db5b81 ("arm64: dts: qcom: sm8550: add display hardware devices") Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index ee1ba5a8c8fc..59c23d0696a9 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -3026,7 +3026,6 @@ dispcc: clock-controller@af00000 { reg = <0 0x0af00000 0 0x20000>; clocks = <&bi_tcxo_div2>, <&bi_tcxo_ao_div2>, - <&gcc GCC_DISP_AHB_CLK>, <&sleep_clk>, <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>, From patchwork Thu Jan 25 09:27:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 766159 Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.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 AFA0A1BDD9 for ; Thu, 25 Jan 2024 09:28:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706174891; cv=none; b=nx/TsH26IFDDRtWeSKNZA3AN9gFfqreMKIjjwx74RoEvmqiEbFfvVL+03B1g2fsPyOesQrWZU5vYjwLMGQPu/x9AoSeII2GUH2I4loifO8GzUoEYbYJlI0MOxj7cBG05lPbYvzBD8rGWXqRfL38CuXR1mW70D4dlj7Ods69JHhs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706174891; c=relaxed/simple; bh=vM8sAjWAZdmpMApzUnKAm7BTvnMQ9KS6M6m1MOE6Rz8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EN45/VfWGGc8fKsOpm3rvLHNKeEnrpD1+k/hZW68oLoKkVQzSfdK1Qm8aSpk9G9b4hcY22X1WzAW5QmqeSSOhK1jJZXgPye9vo8OX1OL9uiTDtsxik5oMrQPrXkVUF3VerpIZmk39N58Qw8lYogzg2dS2UAMrBM9+ifThoJDATo= 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=hmDtWrBy; arc=none smtp.client-ip=209.85.208.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="hmDtWrBy" Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-55a035669d5so7846089a12.2 for ; Thu, 25 Jan 2024 01:28:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706174887; x=1706779687; 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=JTwXeJttr1S5lj9FfbVYYeUxM0hcJGZds3WqL24wOLw=; b=hmDtWrByeZ1Y7aHhWh53vXNQb7XD1U7esmPtbC/fNXqxn1IqDiqmKjX27OURDTQboc 3nhaxez3+jZciYvC8KAMbI3dUDHwfoJczNO1RPshF6+eep5ASx4b2fjKkTZgbwhfX2Ao b/xZN5aasbzvCCCYGetYZluD1ZqLh6F4a1gdUCIHnplhDmSqaq+M0lQSRZtLXyvJsUAV uwR7w3y0P7Q18nCOXkb6LauIqNr1cET2cGJBiKpGStt/OMU4xDxfvxk+5bGPAO74qagN DY94eH+n5OXrB9neC0MmK+yxoUldhCb1hCm6oYQ1jrzHNt51xlZsCHDRDJcHc6Gwm778 psXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706174887; x=1706779687; 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=JTwXeJttr1S5lj9FfbVYYeUxM0hcJGZds3WqL24wOLw=; b=qd0va2FYObjOw9GboTJk0s9eXLkTXHuQRMK3+5aGEe1hWVe7FubgQexl9+W3MBLrIJ ZLA255yucGTzJinJA8A0loRmmbJWPUjJ7U4xMJBcQM0jCKvf/982JZ+7gnSgg0XxOXsE vQtFpZ9T+i5+oby88+Ue9CoNgZKRoQnV9zZ4DR2WBglV23EHIEhCUPs63v3cXZ+Oaaf+ qZo4uM9RMBZgdIiyNIMpq00PrEXz27qg3ZfSwWqjAXJxEZJjZg3aLCu3KmHBcJyRJLGH +ZG0dd1tTL2duZ0FhyV8F2g07sKmLv11vRZXY5aEQAFtXfizIwWpbNY6B+AZ82JGX8gG D9kA== X-Gm-Message-State: AOJu0YxDSE6ClKDSIHbaqFQGuXFzJEzjxn5MSczQfmf5Ct2wZsfhrX+1 CLGcPSzKd35+Pa6OCVSlxC5kR4KA51AduIIqK/HaHH6GtkFhiC9M4nwaoeX8DGxLay2hETiazCx I X-Google-Smtp-Source: AGHT+IF4STyFToBkXX9Qf3dstQgW+j+GfF6phsrITwrpWr26gqU3SVpWLw58fThxoUw+27T3eqFPkw== X-Received: by 2002:aa7:c55a:0:b0:55c:167:7206 with SMTP id s26-20020aa7c55a000000b0055c01677206mr376941edr.70.1706174887615; Thu, 25 Jan 2024 01:28:07 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id f19-20020a056402005300b00554af5ec62asm17356391edu.8.2024.01.25.01.28.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 01:28:07 -0800 (PST) From: Abel Vesa Date: Thu, 25 Jan 2024 11:27:48 +0200 Subject: [PATCH 4/5] clk: qcom: dispcc-sm8550: Drop the Disp AHB DT provided clock Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240125-dispcc-sm8550-sm8650-drop-disp-ahb-clk-v1-4-0f8d96156156@linaro.org> References: <20240125-dispcc-sm8550-sm8650-drop-disp-ahb-clk-v1-0-0f8d96156156@linaro.org> In-Reply-To: <20240125-dispcc-sm8550-sm8650-drop-disp-ahb-clk-v1-0-0f8d96156156@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=677; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=vM8sAjWAZdmpMApzUnKAm7BTvnMQ9KS6M6m1MOE6Rz8=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlsimeaXC4IQaaqMFuSTI/X6sHoHCXKySS2ZZwc Y0U0qsRcVKJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbIpngAKCRAbX0TJAJUV VpG4EACXx2zpzkgGrpHYlxWC5e88R/xH4b60vUTfMKBaFuImspeeGadj/XwL/QuYYsERJUSA0iX zleQXXSnaq0LcPHG1HVDcMPorHotyHCRORKKDwhvuJpbx51pW9Ikwa6itvtziyYoJw1wMWWywxb /hJxYFr1dZyXyTJPLtipK59eGRxMhk2zYmDIm5ndz/IGG1UKaSlSzCG0zFEFqzA8copr7HYldSd HLTGnN9ziC2VY5LPiv1cOfP+UzZQ9c1Lzy/uxXwJ5EpNS7EaTh6AghUgVbofeY7PIm3IdSEZKPH lTbA2WOWgAJqt38KjIcW0l6QqosfYlElFJsGr6vIPGad16NLJnXsDFVWfg8A94o8yh1K7UQa5g2 DEXe+oqDg4gXsAzQM8HzO5RcPu0n2/8xG45HdaV/+BFv7iPmSTx6UQvgrlns0KpLIEIfbHSWKp2 XHnZz+XVvJiF1wRJ6GMFssfsthq0zMSnmRe/OJgElyIgSwBg3LqmT1c/N8e207wwf0waxS9bf4d XI4BHql9ntxAqiNQiMlohCm58L6US5rZYcTyAQdvxkot2CI4HmkUNyM2M+pgLUG3DbPfIt/ydNN Z5bU5WoluSr+oqXgVDiCheqFHqIteEU9Ma3y6foCYQPWvLva7OZnnjIbr6N9EUeJLcA//GW8JCg claAHhOiVsm3vdg== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE The GCC doesn't even register the Disp AHB clock. It enables it on probe though. So drop it from the list of DT provided clocks as well. Fixes: 90114ca11476 ("clk: qcom: add SM8550 DISPCC driver") Signed-off-by: Abel Vesa --- drivers/clk/qcom/dispcc-sm8550.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/qcom/dispcc-sm8550.c b/drivers/clk/qcom/dispcc-sm8550.c index f96d8b81fd9a..b33795f8e8cf 100644 --- a/drivers/clk/qcom/dispcc-sm8550.c +++ b/drivers/clk/qcom/dispcc-sm8550.c @@ -31,7 +31,6 @@ enum { DT_BI_TCXO, DT_BI_TCXO_AO, - DT_AHB_CLK, DT_SLEEP_CLK, DT_DSI0_PHY_PLL_OUT_BYTECLK,