* [PATCH 0/5] rk3399 support ddr frequency scaling
@ 2016-09-02 21:08 ` Lin Huang
0 siblings, 0 replies; 11+ messages in thread
From: Lin Huang @ 2016-09-02 21:08 UTC (permalink / raw)
To: heiko
Cc: myungjoo.ham, mark.yao, cw00.choi, airlied, mturquette,
dbasehore, sboyd, linux-kernel, dri-devel, dianders,
linux-rockchip, kyungmin.park, linux-arm-kernel, tixy, typ,
sudeep.holla, mark.rutland, linux-pm, devicetree, Lin Huang
rk3399 platform have dfi controller can monitor ddr load,
and dcf controller to handle ddr register so we can get the
right ddr frequency and make ddr controller happy work(which
will implement in bl31). So we do ddr frequency scaling with
following flow:
kernel bl31
monitor ddr load
|
|
get_target_rate
|
| pass rate to bl31
clk_set_rate(ddr) --------------------->run dcf flow
| |
| |
wait dcf interrupt<-------------------trigger dcf interrupt
|
|
return
Lin Huang (5):
Documentation: bindings: add dt documentation for dfi controller
PM / devfreq: event: support rockchip dfi controller
Documentation: bindings: add dt documentation for rk3399 dmc
PM / devfreq: rockchip: add devfreq driver for rk3399 dmc
drm/rockchip: Add dmc notifier in vop driver
Following patch:
clk: rockchip: add new clock-type for the ddrclk
clk: rockchip: rk3399: add SCLK_DDRCLK ID for ddrc
clk: rockchip: rk3399: add ddrc clock support
have applied to:
http://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/v4.9-clk/next
.../bindings/devfreq/event/rockchip-dfi.txt | 19 +
.../devicetree/bindings/devfreq/rk3399_dmc.txt | 173 ++++++++
drivers/devfreq/Kconfig | 11 +
drivers/devfreq/Makefile | 1 +
drivers/devfreq/event/Kconfig | 7 +
drivers/devfreq/event/Makefile | 1 +
drivers/devfreq/event/rockchip-dfi.c | 256 +++++++++++
drivers/devfreq/rk3399_dmc.c | 480 +++++++++++++++++++++
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 116 +++++
9 files changed, 1064 insertions(+)
create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
create mode 100644 Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
create mode 100644 drivers/devfreq/event/rockchip-dfi.c
create mode 100644 drivers/devfreq/rk3399_dmc.c
--
2.6.6
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 0/5] rk3399 support ddr frequency scaling
@ 2016-09-02 21:08 ` Lin Huang
0 siblings, 0 replies; 11+ messages in thread
From: Lin Huang @ 2016-09-02 21:08 UTC (permalink / raw)
To: heiko-4mtYJXux2i+zQB+pC5nmwQ
Cc: myungjoo.ham-Sze3O3UU22JBDgjK7y7TUQ,
mark.yao-TNX95d0MmH7DzftRWevZcw,
cw00.choi-Sze3O3UU22JBDgjK7y7TUQ, airlied-cv59FeDIM0c,
mturquette-rdvid1DuHRBWk0Htik3J/w,
dbasehore-F7+t8E8rja9g9hUCZPvPmw, sboyd-sgV2jX0FEOL9JmXXK+q4OQ,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
dianders-F7+t8E8rja9g9hUCZPvPmw,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
tixy-QSEj5FYQhm4dnm+yROfE0A, typ-TNX95d0MmH7DzftRWevZcw,
sudeep.holla-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
linux-pm-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, Lin Huang
rk3399 platform have dfi controller can monitor ddr load,
and dcf controller to handle ddr register so we can get the
right ddr frequency and make ddr controller happy work(which
will implement in bl31). So we do ddr frequency scaling with
following flow:
kernel bl31
monitor ddr load
|
|
get_target_rate
|
| pass rate to bl31
clk_set_rate(ddr) --------------------->run dcf flow
| |
| |
wait dcf interrupt<-------------------trigger dcf interrupt
|
|
return
Lin Huang (5):
Documentation: bindings: add dt documentation for dfi controller
PM / devfreq: event: support rockchip dfi controller
Documentation: bindings: add dt documentation for rk3399 dmc
PM / devfreq: rockchip: add devfreq driver for rk3399 dmc
drm/rockchip: Add dmc notifier in vop driver
Following patch:
clk: rockchip: add new clock-type for the ddrclk
clk: rockchip: rk3399: add SCLK_DDRCLK ID for ddrc
clk: rockchip: rk3399: add ddrc clock support
have applied to:
http://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/v4.9-clk/next
.../bindings/devfreq/event/rockchip-dfi.txt | 19 +
.../devicetree/bindings/devfreq/rk3399_dmc.txt | 173 ++++++++
drivers/devfreq/Kconfig | 11 +
drivers/devfreq/Makefile | 1 +
drivers/devfreq/event/Kconfig | 7 +
drivers/devfreq/event/Makefile | 1 +
drivers/devfreq/event/rockchip-dfi.c | 256 +++++++++++
drivers/devfreq/rk3399_dmc.c | 480 +++++++++++++++++++++
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 116 +++++
9 files changed, 1064 insertions(+)
create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
create mode 100644 Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
create mode 100644 drivers/devfreq/event/rockchip-dfi.c
create mode 100644 drivers/devfreq/rk3399_dmc.c
--
2.6.6
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 0/5] rk3399 support ddr frequency scaling
@ 2016-09-02 21:08 ` Lin Huang
0 siblings, 0 replies; 11+ messages in thread
From: Lin Huang @ 2016-09-02 21:08 UTC (permalink / raw)
To: linux-arm-kernel
rk3399 platform have dfi controller can monitor ddr load,
and dcf controller to handle ddr register so we can get the
right ddr frequency and make ddr controller happy work(which
will implement in bl31). So we do ddr frequency scaling with
following flow:
kernel bl31
monitor ddr load
|
|
get_target_rate
|
| pass rate to bl31
clk_set_rate(ddr) --------------------->run dcf flow
| |
| |
wait dcf interrupt<-------------------trigger dcf interrupt
|
|
return
Lin Huang (5):
Documentation: bindings: add dt documentation for dfi controller
PM / devfreq: event: support rockchip dfi controller
Documentation: bindings: add dt documentation for rk3399 dmc
PM / devfreq: rockchip: add devfreq driver for rk3399 dmc
drm/rockchip: Add dmc notifier in vop driver
Following patch:
clk: rockchip: add new clock-type for the ddrclk
clk: rockchip: rk3399: add SCLK_DDRCLK ID for ddrc
clk: rockchip: rk3399: add ddrc clock support
have applied to:
http://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/v4.9-clk/next
.../bindings/devfreq/event/rockchip-dfi.txt | 19 +
.../devicetree/bindings/devfreq/rk3399_dmc.txt | 173 ++++++++
drivers/devfreq/Kconfig | 11 +
drivers/devfreq/Makefile | 1 +
drivers/devfreq/event/Kconfig | 7 +
drivers/devfreq/event/Makefile | 1 +
drivers/devfreq/event/rockchip-dfi.c | 256 +++++++++++
drivers/devfreq/rk3399_dmc.c | 480 +++++++++++++++++++++
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 116 +++++
9 files changed, 1064 insertions(+)
create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
create mode 100644 Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
create mode 100644 drivers/devfreq/event/rockchip-dfi.c
create mode 100644 drivers/devfreq/rk3399_dmc.c
--
2.6.6
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/5] Documentation: bindings: add dt documentation for dfi controller
@ 2016-09-02 21:08 ` Lin Huang
0 siblings, 0 replies; 11+ messages in thread
From: Lin Huang @ 2016-09-02 21:08 UTC (permalink / raw)
To: heiko
Cc: myungjoo.ham, mark.yao, cw00.choi, airlied, mturquette,
dbasehore, sboyd, linux-kernel, dri-devel, dianders,
linux-rockchip, kyungmin.park, linux-arm-kernel, tixy, typ,
sudeep.holla, mark.rutland, linux-pm, devicetree, Lin Huang
This patch adds the documentation for rockchip dfi devfreq-event driver.
Signed-off-by: Lin Huang <hl@rock-chips.com>
---
Changes in v8:
- delete a unuse blank line
Changes in v7:
- None
Changes in v6:
- None
Changes in v5:
- None
Changes in v4:
- None
Changes in v3:
- None
Changes in v2:
- None
Changes in v1:
- None
.../bindings/devfreq/event/rockchip-dfi.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
new file mode 100644
index 0000000..d66aca6
--- /dev/null
+++ b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
@@ -0,0 +1,19 @@
+
+* Rockchip rk3399 DFI device
+
+Required properties:
+- compatible: Must be "rockchip,rk3399-dfi".
+- reg: physical base address of each DFI and length of memory mapped region
+- rockchip,pmu: phandle to the syscon managing the "pmu general register files"
+- clocks: phandles for clock specified in "clock-names" property
+- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon";
+
+Example:
+ dfi: dfi@0xff630000 {
+ reg = <0x00 0xff630000 0x00 0x4000>;
+ compatible = "rockchip,rk3399-dfi";
+ rockchip,pmu = <&pmugrf>;
+ clocks = <&cru PCLK_DDR_MON>;
+ clock-names = "pclk_ddr_mon";
+ status = "disabled";
+ };
--
2.6.6
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 1/5] Documentation: bindings: add dt documentation for dfi controller
@ 2016-09-02 21:08 ` Lin Huang
0 siblings, 0 replies; 11+ messages in thread
From: Lin Huang @ 2016-09-02 21:08 UTC (permalink / raw)
To: heiko-4mtYJXux2i+zQB+pC5nmwQ
Cc: myungjoo.ham-Sze3O3UU22JBDgjK7y7TUQ,
mark.yao-TNX95d0MmH7DzftRWevZcw,
cw00.choi-Sze3O3UU22JBDgjK7y7TUQ, airlied-cv59FeDIM0c,
mturquette-rdvid1DuHRBWk0Htik3J/w,
dbasehore-F7+t8E8rja9g9hUCZPvPmw, sboyd-sgV2jX0FEOL9JmXXK+q4OQ,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
dianders-F7+t8E8rja9g9hUCZPvPmw,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
tixy-QSEj5FYQhm4dnm+yROfE0A, typ-TNX95d0MmH7DzftRWevZcw,
sudeep.holla-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
linux-pm-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, Lin Huang
This patch adds the documentation for rockchip dfi devfreq-event driver.
Signed-off-by: Lin Huang <hl-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
---
Changes in v8:
- delete a unuse blank line
Changes in v7:
- None
Changes in v6:
- None
Changes in v5:
- None
Changes in v4:
- None
Changes in v3:
- None
Changes in v2:
- None
Changes in v1:
- None
.../bindings/devfreq/event/rockchip-dfi.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
new file mode 100644
index 0000000..d66aca6
--- /dev/null
+++ b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
@@ -0,0 +1,19 @@
+
+* Rockchip rk3399 DFI device
+
+Required properties:
+- compatible: Must be "rockchip,rk3399-dfi".
+- reg: physical base address of each DFI and length of memory mapped region
+- rockchip,pmu: phandle to the syscon managing the "pmu general register files"
+- clocks: phandles for clock specified in "clock-names" property
+- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon";
+
+Example:
+ dfi: dfi@0xff630000 {
+ reg = <0x00 0xff630000 0x00 0x4000>;
+ compatible = "rockchip,rk3399-dfi";
+ rockchip,pmu = <&pmugrf>;
+ clocks = <&cru PCLK_DDR_MON>;
+ clock-names = "pclk_ddr_mon";
+ status = "disabled";
+ };
--
2.6.6
--
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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 1/5] Documentation: bindings: add dt documentation for dfi controller
@ 2016-09-02 21:08 ` Lin Huang
0 siblings, 0 replies; 11+ messages in thread
From: Lin Huang @ 2016-09-02 21:08 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds the documentation for rockchip dfi devfreq-event driver.
Signed-off-by: Lin Huang <hl@rock-chips.com>
---
Changes in v8:
- delete a unuse blank line
Changes in v7:
- None
Changes in v6:
- None
Changes in v5:
- None
Changes in v4:
- None
Changes in v3:
- None
Changes in v2:
- None
Changes in v1:
- None
.../bindings/devfreq/event/rockchip-dfi.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
new file mode 100644
index 0000000..d66aca6
--- /dev/null
+++ b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
@@ -0,0 +1,19 @@
+
+* Rockchip rk3399 DFI device
+
+Required properties:
+- compatible: Must be "rockchip,rk3399-dfi".
+- reg: physical base address of each DFI and length of memory mapped region
+- rockchip,pmu: phandle to the syscon managing the "pmu general register files"
+- clocks: phandles for clock specified in "clock-names" property
+- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon";
+
+Example:
+ dfi: dfi at 0xff630000 {
+ reg = <0x00 0xff630000 0x00 0x4000>;
+ compatible = "rockchip,rk3399-dfi";
+ rockchip,pmu = <&pmugrf>;
+ clocks = <&cru PCLK_DDR_MON>;
+ clock-names = "pclk_ddr_mon";
+ status = "disabled";
+ };
--
2.6.6
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 1/5] Documentation: bindings: add dt documentation for dfi controller
@ 2016-09-02 8:50 ` Chanwoo Choi
0 siblings, 0 replies; 11+ messages in thread
From: Chanwoo Choi @ 2016-09-02 8:50 UTC (permalink / raw)
To: Lin Huang, heiko
Cc: myungjoo.ham, mark.yao, airlied, mturquette, dbasehore, sboyd,
linux-kernel, dri-devel, dianders, linux-rockchip, kyungmin.park,
linux-arm-kernel, tixy, typ, sudeep.holla, mark.rutland,
linux-pm, devicetree
On 2016년 09월 02일 07:31, Lin Huang wrote:
> This patch adds the documentation for rockchip dfi devfreq-event driver.
>
> Signed-off-by: Lin Huang <hl@rock-chips.com>
> ---
> Changes in v8:
> - delete a unuse blank line
>
> Changes in v7:
> - None
>
> Changes in v6:
> - None
>
> Changes in v5:
> - None
>
> Changes in v4:
> - None
>
> Changes in v3:
> - None
>
> Changes in v2:
> - None
>
> Changes in v1:
> - None
>
> .../bindings/devfreq/event/rockchip-dfi.txt | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
>
> diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
> new file mode 100644
> index 0000000..d66aca6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
> @@ -0,0 +1,19 @@
> +
> +* Rockchip rk3399 DFI device
> +
> +Required properties:
> +- compatible: Must be "rockchip,rk3399-dfi".
> +- reg: physical base address of each DFI and length of memory mapped region
> +- rockchip,pmu: phandle to the syscon managing the "pmu general register files"
> +- clocks: phandles for clock specified in "clock-names" property
> +- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon";
> +
> +Example:
> + dfi: dfi@0xff630000 {
> + reg = <0x00 0xff630000 0x00 0x4000>;
> + compatible = "rockchip,rk3399-dfi";
As I already commented, you need to reorder between compatible and reg property.
> + rockchip,pmu = <&pmugrf>;
> + clocks = <&cru PCLK_DDR_MON>;
> + clock-names = "pclk_ddr_mon";
> + status = "disabled";
> + };
>
--
Best Regards,
Chanwoo Choi
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/5] Documentation: bindings: add dt documentation for dfi controller
@ 2016-09-02 8:50 ` Chanwoo Choi
0 siblings, 0 replies; 11+ messages in thread
From: Chanwoo Choi @ 2016-09-02 8:50 UTC (permalink / raw)
To: Lin Huang, heiko-4mtYJXux2i+zQB+pC5nmwQ
Cc: myungjoo.ham-Sze3O3UU22JBDgjK7y7TUQ,
mark.yao-TNX95d0MmH7DzftRWevZcw, airlied-cv59FeDIM0c,
mturquette-rdvid1DuHRBWk0Htik3J/w,
dbasehore-F7+t8E8rja9g9hUCZPvPmw, sboyd-sgV2jX0FEOL9JmXXK+q4OQ,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
dianders-F7+t8E8rja9g9hUCZPvPmw,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
tixy-QSEj5FYQhm4dnm+yROfE0A, typ-TNX95d0MmH7DzftRWevZcw,
sudeep.holla-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
linux-pm-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA
On 2016년 09월 02일 07:31, Lin Huang wrote:
> This patch adds the documentation for rockchip dfi devfreq-event driver.
>
> Signed-off-by: Lin Huang <hl-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
> ---
> Changes in v8:
> - delete a unuse blank line
>
> Changes in v7:
> - None
>
> Changes in v6:
> - None
>
> Changes in v5:
> - None
>
> Changes in v4:
> - None
>
> Changes in v3:
> - None
>
> Changes in v2:
> - None
>
> Changes in v1:
> - None
>
> .../bindings/devfreq/event/rockchip-dfi.txt | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
>
> diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
> new file mode 100644
> index 0000000..d66aca6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
> @@ -0,0 +1,19 @@
> +
> +* Rockchip rk3399 DFI device
> +
> +Required properties:
> +- compatible: Must be "rockchip,rk3399-dfi".
> +- reg: physical base address of each DFI and length of memory mapped region
> +- rockchip,pmu: phandle to the syscon managing the "pmu general register files"
> +- clocks: phandles for clock specified in "clock-names" property
> +- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon";
> +
> +Example:
> + dfi: dfi@0xff630000 {
> + reg = <0x00 0xff630000 0x00 0x4000>;
> + compatible = "rockchip,rk3399-dfi";
As I already commented, you need to reorder between compatible and reg property.
> + rockchip,pmu = <&pmugrf>;
> + clocks = <&cru PCLK_DDR_MON>;
> + clock-names = "pclk_ddr_mon";
> + status = "disabled";
> + };
>
--
Best Regards,
Chanwoo Choi
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/5] Documentation: bindings: add dt documentation for dfi controller
@ 2016-09-02 8:50 ` Chanwoo Choi
0 siblings, 0 replies; 11+ messages in thread
From: Chanwoo Choi @ 2016-09-02 8:50 UTC (permalink / raw)
To: linux-arm-kernel
On 2016? 09? 02? 07:31, Lin Huang wrote:
> This patch adds the documentation for rockchip dfi devfreq-event driver.
>
> Signed-off-by: Lin Huang <hl@rock-chips.com>
> ---
> Changes in v8:
> - delete a unuse blank line
>
> Changes in v7:
> - None
>
> Changes in v6:
> - None
>
> Changes in v5:
> - None
>
> Changes in v4:
> - None
>
> Changes in v3:
> - None
>
> Changes in v2:
> - None
>
> Changes in v1:
> - None
>
> .../bindings/devfreq/event/rockchip-dfi.txt | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
>
> diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
> new file mode 100644
> index 0000000..d66aca6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
> @@ -0,0 +1,19 @@
> +
> +* Rockchip rk3399 DFI device
> +
> +Required properties:
> +- compatible: Must be "rockchip,rk3399-dfi".
> +- reg: physical base address of each DFI and length of memory mapped region
> +- rockchip,pmu: phandle to the syscon managing the "pmu general register files"
> +- clocks: phandles for clock specified in "clock-names" property
> +- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon";
> +
> +Example:
> + dfi: dfi at 0xff630000 {
> + reg = <0x00 0xff630000 0x00 0x4000>;
> + compatible = "rockchip,rk3399-dfi";
As I already commented, you need to reorder between compatible and reg property.
> + rockchip,pmu = <&pmugrf>;
> + clocks = <&cru PCLK_DDR_MON>;
> + clock-names = "pclk_ddr_mon";
> + status = "disabled";
> + };
>
--
Best Regards,
Chanwoo Choi
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/5] Documentation: bindings: add dt documentation for dfi controller
2016-09-01 22:31 [PATCH 0/5] rk3399 support ddr frequency scaling Lin Huang
@ 2016-09-01 22:31 ` Lin Huang
0 siblings, 0 replies; 11+ messages in thread
From: Lin Huang @ 2016-09-01 22:31 UTC (permalink / raw)
To: heiko
Cc: myungjoo.ham, mark.yao, cw00.choi, airlied, mturquette,
dbasehore, sboyd, linux-kernel, dri-devel, dianders,
linux-rockchip, kyungmin.park, linux-arm-kernel, tixy, typ,
sudeep.holla, mark.rutland, linux-pm, devicetree, Lin Huang
This patch adds the documentation for rockchip dfi devfreq-event driver.
Signed-off-by: Lin Huang <hl@rock-chips.com>
---
Changes in v8:
- delete a unuse blank line
Changes in v7:
- None
Changes in v6:
- None
Changes in v5:
- None
Changes in v4:
- None
Changes in v3:
- None
Changes in v2:
- None
Changes in v1:
- None
.../bindings/devfreq/event/rockchip-dfi.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
new file mode 100644
index 0000000..d66aca6
--- /dev/null
+++ b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
@@ -0,0 +1,19 @@
+
+* Rockchip rk3399 DFI device
+
+Required properties:
+- compatible: Must be "rockchip,rk3399-dfi".
+- reg: physical base address of each DFI and length of memory mapped region
+- rockchip,pmu: phandle to the syscon managing the "pmu general register files"
+- clocks: phandles for clock specified in "clock-names" property
+- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon";
+
+Example:
+ dfi: dfi@0xff630000 {
+ reg = <0x00 0xff630000 0x00 0x4000>;
+ compatible = "rockchip,rk3399-dfi";
+ rockchip,pmu = <&pmugrf>;
+ clocks = <&cru PCLK_DDR_MON>;
+ clock-names = "pclk_ddr_mon";
+ status = "disabled";
+ };
--
2.6.6
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 1/5] Documentation: bindings: add dt documentation for dfi controller
@ 2016-09-01 22:31 ` Lin Huang
0 siblings, 0 replies; 11+ messages in thread
From: Lin Huang @ 2016-09-01 22:31 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds the documentation for rockchip dfi devfreq-event driver.
Signed-off-by: Lin Huang <hl@rock-chips.com>
---
Changes in v8:
- delete a unuse blank line
Changes in v7:
- None
Changes in v6:
- None
Changes in v5:
- None
Changes in v4:
- None
Changes in v3:
- None
Changes in v2:
- None
Changes in v1:
- None
.../bindings/devfreq/event/rockchip-dfi.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
new file mode 100644
index 0000000..d66aca6
--- /dev/null
+++ b/Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
@@ -0,0 +1,19 @@
+
+* Rockchip rk3399 DFI device
+
+Required properties:
+- compatible: Must be "rockchip,rk3399-dfi".
+- reg: physical base address of each DFI and length of memory mapped region
+- rockchip,pmu: phandle to the syscon managing the "pmu general register files"
+- clocks: phandles for clock specified in "clock-names" property
+- clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon";
+
+Example:
+ dfi: dfi at 0xff630000 {
+ reg = <0x00 0xff630000 0x00 0x4000>;
+ compatible = "rockchip,rk3399-dfi";
+ rockchip,pmu = <&pmugrf>;
+ clocks = <&cru PCLK_DDR_MON>;
+ clock-names = "pclk_ddr_mon";
+ status = "disabled";
+ };
--
2.6.6
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-09-02 21:08 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02 21:08 [PATCH 0/5] rk3399 support ddr frequency scaling Lin Huang
2016-09-02 21:08 ` Lin Huang
2016-09-02 21:08 ` Lin Huang
2016-09-02 21:08 ` [PATCH 1/5] Documentation: bindings: add dt documentation for dfi controller Lin Huang
2016-09-02 21:08 ` Lin Huang
2016-09-02 21:08 ` Lin Huang
-- strict thread matches above, loose matches on Subject: below --
2016-09-01 22:31 [PATCH 0/5] rk3399 support ddr frequency scaling Lin Huang
2016-09-01 22:31 ` [PATCH 1/5] Documentation: bindings: add dt documentation for dfi controller Lin Huang
2016-09-01 22:31 ` Lin Huang
2016-09-02 8:50 ` Chanwoo Choi
2016-09-02 8:50 ` Chanwoo Choi
2016-09-02 8:50 ` Chanwoo Choi
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.