[PATCH v7 2/5] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver

2016-01-05 Thread Chris Zhong
add device tree bindings for rk3288 specific Synopsys DW MIPI DSI driver Signed-off-by: Chris Zhong <z...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> --- Changes in v7: None Changes in v6: - update the document, since the bridge device has been deleted. Changes in v5:

[PATCH v7 0/5] Add mipi dsi support for rk3288

2016-01-05 Thread Chris Zhong
o bindings/display/rockchip/ Chris Zhong (5): drm/rockchip: return a true clock rate to adjusted_mode Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver drm: rockchip: Support Synopsys DW MIPI DSI ARM: dts: rockchip: add rk3288 mipi_dsi nodes ARM: dts: rockchip: add support

[PATCH v7 5/5] ARM: dts: rockchip: add support mipi panel tv080wum-nl0

2016-01-05 Thread Chris Zhong
This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket of rk3288 evb board. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v7: - Move the lcd_en control to act8846 dts Changes in v6: None Changes in v5: - add a blank line befor lcd_en Changes in v4

[PATCH v7 4/5] ARM: dts: rockchip: add rk3288 mipi_dsi nodes

2016-01-05 Thread Chris Zhong
Add a mipi_dsi node, and also add mipi_dsi endpoints to vopb and vopl output port nodes. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v7: None Changes in v6: None Changes in v5: - modify the clk name to SCLK_MIPIDSI_24M Changes in v4: None Changes in v3: None arch/ar

Re: [PATCH v6 0/6] Add mipi dsi support for rk3288

2015-12-18 Thread Chris Zhong
Hi Heiko Thanks for your reminder. I have post the v6.1 mipi patch with the atomic support. <https://patchwork.kernel.org/patch/7881781/> On 12/17/2015 05:29 PM, Heiko Stübner wrote: Hi Chris, Am Mittwoch, 16. Dezember 2015, 18:10:10 schrieb Chris Zhong: The rk3288 MIPI DSI is a Sy

[PATCH v6 0/6] Add mipi dsi support for rk3288

2015-12-16 Thread Chris Zhong
mode_fixup Changes in v3: - move dw_mipi_dsi_rockchip.txt to bindings/display/rockchip/ Chris Zhong (5): drm/rockchip: return a true clock rate to adjusted_mode Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver drm: rockchip: Support Synopsys DW MIPI DSI ARM: dts: roc

[PATCH v6 6/6] ARM: dts: rockchip: add support mipi panel tv080wum-nl0

2015-12-16 Thread Chris Zhong
This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket of rk3288 evb board. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v6: None Changes in v5: - add a blank line befor lcd_en Changes in v4: None Changes in v3: None arch/arm/boot/dts/rk3288-evb.dts

[PATCH v6 5/6] ARM: dts: rockchip: add rk3288 mipi_dsi nodes

2015-12-16 Thread Chris Zhong
Add a mipi_dsi node, and also add mipi_dsi endpoints to vopb and vopl output port nodes. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v6: None Changes in v5: - modify the clk name to SCLK_MIPIDSI_24M Changes in v4: None Changes in v3: None arch/arm/boot/dts/rk328

[PATCH v6 3/6] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver

2015-12-16 Thread Chris Zhong
add device tree bindings for rk3288 specific Synopsys DW MIPI DSI driver Signed-off-by: Chris Zhong <z...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> --- Changes in v6: - update the document, since the bridge device has been deleted. Changes in v5: None Changes in v4:

[PATCH 2/3] ARM: dts: rockchip: add 2 regulators for rk3288-evb-act8846

2015-12-09 Thread Chris Zhong
vcc_wl and vcc_lcd are 2 gpio switches for rk3288-evb-act8846 board. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- arch/arm/boot/dts/rk3288-evb-act8846.dts | 34 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.

[PATCH 1/3] ARM: dts: rockchip: correct the name of REG8 for rk3288-evb-act8846

2015-12-09 Thread Chris Zhong
According to the schematic, the name of REG8 should be vcc_tp, rather than vcca_tp. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- arch/arm/boot/dts/rk3288-evb-act8846.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts

[PATCH 3/3] arm: dts: rockchip: move the public part to rk3288-evb common

2015-12-09 Thread Chris Zhong
Rk3288-evb-act8846 and rk3288-evb-rk808 are the power boards of rk3288-evb, they provide the same power supply interface to the motherboard. Sort out them, put the public part to rk3288-evb.dtsi, such as gmac and cpu-supply, leaving only the power section. Signed-off-by: Chris Zhong <z...@r

