Re: [PATCH 2/2] clk: Convert __clk_get_name(hw-clk) to clk_hw_get_name(hw)
On Wed, Aug 12, 2015 at 04:12:41PM -0700, Stephen Boyd wrote: Use the provider based method to get a clock's name so that we can get rid of the clk member in struct clk_hw one day. Mostly converted with the following coccinelle script. @@ struct clk_hw *E; @@ -__clk_get_name(E-clk) +clk_hw_get_name(E) [...] drivers/clk/tegra/clk-pll.c | 8 Acked-by: Thierry Reding tred...@nvidia.com signature.asc Description: PGP signature
Re: [PATCH 2/2] clk: Convert __clk_get_name(hw-clk) to clk_hw_get_name(hw)
Am Mittwoch, 12. August 2015, 16:12:41 schrieb Stephen Boyd: Use the provider based method to get a clock's name so that we can get rid of the clk member in struct clk_hw one day. Mostly converted with the following coccinelle script. @@ struct clk_hw *E; @@ -__clk_get_name(E-clk) +clk_hw_get_name(E) For the Rockchip part Reviewed-by: Heiko Stuebner he...@sntech.de Heiko diff --git a/drivers/clk/rockchip/clk-inverter.c b/drivers/clk/rockchip/clk-inverter.c index 8054fdb5effb..7cbf43beb3c6 100644 --- a/drivers/clk/rockchip/clk-inverter.c +++ b/drivers/clk/rockchip/clk-inverter.c @@ -50,7 +50,7 @@ static int rockchip_inv_set_phase(struct clk_hw *hw, int degrees) val = !!degrees; } else { pr_err(%s: unsupported phase %d for %s\n, -__func__, degrees, __clk_get_name(hw-clk)); +__func__, degrees, clk_hw_get_name(hw)); return -EINVAL; } diff --git a/drivers/clk/rockchip/clk-mmc-phase.c b/drivers/clk/rockchip/clk-mmc-phase.c index 77e19097bdc7..9b613426e968 100644 --- a/drivers/clk/rockchip/clk-mmc-phase.c +++ b/drivers/clk/rockchip/clk-mmc-phase.c @@ -108,7 +108,7 @@ static int rockchip_mmc_set_phase(struct clk_hw *hw, int degrees) writel(HIWORD_UPDATE(raw_value, 0x07ff, mmc_clock-shift), mmc_clock-reg); pr_debug(%s-set_phase(%d) delay_nums=%u reg[0x%p]=0x%03x actual_degrees=%d\n, - __clk_get_name(hw-clk), degrees, delay_num, + clk_hw_get_name(hw), degrees, delay_num, mmc_clock-reg, raw_value(mmc_clock-shift), rockchip_mmc_get_phase(hw) ); -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] rtc: s5m: fix to update ctrl register
According to datasheet, the S2MPS13X and S2MPS14X should update write buffer via setting WUDR bit to high after ctrl register is updated. If not, ALARM interrupt of rtc-s5m doesn't happen first time when i use tools/testing/selftests/timers/rtctest.c test program and hour format is used to 12 hour mode in Odroid-XU3 board. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Cc: sta...@vger.kernel.org --- drivers/rtc/rtc-s5m.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c index 8c70d78..03828bb 100644 --- a/drivers/rtc/rtc-s5m.c +++ b/drivers/rtc/rtc-s5m.c @@ -635,6 +635,18 @@ static int s5m8767_rtc_init_reg(struct s5m_rtc_info *info) case S2MPS13X: data[0] = (0 BCD_EN_SHIFT) | (1 MODEL24_SHIFT); ret = regmap_write(info-regmap, info-regs-ctrl, data[0]); + if (ret 0) + break; + + ret = regmap_update_bits(info-regmap, + info-regs-rtc_udr_update, + info-regs-rtc_udr_mask, + info-regs-rtc_udr_mask); + if (ret 0) + break; + + ret = s5m8767_wait_for_udr_update(info); + break; default: -- 1.9.1 -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1.
SPI1 is available on IO Port #2 (as depicted on their website) in PCB Revision 0.5 of Hardkernel Odroid U3 board. The shield connects a 256KiB spi-nor flash on that bus. Signed-off-by: Alexis Ballier aball...@gentoo.org --- Changes in v2: Use GPIO_ACTIVE_HIGH (Krzysztof Kozlowski) arch/arm/boot/dts/exynos4412-odroidu3.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts index 44684e5..8632f35 100644 --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts @@ -13,6 +13,7 @@ /dts-v1/; #include exynos4412-odroid-common.dtsi +#include dt-bindings/gpio/gpio.h / { model = Hardkernel ODROID-U3 board based on Exynos4412; @@ -61,3 +62,10 @@ Speakers, SPKL, Speakers, SPKR; }; + +spi_1 { + pinctrl-names = default; + pinctrl-0 = spi1_bus; + cs-gpios = gpb 5 GPIO_ACTIVE_HIGH; + status = okay; +}; -- 2.5.0 -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH RFC v3 10/16] media: rename link source/sink to pad0_source/pad1_sink
On 08/12/15 22:14, Mauro Carvalho Chehab wrote: Change the internal namespace for links between two pads to have the pad there. We're also numbering it, as a common constructor is to do things like: if (link-port1.type != MEDIA_GRAPH_PAD) continue; if (link-pad1_sink-entity == entity) /* do something */ by preserving the number, we keep consistency between port1 and pad1_sink, and port0 and pad0_source. I would really leave this patch out. As long as sink and source are consistently used for pads (and they are), then I see no benefit at all to this change. Another reason why I don't like this is that pad0_ and pad1_ are actually confusing since they suggested to me when I first read it that pad0_ referred to the pad with index 0 and pad1_ referred to the pad with index 1. That's obviously not the case, but it does mean that the prefix doesn't really make things clearer. I would just stick with source and sink. Regards, Hans -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/2] clk: Convert __clk_get_name(hw-clk) to clk_hw_get_name(hw)
On Thu, Aug 13, 2015 at 1:12 AM, Stephen Boyd sb...@codeaurora.org wrote: Use the provider based method to get a clock's name so that we can get rid of the clk member in struct clk_hw one day. Mostly converted with the following coccinelle script. @@ struct clk_hw *E; @@ -__clk_get_name(E-clk) +clk_hw_get_name(E) Cc: Heiko Stuebner he...@sntech.de Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Cc: Peter De Schrijver pdeschrij...@nvidia.com Cc: Prashant Gaikwad pgaik...@nvidia.com Cc: Stephen Warren swar...@wwwdotorg.org Cc: Thierry Reding thierry.red...@gmail.com Cc: Alexandre Courbot gnu...@gmail.com Cc: Tero Kristo t-kri...@ti.com Cc: Ulf Hansson ulf.hans...@linaro.org Cc: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Cc: Andrew Bresticker abres...@chromium.org Cc: Ezequiel Garcia ezequiel.gar...@imgtec.com Cc: Ralf Baechle r...@linux-mips.org Cc: Kevin Cernekee cerne...@chromium.org Cc: Geert Uytterhoeven geert+rene...@glider.be Cc: Ulrich Hecht ulrich.hecht+rene...@gmail.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Cc: linux-te...@vger.kernel.org Cc: linux-o...@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org drivers/clk/shmobile/clk-div6.c | 2 +- For the shmobile part: Acked-by: Geert Uytterhoeven geert+rene...@glider.be Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say programmer or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/2] clk: Convert __clk_get_name(hw-clk) to clk_hw_get_name(hw)
On 08/13/2015 01:12 AM, Stephen Boyd wrote: Use the provider based method to get a clock's name so that we can get rid of the clk member in struct clk_hw one day. Mostly converted with the following coccinelle script. @@ struct clk_hw *E; @@ -__clk_get_name(E-clk) +clk_hw_get_name(E) [...] Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/clk/berlin/berlin2-pll.c | 4 ++-- For Berlin, Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Thanks! [...] diff --git a/drivers/clk/berlin/berlin2-pll.c b/drivers/clk/berlin/berlin2-pll.c index f4b8d324b083..1c2294d3ba85 100644 --- a/drivers/clk/berlin/berlin2-pll.c +++ b/drivers/clk/berlin/berlin2-pll.c @@ -61,7 +61,7 @@ berlin2_pll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) fbdiv = (val map-fbdiv_shift) FBDIV_MASK; rfdiv = (val map-rfdiv_shift) RFDIV_MASK; if (rfdiv == 0) { - pr_warn(%s has zero rfdiv\n, __clk_get_name(hw-clk)); + pr_warn(%s has zero rfdiv\n, clk_hw_get_name(hw)); rfdiv = 1; } @@ -70,7 +70,7 @@ berlin2_pll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) vcodiv = map-vcodiv[vcodivsel]; if (vcodiv == 0) { pr_warn(%s has zero vcodiv (index %d)\n, - __clk_get_name(hw-clk), vcodivsel); + clk_hw_get_name(hw), vcodivsel); vcodiv = 1; } -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [GIT PULL 2nd 2/4] Samsung DT 3rd updates for v4.3
Olof Johansson wrote: On Thu, Aug 13, 2015 at 09:12:34AM +0900, Kukjin Kim wrote: Hi Arnd, Olof, Kevin This is based on tags/samsung-dt-2 and including exynos4 related clock changes to support cpufreq-dt driver for exynos4 SoCs. Note that I've created one more clk topic branch called v4.3-topic/clk-samsung-2 based on previous one has been merged by Mike into clock tree before but I'm not sure new one merged into clk tree that's why I've noted its merge in this signed tag. Since this depends on the previous DT branch that I asked for a respin, please do it all over and send a fresh pull request that we hopefully can include. Yes, will make a fresh pull request for the exynos cpufreq-dt driver. We normally ask that you don't queue up merge requests like these for that reason: If there's need to redo an earlier branch there's a lot of work that needs to be done on your side. Instead, please wait until previous pull request has been merged before you send the next one. Thanks! Yeah, you're right. Actually, it was hard to handle it because of dependencies of clk and cpufreq...Anyway I'll keep in mind what you suggested. Thanks, Kukjin -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1.
Krzysztof Kozlowski wrote: W dniu 13.08.2015 o 18:06, Alexis Ballier pisze: SPI1 is available on IO Port #2 (as depicted on their website) in PCB Revision 0.5 of Hardkernel Odroid U3 board. The shield connects a 256KiB spi-nor flash on that bus. Signed-off-by: Alexis Ballier aball...@gentoo.org --- Changes in v2: Use GPIO_ACTIVE_HIGH (Krzysztof Kozlowski) arch/arm/boot/dts/exynos4412-odroidu3.dts | 8 1 file changed, 8 insertions(+) Thanks for fixing, looks good: Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com Applied, thanks. - Kukjin -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [RFC PATCH v4 6/9] arm: hisi_defconfig: remove CONFIG_MMC_DW_IDMAC
On 8/6/2015 7:45 AM, Shawn Lin wrote: DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin shawn@rock-chips.com Acked-by: Wei Xu xuw...@hisilicon.com --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/configs/hisi_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index 5997dbc..b2e340b 100644 --- a/arch/arm/configs/hisi_defconfig +++ b/arch/arm/configs/hisi_defconfig @@ -69,7 +69,6 @@ CONFIG_NOP_USB_XCEIV=y CONFIG_MMC=y CONFIG_RTC_CLASS=y CONFIG_MMC_DW=y -CONFIG_MMC_DW_IDMAC=y CONFIG_MMC_DW_PLTFM=y CONFIG_RTC_DRV_PL031=y CONFIG_DMADEVICES=y Thanks! Best Regards, Wei -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] Samsung mach fixes for 4.2
On Mon, Aug 10, 2015 at 11:04:25AM +0900, Kukjin Kim wrote: Hi arm-soc guys, Can you please pull this into arm-soc fixes for v4.2 directly? I don't have other samsung fixes in my tree at this moment. Thanks, Kukjin Krzysztof Kozlowski wrote: Dear Kukjin, Please find latest two fixes for v4.2 cycle. You can find more detailed description with the tag. Best regards, Krzysztof The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -0700) are available in the git repository at: https://github.com/krzk/linux.git tags/samsung-mach-fixes-4.2 for you to fetch changes up to 3e9f798784b30293012682021d5a0352f78658b8: ARM: EXYNOS: fix double of_node_put() on error path (2015-07-31 10:12:17 +0900) Merged, thanks. -Olof -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL 4/5] Samsung 2nd DT updates for v4.3
On Tue, Aug 04, 2015 at 04:29:25PM +0900, Kukjin Kim wrote: Hi Arnd, Olof, Kevin This 2nd DT update branch is based tags/samsung-dt-1 + v4.3-topic/clk-samsung branch because of dependency to support generic cpufreq driver. Please pull. Thanks, Kukjin The following changes since commit e4a39d904c3c3e4855287b7325306289ff044b06: Merge branch 'v4.3-topic/clk-samsung' into v4.3-next/dt-samsung-2 (2015-07-24 12:54:00 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git tags/samsung-dt-2 clk: exynos5250: add cpu clock configuration data and instantiate cpu clock is applied twice, once to your own branch, and once merged in from Mike's branch. That doesn't look right. Can you please respin? Thanks. Thanks, -Olof -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL 2nd 2/4] Samsung DT 3rd updates for v4.3
On Thu, Aug 13, 2015 at 09:12:34AM +0900, Kukjin Kim wrote: Hi Arnd, Olof, Kevin This is based on tags/samsung-dt-2 and including exynos4 related clock changes to support cpufreq-dt driver for exynos4 SoCs. Note that I've created one more clk topic branch called v4.3-topic/clk-samsung-2 based on previous one has been merged by Mike into clock tree before but I'm not sure new one merged into clk tree that's why I've noted its merge in this signed tag. Since this depends on the previous DT branch that I asked for a respin, please do it all over and send a fresh pull request that we hopefully can include. We normally ask that you don't queue up merge requests like these for that reason: If there's need to redo an earlier branch there's a lot of work that needs to be done on your side. Instead, please wait until previous pull request has been merged before you send the next one. Thanks! -Olof -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL 2nd 3/4] Samsung driver 2nd updates for v4.3
On Thu, Aug 13, 2015 at 09:12:59AM +0900, Kukjin Kim wrote: Hi, I've created the signed tag based on previous tags/samsung-driver so you can see several merge in there. To support cpufreq-dt driver requires clk/cpufreq/exynos changes together and clk/cpufreq maintainers are aware of this changes. And we can remove exynos cpufreq driver at last. Note this drivers update is including previous dependencies and if you're OK, please pull. Again, this needs to be revisited. Please try to keep the dependency only driver-dt if you can, and we can merge drivers before DT this release cycle. If you do driver-dt-driver-dt like here then things get messy. -Olof -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL 5/5] Samsung driver updates for v4.3
On Tue, Aug 04, 2015 at 04:30:18PM +0900, Kukjin Kim wrote: Hi, This branch is including to support generic cpufreq driver in mach-exynos dir. for exynos3250 and exynos5250 even the tag name is driver. Because it is depending on clk and cpufreq changes which acked by regarding maintainers, Mike and Viresh. Please pull and if any problems, please kindly let me know. This now needs to be respun too, apparantly, since it includes dt2. -Olof -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [GIT PULL 2nd 3/4] Samsung driver 2nd updates for v4.3
Olof Johansson wrote: On Thu, Aug 13, 2015 at 09:12:59AM +0900, Kukjin Kim wrote: Hi, I've created the signed tag based on previous tags/samsung-driver so you can see several merge in there. To support cpufreq-dt driver requires clk/cpufreq/exynos changes together and clk/cpufreq maintainers are aware of this changes. And we can remove exynos cpufreq driver at last. Note this drivers update is including previous dependencies and if you're OK, please pull. Again, this needs to be revisited. YES. Please try to keep the dependency only driver-dt if you can, and we can merge drivers before DT this release cycle. If you do driver-dt-driver-dt like here then things get messy. It looks better. OK. Thanks, Kukjin -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [rtc-linux] [PATCH] rtc: s5m: fix to update ctrl register
W dniu 13.08.2015 o 17:49, Joonyoung Shim pisze: According to datasheet, the S2MPS13X and S2MPS14X should update write buffer via setting WUDR bit to high after ctrl register is updated. Hi, I cannot find this information in S2MPS14 datasheet. On which page is it? If not, ALARM interrupt of rtc-s5m doesn't happen first time when i use tools/testing/selftests/timers/rtctest.c test program and hour format is used to 12 hour mode in Odroid-XU3 board. Two questions here: 1. Earlier you mentioned S2MPS1[34], now Odroid XU3 which has S2MPS11. Are you sure that this applies to all of them (S2MPS11, S2MPS13 and S2MP14)? There are some minor differences between them so I would not be surprised if only some of them required this action. 2. The driver operates in 24-hour omode. Actually it sets the 24-hour mode just before your new regmap_update_bits() call. What do you mean by 12-hour mode? Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Cc: sta...@vger.kernel.org Thanks for putting a cc-stable tag. How far this should be ported? If this is needed only for S2MPS11 then v4.1. If all of them then probably for earlier version? Best regards, Krzysztof --- drivers/rtc/rtc-s5m.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c index 8c70d78..03828bb 100644 --- a/drivers/rtc/rtc-s5m.c +++ b/drivers/rtc/rtc-s5m.c @@ -635,6 +635,18 @@ static int s5m8767_rtc_init_reg(struct s5m_rtc_info *info) case S2MPS13X: data[0] = (0 BCD_EN_SHIFT) | (1 MODEL24_SHIFT); ret = regmap_write(info-regmap, info-regs-ctrl, data[0]); + if (ret 0) + break; + + ret = regmap_update_bits(info-regmap, + info-regs-rtc_udr_update, + info-regs-rtc_udr_mask, + info-regs-rtc_udr_mask); + if (ret 0) + break; + + ret = s5m8767_wait_for_udr_update(info); + break; default: -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [GIT PULL 4/5] Samsung 2nd DT updates for v4.3
Olof Johansson wrote: On Tue, Aug 04, 2015 at 04:29:25PM +0900, Kukjin Kim wrote: Hi Arnd, Olof, Kevin This 2nd DT update branch is based tags/samsung-dt-1 + v4.3-topic/clk-samsung branch because of dependency to support generic cpufreq driver. Please pull. Thanks, Kukjin The following changes since commit e4a39d904c3c3e4855287b7325306289ff044b06: Merge branch 'v4.3-topic/clk-samsung' into v4.3-next/dt-samsung-2 (2015-07-24 12:54:00 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git tags/samsung-dt-2 clk: exynos5250: add cpu clock configuration data and instantiate cpu clock is applied twice, once to your own branch, and once merged in from Mike's branch. That doesn't look right. Oops, it's my fault. Sorry for that. Can you please respin? Thanks. Sure, I'll tonight in my time. Thanks, Kukjin -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1.
W dniu 13.08.2015 o 18:06, Alexis Ballier pisze: SPI1 is available on IO Port #2 (as depicted on their website) in PCB Revision 0.5 of Hardkernel Odroid U3 board. The shield connects a 256KiB spi-nor flash on that bus. Signed-off-by: Alexis Ballier aball...@gentoo.org --- Changes in v2: Use GPIO_ACTIVE_HIGH (Krzysztof Kozlowski) arch/arm/boot/dts/exynos4412-odroidu3.dts | 8 1 file changed, 8 insertions(+) Thanks for fixing, looks good: Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com Best regards, Krzysztof -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2] Remove unselectable rule for arm-exynos-cpufreq.o
2015-08-13 20:33 GMT+09:00 Viresh Kumar viresh.ku...@linaro.org: On 13-08-15, 13:28, Jonas Rabenstein wrote: Commit cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support deleted option ARM_EXYNOS_CPUFREQ but missed to delete a rule in drivers/cpufreq/Makefile which depends on that option. Remove unselectable rule for arm-exynos-cpufreq.o from drivers/cpufreq/Makefile. Signed-off-by: Jonas Rabenstein jonas.rabenst...@studium.uni-erlangen.de --- I found this inconsistency using the undertaker and undertaker-checkpatch tools (https://undertaker.cs.fau.de/). drivers/cpufreq/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index bbc4a9f..958be2b 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile @@ -52,7 +52,6 @@ obj-$(CONFIG_ARM_DT_BL_CPUFREQ) += arm_big_little_dt.o obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o obj-$(CONFIG_UX500_SOC_DB8500) += dbx500-cpufreq.o -obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += arm-exynos-cpufreq.o obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ) += exynos5440-cpufreq.o obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o obj-$(CONFIG_ARM_HISI_ACPU_CPUFREQ) += hisi-acpu-cpufreq.o Acked-by: Viresh Kumar viresh.ku...@linaro.org And again from me: Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com Dear Kukjin, Can you take it and send in (updated) pull request with Exynos4x12 cpufreq patches? BR, Krzysztof -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [GIT PULL 5/5] Samsung driver updates for v4.3
Olof Johansson wrote: On Tue, Aug 04, 2015 at 04:30:18PM +0900, Kukjin Kim wrote: Hi, This branch is including to support generic cpufreq driver in mach-exynos dir. for exynos3250 and exynos5250 even the tag name is driver. Because it is depending on clk and cpufreq changes which acked by regarding maintainers, Mike and Viresh. Please pull and if any problems, please kindly let me know. This now needs to be respun too, apparantly, since it includes dt2. Sure, I'll. Thanks Kukjin -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [rtc-linux] [PATCH] rtc: s5m: fix to update ctrl register
W dniu 13.08.2015 o 19:02, Krzysztof Kozlowski pisze: W dniu 13.08.2015 o 17:49, Joonyoung Shim pisze: According to datasheet, the S2MPS13X and S2MPS14X should update write buffer via setting WUDR bit to high after ctrl register is updated. Hi, I cannot find this information in S2MPS14 datasheet. On which page is it? If not, ALARM interrupt of rtc-s5m doesn't happen first time when i use tools/testing/selftests/timers/rtctest.c test program and hour format is used to 12 hour mode in Odroid-XU3 board. Two questions here: 1. Earlier you mentioned S2MPS1[34], now Odroid XU3 which has S2MPS11. Are you sure that this applies to all of them (S2MPS11, S2MPS13 and S2MP14)? There are some minor differences between them so I would not be surprised if only some of them required this action. 2. The driver operates in 24-hour omode. Actually it sets the 24-hour mode just before your new regmap_update_bits() call. What do you mean by 12-hour mode? Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Cc: sta...@vger.kernel.org Thanks for putting a cc-stable tag. How far this should be ported? If this is needed only for S2MPS11 then v4.1. If all of them then probably for earlier version? Best regards, Krzysztof One more doubt. On my Odroid XU3 first and consecutive executions (including first) of rtctest run fine. They pass. Can you describe exactly observable issue and how to reproduce it? This is also important as a reason for stable backport. I tested it on next-20150729 on board with Hardkernel bootloader. Maybe the bootloader sets 12-hour mode which cannot be switched to 24-hour? Best regards, Krzysztof -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [PATCH v2] Remove unselectable rule for arm-exynos-cpufreq.o
Krzysztof Kozlowski wrote: 2015-08-13 20:33 GMT+09:00 Viresh Kumar viresh.ku...@linaro.org: On 13-08-15, 13:28, Jonas Rabenstein wrote: Commit cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support deleted option ARM_EXYNOS_CPUFREQ but missed to delete a rule in drivers/cpufreq/Makefile which depends on that option. Remove unselectable rule for arm-exynos-cpufreq.o from drivers/cpufreq/Makefile. Signed-off-by: Jonas Rabenstein jonas.rabenst...@studium.uni-erlangen.de --- I found this inconsistency using the undertaker and undertaker-checkpatch tools (https://undertaker.cs.fau.de/). drivers/cpufreq/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index bbc4a9f..958be2b 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile @@ -52,7 +52,6 @@ obj-$(CONFIG_ARM_DT_BL_CPUFREQ) += arm_big_little_dt.o obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o obj-$(CONFIG_UX500_SOC_DB8500) += dbx500-cpufreq.o -obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += arm-exynos-cpufreq.o obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ) += exynos5440-cpufreq.o obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o obj-$(CONFIG_ARM_HISI_ACPU_CPUFREQ) += hisi-acpu-cpufreq.o Acked-by: Viresh Kumar viresh.ku...@linaro.org And again from me: Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com Dear Kukjin, Can you take it and send in (updated) pull request with Exynos4x12 cpufreq patches? OK, sure. I'll take this. Thanks, Kukjin -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL v2 3/5] Samsung SoC updates for v4.3
The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git tags/samsung-soc for you to fetch changes up to bdd2648e50508cbb2eb6d1c303e4d2d6d7505400: ARM: EXYNOS: switch to using generic cpufreq driver for exynos4x12 (2015-08-14 03:07:10 +0900) Samsung SoC updates for v4.3 - add compatible string to exynos_cpufreq_matchs to switch for supporting generic cpufreq driver for exynos3250, 4210, 4212 and 5250 SoCs in mach-exynos/ Bartlomiej Zolnierkiewicz (1): ARM: EXYNOS: switch to using generic cpufreq driver for exynos4x12 Chanwoo Choi (1): ARM: EXYNOS: Add exynos3250 compatible to use generic cpufreq driver Thomas Abraham (1): ARM: EXYNOS: switch to using generic cpufreq driver for exynos5250 arch/arm/mach-exynos/Kconfig | 2 ++ arch/arm/mach-exynos/exynos.c | 4 2 files changed, 6 insertions(+) -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL v2 4/5] Samsung cpufreq driver updates for v4.3
The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git tags/samsung-late-cpufreq-driver for you to fetch changes up to 5e3863a74fb70d6a432504ba2fa16a998cd3736b: cpufreq: exynos: Remove unselectable rule for arm-exynos-cpufreq.o (2015-08-14 02:36:33 +0900) Samsung cpufreq driver updates for v4.3 - remove exynos4 SoCs and exynos5250 specific cpufreq driver support and unselectable rule for arm-exynos-cpufreq.o because of supporting generic cpufreq driver for the exynos SoCs * Note this is depending on tags/samsung-clk-driver, tags/samsung-soc and tags/samsung-late-dt Bartlomiej Zolnierkiewicz (2): cpufreq: exynos: remove exynos5250 specific cpufreq driver support cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support Jonas Rabenstein (1): cpufreq: exynos: Remove unselectable rule for arm-exynos-cpufreq.o drivers/cpufreq/Kconfig.arm | 49 drivers/cpufreq/Makefile | 4 - drivers/cpufreq/exynos-cpufreq.c | 237 --- drivers/cpufreq/exynos-cpufreq.h | 89 - drivers/cpufreq/exynos4x12-cpufreq.c | 236 -- drivers/cpufreq/exynos5250-cpufreq.c | 210 --- 6 files changed, 825 deletions(-) delete mode 100644 drivers/cpufreq/exynos-cpufreq.c delete mode 100644 drivers/cpufreq/exynos-cpufreq.h delete mode 100644 drivers/cpufreq/exynos4x12-cpufreq.c delete mode 100644 drivers/cpufreq/exynos5250-cpufreq.c -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/2] clk: Convert __clk_get_name(hw-clk) to clk_hw_get_name(hw)
On Wed, Aug 12, 2015 at 4:12 PM, Stephen Boyd sb...@codeaurora.org wrote: Use the provider based method to get a clock's name so that we can get rid of the clk member in struct clk_hw one day. Mostly converted with the following coccinelle script. @@ struct clk_hw *E; @@ -__clk_get_name(E-clk) +clk_hw_get_name(E) Cc: Heiko Stuebner he...@sntech.de Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Cc: Peter De Schrijver pdeschrij...@nvidia.com Cc: Prashant Gaikwad pgaik...@nvidia.com Cc: Stephen Warren swar...@wwwdotorg.org Cc: Thierry Reding thierry.red...@gmail.com Cc: Alexandre Courbot gnu...@gmail.com Cc: Tero Kristo t-kri...@ti.com Cc: Ulf Hansson ulf.hans...@linaro.org Cc: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Cc: Andrew Bresticker abres...@chromium.org Cc: Ezequiel Garcia ezequiel.gar...@imgtec.com Cc: Ralf Baechle r...@linux-mips.org Cc: Kevin Cernekee cerne...@chromium.org Cc: Geert Uytterhoeven geert+rene...@glider.be Cc: Ulrich Hecht ulrich.hecht+rene...@gmail.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Cc: linux-te...@vger.kernel.org Cc: linux-o...@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org drivers/clk/pistachio/clk-pll.c | 4 ++-- For Pistachio, Acked-by: Andrew Bresticker abres...@chromium.org -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL v2 2/5] Samsung 2nd DT updates for v4.3
The following changes since commit 5e080b078fa1f929d9aa5586985d5e7c0739d207: ARM: dts: Extend exynos5420-pinctrl nodes using labels instead of paths (2015-07-21 13:01:23 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git tags/samsung-late-dt for you to fetch changes up to ba032795463bfc461937dbde7a345103a47f969b: ARM: dts: add iommu property to JPEG device for exynos4 (2015-08-14 02:30:58 +0900) Samsung 2nd DT updates for v4.3 - for exynos3250, 4212, 4412 and 5250 : add CPU OPP and regulator supply property - for exynos3250 : add CPU cooling binding for exynos3250 boards - for exynos4 SoCs : add iommu property to JPEG device - for exynos4412-odroidu3 : enable SPI1 - for exynos5250-snow : add SPI CS - for exynos5422 : add exynos5422-cpus.dtsi to correct cpu order * Note this branch is depending on tags/samsung-clk-driver Alexis Ballier (1): ARM: dts: enable SPI1 for exynos4412-odroidu3 Bartlomiej Zolnierkiewicz (1): ARM: dts: add CPU OPP and regulator supply property for exynos4x12 Chanho Park (1): ARM: dts: add exynos5422-cpus.dtsi to correct cpu order Chanwoo Choi (2): ARM: dts: Add CPU OPP and regulator supply property for exynos3250 ARM: dts: Add CPU cooling binding for exynos3250 boards Marek Szyprowski (1): ARM: dts: add iommu property to JPEG device for exynos4 Michal Suchanek (1): ARM: dts: Add SPI CS on exynos5250-snow Thomas Abraham (1): ARM: dts: add CPU OPP and regulator supply property for exynos5250 arch/arm/boot/dts/exynos3250-monk.dts | 19 + arch/arm/boot/dts/exynos3250-rinato.dts| 19 + arch/arm/boot/dts/exynos3250.dtsi | 16 + arch/arm/boot/dts/exynos4.dtsi | 1 + arch/arm/boot/dts/exynos4212.dtsi | 81 + arch/arm/boot/dts/exynos4412-odroid-common.dtsi| 4 ++ arch/arm/boot/dts/exynos4412-odroidu3.dts | 8 +++ arch/arm/boot/dts/exynos4412-origen.dts| 4 ++ arch/arm/boot/dts/exynos4412-trats2.dts| 4 ++ arch/arm/boot/dts/exynos4412.dtsi | 83 ++ arch/arm/boot/dts/exynos5250-arndale.dts | 4 ++ arch/arm/boot/dts/exynos5250-smdk5250.dts | 4 ++ arch/arm/boot/dts/exynos5250-snow.dts | 5 ++ arch/arm/boot/dts/exynos5250-spring.dts| 4 ++ arch/arm/boot/dts/exynos5250.dtsi | 22 ++ arch/arm/boot/dts/exynos5422-cpus.dtsi | 81 + arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + 17 files changed, 360 insertions(+) create mode 100644 arch/arm/boot/dts/exynos5422-cpus.dtsi -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL v2 1/5] Samsung clk driver updates for v4.3
The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git tags/samsung-clk-driver for you to fetch changes up to cd6aceef028afc3fa216e3e7bc94cc31632cad43: clk: exynos4x12: add cpu clock configuration data and instantiate cpu clock (2015-08-14 02:00:43 +0900) Samsung clk driver updates for v4.3 - add cpu clock configuration data and instantiate cpu clock for exynos3250, 4210, 4412 and 5250 SoCs to support Samsung specific cpu-clock type * Note this branch has been provided to clk tree as a topic branch Bartlomiej Zolnierkiewicz (1): clk: exynos4x12: add cpu clock configuration data and instantiate cpu clock Chanwoo Choi (1): clk: exynos3250: Add cpu clock configuration data and instaniate cpu clock Thomas Abraham (1): clk: exynos5250: add cpu clock configuration data and instantiate cpu clock drivers/clk/samsung/clk-exynos3250.c | 32 -- drivers/clk/samsung/clk-exynos4.c | 50 ++ drivers/clk/samsung/clk-exynos5250.c | 31 + include/dt-bindings/clock/exynos3250.h | 1 + include/dt-bindings/clock/exynos5250.h | 1 + 5 files changed, 113 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL v2 0/5] Samsung updates for v4.3
Hello Arnd, Olof, Kevin Here is re-spin of pull request for Samsung stuff for v4.3 as per Olof's suggestion. Most of this pull-requests are to switch to support generic cpufreq driver for exynos3250, 4210, 4412 and 5250 and several exynos dt updates. Note as I commented in each tag, each pull-request(signed tag) has a dependency with each other, so please keep the ordering in this time. 1) tags/samsung-clk-driver 2) tags/samsung-late-dt 3) tags/samsung-soc 4) tags/samsung-late-cpufreq-driver 5) tags/samsung-defconfig-new If any problems, please kindly let me know. Thanks, Kukjin Alexis Ballier (1): ARM: dts: enable SPI1 for exynos4412-odroidu3 Anand Moon (1): ARM: exynos_defconfig: Enable CONFIG_SND_SOC_ODROIDX2 for Odroid-XU3 Bartlomiej Zolnierkiewicz (5): cpufreq: exynos: remove exynos5250 specific cpufreq driver support clk: exynos4x12: add cpu clock configuration data and instantiate cpu clock cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support ARM: dts: add CPU OPP and regulator supply property for exynos4x12 ARM: EXYNOS: switch to using generic cpufreq driver for exynos4x12 Chanho Park (1): ARM: dts: add exynos5422-cpus.dtsi to correct cpu order Chanwoo Choi (4): clk: exynos3250: Add cpu clock configuration data and instaniate cpu clock ARM: EXYNOS: Add exynos3250 compatible to use generic cpufreq driver ARM: dts: Add CPU OPP and regulator supply property for exynos3250 ARM: dts: Add CPU cooling binding for exynos3250 boards Javier Martinez Canillas (4): ARM: multi_v7_defconfig: Remove old Samsung USB PHY configs ARM: multi_v7_defconfig: Enable NTC Thermistors support ARM: exynos_defconfig: Enable NTC Thermistors support ARM: multi_v7_defconfig: Enable max77802 regulator Jonas Rabenstein (1): cpufreq: exynos: Remove unselectable rule for arm-exynos-cpufreq.o Krzysztof Kozlowski (1): ARM: exynos_defconfig: Enable cpufreq-dt driver Marek Szyprowski (1): ARM: dts: add iommu property to JPEG device for exynos4 Michal Suchanek (1): ARM: dts: Add SPI CS on exynos5250-snow Thomas Abraham (3): clk: exynos5250: add cpu clock configuration data and instantiate cpu clock ARM: EXYNOS: switch to using generic cpufreq driver for exynos5250 ARM: dts: add CPU OPP and regulator supply property for exynos5250 arch/arm/boot/dts/exynos3250-monk.dts | 19 ++ arch/arm/boot/dts/exynos3250-rinato.dts| 19 ++ arch/arm/boot/dts/exynos3250.dtsi | 16 ++ arch/arm/boot/dts/exynos4.dtsi | 1 + arch/arm/boot/dts/exynos4212.dtsi | 81 +++ arch/arm/boot/dts/exynos4412-odroid-common.dtsi| 4 + arch/arm/boot/dts/exynos4412-odroidu3.dts | 8 + arch/arm/boot/dts/exynos4412-origen.dts| 4 + arch/arm/boot/dts/exynos4412-trats2.dts| 4 + arch/arm/boot/dts/exynos4412.dtsi | 83 arch/arm/boot/dts/exynos5250-arndale.dts | 4 + arch/arm/boot/dts/exynos5250-smdk5250.dts | 4 + arch/arm/boot/dts/exynos5250-snow.dts | 5 + arch/arm/boot/dts/exynos5250-spring.dts| 4 + arch/arm/boot/dts/exynos5250.dtsi | 22 ++ arch/arm/boot/dts/exynos5422-cpus.dtsi | 81 +++ arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + arch/arm/configs/exynos_defconfig | 5 + arch/arm/configs/multi_v7_defconfig| 5 +- arch/arm/mach-exynos/Kconfig | 2 + arch/arm/mach-exynos/exynos.c | 4 + drivers/clk/samsung/clk-exynos3250.c | 32 ++- drivers/clk/samsung/clk-exynos4.c | 50 + drivers/clk/samsung/clk-exynos5250.c | 31 +++ drivers/cpufreq/Kconfig.arm| 49 - drivers/cpufreq/Makefile | 4 - drivers/cpufreq/exynos-cpufreq.c | 237 - drivers/cpufreq/exynos-cpufreq.h | 89 drivers/cpufreq/exynos4x12-cpufreq.c | 236 drivers/cpufreq/exynos5250-cpufreq.c | 210 -- include/dt-bindings/clock/exynos3250.h | 1 + include/dt-bindings/clock/exynos5250.h | 1 + 32 files changed, 487 insertions(+), 829 deletions(-) -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL v2 5/5] Samsung defconfig updates for v4.3
The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git tags/samsung-defconfig-new for you to fetch changes up to 2b347c6494cbc6bfdc81b5201b8aa34afb2c3500: ARM: exynos_defconfig: Enable cpufreq-dt driver (2015-08-12 08:17:31 +0900) Samsung defconfig updates for v4.3 - for exynos_defconfig : enable SND_SOC_ODROIDX2 and SND_SIMPLE_CARD for Odroid-XU3 to use max98090 audio codec : enalbe SENSORS_NTC_THERMISTOR for Peach boards : enable cpufreq-dt driver with ONDEMAND governor for Exynos SoCs 3250, 4210, 4212, 4412 and 5250 - for multi_v7_defconfig: : remove SAMSUNG_USB2PHY and SAMSUNG_USB3PHY are not used now : enable SENSORS_NTC_THERMISTOR and EXYNOS_ADC for Peach boards : enable REGULATOR_MAX77802 for Peach boards Anand Moon (1): ARM: exynos_defconfig: Enable CONFIG_SND_SOC_ODROIDX2 for Odroid-XU3 Javier Martinez Canillas (4): ARM: multi_v7_defconfig: Remove old Samsung USB PHY configs ARM: multi_v7_defconfig: Enable NTC Thermistors support ARM: exynos_defconfig: Enable NTC Thermistors support ARM: multi_v7_defconfig: Enable max77802 regulator Krzysztof Kozlowski (1): ARM: exynos_defconfig: Enable cpufreq-dt driver arch/arm/configs/exynos_defconfig | 5 + arch/arm/configs/multi_v7_defconfig | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 2/2] drm: WARN_ON if a modeset driver uses legacy suspend/resume helpers
From: Gustavo Padovan gustavo.pado...@collabora.co.uk Legacy s/r hooks are only used for shadow-attaching drivers, warn when a KMS driver tries to use them. Signed-off-by: Gustavo Padovan gustavo.pado...@collabora.co.uk --- drivers/gpu/drm/drm_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index b7bf4ce..4e76193 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -567,6 +567,8 @@ struct drm_device *drm_dev_alloc(struct drm_driver *driver, ret = drm_minor_alloc(dev, DRM_MINOR_CONTROL); if (ret) goto err_minors; + + WARN_ON(driver-suspend || driver-resume); } if (drm_core_check_feature(dev, DRIVER_RENDER)) { -- 2.1.0 -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 1/2] drm/exynos: remove legacy -suspend()/resume()
From: Gustavo Padovan gustavo.pado...@collabora.co.uk These legacy helpers should only be used by shadow-attaching drivers. KMS drivers has its own way to handle suspend/resume and don't need to use these two helpers. Signed-off-by: Gustavo Padovan gustavo.pado...@collabora.co.uk --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index f1d6966..9bcf679 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c @@ -280,8 +280,6 @@ static struct drm_driver exynos_drm_driver = { .driver_features= DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME, .load = exynos_drm_load, .unload = exynos_drm_unload, - .suspend= exynos_drm_suspend, - .resume = exynos_drm_resume, .open = exynos_drm_open, .preclose = exynos_drm_preclose, .lastclose = exynos_drm_lastclose, -- 2.1.0 -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/2] drm: WARN_ON if a modeset driver uses legacy suspend/resume helpers
On Thu, Aug 13, 2015 at 05:06:39PM -0300, Gustavo Padovan wrote: From: Gustavo Padovan gustavo.pado...@collabora.co.uk Legacy s/r hooks are only used for shadow-attaching drivers, warn when a KMS driver tries to use them. Signed-off-by: Gustavo Padovan gustavo.pado...@collabora.co.uk Assuming that Inki picks up the exynos patch I've applied this to drm-misc. Thanks, Daniel --- drivers/gpu/drm/drm_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index b7bf4ce..4e76193 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -567,6 +567,8 @@ struct drm_device *drm_dev_alloc(struct drm_driver *driver, ret = drm_minor_alloc(dev, DRM_MINOR_CONTROL); if (ret) goto err_minors; + + WARN_ON(driver-suspend || driver-resume); } if (drm_core_check_feature(dev, DRIVER_RENDER)) { -- 2.1.0 -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html