From nobody Wed Feb 11 07:50:12 2026 Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 D21301CF5EA for ; Sun, 5 Jan 2025 18:15:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736100942; cv=none; b=XdSTVTxlanEzu7glLDMCvwdyRY4cwbSbpX1ffvXbPzdVpITPn/hc1OyM76I2C1EW7nG5yWnN6ivGEtZJP8kfZvt/M9t9DRZprbIUmXomA2GuIRvU7YKABrm1dddyH5NOj5XG8VA6hzSRXC+Zc9ZKmwQKolMxoyVp9LYQ+A0mzd4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736100942; c=relaxed/simple; bh=yOiVkGwEdMZydm8mezT59eqr13KDSeir4uRipppy1Y8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WwhiMLqHZXICTBokANclhplO/bPjwaWRt4zl0EbduzstrSC0B5sybBKm9SP7Ie3hR68QezLeuQWuv6GV9QwMa451E5tKrm/feGdLyhNrf+F8Ebqt3Q87pvt0fKA6FSHEiSSnViiAXBOWNZmzYJ0nchVSNnjCzCgsXLSmIYkq2zE= 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=HTBW8RLZ; arc=none smtp.client-ip=209.85.218.41 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="HTBW8RLZ" Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-aa6a92f863cso2405043466b.1 for ; Sun, 05 Jan 2025 10:15:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1736100939; x=1736705739; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DBSWyldngVnQclvBLd3GqHALlVJ1Kxh3yvgFvrg0xjA=; b=HTBW8RLZzDaJtfRzAnBA0x6LLLOMzPddLL6YT5kTESOSAWpjhrP35VmttHyFkYXKdF 4dbTchOaiI5U7g6gXI9wriDQauoxdlBeQm6VHf9SBcb+7PErTf6Dixta89E3KcU2ccvY WaGKuK53HNicptqa8R7VkPU6JebsnFy30M284= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736100939; x=1736705739; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DBSWyldngVnQclvBLd3GqHALlVJ1Kxh3yvgFvrg0xjA=; b=AOb4UOnjWKaBt/UezeIQeN8QUfrlLlVJiCp/mFSRHz1FUSFjou0iQC0AKTIaspjfnh D1lGZUPgcjgh2hAX9TskM6xXNH6IaD9Qi+6yxjPB1CYPRVOSSXNy4mINkI23V+r80GwN NRs2JDn0DL9YdKPxk1ALd8HkEFkKJdnISUps6VwFALu7uwKPNmmJlZ1imX8z9uvEPVke HYOYecsqjCA9XFBA/XWpNYxAadYYL9yoElTOfYYWok767kSJgcsiBuq5J4wosQPIoZpc uhC5m72+YPqwZj7GFW4quFfFvgSMdU+dB9iV3KG0VXCBrSpDyCDjfXJrJw6sfuXHeDIj M89A== X-Gm-Message-State: AOJu0YyslO6JVaPGAH+hloEP0sZV7WR3EyCSMy47f2ksGMbY8KuToyz0 PDTeRfjbAE/9zuM8o90hFzPuTbzHENM5qM0c94978TD8OIT8QVgWkbY+zOqtXzdHmCe7wsgXeDV C X-Gm-Gg: ASbGncvkv/J9OUU5AKlsbKIPhq0DGQ0kNB4QsNJ2viMmFQFJVPO4ueT6yg5IfTMTYYN p+n6D6DsZtGDeSwCDQy4T2R7fbprg3IBWJcqJsbnWR6gGJIZZKOCMP5dRB2cidgz+kgnTpWtfqy 5cOBHXeVcRY5/m6yE7+Tt6wjYcwqVKihsh6s5l/64mdAJJxAcvNQw44nNb0j4F+JT/hFFNLKMit CBmEvvRPkZJpkmfHCFgzx0lSAIpf88/vuh767xEBJrb99WLBC+LDxwm7wuNRmqHGoQp+ZGn66bo 1WspOEvJBgNjqnyBTIoqmdbsEEFofKKZiWlmCF/yOZMSjwQYRvUNltmK/dQjRNKWcls8kMhQVnO XMjDC9RG+ed0V55jMDg== X-Google-Smtp-Source: AGHT+IEouP5DBWHZTHTQqFEZUf+3uEYRS8Zu6JvRBqEkbBu3GJtaa/Q5Qj6PinpQXdyRMCSrqc9f7w== X-Received: by 2002:a17:907:3e90:b0:aa6:abb2:be12 with SMTP id a640c23a62f3a-aac3354ff4dmr3925314866b.37.1736100938804; Sun, 05 Jan 2025 10:15:38 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-41-6-15.retail.telecomitalia.it. [79.41.6.15]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0e82f178sm2138185066b.38.2025.01.05.10.15.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 10:15:38 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Michael Turquette , Rob Herring , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 4/6] dt-bindings: clock: st,stm32-rcc: support spread spectrum clocking Date: Sun, 5 Jan 2025 19:14:16 +0100 Message-ID: <20250105181525.1370822-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250105181525.1370822-1-dario.binacchi@amarulasolutions.com> References: <20250105181525.1370822-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The addition of DT bindings for enabling and tuning spread spectrum clocking generation is available only for the main PLL. Signed-off-by: Dario Binacchi --- .../bindings/clock/st,stm32-rcc.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/st,stm32-rcc.yaml b/Do= cumentation/devicetree/bindings/clock/st,stm32-rcc.yaml index ae9e5b26d876..c345d3ff3fc4 100644 --- a/Documentation/devicetree/bindings/clock/st,stm32-rcc.yaml +++ b/Documentation/devicetree/bindings/clock/st,stm32-rcc.yaml @@ -77,6 +77,26 @@ properties: Phandle to system configuration controller. It can be used to contro= l the power domain circuitry. =20 + st,ssc-modfreq-hz: + description: + The modulation frequency for main PLL (in Hz) + + st,ssc-moddepth-permyriad: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + The modulation rate for main PLL (in permyriad, i.e. 0.01%) + minimum: 25 + maximum: 200 + + st,ssc-modmethod: + $ref: /schemas/types.yaml#/definitions/non-unique-string-array + description: + The modulation techniques for main PLL. + items: + enum: + - center-spread + - down-spread + required: - compatible - reg @@ -97,6 +117,10 @@ allOf: const: 1 description: | The clock index for the specified type. + st,ssc-modfreq-hz: false + st,ssc-moddepth-permyriad: false + st,ssc-modmethod: false + else: properties: '#clock-cells': @@ -118,6 +142,9 @@ examples: reg =3D <0x40023800 0x400>; clocks =3D <&clk_hse>, <&clk_i2s_ckin>; st,syscfg =3D <&pwrcfg>; + st,ssc-modfreq-hz =3D <10000>; + st,ssc-moddepth-permyriad =3D <200>; + st,ssc-modmethod =3D "center-spread"; }; =20 - | --=20 2.43.0