[PATCH v5 01/11] clk: rockchip: add id for mipidsi sclk on rk3288

2015-11-25 Thread Chris Zhong
Adds a new id for the sclk supplying the mipidsi on rk3288 socs. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v5: - change the mipidsi clk to SCLK_MIPIDSI_24M Changes in v4: None Changes in v3: None Changes in v2: - add the mipi clk id in a single patch include/dt-bi

[PATCH v5 0/11] Add mipi dsi support for rk3288

2015-11-25 Thread Chris Zhong
- move dw_mipi_dsi_rockchip.txt to bindings/display/rockchip/ Changes in v2: - add the mipi clk id in a single patch Chris Zhong (9): clk: rockchip: add id for mipidsi sclk on rk3288 clk: rockchip: add mipidsi clocks on rk3288 drm/rockchip: return a true clock rate to adjusted_mode drm:

[PATCH v5 10/11] ARM: dts: rockchip: add rk3288 mipi_dsi nodes

2015-11-25 Thread Chris Zhong
Add a mipi_dsi node, and also add mipi_dsi endpoints to vopb and vopl output port nodes. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v5: - modify the clk name to SCLK_MIPIDSI_24M Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk328

[PATCH v5 11/11] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 for rk3288-evb

2015-11-25 Thread Chris Zhong
This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket of rk3288 evb board. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v5: - add a blank line befor lcd_en Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk3288-evb.dts

[PATCH v5 09/11] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver

2015-11-25 Thread Chris Zhong
add device tree bindings for rk3288 specific Synopsys DW MIPI DSI driver Signed-off-by: Chris Zhong <z...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> --- Changes in v5: None Changes in v4: None Changes in v3: - move dw_mipi_dsi_rockchip.txt to bindings/display/rockch

[PATCH v5 06/11] Documentation: dt-bindings: Add bindings for DW MIPI DSI

2015-11-25 Thread Chris Zhong
From: Liu Ying <ying@freescale.com> This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying <ying@freescale.com> Signed-off-by: Chris Zhong <z...@rock-chips.com> Acked-by: Rob Herring <r...@kern

[PATCH v4 0/13] Add mipi dsi support for rk3288

2015-11-20 Thread Chris Zhong
isplay/bridge move dw_mipi_dsi_rockchip.txt to bindings/display/rockchip/ move boe,tv080wum-nl0.txt to bindings/display/panel/ Changes in v2: add the mipi clk id in a single patch As Thierry.Reding comment, add a documentation for this panel. Chris Zhong (11): clk: rockchip: add id for mipids

[PATCH v4 13/13] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 for rk3288-evb

2015-11-20 Thread Chris Zhong
This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket of rk3288 evb board. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk3288-evb.dtsi | 20 +++- 1 file chang

[PATCH v4 08/13] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver

2015-11-20 Thread Chris Zhong
add device tree bindings for rk3288 specific Synopsys DW MIPI DSI driver Signed-off-by: Chris Zhong <z...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> --- Changes in v4: None Changes in v3: move dw_mipi_dsi_rockchip.txt to bindings/display/rockchip/ Changes in v2: None

[PATCH v4 09/13] ARM: dts: rockchip: add rk3288 mipi_dsi nodes

2015-11-20 Thread Chris Zhong
Add a mipi_dsi node, and also add mipi_dsi endpoints to vopb and vopl output port nodes. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk3288.dtsi | 39 +++ 1 file c

[PATCH v4 12/13] drm/panel: simple: Add boe,tv080wum-nl0 simple panel device tree binding

2015-11-20 Thread Chris Zhong
This binding specifies a set of common properties for display panels. It can be used as a basis by bindings for specific panels. Bindings for three specific panels are provided to show how the simple panel binding can be used. Signed-off-by: Chris Zhong <z...@rock-chips.com> Acked-by: Rob H

[PATCH v4 10/13] of: add vendor prefix for boe

2015-11-20 Thread Chris Zhong
Signed-off-by: Chris Zhong <z...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> --- Changes in v4: None Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicet

[PATCH v4 01/13] clk: rockchip: add id for mipidsi sclk on rk3288

2015-11-20 Thread Chris Zhong
Adds a new id for the sclk supplying the mipidsi on rk3288 socs. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v4: None Changes in v3: None Changes in v2: add the mipi clk id in a single patch include/dt-bindings/clock/rk3288-cru.h | 1 + 1 file changed, 1 insertion(+)

