[PATCH v3 02/10] mmc: dt-bindings: update Mediatek MMC bindings

2015-10-27 Thread Chaotian Jing
Add 400Mhz clock source for HS400 mode Signed-off-by: Chaotian Jing --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt

[PATCH v3 05/10] mmc: mediatek: fix got GPD checksum error interrupt when data transfer

2015-10-27 Thread Chaotian Jing
Even if we only use one gpd, we need alloc 2 gpd and make the gpd->next pointer to the second gpd, or may get gpd checksum error, this was checked by hardware Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 11 +++ 1 file changed, 7

[PATCH v3 03/10] mmc: mediatek: make cmd_ints_mask to const

2015-10-27 Thread Chaotian Jing
cmd_ints_mask and data_ints_mask are constant value, so make it to const Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/host/mtk-sd.c

[PATCH v3 01/10] mmc: core: Add DT bindings for eMMC hardware reset support

2015-10-27 Thread Chaotian Jing
Sometime only need set MMC_CAP_HW_RESET for one of MMC hosts, So set it in device tree is better. Signed-off-by: Chaotian Jing --- Documentation/devicetree/bindings/mmc/mmc.txt | 1 + drivers/mmc/core/host.c | 2 ++ 2 files changed, 3

[PATCH v3 04/10] mmc: mediatek: change the argument "ddr" to "timing"

2015-10-27 Thread Chaotian Jing
use the ios->timing directly is better It can reflect current timing and do settings by timing Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git

[PATCH v3 09/10] mmc: mediatek: add HS400 support

2015-10-27 Thread Chaotian Jing
add HS400 mode and tune support Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 249 +- 1 file changed, 244 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c

[PATCH v3 10/10] arm64: dts: mediatek: add HS200/HS400/SDR50/SDR104 support

2015-10-27 Thread Chaotian Jing
add HS200/HS400 support for eMMC add SDR50/SDR104 support for SD Signed-off-by: Chaotian Jing --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git

[PATCH v3 08/10] mmc: mmc: extend the mmc_send_tuning()

2015-10-27 Thread Chaotian Jing
The mmc_execute_tuning() has already prepared the opcode, there is no need to prepare it again at mmc_send_tuning(), and, there is a BUG of mmc_send_tuning() to determine the opcode by bus width, assume eMMC was running at HS200, 4bit mode, then the mmc_send_tuning() will overwrite the opcode from

[PATCH v3 06/10] mmc: mediatek: add implement of ops->hw_reset()

2015-10-27 Thread Chaotian Jing
add implement of ops->hw_reset() for eMMC Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 3858163..5627644 100644 ---

RE: [PATCH v5 0/8] Add support for Exynos SROM Controller driver

2015-10-27 Thread Pavel Fedin
Hello! > You may need to fetch again? > Anyway the branch is v4.4-next/driver-samsung or tags/samsung-driver... > Or just for-next should be fine I think. Thank you very much, already found it, and even posted my series, you should have already seen it. Kind regards, Pavel Fedin Expert

[PATCH v3 07/10] arm64: dts: mediatek: add eMMC hw reset support

2015-10-27 Thread Chaotian Jing
Add eMMC hardware reset support Signed-off-by: Chaotian Jing --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts index

[PATCH v3 00/10] Add tune support of Mediatek MMC driver

2015-10-27 Thread Chaotian Jing
Change in v3: Fix checkpatch errors and warnings for patch 8 Split patch 9, make DT parts enabling hw reset separately Change in v2: Drop the 400mhz and use assigned-clock-parents to instead Split the original tune patch to several independent patches Re-write the mmc_send_tuning() Fix GPD

[PATCH v2 1/4] ARM: dts: Add SROMc to Exynos 5410

2015-10-27 Thread Pavel Fedin
This machine uses own SoC device tree file, add missing part. Signed-off-by: Pavel Fedin --- arch/arm/boot/dts/exynos5410.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi index

