From: Yixun Lan <yixun.lan@amlogic.com>
To: Neil Armstrong <narmstrong@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Kevin Hilman <khilman@baylibre.com>,
Carlo Caione <carlo@caione.org>
Cc: Yixun Lan <yixun.lan@amlogic.com>, Rob Herring <robh@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@codeaurora.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Qiufang Dai <qiufang.dai@amlogic.com>,
<linux-amlogic@lists.infradead.org>, <linux-clk@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>
Subject: [PATCH v8 0/5] clk: meson-axg: Add AO Cloclk and Reset driver
Date: Thu, 3 May 2018 21:26:19 +0800 [thread overview]
Message-ID: <20180503132624.78453-1-yixun.lan@amlogic.com> (raw)
This patch try to add AO clock and Reset driver for Amlogic's
Meson-AXG SoC.
patch 1: factor the common code into a dedicated file
patch 2-4: add the aoclk driver for AXG SoC
patch 5: drop unnecessary clock flags
changes since v7 at [8]:
- drop the 'drop CLK_IGNORE_UNUSED flag' patch
to avoid circle dependencies
- fix Philip's Ack on patch 3
changes since v6 at [7]:
- fix over 80 chars chechpatch error
- add Philip's Ack on patch 5
- drop extra end of newline
changes since v5 at [6]:
- drop unnecessary header files
- add 'axg_aoclk' prefix to clk driver, make them more consistent
- add missing end new line..
changes since v4 at [5]:
- fix return err
- introduce CONFIG_COMMON_CLK_MESON_AO
- format/style minor fix
changes since v3 at [4]:
- add 'const' contraint to the read-only data
- switch to devm_of_clk_add_hw_provider API
- check return value of devm_reset_controller_register
changes since v2 at [2]:
- rework meson_aoclkc_probe() which leverage the of_match_data
- merge patch 5-6 into this series
- seperate DTS patch, will send to Kevin Hilman independently
changes since v1 at [0]:
- rebase to clk-meson's branch 'next/drivers' [1]
- fix license, update to BSD-3-Clause
- drop un-used include header file
[0] https://lkml.kernel.org/r/20180209070026.193879-1-yixun.lan@amlogic.com
[1] git://github.com/BayLibre/clk-meson.git branch: next-drivers
[2] https://lkml.kernel.org/r/20180323143816.200573-1-yixun.lan@amlogic.com
[3] https://lkml.kernel.org/r/20180326081809.49493-4-yixun.lan@amlogic.com
[4] https://lkml.kernel.org/r/20180328025050.221585-1-yixun.lan@amlogic.com
[5] https://lkml.kernel.org/r/20180408031938.153474-1-yixun.lan@amlogic.com
[6] https://lkml.kernel.org/r/20180409143749.71197-1-yixun.lan@amlogic.com
[7] https://lkml.kernel.org/r/20180419135426.155794-1-yixun.lan@amlogic.com
[8] https://lkml.kernel.org/r/20180426084437.192394-1-yixun.lan@amlogic.com
Qiufang Dai (1):
clk: meson-axg: Add AO Clock and Reset controller driver
Yixun Lan (4):
clk: meson: aoclk: refactor common code into dedicated file
dt-bindings: clock: axg-aoclkc: New binding for Meson-AXG SoC
dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings
clk: meson: drop CLK_SET_RATE_PARENT flag
.../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 +
drivers/clk/meson/Kconfig | 8 +
drivers/clk/meson/Makefile | 3 +-
drivers/clk/meson/axg-aoclk.c | 164 ++++++++++++++++++
drivers/clk/meson/axg-aoclk.h | 29 ++++
drivers/clk/meson/gxbb-aoclk.c | 96 ++++------
drivers/clk/meson/gxbb-aoclk.h | 5 +
drivers/clk/meson/meson-aoclk.c | 81 +++++++++
drivers/clk/meson/meson-aoclk.h | 34 ++++
include/dt-bindings/clock/axg-aoclkc.h | 26 +++
include/dt-bindings/reset/axg-aoclkc.h | 20 +++
11 files changed, 403 insertions(+), 64 deletions(-)
create mode 100644 drivers/clk/meson/axg-aoclk.c
create mode 100644 drivers/clk/meson/axg-aoclk.h
create mode 100644 drivers/clk/meson/meson-aoclk.c
create mode 100644 drivers/clk/meson/meson-aoclk.h
create mode 100644 include/dt-bindings/clock/axg-aoclkc.h
create mode 100644 include/dt-bindings/reset/axg-aoclkc.h
--
2.17.0
WARNING: multiple messages have this Message-ID (diff)
From: Yixun Lan <yixun.lan@amlogic.com>
To: Neil Armstrong <narmstrong@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Kevin Hilman <khilman@baylibre.com>,
Carlo Caione <carlo@caione.org>
Cc: Yixun Lan <yixun.lan@amlogic.com>, Rob Herring <robh@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@codeaurora.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Qiufang Dai <qiufang.dai@amlogic.com>,
linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH v8 0/5] clk: meson-axg: Add AO Cloclk and Reset driver
Date: Thu, 3 May 2018 21:26:19 +0800 [thread overview]
Message-ID: <20180503132624.78453-1-yixun.lan@amlogic.com> (raw)
This patch try to add AO clock and Reset driver for Amlogic's
Meson-AXG SoC.
patch 1: factor the common code into a dedicated file
patch 2-4: add the aoclk driver for AXG SoC
patch 5: drop unnecessary clock flags
changes since v7 at [8]:
- drop the 'drop CLK_IGNORE_UNUSED flag' patch
to avoid circle dependencies
- fix Philip's Ack on patch 3
changes since v6 at [7]:
- fix over 80 chars chechpatch error
- add Philip's Ack on patch 5
- drop extra end of newline
changes since v5 at [6]:
- drop unnecessary header files
- add 'axg_aoclk' prefix to clk driver, make them more consistent
- add missing end new line..
changes since v4 at [5]:
- fix return err
- introduce CONFIG_COMMON_CLK_MESON_AO
- format/style minor fix
changes since v3 at [4]:
- add 'const' contraint to the read-only data
- switch to devm_of_clk_add_hw_provider API
- check return value of devm_reset_controller_register
changes since v2 at [2]:
- rework meson_aoclkc_probe() which leverage the of_match_data
- merge patch 5-6 into this series
- seperate DTS patch, will send to Kevin Hilman independently
changes since v1 at [0]:
- rebase to clk-meson's branch 'next/drivers' [1]
- fix license, update to BSD-3-Clause
- drop un-used include header file
[0] https://lkml.kernel.org/r/20180209070026.193879-1-yixun.lan@amlogic.com
[1] git://github.com/BayLibre/clk-meson.git branch: next-drivers
[2] https://lkml.kernel.org/r/20180323143816.200573-1-yixun.lan@amlogic.com
[3] https://lkml.kernel.org/r/20180326081809.49493-4-yixun.lan@amlogic.com
[4] https://lkml.kernel.org/r/20180328025050.221585-1-yixun.lan@amlogic.com
[5] https://lkml.kernel.org/r/20180408031938.153474-1-yixun.lan@amlogic.com
[6] https://lkml.kernel.org/r/20180409143749.71197-1-yixun.lan@amlogic.com
[7] https://lkml.kernel.org/r/20180419135426.155794-1-yixun.lan@amlogic.com
[8] https://lkml.kernel.org/r/20180426084437.192394-1-yixun.lan@amlogic.com
Qiufang Dai (1):
clk: meson-axg: Add AO Clock and Reset controller driver
Yixun Lan (4):
clk: meson: aoclk: refactor common code into dedicated file
dt-bindings: clock: axg-aoclkc: New binding for Meson-AXG SoC
dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings
clk: meson: drop CLK_SET_RATE_PARENT flag
.../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 +
drivers/clk/meson/Kconfig | 8 +
drivers/clk/meson/Makefile | 3 +-
drivers/clk/meson/axg-aoclk.c | 164 ++++++++++++++++++
drivers/clk/meson/axg-aoclk.h | 29 ++++
drivers/clk/meson/gxbb-aoclk.c | 96 ++++------
drivers/clk/meson/gxbb-aoclk.h | 5 +
drivers/clk/meson/meson-aoclk.c | 81 +++++++++
drivers/clk/meson/meson-aoclk.h | 34 ++++
include/dt-bindings/clock/axg-aoclkc.h | 26 +++
include/dt-bindings/reset/axg-aoclkc.h | 20 +++
11 files changed, 403 insertions(+), 64 deletions(-)
create mode 100644 drivers/clk/meson/axg-aoclk.c
create mode 100644 drivers/clk/meson/axg-aoclk.h
create mode 100644 drivers/clk/meson/meson-aoclk.c
create mode 100644 drivers/clk/meson/meson-aoclk.h
create mode 100644 include/dt-bindings/clock/axg-aoclkc.h
create mode 100644 include/dt-bindings/reset/axg-aoclkc.h
--
2.17.0
WARNING: multiple messages have this Message-ID (diff)
From: yixun.lan@amlogic.com (Yixun Lan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v8 0/5] clk: meson-axg: Add AO Cloclk and Reset driver
Date: Thu, 3 May 2018 21:26:19 +0800 [thread overview]
Message-ID: <20180503132624.78453-1-yixun.lan@amlogic.com> (raw)
This patch try to add AO clock and Reset driver for Amlogic's
Meson-AXG SoC.
patch 1: factor the common code into a dedicated file
patch 2-4: add the aoclk driver for AXG SoC
patch 5: drop unnecessary clock flags
changes since v7 at [8]:
- drop the 'drop CLK_IGNORE_UNUSED flag' patch
to avoid circle dependencies
- fix Philip's Ack on patch 3
changes since v6 at [7]:
- fix over 80 chars chechpatch error
- add Philip's Ack on patch 5
- drop extra end of newline
changes since v5 at [6]:
- drop unnecessary header files
- add 'axg_aoclk' prefix to clk driver, make them more consistent
- add missing end new line..
changes since v4 at [5]:
- fix return err
- introduce CONFIG_COMMON_CLK_MESON_AO
- format/style minor fix
changes since v3 at [4]:
- add 'const' contraint to the read-only data
- switch to devm_of_clk_add_hw_provider API
- check return value of devm_reset_controller_register
changes since v2 at [2]:
- rework meson_aoclkc_probe() which leverage the of_match_data
- merge patch 5-6 into this series
- seperate DTS patch, will send to Kevin Hilman independently
changes since v1 at [0]:
- rebase to clk-meson's branch 'next/drivers' [1]
- fix license, update to BSD-3-Clause
- drop un-used include header file
[0] https://lkml.kernel.org/r/20180209070026.193879-1-yixun.lan at amlogic.com
[1] git://github.com/BayLibre/clk-meson.git branch: next-drivers
[2] https://lkml.kernel.org/r/20180323143816.200573-1-yixun.lan at amlogic.com
[3] https://lkml.kernel.org/r/20180326081809.49493-4-yixun.lan at amlogic.com
[4] https://lkml.kernel.org/r/20180328025050.221585-1-yixun.lan at amlogic.com
[5] https://lkml.kernel.org/r/20180408031938.153474-1-yixun.lan at amlogic.com
[6] https://lkml.kernel.org/r/20180409143749.71197-1-yixun.lan at amlogic.com
[7] https://lkml.kernel.org/r/20180419135426.155794-1-yixun.lan at amlogic.com
[8] https://lkml.kernel.org/r/20180426084437.192394-1-yixun.lan at amlogic.com
Qiufang Dai (1):
clk: meson-axg: Add AO Clock and Reset controller driver
Yixun Lan (4):
clk: meson: aoclk: refactor common code into dedicated file
dt-bindings: clock: axg-aoclkc: New binding for Meson-AXG SoC
dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings
clk: meson: drop CLK_SET_RATE_PARENT flag
.../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 +
drivers/clk/meson/Kconfig | 8 +
drivers/clk/meson/Makefile | 3 +-
drivers/clk/meson/axg-aoclk.c | 164 ++++++++++++++++++
drivers/clk/meson/axg-aoclk.h | 29 ++++
drivers/clk/meson/gxbb-aoclk.c | 96 ++++------
drivers/clk/meson/gxbb-aoclk.h | 5 +
drivers/clk/meson/meson-aoclk.c | 81 +++++++++
drivers/clk/meson/meson-aoclk.h | 34 ++++
include/dt-bindings/clock/axg-aoclkc.h | 26 +++
include/dt-bindings/reset/axg-aoclkc.h | 20 +++
11 files changed, 403 insertions(+), 64 deletions(-)
create mode 100644 drivers/clk/meson/axg-aoclk.c
create mode 100644 drivers/clk/meson/axg-aoclk.h
create mode 100644 drivers/clk/meson/meson-aoclk.c
create mode 100644 drivers/clk/meson/meson-aoclk.h
create mode 100644 include/dt-bindings/clock/axg-aoclkc.h
create mode 100644 include/dt-bindings/reset/axg-aoclkc.h
--
2.17.0
WARNING: multiple messages have this Message-ID (diff)
From: yixun.lan@amlogic.com (Yixun Lan)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v8 0/5] clk: meson-axg: Add AO Cloclk and Reset driver
Date: Thu, 3 May 2018 21:26:19 +0800 [thread overview]
Message-ID: <20180503132624.78453-1-yixun.lan@amlogic.com> (raw)
This patch try to add AO clock and Reset driver for Amlogic's
Meson-AXG SoC.
patch 1: factor the common code into a dedicated file
patch 2-4: add the aoclk driver for AXG SoC
patch 5: drop unnecessary clock flags
changes since v7 at [8]:
- drop the 'drop CLK_IGNORE_UNUSED flag' patch
to avoid circle dependencies
- fix Philip's Ack on patch 3
changes since v6 at [7]:
- fix over 80 chars chechpatch error
- add Philip's Ack on patch 5
- drop extra end of newline
changes since v5 at [6]:
- drop unnecessary header files
- add 'axg_aoclk' prefix to clk driver, make them more consistent
- add missing end new line..
changes since v4 at [5]:
- fix return err
- introduce CONFIG_COMMON_CLK_MESON_AO
- format/style minor fix
changes since v3 at [4]:
- add 'const' contraint to the read-only data
- switch to devm_of_clk_add_hw_provider API
- check return value of devm_reset_controller_register
changes since v2 at [2]:
- rework meson_aoclkc_probe() which leverage the of_match_data
- merge patch 5-6 into this series
- seperate DTS patch, will send to Kevin Hilman independently
changes since v1 at [0]:
- rebase to clk-meson's branch 'next/drivers' [1]
- fix license, update to BSD-3-Clause
- drop un-used include header file
[0] https://lkml.kernel.org/r/20180209070026.193879-1-yixun.lan at amlogic.com
[1] git://github.com/BayLibre/clk-meson.git branch: next-drivers
[2] https://lkml.kernel.org/r/20180323143816.200573-1-yixun.lan at amlogic.com
[3] https://lkml.kernel.org/r/20180326081809.49493-4-yixun.lan at amlogic.com
[4] https://lkml.kernel.org/r/20180328025050.221585-1-yixun.lan at amlogic.com
[5] https://lkml.kernel.org/r/20180408031938.153474-1-yixun.lan at amlogic.com
[6] https://lkml.kernel.org/r/20180409143749.71197-1-yixun.lan at amlogic.com
[7] https://lkml.kernel.org/r/20180419135426.155794-1-yixun.lan at amlogic.com
[8] https://lkml.kernel.org/r/20180426084437.192394-1-yixun.lan at amlogic.com
Qiufang Dai (1):
clk: meson-axg: Add AO Clock and Reset controller driver
Yixun Lan (4):
clk: meson: aoclk: refactor common code into dedicated file
dt-bindings: clock: axg-aoclkc: New binding for Meson-AXG SoC
dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings
clk: meson: drop CLK_SET_RATE_PARENT flag
.../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 +
drivers/clk/meson/Kconfig | 8 +
drivers/clk/meson/Makefile | 3 +-
drivers/clk/meson/axg-aoclk.c | 164 ++++++++++++++++++
drivers/clk/meson/axg-aoclk.h | 29 ++++
drivers/clk/meson/gxbb-aoclk.c | 96 ++++------
drivers/clk/meson/gxbb-aoclk.h | 5 +
drivers/clk/meson/meson-aoclk.c | 81 +++++++++
drivers/clk/meson/meson-aoclk.h | 34 ++++
include/dt-bindings/clock/axg-aoclkc.h | 26 +++
include/dt-bindings/reset/axg-aoclkc.h | 20 +++
11 files changed, 403 insertions(+), 64 deletions(-)
create mode 100644 drivers/clk/meson/axg-aoclk.c
create mode 100644 drivers/clk/meson/axg-aoclk.h
create mode 100644 drivers/clk/meson/meson-aoclk.c
create mode 100644 drivers/clk/meson/meson-aoclk.h
create mode 100644 include/dt-bindings/clock/axg-aoclkc.h
create mode 100644 include/dt-bindings/reset/axg-aoclkc.h
--
2.17.0
next reply other threads:[~2018-05-03 13:26 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-03 13:26 Yixun Lan [this message]
2018-05-03 13:26 ` [PATCH v8 0/5] clk: meson-axg: Add AO Cloclk and Reset driver Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` [PATCH v8 1/5] clk: meson: aoclk: refactor common code into dedicated file Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` [PATCH v8 2/5] dt-bindings: clock: axg-aoclkc: New binding for Meson-AXG SoC Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` [PATCH v8 3/5] dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` [PATCH v8 4/5] clk: meson-axg: Add AO Clock and Reset controller driver Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` [PATCH v8 5/5] clk: meson: drop CLK_SET_RATE_PARENT flag Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-03 13:26 ` Yixun Lan
2018-05-15 14:40 ` [PATCH v8 0/5] clk: meson-axg: Add AO Cloclk and Reset driver Jerome Brunet
2018-05-15 14:40 ` Jerome Brunet
2018-05-15 14:40 ` Jerome Brunet
2018-05-15 14:40 ` Jerome Brunet
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=20180503132624.78453-1-yixun.lan@amlogic.com \
--to=yixun.lan@amlogic.com \
--cc=carlo@caione.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=narmstrong@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=qiufang.dai@amlogic.com \
--cc=robh@kernel.org \
--cc=sboyd@codeaurora.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.