Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Stanislaw Gruszka
On Thu, Dec 04, 2014 at 03:52:52PM +1100, Julian Calaby wrote: On Thu, Dec 4, 2014 at 3:39 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Dec 04, 2014 at 07:07:58AM +0530, Parth Sane wrote: Hi, I'd say I'm midway through with c programming(part of my computer

Re: [PATCH v3] staging: rtl8192u: fix sparse warnings

2014-12-04 Thread Sudip Mukherjee
On Thu, Dec 04, 2014 at 04:12:47PM +0800, Fred Chou wrote: On 4/12/2014 3:34 PM, Sudip Mukherjee wrote: On Thu, Dec 04, 2014 at 10:50:43AM +0800, Fred Chou wrote: From: Fred Chou fred.chou...@gmail.com Fixed the following warnings in sparse:

Re: [PATCH] Staging: octeon: Added blank lines after declarations

2014-12-04 Thread Dan Carpenter
On Wed, Dec 03, 2014 at 10:35:03PM +, Jamie Lawler wrote: Hi, There are 2 missing blank lines after declarations in octeon/ethernet-rx.c. I have added them per the coding style. Regards, Jamie Lawler This is the changelog entry. Don't put email stuff here like the Hi and Regards,

Re: [PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-04 Thread Philipp Zabel
Hi Russell, Am Mittwoch, den 03.12.2014, 16:30 + schrieb Russell King - ARM Linux: On Wed, Dec 03, 2014 at 05:20:15PM +0100, Philipp Zabel wrote: Hi Andy, It would be better if the bind function would not have to care about platform resources, that should be handled in the probe

Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Luca Olivetti
El 04/12/14 a les 02:24, Greg Kroah-Hartman ha escrit: On Sun, Nov 30, 2014 at 06:55:12PM +, Parth Sane wrote: Hi Greg, You can find the source code attached as a tarball. It works and I have tested it myself. You only need to use make and make install for this. This really looks like

Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Oleksij Rempel
Am 04.12.2014 um 09:23 schrieb Stanislaw Gruszka: On Thu, Dec 04, 2014 at 03:52:52PM +1100, Julian Calaby wrote: On Thu, Dec 4, 2014 at 3:39 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Dec 04, 2014 at 07:07:58AM +0530, Parth Sane wrote: Hi, I'd say I'm midway through

Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Parth Sane
Hi, Guys I'll be using my other account on my private domain laer.in now onwards. Be sure to add me in your contacts. My new email is parths...@laer.in -Parth On 4 December 2014 at 14:19, Oleksij Rempel li...@rempel-privat.de wrote: Am 04.12.2014 um 09:23 schrieb Stanislaw Gruszka: On Thu, Dec

Re: [PATCH v3] staging: rtl8192u: fix sparse warnings

2014-12-04 Thread Fred Chou
On 4/12/2014 4:30 PM, Sudip Mukherjee wrote: On Thu, Dec 04, 2014 at 04:12:47PM +0800, Fred Chou wrote: On 4/12/2014 3:34 PM, Sudip Mukherjee wrote: On Thu, Dec 04, 2014 at 10:50:43AM +0800, Fred Chou wrote: From: Fred Chou fred.chou...@gmail.com Fixed the following warnings in sparse:

[PATCH v17 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-04 Thread Andy Yan
We found Freescale imx6 and Rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only be

Re: [PATCH v3] staging: rtl8192u: fix sparse warnings

2014-12-04 Thread Sudip Mukherjee
patch with checkpatch --strict , checkpatch will report if alignment is right or wrong. this time reset your source to next-20141204 , then create your patch from scratch. thanks sudip Fred sudip drivers/staging/rtl8192u/r8192U_core.c | 12 +++- 1 file changed, 7

[PATCH v17 02/12] drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter

2014-12-04 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in

[PATCH v17 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-04 Thread Andy Yan
IMX6 and Rockchip RK3288 and JZ4780 (Ingenic Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx

[PATCH v17 04/12] drm: imx: imx-hdmi: split phy configuration to platform driver

2014-12-04 Thread Andy Yan
hdmi phy configuration is platform specific, which can be adusted according to the board to get the best SI Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: - split phy configuration from

[PATCH v17 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-04 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: - remove prompt message of dw_hdmi, adviced by Russel King Changes in v16: None

[PATCH v17 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-12-04 Thread Andy Yan
CHECK: Alignment should match open parenthesis + if ((hdmi-vic == 10) || (hdmi-vic == 11) || + (hdmi-vic == 12) || (hdmi-vic == 13) || CHECK: braces {} should be used on all arms of this statement + if (hdmi-hdmi_data.video_mode.mdvi) [...] + else { [...]

[PATCH v17 06/12] dt-bindings: add document for dw_hdmi

2014-12-04 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: - describe ddc-i2c-bus as optional - add common clocks bindings Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9:

[PATCH v17 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-12-04 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: None Changes in v15: - remove unio of the

[PATCH v17 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-12-04 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: - remove drm_connector_register, because imx-drm core has registered connector

Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Oleksij Rempel
Am 04.12.2014 um 10:26 schrieb Parth Sane: Hi, Guys I'll be using my other account on my private domain laer.in now onwards. Be sure to add me in your contacts. My new email is parths...@laer.in -Parth On 4 December 2014 at 14:19, Oleksij Rempel li...@rempel-privat.de wrote: Am 04.12.2014

[PATCH v17 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-12-04 Thread Andy Yan
HDMI_IH_I2CMPHY_STAT0 is a clear on write register, which indicates i2cm operation status(i2c transfer done or error), every hdmi phy register configuration must check this register to make sure the configuration has complete. But the indication bit should be cleared after check, otherwise the

[PATCH v17 10/12] drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare

2014-12-04 Thread Andy Yan
RK3288 HDMI will not work without the spare bit of HDMI_PHY_CONF0 enable Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None

Re: [PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-04 Thread Russell King - ARM Linux
On Thu, Dec 04, 2014 at 09:40:10AM +0100, Philipp Zabel wrote: You are right, no I don't want this. When I initially wrote this patch I was under the impression that the memory allocated by devm_kzalloc in bind() wouldn't be freed on unbind(). Resources claimed inside bind() will be freed in

[PATCH v17 11/12] dt-bindings: Add documentation for rockchip dw hdmi

2014-12-04 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: - modify clocks bindings - descrbie ddc-i2c-bus as optional Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None

[PATCH v17 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-04 Thread Andy Yan
Rockchip RK3288 hdmi is compatible with dw_hdmi this patch is depend on patch by Mark Yao see https://lkml.org/lkml/2014/12/2/161 drm: rockchip: Add basic drm driver Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: - parse resource and irq in platform driver Changes in v16:

Re: [PATCH v2 00/11] staging: comedi: addi_apci_1500: initial cleanup

2014-12-04 Thread Ian Abbott
On 03/12/14 18:25, H Hartley Sweeten wrote: This driver is pretty broken but in the current state its difficult to figure out where to fix it. Introduce a couple helper functions to handle the read/write and reset of the Z8536 CIO chip. This removes quite a bit of lines of code and makes the

Re: [PATCH v17 06/12] dt-bindings: add document for dw_hdmi

2014-12-04 Thread Philipp Zabel
Hi Andy, Am Donnerstag, den 04.12.2014, 18:06 +0800 schrieb Andy Yan: Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: - describe ddc-i2c-bus as optional - add common clocks bindings Changes in v15: None Changes in v14: None Changes in v13:

[PATCH] staging: rtl8723au: hal: Added blank line after declaration

2014-12-04 Thread Anjana Sasindran
This patch fix the checkpatch.pl warning: WARNING: Missing blank line after declaration Signed-off-by: Anjana Sasindran anjanasasindran...@gmail.com --- drivers/staging/rtl8723au/hal/odm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/rtl8723au/hal/odm.c

[PATCH] Staging: octeon: Add blank lines after declarations

2014-12-04 Thread Jamie Lawler
There are 2 missing blank lines after variable declarations in octeon/ethernet-rx.c. They have been added per the coding style. Signed-off-by: Jamie Lawler jamie.law...@gmail.com --- drivers/staging/octeon/ethernet-rx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v3] Staging: rtl8188eu: {core, hal, include}: Removed inline function

2014-12-04 Thread Abel Moyo
Removed inline function get_my_bssid and open coded all its references Signed-off-by: Abel Moyo abelmoyo...@gmail.com --- Changes in v3: - Retested patch and fixed build errors drivers/staging/rtl8188eu/core/rtw_mlme_ext.c| 53 +++-

Re: [PATCH v17 06/12] dt-bindings: add document for dw_hdmi

2014-12-04 Thread Andy Yan
Hi Philipp: On 2014年12月04日 19:30, Philipp Zabel wrote: Hi Andy, Am Donnerstag, den 04.12.2014, 18:06 +0800 schrieb Andy Yan: Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: - describe ddc-i2c-bus as optional - add common clocks bindings Changes in

[PATCH] staging: rtl8723au: hal: Removed space before semicolon

2014-12-04 Thread Anjana Sasindran
This patch fix the checkpatch.pl warning: WARNING: spaces prohibited before semicolon Signed-off-by: Anjana Sasindran anjanasasindran...@gmail.com --- drivers/staging/rtl8723au/hal/odm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/odm.c

Re: [PATCH v2 0/2] mmc: rtsx: add support for sdio card

2014-12-04 Thread Ulf Hansson
On 2 December 2014 at 02:36, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn v3: rtsx_pci_sdmmc.c: - dump_reg_range - remove unused pointer check - fix start index I can't find v3. Kind regards Uffe v2: rtsx_pci.h: - remove

Re: Ralink 6570 / Mediatek MT7601STA (was Re: Addition of a wifi kernel module to the linux source tree)

2014-12-04 Thread Stanislaw Gruszka
On Thu, Dec 04, 2014 at 09:49:53AM +0100, Oleksij Rempel wrote: So far i know, Felix is working on abgn+ac (MT7662 and MT7612) devices. MT7601STA is (a)bgn. Are there similar regs? All Mediatek/Ralink devices I know have the same MAC registers, but different BBP and RF registers. In mt7601

Re: [PATCH v2] staging: media: lirc: lirc_zilog.c: fix quoted strings split across lines

2014-12-04 Thread Mauro Carvalho Chehab
Hi Luis, Em Tue, 25 Nov 2014 20:36:29 + Luis de Bethencourt l...@debethencourt.com escreveu: checkpatch makes an exception to the 80-colum rule for quotes strings, and Documentation/CodingStyle recommends not splitting quotes strings across lines because it breaks the ability to grep for

Re: [PATCH v2] Staging: dgnc: Fix long line coding style issues in dgnc_cls.h

2014-12-04 Thread Mark Hounschell
On 12/03/2014 06:37 PM, Joe Perches wrote: On Wed, 2014-12-03 at 21:30 +, Sean Cleator wrote: A patch to fix the rest of the long line warnings in the dgnc_cls.h file found by the checkpatch.pl tool checkpatch is a brainless little tool. You should prefer to develop a readable style

[PATCH V2 0/3] Drivers: hv: hv_balloon

2014-12-04 Thread K. Y. Srinivasan
Some bug fixes for the balloon driver. In this version, based on Dan Carpenter's comment, I have added some additional information to the change log. K. Y. Srinivasan (3): Drivers: hv: hv_balloon: Make adjustments in computing the floor Drivers: hv: hv_balloon: Fix a locking bug in the

[PATCH V2 1/3] Drivers: hv: hv_balloon: Make adjustments in computing the floor

2014-12-04 Thread K. Y. Srinivasan
Make adjustments in computing the balloon floor. The current computation of the balloon floor was not appropriate for virtual machines with more than 10 GB of assigned memory - we would get into situations where the host would agressively balloon down the guest and leave the guest in an unusable

[PATCH V2 2/3] Drivers: hv: hv_balloon: Fix a locking bug in the balloon driver

2014-12-04 Thread K. Y. Srinivasan
We support memory hot-add in the Hyper-V balloon driver by hot adding an appropriately sized and aligned region and controlling the on-lining of pages within that region based on the pages that the host wants us to online. We do this because the granularity and alignment requirements in Linux

[PATCH V2 3/3] Drivers: hv: hv_balloon: Don't post pressure status from interrupt context

2014-12-04 Thread K. Y. Srinivasan
We currently release memory (balloon down) in the interrupt context and we also post memory status while releasing memory. Rather than posting the status in the interrupt context, wakeup the status posting thread to post the status. This will address the inconsistent lock state that Sitsofe

[PATCH 07/12] staging: rtl8723au: There is no 11N pseudo PHY here

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c| 12 drivers/staging/rtl8723au/include/Hal8723APhyCfg.h | 1 - 2 files changed, 13 deletions(-) diff --git

[PATCH 03/12] staging: rtl8723au: Use proper enum defines

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/hal/usb_halinit.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/usb_halinit.c

[PATCH 02/12] staging: rtl8723au: Use correct register names to set parameters to reduce 80M spur

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Use the correct register names when setting parameters to reduce 80M spur. In addition apply updated 80M spur reduction parameters. Original patch supplied by Andrew Chang andrew.ch...@realtek.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com ---

[PATCH 10/12] staging: rtl8723au: Hal8723PwrSeq.h: Remove PCI specific entries from the power sequence tables

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/include/Hal8723PwrSeq.h | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/staging/rtl8723au/include/Hal8723PwrSeq.h

[PATCH 04/12] staging: rtl8723au: Use enum for counter and avoid ugly typecast

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c

[PATCH 08/12] staging: rtl8723au: Hal8723APhyCfg.h: Remove more unused #defines

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/include/Hal8723APhyCfg.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtl8723au/include/Hal8723APhyCfg.h

[PATCH 01/12] staging: rtl8723au: usb_dvobj_init(): A NULL pointer check for usb_host_endpoints makes no sense

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com struct usb_host_interface points to an array of struct usb_host_endpoints - it makes no sense to do a NULL pointer check for each pointer. Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/os_dep/usb_intf.c | 72

[PATCH 09/12] staging: rtl8723au: HalPwrSeqCmdParsing23a(): Avoid unnecessary variable inits

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/hal/HalPwrSeqCmd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/HalPwrSeqCmd.c

[PATCH 11/12] staging: rtl8723au: Hal8723PwrSeq.h: Remove SDIO specific entries

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/include/Hal8723PwrSeq.h | 40 +++ 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/drivers/staging/rtl8723au/include/Hal8723PwrSeq.h

[PATCH 00/12] staging: rtl8723au: Further cleanups

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Hi, This set removes a bunch of unused code, in addition it includes a fix for using the right register definitions to when setting parameters to reduce 80M spur. This set should apply cleanly to staging-next as of today. Cheers, Jes Jes Sorensen

[PATCH 12/12] staging: rtl8723au: Hal8723PwrSeq.h: Use BIT() define to match mask value

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com This is a no-op change, but it improves consistency. Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/include/Hal8723PwrSeq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 06/12] staging: rtl8723au: Baseband is always configured through PHY regs

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c| 19 --- drivers/staging/rtl8723au/include/Hal8723APhyCfg.h | 5 - 2 files changed, 8 insertions(+), 16 deletions(-) diff

[PATCH 05/12] staging: rtl8723au: Hal8723APhyCfg.h: Remove some undefined structs and enums

2014-12-04 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- drivers/staging/rtl8723au/include/Hal8723APhyCfg.h | 39 -- 1 file changed, 39 deletions(-) diff --git a/drivers/staging/rtl8723au/include/Hal8723APhyCfg.h

[PATCH v3 1/2] staging: media: lirc: lirc_zilog.c: fix quoted strings split across lines

2014-12-04 Thread Luis de Bethencourt
checkpatch makes an exception to the 80-column rule for quotes strings, and Documentation/CodingStyle recommends not splitting quotes strings across lines because it breaks the ability to grep for the string. Fixing these. WARNING: quoted string split across lines Signed-off-by: Luis de

[PATCH v3 2/2] staging: media: lirc: lirc_zilog.c: keep consistency in dev functions

2014-12-04 Thread Luis de Bethencourt
The previous patch switched some dev functions to move the string to a second line. Doing this for all similar functions because it makes the driver easier to read if all similar lines use the same criteria. Signed-off-by: Luis de Bethencourt l...@debethencourt.com ---

Re: [PATCH v2] staging: media: lirc: lirc_zilog.c: fix quoted strings split across lines

2014-12-04 Thread Luis de Bethencourt
On Thu, Dec 04, 2014 at 01:16:11PM -0200, Mauro Carvalho Chehab wrote: Hi Luis, Em Tue, 25 Nov 2014 20:36:29 + Luis de Bethencourt l...@debethencourt.com escreveu: checkpatch makes an exception to the 80-colum rule for quotes strings, and Documentation/CodingStyle recommends not

[PATCH 1/1] Drivers: hv: vmbus: Implement a clockevent device

2014-12-04 Thread K. Y. Srinivasan
Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- arch/x86/include/uapi/asm/hyperv.h | 11 + drivers/hv/hv.c| 78 drivers/hv/hyperv_vmbus.h | 21 ++ drivers/hv/vmbus_drv.c | 40

RE: [PATCH 1/1] Drivers: hv: vmbus: Implement a clockevent device

2014-12-04 Thread KY Srinivasan
-Original Message- From: K. Y. Srinivasan [mailto:k...@microsoft.com] Sent: Thursday, December 4, 2014 6:07 PM To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com Cc: KY Srinivasan

[PATCH V2 1/1] Drivers: hv: vmbus: Implement a clockevent device

2014-12-04 Thread K. Y. Srinivasan
Implement a clockevent device based on the timer support available on Hyper-V. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- arch/x86/include/uapi/asm/hyperv.h | 11 + drivers/hv/hv.c| 78 drivers/hv/hyperv_vmbus.h

[PATCH] staging: vt6655: Declare vnt_init() static

2014-12-04 Thread Sören Brinkmann
Fix sparse warning: drivers/staging/vt6655/device_main.c:1672:5: warning: symbol 'vnt_init' was not declared. Should it be static? Signed-off-by: Sören Brinkmann soeren.brinkm...@gmail.com --- drivers/staging/vt6655/device_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v2 0/2] mmc: rtsx: add support for sdio card

2014-12-04 Thread 敬锐
On 12/04/2014 09:52 PM, Ulf Hansson wrote: v3: rtsx_pci_sdmmc.c: - dump_reg_range - remove unused pointer check - fix start index I can't find v3. Kind regards Uffe Sorry for mistake, This is v3, but subject is wrong. ___

[PATCH v4 2/6] mmc: rtsx: add dump_reg_range to simplify dump register

2014-12-04 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Add a new function to dump register within a range. We print 1 register a line before this patch, this may make debug info too long when we add more register to dump. The new dump_reg_range() dump to 8 register a line, and it is easy to use.

[PATCH v4 0/6] mmc: rtsx: add support for sdio card

2014-12-04 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn v4: split patch in more detailed patches. no code changes diff v3. v3: rtsx_pci_sdmmc.c: - dump_reg_range - remove unused pointer check - fix start index v2: rtsx_pci.h: - remove unused rtsx_pci_write_le32 - add

[PATCH v4 4/6] mmc: rtsx: add helper function to simplify code

2014-12-04 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn To support sdio card, transfer mode need make a change, this need to split code and use it in different place, Add new function to simplify repeat operation. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mmc/host/rtsx_pci_sdmmc.c

[PATCH v4 5/6] mmc: rtsx: add support for sdio card

2014-12-04 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Modify transfer mode for support sdio card, send cmd and data at the same time for read data transfer, but send data after cmd for write data transfer. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mmc/host/rtsx_pci_sdmmc.c | 231

[PATCH v4 3/6] mmc: rtsx: init cookie at probe/card_event

2014-12-04 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn host-cookie is used for handle async request, we should init it to negative value when new card inserted, make cookie value invalid. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mmc/host/rtsx_pci_sdmmc.c | 2 ++ 1 file changed, 2

[PATCH v4 6/6] mmc: rtsx: swap function position to avoid pre declaration

2014-12-04 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn move function sd_read_data()/sd_write_data() behind sd_send_cmd_get_rsp() to avoid pre-declaration. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mmc/host/rtsx_pci_sdmmc.c | 200 +++--- 1 file

[PATCH v4 1/6] mfd: rtsx: add func to split u32 into register

2014-12-04 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Add helper function to write u32 to registers, if we want to put u32 value to 4 continuous register, this can help us reduce tedious work. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn Acked-by: Lee Jones lee.jo...@linaro.org ---

[PATCH v18 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-04 Thread Andy Yan
We found Freescale imx6 and Rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only be

[PATCH v18 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-12-04 Thread Andy Yan
CHECK: Alignment should match open parenthesis + if ((hdmi-vic == 10) || (hdmi-vic == 11) || + (hdmi-vic == 12) || (hdmi-vic == 13) || CHECK: braces {} should be used on all arms of this statement + if (hdmi-hdmi_data.video_mode.mdvi) [...] + else { [...]

[PATCH v18 02/12] drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter

2014-12-04 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in

[PATCH v18 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-04 Thread Andy Yan
IMX6 and Rockchip RK3288 and JZ4780 (Ingenic Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx

[PATCH v18 04/12] drm: imx: imx-hdmi: split phy configuration to platform driver

2014-12-04 Thread Andy Yan
hdmi phy configuration is platform specific, which can be adusted according to the board to get the best SI Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: - split phy

[PATCH v18 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-04 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: - remove prompt message of dw_hdmi, adviced by Russel King

[PATCH v18 06/12] dt-bindings: add document for dw_hdmi

2014-12-04 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: - add port bindings - correct some spelling mistakes in dw_hdmi bindings doc Changes in v17: None Changes in v16: - describe ddc-i2c-bus as optional - add common clocks bindings Changes in v15: None Changes in v14: None

[PATCH v18 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-12-04 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: - remove

[PATCH v18 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-12-04 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: - remove drm_connector_register, because imx-drm core has

[PATCH v18 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-12-04 Thread Andy Yan
HDMI_IH_I2CMPHY_STAT0 is a clear on write register, which indicates i2cm operation status(i2c transfer done or error), every hdmi phy register configuration must check this register to make sure the configuration has complete. But the indication bit should be cleared after check, otherwise the

[PATCH v18 10/12] drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare

2014-12-04 Thread Andy Yan
RK3288 HDMI will not work without the spare bit of HDMI_PHY_CONF0 enable Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None

[PATCH v18 11/12] dt-bindings: Add documentation for rockchip dw hdmi

2014-12-04 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: - correct some spelling mistakes in dw_hdmi-rockchip bindings doc Changes in v17: None Changes in v16: - modify clocks bindings - descrbie ddc-i2c-bus as optional Changes in v15: None Changes in v14: None Changes in v13: None

[PATCH v18 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-04 Thread Andy Yan
Rockchip RK3288 hdmi is compatible with dw_hdmi this patch is depend on patch by Mark Yao drm: rockchip: Add basic drm driver see https://lkml.org/lkml/2014/12/2/161 Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: - parse resource and irq in platform

Re: [PATCH V2 1/1] Drivers: hv: vmbus: Implement a clockevent device

2014-12-04 Thread Jason Wang
On Fri, Dec 5, 2014 at 10:18 AM, K. Y. Srinivasan k...@microsoft.com wrote: Implement a clockevent device based on the timer support available on Hyper-V. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- arch/x86/include/uapi/asm/hyperv.h | 11 + drivers/hv/hv.c