[PATCH v3 4/9] clk: rockchip: support more rates for cpuclk

2017-08-08 Thread Elaine Zhang
fix up the cpuclk rates table for support more freqs. fix up the mux_core_mask describe error. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rv1108.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/drivers/clk/rockchip/clk-rv1108.c b

[PATCH v3 1/9] clk: rockchip: add more clk ids for rv1108

2017-08-08 Thread Elaine Zhang
add new clk ids. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- include/dt-bindings/clock/rv1108-cru.h | 93 +- 1 file changed, 92 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/rv1108-cru.h b/include/dt-bindings/clock/

[PATCH v3 1/9] clk: rockchip: add more clk ids for rv1108

2017-08-08 Thread Elaine Zhang
add new clk ids. Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rv1108-cru.h | 93 +- 1 file changed, 92 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/rv1108-cru.h b/include/dt-bindings/clock/rv1108-cru.h index ae26f8105914

[PATCH v3 3/9] clk: rockchip: fix up the indentation stuff for RV1108 SoC

2017-08-08 Thread Elaine Zhang
Make the code look better. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- include/dt-bindings/clock/rv1108-cru.h | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/include/dt-bindings/clock/rv1108-cru.h b/include/dt-bindings

[PATCH v3 3/9] clk: rockchip: fix up the indentation stuff for RV1108 SoC

2017-08-08 Thread Elaine Zhang
Make the code look better. Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rv1108-cru.h | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/include/dt-bindings/clock/rv1108-cru.h b/include/dt-bindings/clock/rv1108-cru.h index

Re: [PATCH 2/2] clk: rockchip: add special approximation to fix up fractional clk's jitter

2017-08-01 Thread Elaine Zhang
On 08/02/2017 12:22 AM, Heiko Stuebner wrote: From: Elaine Zhang <zhangq...@rock-chips.com> From Rockchips fractional divider description: 3.1.9 Fractional divider usage To get specific frequency, clocks of I2S, SPDIF, UARTcan be generated by fractional divider. Generally yo

Re: [PATCH 2/2] clk: rockchip: add special approximation to fix up fractional clk's jitter

2017-08-01 Thread Elaine Zhang
On 08/02/2017 12:22 AM, Heiko Stuebner wrote: From: Elaine Zhang From Rockchips fractional divider description: 3.1.9 Fractional divider usage To get specific frequency, clocks of I2S, SPDIF, UARTcan be generated by fractional divider. Generally you must set that denominator

Re: [PATCH 1/2] clk: fractional-divider: allow overriding of approximation

2017-08-01 Thread Elaine Zhang
hi,heiko: This a good solution.And I tested it on RK SOCs.It's work well. On 08/02/2017 12:21 AM, Heiko Stuebner wrote: From: Elaine Zhang <zhangq...@rock-chips.com> Fractional dividers may have special requirements concerning numerator and denominator selection that differ from just g

Re: [PATCH 1/2] clk: fractional-divider: allow overriding of approximation

2017-08-01 Thread Elaine Zhang
hi,heiko: This a good solution.And I tested it on RK SOCs.It's work well. On 08/02/2017 12:21 AM, Heiko Stuebner wrote: From: Elaine Zhang Fractional dividers may have special requirements concerning numerator and denominator selection that differ from just getting the best approximation

[PATCH v4 2/2] dt-bindings: add documentation for rk3126 clock

2017-07-31 Thread Elaine Zhang
This add bindings documentation for rk3126 SoCs. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- Documentation/devicetree/bindings/clock/rockchip,rk3128-cru.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/ro

[PATCH v4 2/2] dt-bindings: add documentation for rk3126 clock

2017-07-31 Thread Elaine Zhang
This add bindings documentation for rk3126 SoCs. Signed-off-by: Elaine Zhang --- Documentation/devicetree/bindings/clock/rockchip,rk3128-cru.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3128-cru.txt b

[PATCH v4 0/2] clk: rockchip: support clk drivers for RK3126 SoC.

2017-07-31 Thread Elaine Zhang
changed in V4: modify the document description for rk3126 clock. changed in V3: add documentation for rk3126 clock Elaine Zhang (2): clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126 dt-bindings: add documentation for rk3126 clock .../bindings/clock/rockchip,rk3128-cru.txt