[PATCH v4 05/13] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2015-11-20 Thread Chris Zhong
From: Liu Ying <ying@freescale.com> This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying <ying@freescale.com> Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v4: remove gpr pro

Re: [PATCH v3 00/12] Add mipi dsi support for rk3288

2015-11-19 Thread Chris Zhong
Hi Emil On 11/19/2015 10:41 PM, Emil Velikov wrote: On 19 November 2015 at 03:35, Chris Zhong <z...@rock-chips.com> wrote: The rk3288 MIPI DSI is a Synopsys DesignWare MIPI DSI host controller IP. This series adds support for a Synopsys DesignWare MIPI DSI host controller DRM bridge

[PATCH v3 08/12] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver

2015-11-18 Thread Chris Zhong
add device tree bindings for rk3288 specific Synopsys DW MIPI DSI driver Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v3: move dw_mipi_dsi_rockchip.txt to bindings/display/rockchip/ Changes in v2: None .../display/rockchip/dw_mipi_dsi_rockchip.txt

[PATCH v3 00/12] Add mipi dsi support for rk3288

2015-11-18 Thread Chris Zhong
tation for this panel. Chris Zhong (10): clk: rockchip: add id for mipidsi sclk on rk3288 clk: rockchip: add mipidsi clocks on rk3288 drm/rockchip: return a true clock rate to adjusted_mode drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver drm: rockchip: Support Synopsys DesignWar

[PATCH v3 01/12] clk: rockchip: add id for mipidsi sclk on rk3288

2015-11-18 Thread Chris Zhong
Adds a new id for the sclk supplying the mipidsi on rk3288 socs. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v3: None Changes in v2: add the mipi clk id in a single patch include/dt-bindings/clock/rk3288-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git a/incl

[PATCH v3 09/12] ARM: dts: rockchip: add rk3288 mipi_dsi nodes

2015-11-18 Thread Chris Zhong
Add a mipi_dsi node, and also add mipi_dsi endpoints to vopb and vopl output port nodes. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk3288.dtsi | 39 +++ 1 file changed, 39 inse

[PATCH v3 12/12] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 for rk3288-evb

2015-11-18 Thread Chris Zhong
This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket of rk3288 evb board. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk3288-evb.dtsi | 20 +++- 1 file changed, 19 insertions(+), 1 de

[PATCH v3 11/12] drm/panel: simple: Add boe,tv080wum-nl0 simple panel device tree binding

2015-11-18 Thread Chris Zhong
This binding specifies a set of common properties for display panels. It can be used as a basis by bindings for specific panels. Bindings for three specific panels are provided to show how the simple panel binding can be used. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes

[PATCH v3 05/12] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2015-11-18 Thread Chris Zhong
From: Liu Ying <ying@freescale.com> This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying <ying@freescale.com> Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v3: move t

Re: [PATCH v2 12/13] drm/panel: simple: Add simple panel device tree binding

2015-11-02 Thread Chris Zhong
Hi Rob On 11/02/2015 11:06 PM, Rob Herring wrote: On Sat, Oct 31, 2015 at 7:56 AM, Chris Zhong <z...@rock-chips.com> wrote: Your subject should be more specific with the panel name. I'll write more specific in subject next version. This binding specifies a set of common prop

[PATCH v2 12/13] drm/panel: simple: Add simple panel device tree binding

2015-10-31 Thread Chris Zhong
This binding specifies a set of common properties for display panels. It can be used as a basis by bindings for specific panels. Bindings for three specific panels are provided to show how the simple panel binding can be used. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes

[PATCH v2 05/13] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2015-10-31 Thread Chris Zhong
From: Liu Ying <ying@freescale.com> This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying <ying@freescale.com> Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v2: None .../d

[PATCH v2 08/13] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver

2015-10-31 Thread Chris Zhong
add device tree bindings for rk3288 specific Synopsys DW MIPI DSI driver Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v2: None .../bindings/video/dw_mipi_dsi_rockchip.txt| 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documen

[PATCH v2 09/13] ARM: dts: rockchip: add rk3288 mipi_dsi nodes

2015-10-31 Thread Chris Zhong
Add a mipi_dsi node, and also add mipi_dsi endpoints to vopb and vopl output port nodes. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v2: None arch/arm/boot/dts/rk3288.dtsi | 39 +++ 1 file changed, 39 insertions(+) diff --git a/ar

[PATCH v2 10/13] of: add vendor prefix for boe

2015-10-31 Thread Chris Zhong
Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v2: add vendor prefix for boe Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bi

[PATCH v2 13/13] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 for rk3288-evb

