Re: [PATCH v2 0/5] arm64: dts: rockchip: support mail and IPA thermal for rk3399

2017-07-19 Thread Caesar Wang
oCs after. -Caesar 在 2017年07月17日 16:14, Caesar Wang 写道: This series patches supported the mail in devicetree and used the thermal IPA by default. Verified with kernel is based on Linus's master branch and Heiko's v4.14-armsoc-tmp/dts64 branch. ( The Linux version 4.12.0 for now). The most ro

Re: [PATCH v2 2/5] dt-bindings: gpu: add a power_model optional properties for MALI

2017-07-17 Thread Caesar Wang
Rob, 在 2017年07月18日 04:07, Rob Herring 写道: On Mon, Jul 17, 2017 at 04:14:28PM +0800, Caesar Wang wrote: This patch adds the MALI's power-model to set the IPA model to be used for power management. What's IPA? India Pale Ale or Intermediate Physical Address? IPA is intelligent Power

[PATCH v2 2/5] dt-bindings: gpu: add a power_model optional properties for MALI

2017-07-17 Thread Caesar Wang
This patch adds the MALI's power-model to set the IPA model to be used for power management. Signed-off-by: Caesar Wang --- Changes in v2: None Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devic

[PATCH v2 1/5] dt-bindings: gpu: add the RK3399 mali for rockchip specifics

2017-07-17 Thread Caesar Wang
RK3399's GPU uses the quad-core Mali-T860, which is the new generation of high-end graphics processors from ARM. This patch added "rockchip,rk3399-mali" for dt-bindings, in order to support IPA of gpu thermal in later. Signed-off-by: Caesar Wang --- Changes in v2: None

[PATCH v2 0/5] arm64: dts: rockchip: support mail and IPA thermal for rk3399

2017-07-17 Thread Caesar Wang
one input clock. - foo@ will produce warnings when used without reg property. - update the commit to explain the two passive trip points changed. Caesar Wang (5): dt-bindings: gpu: add the RK3399 mali for rockchip specifics dt-bindings: gpu: add a power_model optional properties for MALI arm6

[PATCH 1/4] dt-bindings: gpu: add the RK3399 mali for rockchip specifics

2017-07-11 Thread Caesar Wang
RK3399's GPU uses the quad-core Mali-T860, which is the new generation of high-end graphics processors from ARM. This patch added "rockchip,rk3399-mali" for dt-bindings, in order to support IPA of gpu thermal in later. Signed-off-by: Caesar Wang --- Documentation/devicetree/b

[PATCH 0/4] arm64: dts: rockchip: support mail and IPA thermal for rk3399

2017-07-11 Thread Caesar Wang
e. From the scripts to have a look at the actual control. " while true; do grep "" /sys/class/thermal/thermal_zone[0-1]/temp /sys/devices/system/cpu/cpu[0-5]/cpufreq/scaling_cur_freq /sys/devices/platform/ff9a.gpu/devfreq/ff9a.gpu/cur_freq;date;sleep .5; done & " -C

[PATCH] drm/rockchip: gem: add the lacks lock and trivial changes

2017-05-30 Thread Caesar Wang
As the allocation and free buffer that need to add mutex lock for drm mm, but it lacks the locking on error path in rockchip_gem_iommu_map(). Also, the trivial changes like The comment should be placed in the kerneldoc and unused blank line. Signed-off-by: Caesar Wang --- drivers/gpu/drm

Re: iommu/rockchip: Fix bugs and enable on ARM64

2017-03-08 Thread Caesar Wang
Shunqian, something is depending on these patches, can you resend these patches to solve the compile errors? -Caesar 在 2016年07月16日 00:16, Joerg Roedel 写道: On Fri, Jul 15, 2016 at 05:32:02PM +0200, Matthias Brugger wrote: The drm rockchip patches are dependent on iommu/rockchip patches, can yo

[PATCH v3 2/2] drm/panel: simple: Add support BOE nv101wxmn51