[PATCH v4 0/2] clk: rockchip: support clk drivers for RK3126 SoC.

2017-07-31 Thread Elaine Zhang
changed in V4: modify the document description for rk3126 clock. changed in V3: add documentation for rk3126 clock Elaine Zhang (2): clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126 dt-bindings: add documentation for rk3126 clock .../bindings/clock/rockchip,rk3128-cru.txt

[PATCH v4 1/2] clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126

2017-07-31 Thread Elaine Zhang
rk3128 and rk3126 have some gate registers describe differences. So need to make some distinctions. The RK3126 and RK3128 Same clock description we move it to the common clock branches. And the different clks description use the own clock branches. Signed-off-by: Elaine Zhang <zhangq...@r

[PATCH v4 1/2] clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126

2017-07-31 Thread Elaine Zhang
rk3128 and rk3126 have some gate registers describe differences. So need to make some distinctions. The RK3126 and RK3128 Same clock description we move it to the common clock branches. And the different clks description use the own clock branches. Signed-off-by: Elaine Zhang --- drivers/clk

[PATCH v3 1/2] clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126

2017-07-31 Thread Elaine Zhang
rk3128 and rk3126 have some gate registers describe differences. So need to make some distinctions. The RK3126 and RK3128 Same clock description we move it to the common clock branches. And the different clks description use the own clock branches. Signed-off-by: Elaine Zhang <zhangq...@r

[PATCH v3 2/2] dt-bindings: add documentation for rk3126 clock

2017-07-31 Thread Elaine Zhang
This add bindings documentation for rk3126 SoCs. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- Documentation/devicetree/bindings/clock/rockchip,rk3128-cru.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/ro

[PATCH v3 1/2] clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126

2017-07-31 Thread Elaine Zhang
rk3128 and rk3126 have some gate registers describe differences. So need to make some distinctions. The RK3126 and RK3128 Same clock description we move it to the common clock branches. And the different clks description use the own clock branches. Signed-off-by: Elaine Zhang --- drivers/clk

[PATCH v3 2/2] dt-bindings: add documentation for rk3126 clock

2017-07-31 Thread Elaine Zhang
This add bindings documentation for rk3126 SoCs. Signed-off-by: Elaine Zhang --- Documentation/devicetree/bindings/clock/rockchip,rk3128-cru.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3128-cru.txt b

[PATCH v3 0/2] clk: rockchip: support clk drivers for RK3126 SoC.

2017-07-31 Thread Elaine Zhang
changed in V3: add documentation for rk3126 clock Elaine Zhang (2): clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126 dt-bindings: add documentation for rk3126 clock .../bindings/clock/rockchip,rk3128-cru.txt | 6 +- drivers/clk/rockchip/clk-rk3128.c

[PATCH v3 0/2] clk: rockchip: support clk drivers for RK3126 SoC.

2017-07-31 Thread Elaine Zhang
changed in V3: add documentation for rk3126 clock Elaine Zhang (2): clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126 dt-bindings: add documentation for rk3126 clock .../bindings/clock/rockchip,rk3128-cru.txt | 6 +- drivers/clk/rockchip/clk-rk3128.c

[PATCH v2] clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126

2017-07-25 Thread Elaine Zhang
rk3128 and rk3126 have some gate registers describe differences. So need to make some distinctions. The RK3126 and RK3128 Same clock description we move it to the common clock branches. And the different clks description use the own clock branches. Signed-off-by: Elaine Zhang <zhangq...@r

[PATCH v2] clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126

2017-07-25 Thread Elaine Zhang
rk3128 and rk3126 have some gate registers describe differences. So need to make some distinctions. The RK3126 and RK3128 Same clock description we move it to the common clock branches. And the different clks description use the own clock branches. Signed-off-by: Elaine Zhang --- drivers/clk

[PATCH v1] clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126

2017-07-25 Thread Elaine Zhang
rk3128 and rk3126 have some gate registers describe differences. So need to make some distinctions. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/clk-rk3128.c | 59 +++--- include/dt-bindings/clock/rk3128-cru.h | 3 ++ 2

[PATCH v1] clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126

