From patchwork Sat Sep 28 08:37:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13814636 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 0992619E974 for ; Sat, 28 Sep 2024 08:38:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727512697; cv=none; b=aqp0H5hn9u6e+OMWMfYO6aIxR4kA5/wbVSkv6G3yCmaUMgOhKfUzHIzhIHuy5Q7Bwzm2lCvhkJ8kbATqPcRPwD9v+hX8sI3JKARYKWE86kxXhNniThjk7NNFfYE3eiMDMxVbEUPD0EWaAtBWYHwuDY3ix9UQoT8sehXm/e+ZjFI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727512697; c=relaxed/simple; bh=XBVcSsI6SfYZO2oZC/+zS6umDLhfmyLe2aIRpM+7vdw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FpDQUwIZETcLW1yfXffMilipf+YREQ2DYU7NA+mQ8a3y3/W0pJ+vqumMXgs/VFVA9HDK0rHkmuLze/b/EO+dIzZ16NKZZfid4B0pufl5tcagNrPCExgh0aS86ImY2nXK23HylZErp48P7O9yX/qjn6Ewp7j5aWZRJuqlpmpqw9A= 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=lhvZOQNQ; arc=none smtp.client-ip=209.85.218.43 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="lhvZOQNQ" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a8d0d82e76aso422461166b.3 for ; Sat, 28 Sep 2024 01:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1727512694; x=1728117494; 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=9LrytHNZtSXo7AmRE+wgJFzGOYaJlj3QtdpLmr/8fPs=; b=lhvZOQNQWuZvd3aNF0AKjqfFQOAqIjp9AdF7l+7Lx2hysa1h5Lv5/VJo8+fclFoolH 5eq/5sINQTDiyCC5m/w6lgZy12D40uelW1sejQGsR2414r45E2DHLJPzZXCRSncUY7OS 7LokZQZ8e//2wowtlONuepCkqvuZnqbe7c+LI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727512694; x=1728117494; 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=9LrytHNZtSXo7AmRE+wgJFzGOYaJlj3QtdpLmr/8fPs=; b=B/cDaQ0TdSOJB1Uar3G6U9/DCXpjYO/vPsxeMVQf0se/KDFil+hg8d6xuemZzcXrfG q8Gueyb5NM4su8ggMhkJ001daNWrHUkFG90DxIDmCnr3sx6DDNMKbUAK8zB/FSsKNzUx UJ18eVexJbLVaAV7qoC/ts4+61fB/rkQNWEkL8SbyzSm8Bkrh0r+M11UtsSN6/aSE27g MexdVNEVrDD1doEaKzHlR0b1Af4HOmxrMRQaKn66c/aqOHgF2H2SUGSvOXuIckYPJnJZ e0Sdwsz6LZfJLFYIUN7uZRgHI8B1ABBU/2Ky0o5sOhcInv7+2ekEKDmvb5B0zbtMGnHD AHYg== X-Forwarded-Encrypted: i=1; AJvYcCU/K6ZHkpnBq+oz/cClgN3V8N/u9PxjJpCpDgBH/+ip+a0q3OkiEfXSMlOdZKi30i4MQL6P4Xf6EgI=@vger.kernel.org X-Gm-Message-State: AOJu0YzjrIHlVp4WH4U0lRZOKJvFlbb4FRH6dmEeNQMq57M3zASCeiDX 5FFFnV5D9BlAMiIBEKWNpPSDkiEzBLSjLW5KtX51EzVyxcgexDAfJ3H5sRWUDtU= X-Google-Smtp-Source: AGHT+IEkHCCPklUKDrG/O+n08MGRKv6oRGKdMfRpXV+dG1tZEcS/RKgDqAfK93J9aJhrYzeMmU8vWA== X-Received: by 2002:a17:907:7ea4:b0:a90:41a5:bb58 with SMTP id a640c23a62f3a-a93c4908b08mr674466466b.16.1727512693994; Sat, 28 Sep 2024 01:38:13 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-54-102-102.retail.telecomitalia.it. [79.54.102.102]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2947a48sm223679466b.118.2024.09.28.01.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Sep 2024 01:38:13 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Abel Vesa , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Michael Turquette , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , Stephen Boyd , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH 0/6] Support spread spectrum clocking for i.MX8{M,N,P} PLLs Date: Sat, 28 Sep 2024 10:37:48 +0200 Message-ID: <20240928083804.1073942-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 The series adds support for spread spectrum clocking for i.MX8M{N,M,P} PLLs (audio, video and DRAM). It has been tested for the video PLL on a board using the i.MX8MP. Dario Binacchi (6): dt-bindings: clock: imx8m-anatop: support spread spectrum clocking clk: imx: pll14xx: support spread spectrum clock generation clk: imx8mm: support spread spectrum clock generation clk: imx8mn: support spread spectrum clock generation clk: imx8mp: don't lose the anatop device node clk: imx8mp: support spread spectrum clock generation .../bindings/clock/fsl,imx8m-anatop.yaml | 41 +++++++ drivers/clk/imx/clk-imx8mm.c | 13 ++- drivers/clk/imx/clk-imx8mn.c | 13 ++- drivers/clk/imx/clk-imx8mp-audiomix.c | 2 +- drivers/clk/imx/clk-imx8mp.c | 21 ++-- drivers/clk/imx/clk-pll14xx.c | 102 +++++++++++++++++- drivers/clk/imx/clk.h | 24 ++++- 7 files changed, 196 insertions(+), 20 deletions(-)