2016-12-14 Thread Caesar Wang
vsync Detailed mode2: Clock 57.500 MHz, 216 mm x 135 mm 1280 1328 1360 1440 hborder 0 800 803 808 832 vborder 0 +hsync -vsync Add the both edid to support more modes for BOE nv101wxmn51. Signed-off-by: Caesar Wang --- Changes in v3: - As Stéphane comm

[PATCH v3 1/2] dt-bindings: display: Add BOE nv101wxmn51 panel binding

2016-12-14 Thread Caesar Wang
The BOE 10.1" NV101WXMN51 panel is an WXGA TFT LCD panel. Signed-off-by: Caesar Wang --- Changes in v3: None Changes in v2: None .../devicetree/bindings/display/panel/boe,nv101wxmn51.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devic

[PATCH v2 2/2] drm/panel: simple: Add support BOE nv101wxmn51

2016-12-14 Thread Caesar Wang
在 2016年12月13日 04:22, Stéphane Marchesin 写道: > On Wed, Dec 7, 2016 at 11:26 PM, Caesar Wang wrote: >> 10.1WXGA is a color active matrix TFT LCD module using amorphous silicon >> TFT's as an active switching devices. It can be supported by the >> simple-pa

[PATCH] drm/bridge: analogix_dp: set the DPCD600 during disabling the psr

2016-12-10 Thread Caesar Wang
Look likes, the BOE panel FW didn't ack the DPCD600 signal from the host device, that will cause the panel hang on the startup display. The root cause we use the fast link mode during enter and exit the psr, this issue is gone if switching the fast link to main link mode. Signed-off-by: C

[PATCH v2 2/2] drm/panel: simple: Add support BOE nv101wxmn51

2016-12-08 Thread Caesar Wang
= 800 .vsync_start = 803 .vsync_end = 808 .vtotal = 832 Signed-off-by: Caesar Wang --- Changes in v2: - fix the vsync_start and vsync_end from the edid. - change the commit. drivers/gpu/drm/panel/panel-simple.c | 31 +++ 1 file change

[PATCH v2 1/2] dt-bindings: display: Add BOE nv101wxmn51 panel binding

2016-12-08 Thread Caesar Wang
The BOE 10.1" NV101WXMN51 panel is an WXGA TFT LCD panel. Signed-off-by: Caesar Wang --- Changes in v2: None .../devicetree/bindings/display/panel/boe,nv101wxmn51.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/pane

[RESEND PATCH 2/2] drm/panel: simple: Add support BOE nv101wxmn51

2016-12-08 Thread Caesar Wang
10.1WXGA is a color active matrix TFT LCD module using amorphous silicon TFT's as an active switching devices. It can be supported by the simple-panel driver. Signed-off-by: Caesar Wang --- drivers/gpu/drm/panel/panel-simple.c | 31 +++ 1 file changed, 31 inser

[RESEND PATCH 1/2] dt-bindings: display: Add BOE nv101wxmn51 panel binding

2016-12-08 Thread Caesar Wang
The BOE 10.1" NV101WXMN51 panel is an WXGA TFT LCD panel. Signed-off-by: Caesar Wang --- .../devicetree/bindings/display/panel/boe,nv101wxmn51.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/boe,nv101wxmn5

[PATCH] drm/panel: simple: Add support BOE nv101wxmn51

2016-12-08 Thread Caesar Wang
Resend the missing document. Sorry for the noise. 在 2016年12月08日 13:26, Caesar Wang 写道: > 10.1WXGA is a color active matrix TFT LCD module using amorphous silicon > TFT's as an active switching devices. It can be supported by the > simple-panel driver. > > Signed

[PATCH] drm/panel: simple: Add support BOE nv101wxmn51

2016-12-08 Thread Caesar Wang
10.1WXGA is a color active matrix TFT LCD module using amorphous silicon TFT's as an active switching devices. It can be supported by the simple-panel driver. Signed-off-by: Caesar Wang --- drivers/gpu/drm/panel/panel-simple.c | 31 +++ 1 file changed, 31 inser