2015-10-31 Thread Chris Zhong
This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket of rk3288 evb board. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v2: None arch/arm/boot/dts/rk3288-evb.dtsi | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git

[PATCH v2 01/13] clk: rockchip: add id for mipidsi sclk on rk3288

2015-10-31 Thread Chris Zhong
Adds a new id for the sclk supplying the mipidsi on rk3288 socs. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Changes in v2: add the mipi clk id in a single patch include/dt-bindings/clock/rk3288-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings

[PATCH v2 00/13] Add mipi dsi support for rk3288

2015-10-31 Thread Chris Zhong
2: add the mipi clk id in a single patch add vendor prefix for boe As Thierry.Reding comment, add a documentation for this panel. Chris Zhong (11): clk: rockchip: add id for mipidsi sclk on rk3288 clk: rockchip: add mipidsi clocks on rk3288 drm/rockchip: return a true clock rate to adjuste

Re: [PATCH 01/10] clk: rockchip: Add sclk_mipidsi_24m for mipi dsi

2015-10-16 Thread Chris Zhong
On 10/17/2015 05:39 AM, Stephen Boyd wrote: On 10/10, Chris Zhong wrote: sclk_mipidsi_24m is the gating of mipi dsi phy. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- Acked-by: Stephen Boyd <sb...@codeaurora.org> drivers/clk/rockchip/clk-rk3288.c | 2 +- include

[PATCH 00/10] Add mipi dsi support for rk3288

2015-10-10 Thread Chris Zhong
only use the MIPI DSI video mode. The MIPI DSI feature is tested on rk3288 evb board, backport them to chrome os kernel v3.14, and it can display normally. This patchset is base on the patchset from ying@freescale.com. <http://www.spinics.net/lists/dri-devel/msg77181.html> Chris Zh

[PATCH 07/10] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver

2015-10-10 Thread Chris Zhong
add device tree bindings for rk3288 specific Synopsys DW MIPI DSI driver Signed-off-by: Chris Zhong <z...@rock-chips.com> --- .../bindings/video/dw_mipi_dsi_rockchip.txt| 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCH 10/10] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 for rk3288-evb

2015-10-10 Thread Chris Zhong
This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket of rk3288 evb board. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- arch/arm/boot/dts/rk3288-evb.dtsi | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/

[PATCH 08/10] ARM: dts: rockchip: add rk3288 mipi_dsi nodes

2015-10-10 Thread Chris Zhong
Add a mipi_dsi node, and also add mipi_dsi endpoints to vopb and vopl output port nodes. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- arch/arm/boot/dts/rk3288.dtsi | 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/rk328

[PATCH 04/10] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2015-10-10 Thread Chris Zhong
From: Liu Ying <ying@freescale.com> This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying <ying@freescale.com> Signed-off-by: Chris Zhong <z...@rock-chips.com> --- .../devicetree/b

[PATCH 01/10] clk: rockchip: Add sclk_mipidsi_24m for mipi dsi

2015-10-10 Thread Chris Zhong
sclk_mipidsi_24m is the gating of mipi dsi phy. Signed-off-by: Chris Zhong <z...@rock-chips.com> --- drivers/clk/rockchip/clk-rk3288.c | 2 +- include/dt-bindings/clock/rk3288-cru.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk328

[PATCH v4 1/2] mfd: dt-bindings: add the description about dvs gpio for rk808

2015-07-20 Thread Chris Zhong
add the description about dvs1, dvs2, and add the example. Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org --- Changes in v4: - Remove the description about dvs-ok Changes in v3: - Modify the syntax error Changes in v2: - increase description

[PATCH v4 0/2] fixed the overshoot when adjust voltage

2015-07-20 Thread Chris Zhong
the multiline commenting Chris Zhong (2): mfd: dt-bindings: add the description about dvs gpio for rk808 regulator: rk808: fixed the overshoot when adjust voltage Documentation/devicetree/bindings/mfd/rk808.txt | 8 +- drivers/regulator/rk808-regulator.c | 219

Re: [PATCH] ARM: dts: cros-ec-keyboard: Add support for some Japanese keys

2015-05-05 Thread Chris Zhong
On 05/06/2015 02:10 AM, Doug Anderson wrote: Chris, On Mon, May 4, 2015 at 7:07 PM, Chris Zhong z...@rock-chips.com wrote: Add support for 4 Japanese keys Signed-off-by: Chris Zhong z...@rock-chips.com --- arch/arm/boot/dts/cros-ec-keyboard.dtsi | 4 1 file changed, 4 insertions