2017-07-25 Thread Elaine Zhang
rk3128 and rk3126 have some gate registers describe differences. So need to make some distinctions. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3128.c | 59 +++--- include/dt-bindings/clock/rk3128-cru.h | 3 ++ 2 files changed, 57 insertions

[PATCH v3] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-21 Thread Elaine Zhang
. Generally you must set that denominator is 20 times larger than numerator to generate precise clock frequency. So the fractional divider applies only to generate low frequency clock like I2S, UART. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/clk-fractional-divider.

[PATCH v3] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-21 Thread Elaine Zhang
. Generally you must set that denominator is 20 times larger than numerator to generate precise clock frequency. So the fractional divider applies only to generate low frequency clock like I2S, UART. Signed-off-by: Elaine Zhang --- drivers/clk/clk-fractional-divider.c | 4 drivers/clk/rockchip

[PATCH v1 3/3] soc: rockchip: power-domain: add power domain support for rk3366

2017-07-14 Thread Elaine Zhang
This driver is modified to support RK3366 SoC. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/soc/rockchip/pm_domains.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/soc/rockchip/pm_domains.c b/drivers/soc/rockchip/pm_dom

[PATCH v1 3/3] soc: rockchip: power-domain: add power domain support for rk3366

2017-07-14 Thread Elaine Zhang
This driver is modified to support RK3366 SoC. Signed-off-by: Elaine Zhang --- drivers/soc/rockchip/pm_domains.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/soc/rockchip/pm_domains.c b/drivers/soc/rockchip/pm_domains.c index 796c46a6cbe7

[PATCH v1 0/3] soc: rockchip: Modify power domain driver for rk3366 SoC

2017-07-14 Thread Elaine Zhang
support rk3366 SoC power domain setting. Elaine Zhang (3): dt-bindings: power: add RK3366 SoCs header for power-domain dt-bindings: add binding for rk3366 power domains soc: rockchip: power-domain: add power domain support for rk3366 .../bindings/soc/rockchip/power_domain.txt | 3

[PATCH v1 2/3] dt-bindings: add binding for rk3366 power domains

2017-07-14 Thread Elaine Zhang
Add binding documentation for the power domains found on Rockchip RK3366 SoCs. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- Documentation/devicetree/bindings/soc/rockchip/power_domain.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindin

[PATCH v1 0/3] soc: rockchip: Modify power domain driver for rk3366 SoC

2017-07-14 Thread Elaine Zhang
support rk3366 SoC power domain setting. Elaine Zhang (3): dt-bindings: power: add RK3366 SoCs header for power-domain dt-bindings: add binding for rk3366 power domains soc: rockchip: power-domain: add power domain support for rk3366 .../bindings/soc/rockchip/power_domain.txt | 3

[PATCH v1 2/3] dt-bindings: add binding for rk3366 power domains

2017-07-14 Thread Elaine Zhang
Add binding documentation for the power domains found on Rockchip RK3366 SoCs. Signed-off-by: Elaine Zhang --- Documentation/devicetree/bindings/soc/rockchip/power_domain.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/power_domain.txt

[PATCH v1 1/3] dt-bindings: power: add RK3366 SoCs header for power-domain

2017-07-14 Thread Elaine Zhang
According to a description from TRM, add all the power domains. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- include/dt-bindings/power/rk3366-power.h | 24 1 file changed, 24 insertions(+) create mode 100644 include/dt-bindings/power/rk3366-power.h

[PATCH v1 1/3] dt-bindings: power: add RK3366 SoCs header for power-domain

2017-07-14 Thread Elaine Zhang
According to a description from TRM, add all the power domains. Signed-off-by: Elaine Zhang --- include/dt-bindings/power/rk3366-power.h | 24 1 file changed, 24 insertions(+) create mode 100644 include/dt-bindings/power/rk3366-power.h diff --git a/include/dt-bindings

Re: [PATCH v2] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-13 Thread Elaine Zhang
On 07/10/2017 07:05 PM, Heiko Stuebner wrote: Hi Elaine, Am Freitag, 7. Juli 2017, 10:52:23 CEST schrieb Elaine Zhang: add clk_fractional_divider_special_ops for rockchip specific requirements, fractional divider must set that denominator is 20 times larger than numerator to generate precise

