Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp743871pxf; Thu, 18 Mar 2021 10:29:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzABt6pgwtCLxay7DkeNLE1S3vXwpXZ28JnRgolIbhf4vqN7tfGpK/wDgZmOx34xJb4Jo6a X-Received: by 2002:aa7:c342:: with SMTP id j2mr5115268edr.8.1616088582875; Thu, 18 Mar 2021 10:29:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616088582; cv=none; d=google.com; s=arc-20160816; b=moZ8NIj/TwzTuIDIMHc+wDi6Z5sJ/Q1FKXbag0HkOAw/Bn4gxw6LfLOdMU+HFZAIS+ eQaEO7Vua+0CqMu6f+zcZUJ5awT5iL36s4Cxb5nTrSooK18p6MuY+561Enl/DXDUDqny qWajPoofNn2HfTdYxJ1N/j8CmS80FCyyRkfZTWQVO5lWMmLs6B62McwllM6ztxzJkTSQ DhTRgQiHV/qPTpFDZhgZ7r3suOr2OfgiWII4eq8yPv0cBQJNjvEmfrjaKX+D7P8va34Z Ki1DXf0kH98bpjVnajsPfX5tEqvPayZvLkmTpiiSM7P8nSNJwIXYEfkhisnRYJP+HJGm rFLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yj+a1jaz0T1SShJsQxra1ks1sG+DRrSV4DLGd8lOu9s=; b=iFNXL3H1rrNPYa3fHkt9e12Y46p35KobsmvHZMWhpmvMhy/wz5BMhfLdcM38RSTND+ PU1DATAYe1MO2sA2oPvYz67HUydL91/D3BmV4PGLgmSzsLc1LPKEFmoplM+MIN1EpLGI bDR3zanUv+Q1qSNWOkyPyEZGK6MUQyenxsRs5dDbYsgV2B53LkqjK6xB3hWD939aNZkx omvU6Y5Nmsbs9yhdH47lVp3jaH4DCAip4vGqAGrtF35HzCZmPdwDD+WffKMKKb+eM8HY +AfgnotgLnF+L2CF3Sf1Xc2daMDbviI4bKDdku5b42mgU9VWage8CU5LBtP0LgxWZMva /zGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@libero.it header.s=s2021 header.b=leBrLWXb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=libero.it Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n12si1970705edo.340.2021.03.18.10.29.20; Thu, 18 Mar 2021 10:29:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@libero.it header.s=s2021 header.b=leBrLWXb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=libero.it Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229840AbhCRR1J (ORCPT + 99 others); Thu, 18 Mar 2021 13:27:09 -0400 Received: from smtp-17.italiaonline.it ([213.209.10.17]:60290 "EHLO libero.it" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230236AbhCRR1C (ORCPT ); Thu, 18 Mar 2021 13:27:02 -0400 Received: from passgat-Modern-14-A10M.homenet.telecomitalia.it ([87.20.116.197]) by smtp-17.iol.local with ESMTPA id MwPulsZ9jtpGHMwQ6lfgb1; Thu, 18 Mar 2021 18:27:00 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1616088420; bh=yj+a1jaz0T1SShJsQxra1ks1sG+DRrSV4DLGd8lOu9s=; h=From; b=leBrLWXb2shmeRi3o/q/Gbfouyxfd/RERHWK0EvtA4VNnA585MFZXpgn3xtGMBd7z EuGXoPYLB8Cm88zee+MYAexhkyqD6FpJSU5NDfdpvnhCfmYOnRup4JeITuEM067U3O GIBI7KZW1IwWBAJpMdthU8Uc1HZb359Edy5FkGLJek0FY5vBPqk7vIxzHEUXq8evQd TMuiIklElrCzP00VjY/fmAFsFjE79wch1z8jZalQHWtcMOLarNI0nJWbVuIMI8s8e+ GfmyE4LSz0FoOqSW4gWo0XhDHtwZlLtNqvLAEGPtEQ2xdcNb/eHQ3vPmP7BZjnDNow 5TI1XlgzilW6w== X-CNFS-Analysis: v=2.4 cv=Q7IXX66a c=1 sm=1 tr=0 ts=60538d64 cx=a_exe a=AVqmXbCQpuNSdJmApS5GbQ==:117 a=AVqmXbCQpuNSdJmApS5GbQ==:17 a=IkcTkHD0fZMA:10 a=wWb8P1eRJa4rfLIeBvsA:9 a=QEXdDO2ut3YA:10 From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Grygorii Strashko , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Lee Jones , Michael Turquette , Rob Herring , Stephen Boyd , Tero Kristo , Tony Lindgren , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH v2 0/4] clk: ti: add am33xx spread spectrum clock support Date: Thu, 18 Mar 2021 18:26:22 +0100 Message-Id: <20210318172627.12173-1-dariobin@libero.it> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfDK4Q7A05zj30Dnd5wsWaqgHe2FaIszhcG0sF0Nc6Q2eaRdpepRVILGMtNqciN7iPltx6QEa+aL18eJ1LLW0hvl3LKRp8Jz3ACW0OisqPVpUYNY8Fg2y APwmtA/n5STDvlked/NvnlpO5tsgYKGKkhrS9gHb3EGicLVyC/4DeYdHv66wBPgy1itn+qI35Fqk+Z+lfSleL0u3u5XXmLkpIEk43PfMW1D0kteAyWpKuAI5 zpSynDDQQ9Cc6Swrk46h9wWqyg56gaavXjbzo5OZgpWDKDe9bTcLoCUblflNl1Dygmt276gECpWL7KkfWMhxSaBB3OstVNOhb7F7q0q2eImkoNbRSpe5xsac nFvLvw/nzssLFXddqPtVW2mYNVPvud5JGQjEcoPu7dFnCXZQB6Az1cbYdUQqBlW3QCDmvcgUj9/VWwx9qVoQ2IHv9t2RYN9G1NiCNavzrDJ7ezzutdQzkMlV ewdVPsn5I1Y8eBkqPjUACPc2NWQH9seHMgVcgV7kf2lhtvIXlqQkWO9APTnMvKgWJNrKvNkbWUbR6emjQEagjywkAfCsv+eDbkeKqolEMzfNd9iw4DLDU7w8 +TAwA+PLHhTLySidEW1CqNwtsdHk7rSw+8ujnYLxpiVSSQ== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As reported by the TI spruh73x RM, MPU and LCD modules support spread spectrum clocking (SSC) on their output clocks. SSC is used to spread the spectral peaking of the clock to reduce any electromagnetic interference (EMI) that may be caused due to the clock’s fundamental or any of its harmonics. The series allows you to enable and adjust the spread spectrum clocking for all am33xx PLLs for which it is supported. Changes in v2: - Remove SSC registers from dpll_core_ck@490 node (SSC is not supported) - Add SSC registers to dpll_mpu_ck@488 node. - Move the DT changes to the previous patch in the series. Dario Binacchi (4): clk: ti: fix typo in routine description dt-bindings: ti: dpll: add spread spectrum support ARM: dts: am33xx-clocks: add spread spectrum support clk: ti: add am33xx spread spectrum clock support .../devicetree/bindings/clock/ti/dpll.txt | 20 +++++ arch/arm/boot/dts/am33xx-clocks.dtsi | 4 +- drivers/clk/ti/dpll.c | 41 +++++++++ drivers/clk/ti/dpll3xxx.c | 87 ++++++++++++++++++- include/linux/clk/ti.h | 24 +++++ 5 files changed, 173 insertions(+), 3 deletions(-) -- 2.17.1