[PATCH 0/2] Support disable the wakeup event of gpio-charger

2015-02-10 Thread Chris Zhong
If you needn't the wakeup event of gpio-charger, this patch can help. Please set gpio-charger,disable-wakeup in gpio-charger node. Chris Zhong (2): dt-bindings: add disable-wakeup property for gpio-charger power: gpio-charger: support disable the wakeup event Documentation/devicetree

[PATCH 1/2] dt-bindings: add disable-wakeup property for gpio-charger

2015-02-10 Thread Chris Zhong
add disable-wakeup for gpio-charger, if you set this property, system will not wakeup by gpio-charger. Signed-off-by: Chris Zhong z...@rock-chips.com --- Documentation/devicetree/bindings/power_supply/gpio-charger.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation

[PATCH v3 0/2] add the dvs support for rk808

2014-12-14 Thread Chris Zhong
. When dvs1/dvs2 pin change, dvsok would be pull down, and it would be pull up once the regulating is complete. Changes in v3: - Modify the syntax error Changes in v2: - increase description about dvs pins - modify the multiline commenting Chris Zhong (2): mfd: dt-bindings: add the description

[PATCH v3 1/2] mfd: dt-bindings: add the description about dvs gpio for rk808

2014-12-14 Thread Chris Zhong
add the description about dvs1, dvs2, dvsok, and add the example. Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org --- Changes in v3: - Modify the syntax error Changes in v2: - increase description about dvs pins Documentation/devicetree

[PATCH v2 0/2] add the dvs support for rk808

2014-12-10 Thread Chris Zhong
. When dvs1/dvs2 pin change, dvsok would be pull down, and it would be pull up once the regulating is complete. Changes in v2: - increase description about dvs pins - modify the multiline commenting Chris Zhong (2): mfd: dt-bindings: add the description about dvs gpio for rk808 regulator

[PATCH v2 1/2] mfd: dt-bindings: add the description about dvs gpio for rk808

2014-12-10 Thread Chris Zhong
add the description about dvs1, dvs2, dvsok, and add the example. Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v2: - increase description about dvs pins Documentation/devicetree/bindings/mfd/rk808.txt | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff

Re: [PATCH v5 1/5] phy: add a driver for the Rockchip SoC internal USB2.0 PHY

2014-12-10 Thread Chris Zhong
On 12/11/2014 03:06 PM, Joe Perches wrote: On Thu, 2014-12-11 at 14:52 +0800, Yunzhi Li wrote: On 2014/12/11 14:37, Joe Perches wrote: On Thu, 2014-12-11 at 11:57 +0530, Kishon Vijay Abraham I wrote: [] So If I have to write something on bit 0, I have to set bit 16. If I have to write

[PATCH 0/2] add the dvs support for rk808

2014-12-09 Thread Chris Zhong
. When dvs1/dvs2 pin change, dvsok would be pull down, and it would be pull up once the regulating is complete. Chris Zhong (2): regulator: rk808: add dvs support mfd: dt-bindings: add the description about dvs gpio for rk808 Documentation/devicetree/bindings/mfd/rk808.txt | 10 +- drivers

[PATCH 2/2] mfd: dt-bindings: add the description about dvs gpio for rk808

2014-12-09 Thread Chris Zhong
add the description about dvs1, dvs2, dvsok, and add the example. Signed-off-by: Chris Zhong z...@rock-chips.com --- Documentation/devicetree/bindings/mfd/rk808.txt | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt b

Re: [PATCH v10 0/4] This suspend patch is only support cut off the power of cpu and some external

2014-12-03 Thread Chris Zhong
On 12/02/2014 09:26 AM, Kevin Hilman wrote: Doug Anderson diand...@chromium.org writes: Hi, On Mon, Dec 1, 2014 at 2:08 PM, Doug Anderson diand...@chromium.org wrote: Hi, On Mon, Dec 1, 2014 at 11:51 AM, Kevin Hilman khil...@kernel.org wrote: Chris Zhong z...@rock-chips.com writes

[PATCH v10 4/4] ARM: dts: rockchip: add suspend settings for rk3288-evb-rk808

2014-12-01 Thread Chris Zhong
Add suspend-voltages and necessary pin-states for suspend on rk3288-evb-rk808 boards. global_pwroff would be pulled high when RK3288 entering suspend, this pin is a sleep signal for RK808, so RK808 could goto sleep mode, and some regulators would be disable. Signed-off-by: Chris Zhong z...@rock

[PATCH v10 2/4] ARM: rockchip: Add pmu-sram binding

