From patchwork Tue Feb 27 07:58:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13573335 Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.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 F225155E57 for ; Tue, 27 Feb 2024 07:58:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709020721; cv=none; b=kmw75f5i8XOLlTqFZF4yIyCojh6CrYbGtPPphlWjSpdeIEAgUGgNf47a64CzmQruyXN6p9w+mwfhYTIi+9mgBjlNMbY4pLTt6N5z279NPwdpE7KudeIz4krnqZ07lPk4UcBlG/oU0A+EN8+qy+0rMovHyC1OLa10RKESX9GKMqY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709020721; c=relaxed/simple; bh=/ew7vIeLEuM/TCI7njTkckWnYO2dVksctCFiWGxakDM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=CiE4xvzNcptED3CSxK5Kx7I36YYZ/OxuhbitART2QbHLtiBAefzm2JCZjLBgaYRzLtlsG7d9fdVuKirCM5WOWGIXiDWXPzONnVobzZcFgi+MlqR28Rftrn/Ly8si+gUSs7D4q8Uv+V+RkLkn5o1u5BssxsQrygrptaxc1TnIJd4= 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=A2pwS+qT; arc=none smtp.client-ip=209.85.218.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="A2pwS+qT" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a3ddc13bbb3so603508966b.0 for ; Mon, 26 Feb 2024 23:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709020718; x=1709625518; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ic80dLEyZy6kdVJF7joUFUuNP61uTBpqR9Za88+XI28=; b=A2pwS+qTQzBQgPiW144YdOmdFP1LbuoxQHAEvJ1cs4yZHqcs4n+GHVJ7vql/7nET9W 1PjlyJJHWCwfW1nnR3J5zZYSIRn9uGUgCv6t+CJ3Sj3NAfED8B0zrEMRRWqStBQ5THfT Gm298p+S7ug+8ndExDumcwNpGNxYDwh+pReOtRVP42mkLaqmVMdT1bXMJLaVwhMqNr36 HKO6DcjD06fCdRCiaRYfWHUFwkBus0key7uqFuSp5ZkN15Q9bfCV3rhO+yne7B66KyG3 LJO2G2BMUcNsh8HDJsNNbyo9rPsh2wByWXZmK830+5E9YnwmAkt6b48m/U8XmmjXfFne 8u1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709020718; x=1709625518; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ic80dLEyZy6kdVJF7joUFUuNP61uTBpqR9Za88+XI28=; b=I9m142RyzrupzI+RzydBYMfafiiwHSO3HqZootpE7fgGWOdgaZJTb0ukzdjOJEa03G nvIFGnR7h/QgAjouJ75deg3+6Sf6rdrmW/aoTPAyavRnKOpiPf3DHC1DVz4Mrg2XiyFZ QXs0jT0EqJZnUVExH5hWz9hcvy93fmRc0VhGwNiivMRv3O50Dqlu45tGB5mi/3R4SIm+ XIFCv5HpsH36Oy41CAyT7SJcm3Aihkff7eTLt2nz6hEmQ+Y13dNqHckUJJC8Oteovfw8 Ds/3vuzet/lCIgIGc7Oesy8g2UcpbDX7upEqdMczIiRh3KVxNG3/PQSzFNIK/pI8wb13 zRSA== X-Forwarded-Encrypted: i=1; AJvYcCXbkV+43FtlzORvPdH+bmqPhEn1jBsljCXEp+a92OYCp2THBkIb3X6FfrPfFLDI9q5/02TJ4pQthB42tqqparrzRYbQ25Y8QLe7WrmtaaWUCxk= X-Gm-Message-State: AOJu0Yy+z8ilnATui8gGZqYknUFQGqtqZpaIcv+F69xeUwaKnp/N4tJV JTocmHufrPLNnEmVW8ZsjsqvsUSyP/0Ka6+gvNvcl1rG7Gqq5fzWozrS9+6KKMI= X-Google-Smtp-Source: AGHT+IFTBK9hxL6b/DxdG3pgJ4lkvuj80VlJ9MESHK5mlD8V/Sd4fRjlluYaVaQPIm8Rcyfo6sMoVg== X-Received: by 2002:a17:906:fa8d:b0:a3f:f8a7:e1f7 with SMTP id lt13-20020a170906fa8d00b00a3ff8a7e1f7mr8339780ejb.5.1709020718353; Mon, 26 Feb 2024 23:58:38 -0800 (PST) Received: from krzk-bin.. ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id bg26-20020a170906a05a00b00a3d0a094574sm503467ejb.66.2024.02.26.23.58.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 23:58:37 -0800 (PST) From: Krzysztof Kozlowski To: Michael Turquette , Stephen Boyd Cc: Krzysztof Kozlowski , Chanwoo Choi , linux-clk@vger.kernel.org, Sylwester Nawrocki , Alim Akhtar , Peter Griffin , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski Subject: [GIT PULL] clk: samsung: drivers for v6.9 Date: Tue, 27 Feb 2024 08:58:35 +0100 Message-Id: <20240227075835.33513-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi, On top of the previous fixes pull request - my previous tag samsung-clk-fixes-6.8 - due to context dependencies. Best regards, Krzysztof The following changes since commit d76c762e7ee04af79e1c127422e0bbcb5f123018: clk: samsung: clk-gs101: comply with the new dt cmu_misc clock names (2024-01-22 11:40:12 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-clk-6.9 for you to fetch changes up to 61f4399c74d0677ee64e42f7b8d4ab01ee39de45: clk: samsung: Add CPU clock support for Exynos850 (2024-02-25 17:07:34 +0100) ---------------------------------------------------------------- Samsung SoC clock drivers changes for 6.9 Google GS101: 1. Register the CMU MISC clock controller earlier, so the Multi Core Timer clocksource can use it. 2. Add PERIC0 and PERIC1 clock controllers. Exynos850: 1. Add PDMA clocks. 2. Add CPU cluster 0 and 1 (CMU_CPUCLK0/CMU_CPUCLK1) clock controllers. 3. Propagate SPI IPCLK rate change to parents, so the SPI will get proper clock rates. 4. Refactor the generic Samsung CPU clock controllers code, preparing it for supporting Exynos850 CPU clocks. ---------------------------------------------------------------- André Draszik (4): clk: samsung: gs101: gpio_peric0_pclk needs to be kept on dt-bindings: clock: google,gs101-clock: add PERIC1 clock management unit clk: samsung: gs101: drop extra empty line clk: samsung: gs101: add support for cmu_peric1 Krzysztof Kozlowski (2): Merge tag 'samsung-dt-bindings-clk-6.9-2' into next/clk Merge tag 'samsung-dt-bindings-clk-6.9-3' into next/clk Peter Griffin (1): clk: samsung: gs101: register cmu_misc clocks early Sam Protsenko (15): dt-bindings: clock: exynos850: Add PDMA clocks clk: samsung: exynos850: Add PDMA clocks clk: samsung: exynos850: Propagate SPI IPCLK rate change dt-bindings: clock: exynos850: Add CMU_CPUCLK0 and CMU_CPUCL1 clk: samsung: Improve clk-cpu.c style clk: samsung: Pull struct exynos_cpuclk into clk-cpu.c clk: samsung: Reduce params count in exynos_register_cpu_clock() clk: samsung: Use single CPU clock notifier callback for all chips clk: samsung: Group CPU clock functions by chip clk: samsung: Pass actual CPU clock registers base to CPU_CLK() clk: samsung: Pass register layout type explicitly to CLK_CPU() clk: samsung: Keep CPU clock chip specific data in a dedicated struct clk: samsung: Keep register offsets in chip specific structure clk: samsung: Pass mask to wait_until_mux_stable() clk: samsung: Add CPU clock support for Exynos850 Tudor Ambarus (2): dt-bindings: clock: google,gs101-clock: add PERIC0 clock management unit clk: samsung: gs101: add support for cmu_peric0 Varada Pavani (1): dt-bindings: clock: tesla,fsd: Fix spelling mistake .../bindings/clock/google,gs101-clock.yaml | 28 +- .../bindings/clock/samsung,exynos850-clock.yaml | 42 + .../devicetree/bindings/clock/tesla,fsd-clock.yaml | 2 +- drivers/clk/samsung/clk-cpu.c | 564 +++++++++---- drivers/clk/samsung/clk-cpu.h | 53 +- drivers/clk/samsung/clk-exynos3250.c | 2 +- drivers/clk/samsung/clk-exynos4.c | 9 +- drivers/clk/samsung/clk-exynos5250.c | 5 +- drivers/clk/samsung/clk-exynos5420.c | 16 +- drivers/clk/samsung/clk-exynos5433.c | 10 +- drivers/clk/samsung/clk-exynos850.c | 43 +- drivers/clk/samsung/clk-gs101.c | 940 ++++++++++++++++++++- drivers/clk/samsung/clk.h | 5 +- include/dt-bindings/clock/exynos850.h | 56 ++ include/dt-bindings/clock/google,gs101.h | 129 +++ 15 files changed, 1661 insertions(+), 243 deletions(-)