From: Aradhya Bhatia <a-bhatia1@ti.com>
To: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Santosh Shilimkar <ssantosh@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Tomi Valkeinen <tomba@kernel.org>,
Samuel Holland <samuel@sholland.org>,
Linux Clock List <linux-clk@vger.kernel.org>,
Devicetree List <devicetree@vger.kernel.org>,
Linux Kernel List <linux-kernel@vger.kernel.org>,
Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
Devarsh Thakkar <devarsht@ti.com>, Jai Luthra <j-luthra@ti.com>,
Aradhya Bhatia <a-bhatia1@ti.com>
Subject: [PATCH v2 0/2] Introduce support for AM62 DSS VP0 Divider Clock
Date: Mon, 13 Feb 2023 17:29:52 +0530 [thread overview]
Message-ID: <20230213115954.553-1-a-bhatia1@ti.com> (raw)
Introduce clock divider driver and bindings for AM62 DSS (VP0).
The OLDI transmitters in AM62 SoC, require a serial clock, which is 7
times the pixel clock required by the Video Port 0 (VP0) of the DSS.
The clock architecture is such that the relevant PLL is connected to the
DSS VP0 through a clock divider (by-7). The DSS requests the pixel clock
to the clock divider, which forwards the request to parent PLL. The PLL,
in turn, is supposed to generate a 7x pixel-clock (serial clock) to feed
the OLDI transmitters directly, and the DSS through the said divider.
This ensures that both the OLDI TXes and DSS get their required clocks.
Change Log:
v2:
- Create separate devicetree binding and driver for the clock.
The previous version of the series added the compatible inside the
fixed-factor clock driver, and explicitly set the flag
CLK_SET_RATE_PARENT to have the set clock rate request propagate to
the parent PLL. The driver is referenced from the fixed-factor clock
driver and modified specifically to support AM62 DSS requirements.
Links:
V1: https://lore.kernel.org/all/20221226095745.19757-1-a-bhatia1@ti.com/
Aradhya Bhatia (2):
dt-bindings: clock: Add binding documentation for TI AM62 DSS Clock
clk: keystone: Add support AM62 DSS clock divider
.../clock/ti,am62-dss-vp0-div-clk.yaml | 44 +++++
drivers/clk/keystone/Kconfig | 9 +
drivers/clk/keystone/Makefile | 1 +
drivers/clk/keystone/clk-am62-dss.c | 164 ++++++++++++++++++
4 files changed, 218 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/ti,am62-dss-vp0-div-clk.yaml
create mode 100644 drivers/clk/keystone/clk-am62-dss.c
--
2.39.1
next reply other threads:[~2023-02-13 12:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-13 11:59 Aradhya Bhatia [this message]
2023-02-13 11:59 ` [PATCH v2 1/2] dt-bindings: clock: Add binding documentation for TI AM62 DSS Clock Aradhya Bhatia
2023-02-15 19:44 ` Rob Herring
2023-02-13 11:59 ` [PATCH v2 2/2] clk: keystone: Add support AM62 DSS clock divider Aradhya Bhatia
2023-03-03 18:02 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230213115954.553-1-a-bhatia1@ti.com \
--to=a-bhatia1@ti.com \
--cc=devarsht@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=j-luthra@ti.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=nm@ti.com \
--cc=robh+dt@kernel.org \
--cc=samuel@sholland.org \
--cc=sboyd@kernel.org \
--cc=ssantosh@kernel.org \
--cc=tomba@kernel.org \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®