From: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
To: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Stephen Boyd <sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
Michael Turquette
<mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>,
Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
Cc: Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
Roland Stigge <stigge-uj/7R2tJ6VmzQB+pC5nmwQ@public.gmane.org>,
linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: [PATCH 00/11] clk: lpc32xx: add clock support for NXP LPC32xx
Date: Fri, 20 Nov 2015 03:05:00 +0200 [thread overview]
Message-ID: <1447981511-29653-1-git-send-email-vz@mleia.com> (raw)
This changeset adds common clock framework driver for NXP LPC32xx
boards.
The changeset has dependencies on the recent updates to LPC32xx DTS:
http://permalink.gmane.org/gmane.linux.ports.arm.kernel/456304
The RFC version of CCF driver 9/11 can be found here:
http://www.spinics.net/lists/devicetree/msg100583.html
Changes from RFC to v1:
* added definitions of a missed IRDA clock,
* renamed compatible property from lpc32xx-scb to lpc32xx-clk
* switched to regmap interface instead of mmio, this is required to
secure access to registers shared between pinmux, dma and clock
driver, unfortunately this change has to pull some code snippets
from common gate, divider and mux helpers rebased on regmap API,
* split clock definitions from the driver to be able to update
dts files separately from CCF driver.
The driver is written from scratch, here are main functional
differences with the legacy driver arch/arm/mach-lpc32xx/clock.c:
* serialized access to SCB registers,
* reworked routines to select PLL parameters,
* now the clock driver has detailed description of all clocks,
the original driver misses several clock entries and most of fine
grained clock controls, here every mux and divider are accounted,
* now clocks and clock hierarchies can be described in board DT file,
* sophisticated management of USB clocks, for example now USB device
controller needs only one clock instead of USB PLL, USB OTG and USB
device clocks,
* other benefits from a driver powered by CCF.
Patch 9/11 may produce false positives from checkpatch, the fix
to checkpatch can be found in Andrew's tree.
Vladimir Zapolskiy (11):
dt-bindings: clock: add description of LPC32xx clock controller
dt-bindings: clock: add description of LPC32xx USB clock controller
dt-bindings: clock: add NXP LPC32xx clock list for consumers
arm: dts: lpc32xx: add device nodes for external oscillators
arm: dts: lpc32xx: add clock controller device node
arm: dts: lpc32xx: add clock properties to device nodes
arm: dts: lpc32xx: add USB clock controller
clk: lpc18xx: add NXP specific common clock framework selection
clk: lpc32xx: add common clock framework driver
arm: lpc32xx: switch to common clock framework
arm: dts: lpc32xx: remove clock frequency property from UART device
nodes
.../devicetree/bindings/clock/nxp,lpc3220-clk.txt | 30 +
.../bindings/clock/nxp,lpc3220-usb-clk.txt | 22 +
arch/arm/Kconfig | 4 +-
arch/arm/boot/dts/lpc32xx.dtsi | 87 +-
arch/arm/mach-lpc32xx/Makefile | 3 +-
arch/arm/mach-lpc32xx/clock.c | 1284 ----------------
arch/arm/mach-lpc32xx/phy3250.c | 1 -
arch/arm/mach-lpc32xx/serial.c | 3 -
arch/arm/mach-lpc32xx/timer.c | 144 --
drivers/clk/Kconfig | 6 +
drivers/clk/Makefile | 2 +-
drivers/clk/nxp/Makefile | 1 +
drivers/clk/nxp/clk-lpc32xx.c | 1562 ++++++++++++++++++++
include/dt-bindings/clock/lpc32xx-clock.h | 56 +
14 files changed, 1765 insertions(+), 1440 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt
create mode 100644 Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
delete mode 100644 arch/arm/mach-lpc32xx/clock.c
delete mode 100644 arch/arm/mach-lpc32xx/timer.c
create mode 100644 drivers/clk/nxp/clk-lpc32xx.c
create mode 100644 include/dt-bindings/clock/lpc32xx-clock.h
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Vladimir Zapolskiy <vz@mleia.com>
To: Rob Herring <robh+dt@kernel.org>,
Stephen Boyd <sboyd@codeaurora.org>,
Michael Turquette <mturquette@baylibre.com>,
Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>,
Roland Stigge <stigge@antcom.de>,
linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/11] clk: lpc32xx: add clock support for NXP LPC32xx
Date: Fri, 20 Nov 2015 03:05:00 +0200 [thread overview]
Message-ID: <1447981511-29653-1-git-send-email-vz@mleia.com> (raw)
This changeset adds common clock framework driver for NXP LPC32xx
boards.
The changeset has dependencies on the recent updates to LPC32xx DTS:
http://permalink.gmane.org/gmane.linux.ports.arm.kernel/456304
The RFC version of CCF driver 9/11 can be found here:
http://www.spinics.net/lists/devicetree/msg100583.html
Changes from RFC to v1:
* added definitions of a missed IRDA clock,
* renamed compatible property from lpc32xx-scb to lpc32xx-clk
* switched to regmap interface instead of mmio, this is required to
secure access to registers shared between pinmux, dma and clock
driver, unfortunately this change has to pull some code snippets
from common gate, divider and mux helpers rebased on regmap API,
* split clock definitions from the driver to be able to update
dts files separately from CCF driver.
The driver is written from scratch, here are main functional
differences with the legacy driver arch/arm/mach-lpc32xx/clock.c:
* serialized access to SCB registers,
* reworked routines to select PLL parameters,
* now the clock driver has detailed description of all clocks,
the original driver misses several clock entries and most of fine
grained clock controls, here every mux and divider are accounted,
* now clocks and clock hierarchies can be described in board DT file,
* sophisticated management of USB clocks, for example now USB device
controller needs only one clock instead of USB PLL, USB OTG and USB
device clocks,
* other benefits from a driver powered by CCF.
Patch 9/11 may produce false positives from checkpatch, the fix
to checkpatch can be found in Andrew's tree.
Vladimir Zapolskiy (11):
dt-bindings: clock: add description of LPC32xx clock controller
dt-bindings: clock: add description of LPC32xx USB clock controller
dt-bindings: clock: add NXP LPC32xx clock list for consumers
arm: dts: lpc32xx: add device nodes for external oscillators
arm: dts: lpc32xx: add clock controller device node
arm: dts: lpc32xx: add clock properties to device nodes
arm: dts: lpc32xx: add USB clock controller
clk: lpc18xx: add NXP specific common clock framework selection
clk: lpc32xx: add common clock framework driver
arm: lpc32xx: switch to common clock framework
arm: dts: lpc32xx: remove clock frequency property from UART device
nodes
.../devicetree/bindings/clock/nxp,lpc3220-clk.txt | 30 +
.../bindings/clock/nxp,lpc3220-usb-clk.txt | 22 +
arch/arm/Kconfig | 4 +-
arch/arm/boot/dts/lpc32xx.dtsi | 87 +-
arch/arm/mach-lpc32xx/Makefile | 3 +-
arch/arm/mach-lpc32xx/clock.c | 1284 ----------------
arch/arm/mach-lpc32xx/phy3250.c | 1 -
arch/arm/mach-lpc32xx/serial.c | 3 -
arch/arm/mach-lpc32xx/timer.c | 144 --
drivers/clk/Kconfig | 6 +
drivers/clk/Makefile | 2 +-
drivers/clk/nxp/Makefile | 1 +
drivers/clk/nxp/clk-lpc32xx.c | 1562 ++++++++++++++++++++
include/dt-bindings/clock/lpc32xx-clock.h | 56 +
14 files changed, 1765 insertions(+), 1440 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt
create mode 100644 Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
delete mode 100644 arch/arm/mach-lpc32xx/clock.c
delete mode 100644 arch/arm/mach-lpc32xx/timer.c
create mode 100644 drivers/clk/nxp/clk-lpc32xx.c
create mode 100644 include/dt-bindings/clock/lpc32xx-clock.h
--
2.1.4
WARNING: multiple messages have this Message-ID (diff)
From: vz@mleia.com (Vladimir Zapolskiy)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/11] clk: lpc32xx: add clock support for NXP LPC32xx
Date: Fri, 20 Nov 2015 03:05:00 +0200 [thread overview]
Message-ID: <1447981511-29653-1-git-send-email-vz@mleia.com> (raw)
This changeset adds common clock framework driver for NXP LPC32xx
boards.
The changeset has dependencies on the recent updates to LPC32xx DTS:
http://permalink.gmane.org/gmane.linux.ports.arm.kernel/456304
The RFC version of CCF driver 9/11 can be found here:
http://www.spinics.net/lists/devicetree/msg100583.html
Changes from RFC to v1:
* added definitions of a missed IRDA clock,
* renamed compatible property from lpc32xx-scb to lpc32xx-clk
* switched to regmap interface instead of mmio, this is required to
secure access to registers shared between pinmux, dma and clock
driver, unfortunately this change has to pull some code snippets
from common gate, divider and mux helpers rebased on regmap API,
* split clock definitions from the driver to be able to update
dts files separately from CCF driver.
The driver is written from scratch, here are main functional
differences with the legacy driver arch/arm/mach-lpc32xx/clock.c:
* serialized access to SCB registers,
* reworked routines to select PLL parameters,
* now the clock driver has detailed description of all clocks,
the original driver misses several clock entries and most of fine
grained clock controls, here every mux and divider are accounted,
* now clocks and clock hierarchies can be described in board DT file,
* sophisticated management of USB clocks, for example now USB device
controller needs only one clock instead of USB PLL, USB OTG and USB
device clocks,
* other benefits from a driver powered by CCF.
Patch 9/11 may produce false positives from checkpatch, the fix
to checkpatch can be found in Andrew's tree.
Vladimir Zapolskiy (11):
dt-bindings: clock: add description of LPC32xx clock controller
dt-bindings: clock: add description of LPC32xx USB clock controller
dt-bindings: clock: add NXP LPC32xx clock list for consumers
arm: dts: lpc32xx: add device nodes for external oscillators
arm: dts: lpc32xx: add clock controller device node
arm: dts: lpc32xx: add clock properties to device nodes
arm: dts: lpc32xx: add USB clock controller
clk: lpc18xx: add NXP specific common clock framework selection
clk: lpc32xx: add common clock framework driver
arm: lpc32xx: switch to common clock framework
arm: dts: lpc32xx: remove clock frequency property from UART device
nodes
.../devicetree/bindings/clock/nxp,lpc3220-clk.txt | 30 +
.../bindings/clock/nxp,lpc3220-usb-clk.txt | 22 +
arch/arm/Kconfig | 4 +-
arch/arm/boot/dts/lpc32xx.dtsi | 87 +-
arch/arm/mach-lpc32xx/Makefile | 3 +-
arch/arm/mach-lpc32xx/clock.c | 1284 ----------------
arch/arm/mach-lpc32xx/phy3250.c | 1 -
arch/arm/mach-lpc32xx/serial.c | 3 -
arch/arm/mach-lpc32xx/timer.c | 144 --
drivers/clk/Kconfig | 6 +
drivers/clk/Makefile | 2 +-
drivers/clk/nxp/Makefile | 1 +
drivers/clk/nxp/clk-lpc32xx.c | 1562 ++++++++++++++++++++
include/dt-bindings/clock/lpc32xx-clock.h | 56 +
14 files changed, 1765 insertions(+), 1440 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt
create mode 100644 Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
delete mode 100644 arch/arm/mach-lpc32xx/clock.c
delete mode 100644 arch/arm/mach-lpc32xx/timer.c
create mode 100644 drivers/clk/nxp/clk-lpc32xx.c
create mode 100644 include/dt-bindings/clock/lpc32xx-clock.h
--
2.1.4
next reply other threads:[~2015-11-20 1:05 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-20 1:05 Vladimir Zapolskiy [this message]
2015-11-20 1:05 ` [PATCH 00/11] clk: lpc32xx: add clock support for NXP LPC32xx Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 1:05 ` [PATCH 02/11] dt-bindings: clock: add description of LPC32xx USB clock controller Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 16:41 ` Rob Herring
2015-11-20 16:41 ` Rob Herring
2015-11-20 18:14 ` Vladimir Zapolskiy
2015-11-20 18:14 ` Vladimir Zapolskiy
2015-11-20 1:05 ` [PATCH 03/11] dt-bindings: clock: add NXP LPC32xx clock list for consumers Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 13:56 ` Arnd Bergmann
2015-11-20 13:56 ` Arnd Bergmann
2015-11-20 13:56 ` Arnd Bergmann
2015-11-20 17:58 ` Vladimir Zapolskiy
2015-11-20 17:58 ` Vladimir Zapolskiy
2015-11-20 21:07 ` Arnd Bergmann
2015-11-20 21:07 ` Arnd Bergmann
2015-11-21 18:53 ` Vladimir Zapolskiy
2015-11-21 18:53 ` Vladimir Zapolskiy
2015-11-20 1:05 ` [PATCH 04/11] arm: dts: lpc32xx: add device nodes for external oscillators Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 1:05 ` [PATCH 05/11] arm: dts: lpc32xx: add clock controller device node Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
[not found] ` <1447981511-29653-1-git-send-email-vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2015-11-20 1:05 ` [PATCH 01/11] dt-bindings: clock: add description of LPC32xx clock controller Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 13:58 ` Arnd Bergmann
2015-11-20 13:58 ` Arnd Bergmann
2015-11-20 18:01 ` Vladimir Zapolskiy
2015-11-20 18:01 ` Vladimir Zapolskiy
2015-11-20 18:01 ` Vladimir Zapolskiy
2015-11-20 20:03 ` Arnd Bergmann
2015-11-20 20:03 ` Arnd Bergmann
2015-11-20 1:05 ` [PATCH 06/11] arm: dts: lpc32xx: add clock properties to device nodes Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 1:05 ` [PATCH 07/11] arm: dts: lpc32xx: add USB clock controller Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 1:05 ` [PATCH 08/11] clk: lpc18xx: add NXP specific common clock framework selection Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-22 20:38 ` Joachim Eastwood
2015-11-22 20:38 ` Joachim Eastwood
2015-11-22 20:38 ` Joachim Eastwood
2015-11-20 1:05 ` [PATCH 11/11] arm: dts: lpc32xx: remove clock frequency property from UART device nodes Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 1:05 ` [PATCH 09/11] clk: lpc32xx: add common clock framework driver Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2015-11-20 14:04 ` Arnd Bergmann
2015-11-20 14:04 ` Arnd Bergmann
2015-11-20 18:07 ` Vladimir Zapolskiy
2015-11-20 18:07 ` Vladimir Zapolskiy
2015-11-20 18:07 ` Vladimir Zapolskiy
2015-11-20 20:20 ` Arnd Bergmann
2015-11-20 20:20 ` Arnd Bergmann
2015-11-29 13:00 ` Vladimir Zapolskiy
2015-11-29 13:00 ` Vladimir Zapolskiy
2015-11-20 1:05 ` [PATCH 10/11] arm: lpc32xx: switch to common clock framework Vladimir Zapolskiy
2015-11-20 1:05 ` Vladimir Zapolskiy
2016-02-09 21:01 ` [PATCH 00/11] clk: lpc32xx: add clock support for NXP LPC32xx Sylvain Lemieux
[not found] ` <loom.20160209T215103-78-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2016-02-10 0:19 ` Vladimir Zapolskiy
2016-02-10 0:19 ` Vladimir Zapolskiy
[not found] ` <56BA81F7.4080006-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2016-02-10 14:25 ` Sylvain Lemieux
2016-02-10 14:25 ` Sylvain Lemieux
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=1447981511-29653-1-git-send-email-vz@mleia.com \
--to=vz-chpfbgzjdbmavxtiumwx3w@public.gmane.org \
--cc=arnd-r2nGTMty4D4@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=stigge-uj/7R2tJ6VmzQB+pC5nmwQ@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.