[PATCH v2 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-10-27 Thread Pavel Fedin
This patch extends Exynos SROM controller driver with ability to configure controller outputs and enables SMSC9115 Ethernet chip on SMDK5410 board, which is connected via SROMc bank #3. With this patchset, support for the whole existing SMDK range can be added. Actually, only bank number is

[PATCH v2 2/4] drivers: exynos-srom: Add support for bank configuration

2015-10-27 Thread Pavel Fedin
Bindings are based on u-boot implementation, however they are stored in subnodes, providing support for more than one bank. Since the driver now does more than suspend-resume support, dependency on CONFIG_PM is removed. Signed-off-by: Pavel Fedin ---

[PATCH v2 3/4] ARM: dts: Add Ethernet chip to SMDK5410

2015-10-27 Thread Pavel Fedin
The chip is smsc9115, connected via SROMc bank 3. Additionally, some GPIO initialization is required. Signed-off-by: Pavel Fedin --- arch/arm/boot/dts/exynos5410-smdk5410.dts | 42 +++ 1 file changed, 42 insertions(+) diff --git

[PATCH v2 4/4] Documentation: dt-bindings: Describe SROMc configuration

2015-10-27 Thread Pavel Fedin
Add documentation for new properties, allowing bank configuration. Signed-off-by: Pavel Fedin --- .../bindings/arm/samsung/exynos-srom.txt | 24 +- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git

RE: [PATCH 4/4] Documentation: dt-bindings: Describe SROMc configuration

2015-10-27 Thread Pavel Fedin
Hello! > > +Bank configurations can be defined as an optional subnodes. They can have > > the > > +following properties: > > +- bank : bank number (0 - 3) > > +- width : data width in bytes (1 or 2). If omitted, default of 1 is used. > > +- srom-timing : array of 7 integers: Tacp, Tcah, Tcoh,

Re: [PATCH v3 00/10] Add tune support of Mediatek MMC driver

2015-10-27 Thread Ulf Hansson
On 27 October 2015 at 07:24, Chaotian Jing wrote: > Change in v3: > Fix checkpatch errors and warnings for patch 8 > Split patch 9, make DT parts enabling hw reset separately > > Change in v2: > Drop the 400mhz and use assigned-clock-parents to instead > Split the

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-27 Thread Ulf Hansson
On 21 October 2015 at 17:15, Javier Martinez Canillas wrote: > The pwrseq_emmc driver does a eMMC card reset before a system reboot to > allow broken or limited ROM boot-loaders (that don't have an eMMC reset > logic) to be able to read the second stage from the eMMC. > >

Re: [rtc-linux] [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Alexandre Belloni
On 26/10/2015 at 18:21:22 +0530, Alim Akhtar wrote : > RTC found in s2mps15 is almost same as one found in s2mps14. > This patch add required changes to enable s2mps15 rtc timer. > > Signed-off-by: Alim Akhtar One really small nitpick below else you can add my Acked-by:

Re: [PATCH v7 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-27 Thread Heiko Stuebner
Am Samstag, 24. Oktober 2015, 11:06:04 schrieb Yakir Yang: > Add phy driver for the Rockchip DisplayPort PHY module. This > is required to get DisplayPort working in Rockchip SoCs. > > Tested-by: Javier Martinez Canillas > Signed-off-by: Yakir Yang >

Re: [PATCH v7 09/17] Documentation: drm/bridge: add document for analogix_dp

2015-10-27 Thread Heiko Stuebner
Patch subject should probably be something like: dt-bindings: add document for rockchip variant of analogix_dp or similar, but definitly should mention that it's the Rockchip variant. Am Samstag, 24. Oktober 2015, 11:06:03 schrieb Yakir Yang: > Rockchip DP driver is a helper driver of

Re: [PATCH v7 06/17] Documentation: drm/bridge: add document for analogix_dp

2015-10-27 Thread Heiko Stuebner
Hi Yakir, Am Samstag, 24. Oktober 2015, 11:06:00 schrieb Yakir Yang: > Analogix dp driver is split from exynos dp driver, so we just > make an copy of exynos_dp.txt, and then simplify exynos_dp.txt > > Beside update some exynos dtsi file with the latest change > according to the devicetree

Re: [PATCH v7 11/17] Documentation: phy: add document for rockchip dp phy

2015-10-27 Thread Heiko Stuebner
Am Samstag, 24. Oktober 2015, 11:06:37 schrieb Yakir Yang: > Add dt binding documentation for rockchip display port PHY. > > Tested-by: Javier Martinez Canillas > Signed-off-by: Yakir Yang > --- phy binding looks nice and easy Reviewed-by: Heiko

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Krzysztof Kozlowski
On 26.10.2015 21:51, Alim Akhtar wrote: > S2MPS15 PMIC has three 32k buffered clocks outputs. This patch > adds supports for the same to the s2mps11 clock driver. > > Signed-off-by: Alim Akhtar > --- > drivers/clk/Kconfig |5 +++-- > drivers/clk/clk-s2mps11.c

Re: [PATCH v2 09/10] dt-bindings: video: exynos5433-decon: add bindings for DECON-TV

2015-10-27 Thread Krzysztof Kozlowski
On 26.10.2015 20:59, Andrzej Hajda wrote: > DECON-TV(Display and Enhancement Controller for TV) is a variation > of DECON IP. Its main purpose is to produce video stream for HDMI IP. > > Signed-off-by: Andrzej Hajda > --- > Hi Krzysztof, > > I have decided to skip cleanup

Re: [PATCH v3 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-27 Thread Krzysztof Kozlowski
On 26.10.2015 21:51, Alim Akhtar wrote: > From: Thomas Abraham > > Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC. The S2MPS15 > PMIC supports 27 LDO regulators, 10 buck regulators, RTC, three 32.768KHz > clock outputs and battery charger. This patch adds

Re: [PATCH v7 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-27 Thread Yakir Yang
On 10/28/2015 05:23 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:04 schrieb Yakir Yang: Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Tested-by: Javier Martinez Canillas

Re: [PATCH v7 11/17] Documentation: phy: add document for rockchip dp phy

2015-10-27 Thread Heiko Stuebner
Am Samstag, 24. Oktober 2015, 11:06:37 schrieb Yakir Yang: > Add dt binding documentation for rockchip display port PHY. > > Tested-by: Javier Martinez Canillas > Signed-off-by: Yakir Yang > --- > Changes in v7: None > Changes in v6: None > Changes

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Krzysztof Kozlowski
On 26.10.2015 21:51, Alim Akhtar wrote: > RTC found in s2mps15 is almost same as one found in s2mps14. > This patch add required changes to enable s2mps15 rtc timer. > > Signed-off-by: Alim Akhtar > --- > drivers/rtc/rtc-s5m.c | 14 +- > 1 file changed, 13

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Mark Brown
On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: > If that's true, then don't add new compatibles, new names etc. Re-use. > No new code needed, no changes needed. Keep it simple. Well, it depends - it can be useful to get the information about it being a different part into

Re: [PATCH v2 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-10-27 Thread Krzysztof Kozlowski
On 27.10.2015 17:43, Pavel Fedin wrote: > This patch extends Exynos SROM controller driver with ability to configure > controller outputs and enables SMSC9115 Ethernet chip on SMDK5410 board, > which is connected via SROMc bank #3. > > With this patchset, support for the whole existing SMDK range

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Krzysztof Kozlowski
On 26.10.2015 21:51, Alim Akhtar wrote: > S2MPS15 PMIC has three 32k buffered clocks outputs. This patch > adds supports for the same to the s2mps11 clock driver. > > Signed-off-by: Alim Akhtar > --- > drivers/clk/Kconfig |5 +++-- > drivers/clk/clk-s2mps11.c

Re: [PATCH v3 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-27 Thread Krzysztof Kozlowski
On 26.10.2015 23:34, Lee Jones wrote: > On Mon, 26 Oct 2015, Alim Akhtar wrote: > >> From: Thomas Abraham >> >> Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC. The S2MPS15 >> PMIC supports 27 LDO regulators, 10 buck regulators, RTC, three 32.768KHz >> clock

Re: [PATCH 0/7] add atomic_check callback to exynos_crtc

2015-10-27 Thread Krzysztof Kozlowski
On 26.10.2015 21:03, Andrzej Hajda wrote: > Hi Inki, > > This patchset removes hacky mode validation in Mixer driver by adding > atomic_check callback to exynos_crtc and replacing direct function call > with DRM framework validation. As a result HDMI driver does not depend anymore > on MIXER

Re: [PATCH v7 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-27 Thread Yakir Yang
On 10/28/2015 05:23 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:04 schrieb Yakir Yang: Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Tested-by: Javier Martinez Canillas

Re: [PATCH v2 1/4] ARM: dts: Add SROMc to Exynos 5410

2015-10-27 Thread Krzysztof Kozlowski
On 27.10.2015 17:43, Pavel Fedin wrote: > This machine uses own SoC device tree file, add missing part. > > Signed-off-by: Pavel Fedin > --- > arch/arm/boot/dts/exynos5410.dtsi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos5410.dtsi

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 10:53, Mark Brown wrote: > On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: > >> If that's true, then don't add new compatibles, new names etc. Re-use. >> No new code needed, no changes needed. Keep it simple. > > Well, it depends - it can be useful to get the

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Alim Akhtar
On 10/28/2015 10:04 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:26, Krzysztof Kozlowski wrote: On 26.10.2015 21:51, Alim Akhtar wrote: S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to the s2mps11 clock driver. Signed-off-by: Alim Akhtar

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 12:14, Alim Akhtar wrote: > Hello, > > On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: >> On 28.10.2015 10:53, Mark Brown wrote: >>> On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: >>> If that's true, then don't add new compatibles, new names etc.

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Alim Akhtar
Hello On 10/28/2015 06:52 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:51, Alim Akhtar wrote: S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to the s2mps11 clock driver. Signed-off-by: Alim Akhtar ---

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 10:26, Krzysztof Kozlowski wrote: > On 26.10.2015 21:51, Alim Akhtar wrote: >> S2MPS15 PMIC has three 32k buffered clocks outputs. This patch >> adds supports for the same to the s2mps11 clock driver. >> >> Signed-off-by: Alim Akhtar >> --- >>

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Alim Akhtar
Hello, On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:53, Mark Brown wrote: On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: If that's true, then don't add new compatibles, new names etc. Re-use. No new code needed, no changes needed. Keep it simple.

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Alim Akhtar
On 10/28/2015 09:01 AM, Krzysztof Kozlowski wrote: On 28.10.2015 12:14, Alim Akhtar wrote: Hello, On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:53, Mark Brown wrote: On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: If that's true, then don't add

Re: [PATCH 0/7] add atomic_check callback to exynos_crtc

2015-10-27 Thread Inki Dae
2015년 10월 28일 10:37에 Krzysztof Kozlowski 이(가) 쓴 글: > On 26.10.2015 21:03, Andrzej Hajda wrote: >> Hi Inki, >> >> This patchset removes hacky mode validation in Mixer driver by adding >> atomic_check callback to exynos_crtc and replacing direct function call >> with DRM framework validation. As a

Re: [PATCH 0/7] add atomic_check callback to exynos_crtc

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 14:30, Inki Dae wrote: > > > 2015년 10월 28일 10:37에 Krzysztof Kozlowski 이(가) 쓴 글: >> On 26.10.2015 21:03, Andrzej Hajda wrote: >>> Hi Inki, >>> >>> This patchset removes hacky mode validation in Mixer driver by adding >>> atomic_check callback to exynos_crtc and replacing direct

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 13:55, Alim Akhtar wrote: > > > On 10/28/2015 10:04 AM, Krzysztof Kozlowski wrote: >> On 28.10.2015 10:26, Krzysztof Kozlowski wrote: >>> On 26.10.2015 21:51, Alim Akhtar wrote: S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to

Re: [PATCH 0/7] add atomic_check callback to exynos_crtc

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 14:38, Krzysztof Kozlowski wrote: > On 28.10.2015 14:30, Inki Dae wrote: >> >> >> 2015년 10월 28일 10:37에 Krzysztof Kozlowski 이(가) 쓴 글: >>> On 26.10.2015 21:03, Andrzej Hajda wrote: Hi Inki, This patchset removes hacky mode validation in Mixer driver by adding