Re: [PATCH v2] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-13 Thread Elaine Zhang
On 07/10/2017 07:05 PM, Heiko Stuebner wrote: Hi Elaine, Am Freitag, 7. Juli 2017, 10:52:23 CEST schrieb Elaine Zhang: add clk_fractional_divider_special_ops for rockchip specific requirements, fractional divider must set that denominator is 20 times larger than numerator to generate precise

Re: [PATCH v1] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-11 Thread Elaine Zhang
On 07/06/2017 06:01 PM, Heiko Stübner wrote: Hi Elaine, Am Donnerstag, 6. Juli 2017, 16:28:34 CEST schrieb Elaine Zhang: fractional divider must set that denominator is 20 times larger than numerator to generate precise clock frequency. Otherwise the CLK jitter is very big, poor quality

Re: [PATCH v1] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-11 Thread Elaine Zhang
On 07/06/2017 06:01 PM, Heiko Stübner wrote: Hi Elaine, Am Donnerstag, 6. Juli 2017, 16:28:34 CEST schrieb Elaine Zhang: fractional divider must set that denominator is 20 times larger than numerator to generate precise clock frequency. Otherwise the CLK jitter is very big, poor quality

[PATCH v2] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-06 Thread Elaine Zhang
like I2S, UART.igned-off-by: Elaine Zhang <zhangq...@rock-chips.com> Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/clk-fractional-divider.c | 32 drivers/clk/rockchip/clk.c | 2 +- include/linux/clk-provider.h

[PATCH v2] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-06 Thread Elaine Zhang
like I2S, UART.igned-off-by: Elaine Zhang Signed-off-by: Elaine Zhang --- drivers/clk/clk-fractional-divider.c | 32 drivers/clk/rockchip/clk.c | 2 +- include/linux/clk-provider.h | 1 + 3 files changed, 34 insertions(+), 1 deletion(-) diff

[PATCH v1] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-06 Thread Elaine Zhang
, UARTcan be generated by fractional divider. Generally you must set that denominator is 20 times larger than numerator to generate precise clock frequency. So the fractional divider applies only to generate low frequency clock like I2S, UART. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.

[PATCH v1] clk: fractional-divider: fix up the fractional clk's jitter

2017-07-06 Thread Elaine Zhang
, UARTcan be generated by fractional divider. Generally you must set that denominator is 20 times larger than numerator to generate precise clock frequency. So the fractional divider applies only to generate low frequency clock like I2S, UART. Signed-off-by: Elaine Zhang --- drivers/clk/clk-fractional

[PATCH v4 2/3] dt-bindings: add bindings for rk3128 clock controller

2017-06-01 Thread Elaine Zhang
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- .../bindings/clock/rockchip,rk3128-cru.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devi

[PATCH v4 3/3] clk: rockchip: add clock controller for rk3128

2017-06-01 Thread Elaine Zhang
Add the clock tree definition for the new rk3128 SoC. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk3128.c | 612 ++ 2 files change

[PATCH v4 2/3] dt-bindings: add bindings for rk3128 clock controller

2017-06-01 Thread Elaine Zhang
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Elaine Zhang --- .../bindings/clock/rockchip,rk3128-cru.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3128

[PATCH v4 3/3] clk: rockchip: add clock controller for rk3128

2017-06-01 Thread Elaine Zhang
Add the clock tree definition for the new rk3128 SoC. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk3128.c | 612 ++ 2 files changed, 613 insertions(+) create mode

[PATCH v4 0/3] clk: rockchip: support clk controller for RK3128 SoC

2017-06-01 Thread Elaine Zhang
The driver and clk ID\SRST ID it's also applies to the RK3126 SoC. change in V4: remove the clk ID of usb480m_phy change in V3: export clk ID for usb480m and usb480m_phy change in V2: rename the rk312x to rk3128. Elaine Zhang (3): clk: rockchip: add dt-binding header for rk3128 dt-bindings

[PATCH v4 1/3] clk: rockchip: add dt-binding header for rk3128

2017-06-01 Thread Elaine Zhang
Add the dt-bindings header for the rk3128, that gets shared between the clock controller and the clock references in the dts. Add softreset ID for rk3128. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- include/dt-bindings/clock/rk3128

