From mboxrd@z Thu Jan 1 00:00:00 1970 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 B093C4B128A for ; Mon, 31 Aug 2026 15:48:11 +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=1788191293; cv=none; b=hpu6fitEZvFRB+RLY3wUwsHF7lyJFCe9rE2gzzvrF69Mt6Xl4KGBMx0/9gAjT7dBo6fkDqSWYNj7dPRXouJlO9e0VJ2LYwDfK5YUHgj2LJMgpx7whZGGwO7S+2uRmZRlgFDNscygKS25/K7qWFHsxW+zUjvWwuUyEVX8o38CPCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788191293; c=relaxed/simple; bh=mDc/wOCeEkqkQbOiB0yuDBTvbbSjVfGhwobrCDJ6veg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Gp/Pn2pC+vYXKhnt/ov3zmi9oGe+G3lW8G41SH78LTxe6aQ/H9H1/p6uKPgUDgDAQ3h8DrC3z1BZsyloMouS5SPo6B6jGXI/Ih8Q0DOQDtXoTkf6lQTwftBtT19k3xsthgmhK7aHpF0Ydl5Jyd9RQ5UTnehJDQ4taHeUAFQkqRs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=qA+Sbbd7; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="qA+Sbbd7" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-490cf322ed0so42773295e9.1 for ; Mon, 31 Aug 2026 08:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1788191290; x=1788796090; 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:content-type; bh=BvbNBLloRSv8ElrT72fx3PwVc7bEOOXc32Z9sS23w5s=; b=qA+Sbbd7OdwBfYv2REImsryMMxmos52Ke95aAsQWy5BW/9ZnjDdouKnRuu4w1LguP5 /eiNPZ/7DrQXKfhpgulh3Mg/oUpKe98q1y5r9RY8R59ximPzJPqI6FvyiF/J38GC8vaW gO5Bq8SBTKAZE9bQzdRYuCIoeJIJXkokEICGs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788191290; x=1788796090; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=BvbNBLloRSv8ElrT72fx3PwVc7bEOOXc32Z9sS23w5s=; b=KN6mLGUDzogYDe4c0KYVjLYbBzXQkQ+MbQA9fAAylJHKe7JRBFjpvUggBb3m7mWeTH 6mRW+kztEiCKvD5wEsreOlws4zvrS6W/H/x22wnD2j2C4Rw1UR9jiaAhbrUIY8neBSCJ XFve1LkXQj5ANwkbN/Y7SRDZR4dRk/u5XlB8dvbkXWbjDH047qqO7+vb7q4KUkYqUfXu ZnVfykXyrwxWfM5UoG+ghrU2yIP7WLiseWkhoeYI7pqV8+SsmyZt4bO3pKExD35OdNY6 /bBs58XxELcPPsSzhMr62F10N5RxxijN4c0caX839vpKLP4+inRkuhkMpqHDfWOBi7HU bqlw== X-Forwarded-Encrypted: i=1; AHgh+Rrz3gVIzl4Iy8qmWsBbk1Wxu1fOed0wvMebdz1zNvCr5fNZDalyJVMavIkvYQ+C7BCMi25fhGYs7Nc=@vger.kernel.org X-Gm-Message-State: AFuF++nq4tmxwUPIXURSutgntru6zj3R3NscuxVF3xMuyw6rfPYl3UHJ /TSHoc8aR/38QiBgrFqZnXbIXpEMGFMyFPs4Qzc4jIq7idA8d6wPC0iUVmY/aYV0ews= X-Gm-Gg: AR+sD129rVTOmUQkWJGdvN2B/dqQYstfolKTcNV9leXB/roqbqZnKkCqp6o6APBisMM yZlM/yzrIHjYx+0R3SxJjtv5HxvK5g07uGHVhTvdwvR9qWfnc04Yu2lEUsMdx8D8ExiTop3lkBf yRmiIP4Derw/pFj/ym/H4hZtphawx3hFNelbQ6zX6LpHyAn5Qwgx/F/4FfyXK58CVqJJdUYQrw6 SFSfZc+VERfgIDzEyuXmbbrEXFixz8WcGkBH5WivnSMJHPCs+VaGYKa8GgDEnLEhbHpxFMV/WbX lFwJzexF1zabAmUaeS7P9KE2Q57T25qRGQA+ZwBsEbRZyXwJTFEJT26tOlUwwPbI28EToRmgtvv sQfNPabxIloXdZxvMGIJMq4MGhMUo4wMFUb96Fi7SAOJftgb0KSye7eBevdsade0xeMz2nVAh9V niWgVO/T2L6WhbR7mYKQ2jQgOjgSSCKWYZi0Nr8dEyKDBcTl73XWnkeQ5b7jps6+OXUCANa0UET ZWpK6nr7AhJQePEl5vab7N+fG19sn0G4/iVWeY3WzHYGu4BebPJzGAKNyM+rGJ8woT9ob7CVJya HGVZzGOxguYxFP1NOKURalMPro4MigdJ9KxdNpaVLKTolxUzbQoP0KgBYsG2 X-Received: by 2002:a05:600c:c490:b0:499:726a:a017 with SMTP id 5b1f17b1804b1-49b91c17294mr422161085e9.1.1788191289687; Mon, 31 Aug 2026 08:48:09 -0700 (PDT) Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it (host-87-9-102-148.retail.telecomitalia.it. [87.9.102.148]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b9269f1b6sm220191845e9.4.2026.08.31.08.48.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 08:48:09 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Abel Vesa , Brian Masney , Fabio Estevam , Frank Li , Jerome Brunet , Peng Fan , Pengutronix Kernel Team , Sascha Hauer , Stephen Boyd , imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v10 0/1] Support spread spectrum clocking for i.MX8M PLLs Date: Mon, 31 Aug 2026 17:27:00 +0200 Message-ID: <20260831154752.15401-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The series adds support for spread spectrum clocking for i.MX8M{M,N,P} PLLs (audio, video and DRAM). It has been tested for the video PLL on boards using i.MX8MN and i.MX8MP. Changes in v10: - Drop patches 1-22, superseded by the generic spread spectrum clocking support from Peng Fan, merged in 7.3, so the i.MX8M specific infrastructure is no longer needed. This patch is now based on the following commits: - ae794aa6e88d ("dt-bindings: clock: Add spread spectrum definition") - c86814e70390 ("clk: Introduce clk_hw_set_spread_spectrum") - a7f16660af39 ("clk: conf: Support assigned-clock-sscs") - 7d98de6ffdab ("clk: Add KUnit tests for assigned-clock-sscs") https://lore.kernel.org/all/20260826165611.236321-1-sboyd@kernel.org/ Changes in v9: - Add 'Reviewed-by' tag of Peng Fan for imx8mn platform patches - Fix building warning raised by the kernel test robot for patch v8, 11/18 clk: imx: add support for i.MX8MN anatop clock driver - Add patches for imx8m{m,p} platforms: - 23/23 clk: imx8mm: support spread spectrum clock generation - 22/23 clk: imx: add support for i.MX8MM anatop clock driver - 21/23 clk: imx8mp: support spread spectrum clock generation - 20/23 clk: imx8mp: rename ccm_base to base - 19/23 clk: imx: add support for i.MX8MP anatop clock driver Changes in v8: - Drop the patches added in version 7: - 10/23 dt-bindings: clock: imx8m-clock: add phandle to the anatop - 11/23 arm64: dts: imx8mm: add phandle to anatop within CCM - 12/23 arm64: dts: imx8mn: add phandle to anatop within CCM - 13/23 arm64: dts: imx8mp: add phandle to anatop within CCM - 14/23 arm64: dts: imx8mq: add phandle to anatop within CCM Changes in v7: - Add and manage fsl,anatop property as phandle to the anatop node with the new patches: - 10/23 dt-bindings: clock: imx8m-clock: add phandle to the anatop - 11/23 arm64: dts: imx8mm: add phandle to anatop within CCM - 12/23 arm64: dts: imx8mn: add phandle to anatop within CCM - 13/23 arm64: dts: imx8mp: add phandle to anatop within CCM - 14/23 arm64: dts: imx8mq: add phandle to anatop within CCM Changes in v6: - Merge patches: 10/20 dt-bindings: clock: imx8mm: add binding definitions for anatop 11/20 dt-bindings: clock: imx8mn: add binding definitions for anatop 12/20 dt-bindings: clock: imx8mp: add binding definitions for anatop to 05/20 dt-bindings: clock: imx8m-anatop: define clocks/clock-names now renamed 05/18 dt-bindings: clock: imx8m-anatop: add oscillators and PLLs - Split the patch 15/20 dt-bindings-clock-imx8m-clock-support-spread-spectru.patch into 12/18 dt-bindings: clock: imx8m-clock: add PLLs 16/18 dt-bindings: clock: imx8m-clock: support spread spectrum clocking Changes in v5: - Fix compilation errors. - Separate driver code from dt-bindings Changes in v4: - Add dt-bindings for anatop - Add anatop driver - Drop fsl,ssc-clocks from spread spectrum dt-bindings Changes in v3: - Patches 1/8 has been added in version 3. The dt-bindings have been moved from fsl,imx8m-anatop.yaml to imx8m-clock.yaml. The anatop device (fsl,imx8m-anatop.yaml) is indeed more or less a syscon, so it represents a memory area accessible by ccm (imx8m-clock.yaml) to setup the PLLs. - Patches {3,5}/8 have been added in version 3. - Patches {4,6,8}/8 use ccm device node instead of the anatop one. Changes in v2: - Add "allOf:" and place it after "required:" block, like in the example schema. - Move the properties definition to the top-level. - Drop unit types as requested by the "make dt_binding_check" command. Dario Binacchi (1): clk: imx: pll14xx: support spread spectrum clock generation drivers/clk/imx/clk-pll14xx.c | 58 +++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) --- base-commit: 08dbfad3f5040f5bdb6c529da20d6d4e81fefd72 branch: imx-pll14xx-spread-spectrum -- 2.43.0