2014-12-01 Thread Chris Zhong
The pmu-sram is used to store resume code, suspend/resume need get the address of it. Therefore add a binding and documentation for it. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org --- Changes in v10

[PATCH v10 0/4] This suspend patch is only support cut off the power of cpu and some external

2014-12-01 Thread Chris Zhong
of gpio6_c6 save and restore to pinctrl-rockchip Changes in v2: - add the regulator calls in prepare and finish. - add the pinmux of gpio6_c6 save and restore - put rockchip,rk3288-pmu-sram to first Chris Zhong (4): ARM: rockchip: add suspend and resume for RK3288 ARM: rockchip: Add pmu-sram binding

[PATCH v10 3/4] ARM: dts: add RK3288 suspend support

2014-12-01 Thread Chris Zhong
-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org Tested-by: Doug Anderson diand...@chromium.org --- Changes in v10: None Changes in v9: None Changes in v8: - add ddr pinctrl for suspend Changes in v7: None Changes in v6: - change pmu_intmem

Re: [PATCH v9 3/4] ARM: dts: add RK3288 suspend support

2014-12-01 Thread Chris Zhong
On 12/01/2014 01:26 PM, Doug Anderson wrote: Chris, On Mon, Nov 24, 2014 at 11:32 PM, Chris Zhong z...@rock-chips.com wrote: add pmu sram node for suspend, add global_pwroff pinctrl. The pmu sram is used to store the resume code. global_pwroff is held low level at work, it would be pull

Re: [PATCH v10 0/4] This suspend patch is only support cut off the power of cpu and some external

2014-12-01 Thread Chris Zhong
On 12/02/2014 06:08 AM, Doug Anderson wrote: Hi, On Mon, Dec 1, 2014 at 11:51 AM, Kevin Hilman khil...@kernel.org wrote: Chris Zhong z...@rock-chips.com writes: devices, since we still lack power_domain driver, so the other power rail of rk3288 need keep power on. I have tested it on rk3288

Re: [PATCH v9 4/4] ARM: dts: rockchip: add suspend settings for rk3288-evb-rk808