[PATCH v4 0/3] clk: rockchip: support clk controller for RK3128 SoC

2017-06-01 Thread Elaine Zhang
The driver and clk ID\SRST ID it's also applies to the RK3126 SoC. change in V4: remove the clk ID of usb480m_phy change in V3: export clk ID for usb480m and usb480m_phy change in V2: rename the rk312x to rk3128. Elaine Zhang (3): clk: rockchip: add dt-binding header for rk3128 dt-bindings

[PATCH v4 1/3] clk: rockchip: add dt-binding header for rk3128

2017-06-01 Thread Elaine Zhang
Add the dt-bindings header for the rk3128, that gets shared between the clock controller and the clock references in the dts. Add softreset ID for rk3128. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rk3128-cru.h | 282

[PATCH v3 1/3] clk: rockchip: add dt-binding header for rk3128

2017-05-22 Thread Elaine Zhang
Add the dt-bindings header for the rk3128, that gets shared between the clock controller and the clock references in the dts. Add softreset ID for rk3128. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- include/dt-bindings/clock/rk3128

[PATCH v3 1/3] clk: rockchip: add dt-binding header for rk3128

2017-05-22 Thread Elaine Zhang
Add the dt-bindings header for the rk3128, that gets shared between the clock controller and the clock references in the dts. Add softreset ID for rk3128. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rk3128-cru.h | 283

[PATCH v3 0/3] clk: rockchip: support clk controller for RK3128 SoC

2017-05-22 Thread Elaine Zhang
The driver and clk ID\SRST ID it's also applies to the RK3126 SoC. change in V3: export clk ID for usb480m and usb480m_phy change in V2: rename the rk312x to rk3128. Elaine Zhang (3): clk: rockchip: add dt-binding header for rk3128 dt-bindings: add bindings for rk3128 clock controller clk

[PATCH v3 2/3] dt-bindings: add bindings for rk3128 clock controller

2017-05-22 Thread Elaine Zhang
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- .../bindings/clock/rockchip,rk3128-cru.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devi

[PATCH v3 3/3] clk: rockchip: add clock controller for rk3128

2017-05-22 Thread Elaine Zhang
Add the clock tree definition for the new rk3128 SoC. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk3128.c | 612 ++ 2 files change

[PATCH v3 0/3] clk: rockchip: support clk controller for RK3128 SoC

2017-05-22 Thread Elaine Zhang
The driver and clk ID\SRST ID it's also applies to the RK3126 SoC. change in V3: export clk ID for usb480m and usb480m_phy change in V2: rename the rk312x to rk3128. Elaine Zhang (3): clk: rockchip: add dt-binding header for rk3128 dt-bindings: add bindings for rk3128 clock controller clk

[PATCH v3 2/3] dt-bindings: add bindings for rk3128 clock controller

2017-05-22 Thread Elaine Zhang
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Elaine Zhang --- .../bindings/clock/rockchip,rk3128-cru.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3128

[PATCH v3 3/3] clk: rockchip: add clock controller for rk3128

2017-05-22 Thread Elaine Zhang
Add the clock tree definition for the new rk3128 SoC. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk3128.c | 612 ++ 2 files changed, 613 insertions(+) create mode

[PATCH v2 1/3] clk: rockchip: add dt-binding header for rk3128

2017-05-17 Thread Elaine Zhang
Add the dt-bindings header for the rk3128, that gets shared between the clock controller and the clock references in the dts. Add softreset ID for rk3128. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- include/dt-bindings/clock/rk3128

[PATCH v2 1/3] clk: rockchip: add dt-binding header for rk3128

2017-05-17 Thread Elaine Zhang
Add the dt-bindings header for the rk3128, that gets shared between the clock controller and the clock references in the dts. Add softreset ID for rk3128. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rk3128-cru.h | 281

[PATCH v2 2/3] dt-bindings: add bindings for rk3128 clock controller

2017-05-17 Thread Elaine Zhang
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- .../bindings/clock/rockchip,rk3128-cru.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devi

[PATCH v2 3/3] clk: rockchip: add clock controller for rk3128

2017-05-17 Thread Elaine Zhang
Add the clock tree definition for the new rk3128 SoC. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk3128.c | 612 ++ 2 files change