drm/bridge: analogix_dp: clear psr_support when disable_bridge

2016-11-09 Thread Caesar Wang
From: zain wang Don't run psr work during enabling bridge when you restart ui, it may make link training fail since there is a race between them in AUX CH resource. Signed-off-by: zain wang Signed-off-by: Caesar Wang Cc: Tomeu Vizoso Cc: dri-devel at lists.freedesktop.org Cc: Sean

[PATCH] drm/rockchip: fix compile warnings for 64-bit

2016-06-10 Thread Caesar Wang
t' > [-Wformat=] > DRM_ERROR("failed to allocate %#x byte dma buffer", obj->size); > ^ > > Signed-off-by: Brian Norris Tested-by: Caesar Wang > --- > drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 2 +- > drivers/gpu/drm/rockchip/rock

[PATCH v14.1 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2016-03-18 Thread Caesar Wang
> > They reason why connector need register in helper driver is rockchip drm > haven't implement the atomic API, but Exynos drm have implement it, so > there would need two different connector helper functions, that's why we > leave the connector register in helper driver. &g

[PATCH v14 11/17] drm: bridge: analogix/dp: add some rk3288 special registers setting

2016-03-18 Thread Caesar Wang
在 2016年02月15日 19:10, Yakir Yang 写道: > RK3288 need some special registers setting, we can separate > them out by the dev_type of plat_data. > > Signed-off-by: Yakir Yang Tested-by: Caesar Wang > --- > Changes in v14: None > Changes in v13: None > Changes i

[PATCH v14.1 09/17] drm: rockchip: dp: add rockchip platform dp driver

2016-03-18 Thread Caesar Wang
nillas Tested-by: Caesar Wang As the cover-letter said, verified on https://github.com/Caesar-github/rockchip/tree/veyron/next-stable-chromeos with linux-next for 20160317. > --- > Changes in v14.1: > - replace rockchip_drm_encoder_get_mux_id with the new >drm_of_encoder_active_

[PATCH v14 0/17] Add Analogix Core Display Port Driver

2016-03-18 Thread Caesar Wang
Hi all, I pick this series up and test on C101PA chromebook, after Heiko update the 3 patches. [v14.1,09/17] drm: rockchip: dp: add rockchip platform dp driver [v14.1,04/17] drm: bridge: analogix/dp: fix some obvious code style [v14.1,01/17] drm: bridge: analogix/dp: split exynos dp driver to br

[PATCH v7 0/2] Add Rockchip Inno-HDMI driver

2016-01-26 Thread Caesar Wang
Hi, 在 2016年01月26日 10:59, Yakir Yang 写道: > Here are a brief introduction to Innosilicon HDMI IP: >- Support HDMI 1.4a, HDCP 1.2 and DVI 1.0 standard compliant transmitter >- Support HDMI1.4 a/b 3D function defined in HDMI 1.4 a/b spec >- Digital video interface supports a pi

[PATCH v3 1/2] drm: rockchip/hdmi: add Innosilicon HDMI support

2016-01-24 Thread Caesar Wang
Hi 在 2016年01月18日 09:21, Mark yao 写道: > Hi Yakir > > I'd like you can change your patch title into "drm/rockchip/hdmi", so > when I search patches use "drm/rockchip" can find your patch. > > and I have some advices mail inline. > > Thanks:-) > > On 2016年01月15日 17:38, Yakir Yang w

[PATCH 2/2] drm/rockchip: Send events for same-fb flips

2015-11-23 Thread Caesar Wang
Hi, 于 2015年11月16日 20:50, Daniel Stone 写道: > Rockchip previously treated a pageflip to the same framebuffer as a > no-op, discarding the event if one was requested. This breaks Weston, > which, when idle, sends a no-op vblank event to discover vblank > timings if the vblank query interf

[PATCH] drm: rockchip: Turn off VT switching on suspend

2015-04-19 Thread Caesar Wang
Hi Mark, Can you apply it into your drm branch if it's indeed uesful for u? 在 2015年03月31日 18:22, Caesar Wang 写道: > drm/rockchip already has support for disabling all displays on suspend > and enabling them on resume. > > Disable automatic VT switching on suspend

[PATCH v3] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
To fix pop noise when shutdown,the pop noise during shutdown is the pmic cutoff power of codec without any notice. Signed-off-by: jay.xu Signed-off-by: zhengxing Signed-off-by: Caesar Wang --- Changes in v3: - modify the shutdown function before remove(..) - fix the `Serien-cc` Changes in

[PATCH v2] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
Kever, 在 2015年04月08日 18:51, Kever Yang 写道: > Hi Caesar, > > On 04/08/2015 06:18 PM, Caesar Wang wrote: >> To fix pop noise when shutdown,the pop noise during shutdown >> is the pmic cutoff power of codec without any notice. >> >> Signed-off-by: ja

[PATCH v2] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
To fix pop noise when shutdown,the pop noise during shutdown is the pmic cutoff power of codec without any notice. Signed-off-by: jay.xu Signed-off-by: zhengxing Signed-off-by: Caesar Wang Serien-cc: linux-kernel at vger.kernel.org Serien-cc: devicetree at vger.kernel.org Serien-cc: dianders

[PATCH] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
Mark, 在 2015年04月08日 17:50, Mark Brown 写道: > On Wed, Apr 08, 2015 at 04:52:08PM +0800, Caesar Wang wrote: > >> +static void max98090_i2c_shutdown(struct i2c_client *i2c) >> +{ >> +struct max98090_priv *max98090 = dev_get_drvdata(&i2c->dev); >>

[PATCH] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
Heiko, 在 2015年04月08日 17:25, Heiko Stübner 写道: > Hi Caesar, > > Am Mittwoch, 8. April 2015, 16:52:08 schrieb Caesar Wang: >> To fix pop noise when shutdown,the pop noise during shutdown >> is the pmic cutoff power of codec without any notice. >> >> Sig

[PATCH] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
To fix pop noise when shutdown,the pop noise during shutdown is the pmic cutoff power of codec without any notice. Signed-off-by: jay.xu Signed-off-by: zhengxing Signed-off-by: Caesar Wang Serien-cc: linux-kernel at vger.kernel.org Serien-cc: devicetree at vger.kernel.org Serien-cc: dianders

[PATCH 0/1] ASoC: max98090: add shutdown callback for max98090

2015-04-08 Thread Caesar Wang
Tested on veyron devices,play music then shutdown device,here carefully to speaker or headphone. Caesar Wang (1): ASoC: max98090: add shutdown callback for max98090 sound/soc/codecs/max98090.c | 17 + 1 file changed, 17 insertions(+) -- 1.9.1

[PATCH] drm: rockchip: Turn off VT switching on suspend

2015-03-31 Thread Caesar Wang
off-by: Caesar Wang --- drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c b/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c index a5d889a..eb4e0db 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_f

[PATCH 0/1] drm: rockchip: Turn off VT switching on suspend

2015-03-31 Thread Caesar Wang
drm/rockchip already has support for disabling all displays on suspend and enabling them on resume. Disable automatic VT switching on suspend by the pm console tracking layer. Tested on veyron, used `echo mem > sys/power/state` => verified no VT switch. Caesar Wang (1): drm: ro

[PATCH] drm/rockchip: vop: fix vop vsync/hsync polarity

2015-01-22 Thread Caesar Wang
> - val |= (adjusted_mode->flags & DRM_MODE_FLAG_NVSYNC) ? (1 << 1) : 0; > + val |= (adjusted_mode->flags & DRM_MODE_FLAG_NHSYNC) ? 0 : 1; > + val |= (adjusted_mode->flags & DRM_MODE_FLAG_NVSYNC) ? 0 : (1 << 1); Tested-by: Caesar Wang > VOP_CTRL_SET(vop, pin_pol, val); > > VOP_CTRL_SET(vop, htotal_pw, (htotal << 16) | hsync_len);