2014-11-26 Thread Chris Zhong
On 11/27/2014 06:52 AM, Doug Anderson wrote: Chris, On Mon, Nov 24, 2014 at 11:32 PM, Chris Zhong z...@rock-chips.com wrote: vcc_ddr: DCDC_REG3 { regulator-always-on; regulator-boot

[PATCH 0/2] Increase the maximum cpu frequency of rk3288

2014-11-25 Thread Chris Zhong
The maximum cpu frequency of rk3288 can up to 1.8Ghz, but the vdd_cpu need set to 1.4v. I've tested these patches on rk3288 evb board. Chris Zhong (2): ARM: dts: rockchip: change the max voltage of cpu to 1.4v ARM: dts: rk3288: change the max clk of cpu to 1.8Ghz arch/arm/boot/dts/rk3288

[PATCH 2/2] ARM: dts: rk3288: change the max clk of cpu to 1.8Ghz

2014-11-25 Thread Chris Zhong
The maximum cpu frequency of rk3288 can up to 1.8Ghz, and it need to set the vdd_cpu to 1.4v correspondingly. Signed-off-by: Chris Zhong z...@rock-chips.com --- arch/arm/boot/dts/rk3288.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk3288.dtsi

[PATCH 1/2] ARM: dts: rockchip: change the max voltage of cpu to 1.4v

2014-11-25 Thread Chris Zhong
If the cpu frequencies up to 1.8Ghz, we need set the vdd_cpu to 1.4v. Signed-off-by: Chris Zhong z...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb-rk808.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts b/arch/arm/boot/dts/rk3288

[PATCH v9 4/4] ARM: dts: rockchip: add suspend settings for rk3288-evb-rk808

2014-11-24 Thread Chris Zhong
Add suspend-voltages and necessary pin-states for suspend on rk3288-evb-rk808 boards. global_pwroff would be pulled high when RK3288 entering suspend, this pin is a sleep signal for RK808, so RK808 could goto sleep mode, and some regulators would be disable. Signed-off-by: Chris Zhong z...@rock

[PATCH v9 2/4] ARM: rockchip: Add pmu-sram binding

2014-11-24 Thread Chris Zhong
The pmu-sram is used to store resume code, suspend/resume need get the address of it. Therefore add a binding and documentation for it. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org --- Changes in v9

[PATCH v9 0/4] The 1st version of suspend for RK3288.

2014-11-24 Thread Chris Zhong
,rk3288-pmu-sram to first Chris Zhong (4): ARM: rockchip: add suspend and resume for RK3288 ARM: rockchip: Add pmu-sram binding ARM: dts: add RK3288 suspend support ARM: dts: rockchip: add suspend settings for rk3288-evb-rk808 .../devicetree/bindings/arm/rockchip/pmu-sram.txt | 16

[PATCH v9 3/4] ARM: dts: add RK3288 suspend support

2014-11-24 Thread Chris Zhong
-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org Tested-by: Doug Anderson diand...@chromium.org --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - change pmu_intmem@ff72 to sram@ff72 Changes in v5: - change

[PATCH v8 0/4] This is the 1st version of suspend for RK3288.

2014-11-15 Thread Chris Zhong
of gpio6_c6 save and restore to pinctrl-rockchip Changes in v2: - add the regulator calls in prepare and finish. - add the pinmux of gpio6_c6 save and restore - put rockchip,rk3288-pmu-sram to first Chris Zhong (4): ARM: rockchip: add suspend and resume for RK3288 ARM: rockchip: Add pmu-sram binding

[PATCH v8 3/4] ARM: dts: add RK3288 suspend support

2014-11-15 Thread Chris Zhong
-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org Tested-by: Doug Anderson diand...@chromium.org --- Changes in v8: - add ddr pinctrl for suspend Changes in v7: None Changes in v6: - change pmu_intmem@ff72 to sram@ff72 Changes in v5: - change size to 4k

[PATCH v8 4/4] ARM: dts: add suspend voltage setting for RK808

2014-11-15 Thread Chris Zhong
global_pwroff would be pull to high when RK3288 entering suspend, this pin is a sleep signal for RK808, so RK808 could goto sleep mode, and some regulators would be disable. Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v8: - keep all except cputp power rail on during suspend

[PATCH v8 2/4] ARM: rockchip: Add pmu-sram binding

2014-11-15 Thread Chris Zhong
The pmu-sram is used to store resume code, suspend/resume need get the address of it. Therefore add a binding and documentation for it. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org --- Changes in v8

Re: [PATCH v7 0/5] This is the 1st version of suspend for RK3288.

2014-11-10 Thread Chris Zhong
Hi Kevin On 11/08/2014 06:48 AM, Kevin Hilman wrote: Chris Zhong z...@rock-chips.com writes: RK3288 can shut down the cpu, gpu and other device controllers in suspend, and it will pull the GLOBAL_PWROFF pin to high in the final stage of the process of suspend, pull the pin to low again when

[PATCH v7 0/5] This is the 1st version of suspend for RK3288.

2014-11-07 Thread Chris Zhong
to pinctrl-rockchip Changes in v2: - __raw_readl/__raw_writel replaced by readl_relaxed/writel_relaxed - add the regulator calls in prepare and finish. - add the pinmux of gpio6_c6 save and restore - put rockchip,rk3288-pmu-sram to first Chris Zhong (5): clk: rockchip: RK3288: add suspend and resume

[PATCH v7 4/5] ARM: dts: add RK3288 suspend support

2014-11-07 Thread Chris Zhong
-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org Tested-by: Doug Anderson diand...@chromium.org --- Changes in v7: None Changes in v6: - change pmu_intmem@ff72 to sram@ff72 Changes in v5: - change size to 4k Changes in v4: None Changes

[PATCH v7 5/5] ARM: dts: add suspend voltage setting for RK808

2014-11-07 Thread Chris Zhong
global_pwroff would be pull to high when RK3288 entering suspend, this pin is a sleep signal for RK808, so RK808 could goto sleep mode, and some regulators would be disable. Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v7: - add regulator-state-mem sub node for suspend Changes

[PATCH v7 3/5] ARM: rockchip: Add pmu-sram binding

2014-11-07 Thread Chris Zhong
The pmu-sram is used to store resume code, suspend/resume need get the address of it. Therefore add a binding and documentation for it. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org --- Changes in v7

Re: [PATCH 1/2] regulator: Document binding for regulator suspend voltage

2014-11-02 Thread Chris Zhong
On thing I wonder is if the binding should say that the suspend voltage is independent of the runtime one and it may be outside of the runtime range? Best regards, Javier Reviewed-by: Chris Zhong z...@rock-chips.com -- To unsubscribe from this list: send the line unsubscribe devicetree

[PATCH v6 0/7] This is the 1st version of suspend for RK3288.

2014-10-29 Thread Chris Zhong
: - move the pinmux of gpio6_c6 save and restore to pinctrl-rockchip Changes in v2: - __raw_readl/__raw_writel replaced by readl_relaxed/writel_relaxed - add the regulator calls in prepare and finish. - add the pinmux of gpio6_c6 save and restore - put rockchip,rk3288-pmu-sram to first Chris Zhong

[PATCH v6 7/7] ARM: dts: add suspend voltage setting for RK808

2014-10-29 Thread Chris Zhong
global_pwroff would be pull to high when RK3288 entering suspend, this pin is a sleep signal for RK808, so RK808 could goto sleep mode, and some regulators would be disable. Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v6: None Changes in v5: None Changes in v4: None Changes

[PATCH v6 6/7] ARM: dts: add RK3288 suspend support

2014-10-29 Thread Chris Zhong
-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org Tested-by: Doug Anderson diand...@chromium.org --- Changes in v6: - change pmu_intmem@ff72 to sram@ff72 Changes in v5: - change size to 4k Changes in v4: None Changes in v3: None Changes

[PATCH v6 5/7] ARM: rockchip: Add pmu-sram binding

2014-10-29 Thread Chris Zhong
The pmu-sram is used to store resume code, suspend/resume need get the address of it. Therefore add a binding and documentation for it. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org --- Changes in v6

[PATCH v4 0/6] this is the 1st version of suspend. RK3288 can shut down the cpu, gpu and

2014-10-21 Thread Chris Zhong
suspend/resume functions Chris Zhong (5): pinctrl: rockchip: save and restore gpio6_c6 pinmux in suspend/resume clk: rockchip: RK3288: add suspend and resume ARM: rockchip: add suspend and resume for RK3288 ARM: rockchip: Add pmu-sram binding ARM: dts: add RK3288 suspend support

[PATCH v4 1/6] pinctrl: rockchip: add suspend/resume functions

2014-10-21 Thread Chris Zhong
From: Chris z...@rock-chips.com support suspend/resume of pinctrl, it allows handling sleep mode for hogged pins in pinctrl Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v4: - use SIMPLE_DEV_PM_OPS for suspend/resume struct Changes in v3: None Changes in v2: None drivers

[PATCH v4 2/6] pinctrl: rockchip: save and restore gpio6_c6 pinmux in suspend/resume

2014-10-21 Thread Chris Zhong
Save and restore the gpio6_c6 pinmux setting, since Maskrom of RK3288 would modify it to sdmmc0_det, so it need to be restored to the correct setting after resume from Maskrom. Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v4: None Changes in v3: None Changes in v2: None

[PATCH v4 3/6] clk: rockchip: RK3288: add suspend and resume

2014-10-21 Thread Chris Zhong
save and restore some clks, which might be changed in suspend. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v4: None Changes in v3: None Changes in v2: - __raw_readl/__raw_writel replaced by readl_relaxed/writel_relaxed drivers/clk

[PATCH v4 4/6] ARM: rockchip: add suspend and resume for RK3288

2014-10-21 Thread Chris Zhong
It's a basic version of suspend and resume for rockchip, it only support RK3288 now. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v4: - remove grf regmap Changes in v3: - move the pinmux of gpio6_c6 save and restore to pinctrl

[PATCH v4 5/6] ARM: rockchip: Add pmu-sram binding

2014-10-21 Thread Chris Zhong
The pmu-sram is used to store resume code, suspend/resume need get the address of it. Therefore add a binding and documentation for it. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v4: None Changes in v3: None Changes in v2: None

[PATCH v4 6/6] ARM: dts: add RK3288 suspend support

2014-10-21 Thread Chris Zhong
pinctrl as part of the PMIC config. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com --- Changes in v4: None Changes in v3: None Changes in v2: - put rockchip,rk3288-pmu-sram to first arch/arm/boot/dts/rk3288.dtsi | 11 +++ 1 file changed, 11

[PATCH v7 0/2] regulator: get voltage duty table from dts for pwm-regulator

2014-09-27 Thread Chris Zhong
- rename the documentation Adviced by Doug Anderson - update the example Adviced by Mark Rutland - remove pwm-reg-period Chris Zhong (2): regulator: pwm-regulator: get voltage and duty table from dts dt-bindings: add devicetree bindings for pwm regulator .../bindings/regulator/pwm-regulator.txt

[PATCH v7 1/2] regulator: pwm-regulator: get voltage and duty table from dts

2014-09-27 Thread Chris Zhong
rename st-pwm to pwm-regulator. And support getting voltage duty table from device tree, other platforms can also use this driver without any modify. Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org Tested-by: Doug Anderson diand...@chromium.org

  1   2   >