[PATCH v2 2/3] dt-bindings: add bindings for rk3128 clock controller

2017-05-17 Thread Elaine Zhang
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Elaine Zhang --- .../bindings/clock/rockchip,rk3128-cru.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3128

[PATCH v2 3/3] clk: rockchip: add clock controller for rk3128

2017-05-17 Thread Elaine Zhang
Add the clock tree definition for the new rk3128 SoC. And it also applies to the RK3126 SoC. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk3128.c | 612 ++ 2 files changed, 613 insertions(+) create mode

[PATCH v2 0/3] clk: rockchip: support clk controller for RK3128 SoC

2017-05-17 Thread Elaine Zhang
The driver and clk ID\SRST ID it's also applies to the RK3126 SoC. change in V2: rename the rk312x to rk3128. Elaine Zhang (3): clk: rockchip: add dt-binding header for rk3128 dt-bindings: add bindings for rk3128 clock controller clk: rockchip: add clock controller for rk3128

[PATCH v2 0/3] clk: rockchip: support clk controller for RK3128 SoC

2017-05-17 Thread Elaine Zhang
The driver and clk ID\SRST ID it's also applies to the RK3126 SoC. change in V2: rename the rk312x to rk3128. Elaine Zhang (3): clk: rockchip: add dt-binding header for rk3128 dt-bindings: add bindings for rk3128 clock controller clk: rockchip: add clock controller for rk3128

[PATCH v1 3/3] clk: rockchip: add clock controller for rk312x

2017-05-17 Thread Elaine Zhang
Add the clock tree definition for the new rk312x SoC. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk312x.c | 612 ++ 2 files changed, 613 insertions(+) create mode

[PATCH v1 3/3] clk: rockchip: add clock controller for rk312x

2017-05-17 Thread Elaine Zhang
Add the clock tree definition for the new rk312x SoC. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk312x.c | 612 ++ 2 files changed, 613 insertions(+) create mode 100644 drivers/clk/rockchip/clk

[PATCH v1 0/3] clk: rockchip: support clk controller for RK312X SoC

2017-05-17 Thread Elaine Zhang
Elaine Zhang (3): clk: rockchip: add dt-binding header for rk312x dt-bindings: add bindings for rk312x clock controller clk: rockchip: add clock controller for rk312x .../bindings/clock/rockchip,rk312x-cru.txt | 56 ++ drivers/clk/rockchip/Makefile | 1

[PATCH v1 0/3] clk: rockchip: support clk controller for RK312X SoC

2017-05-17 Thread Elaine Zhang
Elaine Zhang (3): clk: rockchip: add dt-binding header for rk312x dt-bindings: add bindings for rk312x clock controller clk: rockchip: add clock controller for rk312x .../bindings/clock/rockchip,rk312x-cru.txt | 56 ++ drivers/clk/rockchip/Makefile | 1

[PATCH v1 1/3] clk: rockchip: add dt-binding header for rk312x

2017-05-17 Thread Elaine Zhang
Add the dt-bindings header for the rk312x, that gets shared between the clock controller and the clock references in the dts. Add softreset ID for rk312x. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- include/dt-bindings/clock/rk312x-cru.h | 281 ++

[PATCH v1 2/3] dt-bindings: add bindings for rk312x clock controller

2017-05-17 Thread Elaine Zhang
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- .../bindings/clock/rockchip,rk312x-cru.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devi

[PATCH v1 1/3] clk: rockchip: add dt-binding header for rk312x

2017-05-17 Thread Elaine Zhang
Add the dt-bindings header for the rk312x, that gets shared between the clock controller and the clock references in the dts. Add softreset ID for rk312x. Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rk312x-cru.h | 281 + 1 file changed, 281

[PATCH v1 2/3] dt-bindings: add bindings for rk312x clock controller

2017-05-17 Thread Elaine Zhang
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Elaine Zhang --- .../bindings/clock/rockchip,rk312x-cru.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk312x

[PATCH v3 2/4] clk: rockchip: rk3228: make noc and some special clk as critical_clocks

2017-05-02 Thread Elaine Zhang
good to slove this constraint. Always on these clocks, has no effect on the system power consumption. The new document will update the description of these clock. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/clk-rk3228.c | 30 +++

[PATCH v3 2/4] clk: rockchip: rk3228: make noc and some special clk as critical_clocks

2017-05-02 Thread Elaine Zhang
good to slove this constraint. Always on these clocks, has no effect on the system power consumption. The new document will update the description of these clock. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3228.c | 30 +- 1 file changed, 29 insertions

[PATCH v3 3/4] clk: rockchip: rk3288: make noc and some special clk as critical_clocks

2017-05-02 Thread Elaine Zhang
of these clock. The pmu_hclk_otg0 is Chip design defect, must be always on, The new document will update the description of this clock. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/clk-rk3288.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff

[PATCH v3 3/4] clk: rockchip: rk3288: make noc and some special clk as critical_clocks

2017-05-02 Thread Elaine Zhang
of these clock. The pmu_hclk_otg0 is Chip design defect, must be always on, The new document will update the description of this clock. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3288.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/clk/rockchip

[PATCH v3 1/4] clk: rockchip: rk3036: make pclk_ddrupctl as critical_clock

2017-05-02 Thread Elaine Zhang
No driver to handle this clk, Chip design requirements for this clock to always on, The new document will update the description of this clock. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/clk-rk3036.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v3 1/4] clk: rockchip: rk3036: make pclk_ddrupctl as critical_clock

2017-05-02 Thread Elaine Zhang
No driver to handle this clk, Chip design requirements for this clock to always on, The new document will update the description of this clock. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3036.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3036

[PATCH v3 0/4] make some special clk as critical_clocks

2017-05-02 Thread Elaine Zhang
change in V3: reword the commit message,explain why the specific clocks are need to be critical. change in v2: fix up some clks which have their own driver, not need to set as critical clocks Elaine Zhang (4): clk: rockchip: rk3036: make pclk_ddrupctl as critical_clock clk: rockchip: rk3228

[PATCH v3 4/4] clk: rockchip: rk3368: make some special clk as critical_clocks

2017-05-02 Thread Elaine Zhang
, must be always on, The new document will update the description of this clock. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/clk-rk3368.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drive

[PATCH v3 0/4] make some special clk as critical_clocks

2017-05-02 Thread Elaine Zhang
change in V3: reword the commit message,explain why the specific clocks are need to be critical. change in v2: fix up some clks which have their own driver, not need to set as critical clocks Elaine Zhang (4): clk: rockchip: rk3036: make pclk_ddrupctl as critical_clock clk: rockchip: rk3228

[PATCH v3 4/4] clk: rockchip: rk3368: make some special clk as critical_clocks

2017-05-02 Thread Elaine Zhang
, must be always on, The new document will update the description of this clock. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3368.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c index

[PATCH v2 2/3] clk: rockchip: add clock-ids for rk3228 clocks

2017-04-28 Thread Elaine Zhang
This patch exports related BUS/VPU/RGA/HDCP/IEP/TSP/WIFI/ VIO/USB/EFUSE/GPU/CRYPTO clocks for dts reference. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- include/dt-bindings/clock/rk3228-cru.h | 47 ++ 1 file changed, 47 insertions(+) diff

[PATCH v2 2/3] clk: rockchip: add clock-ids for rk3228 clocks

2017-04-28 Thread Elaine Zhang
This patch exports related BUS/VPU/RGA/HDCP/IEP/TSP/WIFI/ VIO/USB/EFUSE/GPU/CRYPTO clocks for dts reference. Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rk3228-cru.h | 47 ++ 1 file changed, 47 insertions(+) diff --git a/include/dt-bindings/clock

[PATCH v2 1/3] clk: rockchip: fix up the RK3228 clk cpu setting table

2017-04-28 Thread Elaine Zhang
support more cpu freq, and add armcore div setting. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/clk-rk3228.c | 50 ++- 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk322

[PATCH v2 3/3] clk: rockchip: export rk3228 clocks ID

2017-04-28 Thread Elaine Zhang
This patch exports related BUS/VPU/RGA/HDCP/IEP/TSP/WIFI/ VIO/USB/EFUSE/GPU/CRYPTO clocks for dts reference. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/clk-rk3228.c | 92 +++ 1 file changed, 46 insertions(+), 46 del

[PATCH v2 1/3] clk: rockchip: fix up the RK3228 clk cpu setting table

2017-04-28 Thread Elaine Zhang
support more cpu freq, and add armcore div setting. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3228.c | 50 ++- 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3228.c b/drivers/clk/rockchip/clk

[PATCH v2 3/3] clk: rockchip: export rk3228 clocks ID

2017-04-28 Thread Elaine Zhang
This patch exports related BUS/VPU/RGA/HDCP/IEP/TSP/WIFI/ VIO/USB/EFUSE/GPU/CRYPTO clocks for dts reference. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3228.c | 92 +++ 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/drivers

[PATCH v2 0/3] clk: rockchip: Perfect clock description for RK3228

2017-04-28 Thread Elaine Zhang
support more cpu freq, and support armcore div setting. Add some necessary clks ID. Change in V2: separate [PATCH V1 2/2] into two patches with one adding the clock-ids to the rk3228-cru.h and a second patch then doing the assignment in clk-rk3228.c Elaine Zhang (3): clk: rockchip: fix up

[PATCH v2 0/3] clk: rockchip: Perfect clock description for RK3228

2017-04-28 Thread Elaine Zhang
support more cpu freq, and support armcore div setting. Add some necessary clks ID. Change in V2: separate [PATCH V1 2/2] into two patches with one adding the clock-ids to the rk3228-cru.h and a second patch then doing the assignment in clk-rk3228.c Elaine Zhang (3): clk: rockchip: fix up

[PATCH v1 1/2] clk: rockchip: fix up the RK3228 clk cpu setting table

2017-04-27 Thread Elaine Zhang
support more cpu freq, and add armcore div setting. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/clk-rk3228.c | 50 ++- 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk322

[PATCH v1 1/2] clk: rockchip: fix up the RK3228 clk cpu setting table

2017-04-27 Thread Elaine Zhang
support more cpu freq, and add armcore div setting. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3228.c | 50 ++- 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3228.c b/drivers/clk/rockchip/clk

[PATCH v1 2/2] clk: rockchip: export rk3228 clocks ID

2017-04-27 Thread Elaine Zhang
This patch exports related BUS/VPU/RGA/HDCP/IEP/TSP/WIFI/ VIO/USB/EFUSE/GPU/CRYPTO clocks for dts reference. Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> --- drivers/clk/rockchip/clk-rk3228.c | 92 +- include/dt-bindings/clock/rk3228-cru.

[PATCH v1 2/2] clk: rockchip: export rk3228 clocks ID

2017-04-27 Thread Elaine Zhang
This patch exports related BUS/VPU/RGA/HDCP/IEP/TSP/WIFI/ VIO/USB/EFUSE/GPU/CRYPTO clocks for dts reference. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rk3228.c | 92 +- include/dt-bindings/clock/rk3228-cru.h | 47 + 2 files

[PATCH v1 0/2] clk: rockchip: Perfect clock description for RK3228

2017-04-27 Thread Elaine Zhang
support more cpu freq, and support armcore div setting. Add some necessary clks ID. Elaine Zhang (2): clk: rockchip: fix up the RK3228 clk cpu setting table clk: rockchip: export rk3228 clocks ID drivers/clk/rockchip/clk-rk3228.c | 142 +++-- include/dt

[PATCH v1 0/2] clk: rockchip: Perfect clock description for RK3228

2017-04-27 Thread Elaine Zhang
support more cpu freq, and support armcore div setting. Add some necessary clks ID. Elaine Zhang (2): clk: rockchip: fix up the RK3228 clk cpu setting table clk: rockchip: export rk3228 clocks ID drivers/clk/rockchip/clk-rk3228.c | 142 +++-- include/dt

Re: [PATCH v4 4/6] arm64: dts: rockchip: add core dtsi file for RK3328 SoCs

2017-04-04 Thread Elaine Zhang
On 04/05/2017 12:04 AM, Heiko Stuebner wrote: Am Montag, 27. März 2017, 17:40:48 CEST schrieb c...@rock-chips.com: From: Liang Chen This patch adds core dtsi file for Rockchip RK3328 SoCs. Signed-off-by: Liang Chen applied for 4.12, with the

<    1   2   3   4   5   6   7   8   >