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

2015-10-26 Thread Kukjin Kim
On 10/26/15 15:45, Pavel Fedin wrote:
>  Hello!
> 
Hi,

>> Applied, this whole series.
> 
>  Where can i find the recent code to base my series on? I looked at 
> linux-samsung.git but was unable to find it there.
> 
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.

See below:
https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=v4.4-next/driver-samsung

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 v5 0/8] Add support for Exynos SROM Controller driver

2015-10-23 Thread Kukjin Kim
On 10/23/15 18:49, Pavel Fedin wrote:
>  Hello!
> 
>>> This patchset, I have tested on Peach-Pi (Exynos5880) based chromebook for 
>>> boot
>>> and S2R functionality.
>>>
>>
>> Entire patchset tested on Trats2 (Exynos4412) board. Unless Kukjin picks
>> it also, I plan to take it for v4.5.
> 
>  Tested on SMDK5410. By the way, what is current status? If this is final 
> revision, can i post my Ethernet support patchset on top
> of it?
> 
>  Tested-by: Pavel Fedin 
> 
Applied, this whole series.

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 0/6] Switch to generic syscon regmap based drivers

2015-10-23 Thread Kukjin Kim
On 10/21/15 23:55, Javier Martinez Canillas wrote:
> Hello Alim,
> 
> On 10/21/2015 04:50 PM, Alim Akhtar wrote:
> 
> [snip]
> 
>>>
>>> [0]:
>>> From c9b250ee03bae338339b70693e906145c719f783 Mon Sep 17 00:00:00 2001
>>> From: Javier Martinez Canillas 
>>> Date: Wed, 21 Oct 2015 11:59:44 +0200
>>> Subject: [RFT PATCH] mmc: pwrseq: Use highest priority for eMMC restart
>>>  handler
>>>
>>> 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.
>>>
>>> But this has to be called before a system reboot handler and while most
>>> of them use the priority 128, there are other restart handlers (such as
>>> the syscon-reboot one) that use a higher priority. So, use the highest
>>> priority to make sure that the eMMC hw is reset before a system reboot.
>>>
>>> Signed-off-by: Javier Martinez Canillas 
>>> ---
>> Looks good.
>> Reviewed-by: Alim Akhtar 
>>
> 
> Thanks, should I post it as a proper patch or are adding it to your
> series? I think the latter is more reasonable so with an ack from Ulf,
> all patches can go through the linux-samsung tree.
>  
Javier,

Can you please post your fix right now? so that I could take this series
for v4.4 of late pull-request...

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 v3 2/3] dt-bindings: Consolidate Exynos SoC bindings

2015-10-23 Thread Kukjin Kim
On 10/23/15 10:39, Krzysztof Kozlowski wrote:
> Exynos SoC Device Tree bindings are spread over arm/exynos/ and
> arm/samsung/ directories. There is no need for that separation and it
> actually confuses. Put power domain bindings under power/ and
> remaining samsung-boards.txt under arm/samsung/.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com>
> Cc: Kukjin Kim <kg...@kernel.org>
> Reviewed-by: Javier Martinez Canillas <jav...@osg.samsung.com>
> 
> ---
> 
> Changes since v2:
> 1. Update path pointing to pd-samsung.txt in samsung,sysmmu.txt.
> 
> Changes since v1:
> 1. Move power_domain.txt to power/pd-samsung.txt.
> 2. The smp-sysram.txt is moved in previous patch to sram/ directory
>(Suggested by Rob Herring).
> 3. Added Javier's reviewed-by. Although there are some differences since
>v1 but this is merely re-organization. Please let me know if the
>review tag is no longer valid.
> ---
>  Documentation/devicetree/bindings/arm/{ => samsung}/samsung-boards.txt  | 0
>  Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt  | 2 
> +-
>  .../bindings/{arm/exynos/power_domain.txt => power/pd-samsung.txt}  | 0
>  3 files changed, 1 insertion(+), 1 deletion(-)
>  rename Documentation/devicetree/bindings/arm/{ => 
> samsung}/samsung-boards.txt (100%)
>  rename Documentation/devicetree/bindings/{arm/exynos/power_domain.txt => 
> power/pd-samsung.txt} (100%)
> 
> diff --git a/Documentation/devicetree/bindings/arm/samsung-boards.txt 
> b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt
> similarity index 100%
> rename from Documentation/devicetree/bindings/arm/samsung-boards.txt
> rename to Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt
> diff --git a/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt 
> b/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt
> index 729543c47046..bc620fe32a70 100644
> --- a/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt
> +++ b/Documentation/devicetree/bindings/iommu/samsung,sysmmu.txt
> @@ -47,7 +47,7 @@ Required properties:
>  - clocks: Required if the System MMU is needed to gate its clock.
>  - power-domains: Required if the System MMU is needed to gate its power.
> Please refer to the following document:
> -   Documentation/devicetree/bindings/arm/exynos/power_domain.txt
> +   Documentation/devicetree/bindings/power/pd-samsung.txt
>  
>  Examples:
>   gsc_0: gsc@13e0 {
> diff --git a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt 
> b/Documentation/devicetree/bindings/power/pd-samsung.txt
> similarity index 100%
> rename from Documentation/devicetree/bindings/arm/exynos/power_domain.txt
> rename to Documentation/devicetree/bindings/power/pd-samsung.txt

Applied 2/3 and 3/3.

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: [GIT PULL] ARM: dts: Exynos for v4.4 (3rd)

2015-10-23 Thread Kukjin Kim
On 10/16/15 14:42, Krzysztof Kozlowski wrote:
> Dear Kukjin,
> 
> Last batch of changes to DT for Exynos for v4.4.
> Includes dependency - clock driver changes.
> 
> Best regards,
> Krzysztof
> 
> 
> The following changes since commit 9aaf43d9b59d6b5d8daeb3a4b9d894ea88fc34c5:
> 
>   clk: samsung: exynos5250: Add DISP1 clocks (2015-10-16 08:49:53 +0900)
> 
> are available in the git repository at:
> 
>   https://github.com/krzk/linux.git tags/samsung-dt-4.4-3
> 
> for you to fetch changes up to 1967da5699e660957737ec6c4015cfd8e428f0ff:
> 
>   ARM: dts: Add clocks to DISP1 domain in exynos5250 (2015-10-16 14:20:03 
> +0900)
> 
> 
> Last round (from my side) of v4.4 Device Tree improvements for Exynos
> based boards:
> 1. Fix USB OTG on Exynos3250 (Monk and Rinato), Exynos4210 (Trats
>and Universal) and Exynos4412 (Trats2).
> 2. Fix HDMI and LVDS display on Snow (Exynos5250) after second Suspend to RAM.
> 3. Minor cleanups and fixes.
> 
> 
> Krzysztof Kozlowski (2):
>   Merge tag 'samsung-clk-exynos5250-4.4' into dt-for-next

Since there is no the branch(tags/samsung-clk-exynos5250-4.4) in clk
tree, I think we don't need to keep the branch as a topic and we can
just take the patch with Stephen's ack...

>   dt-bindings: Correct the example for Exynos power domain clocks
> 
> Laurent Pinchart (2):
>   ARM: dts: Fix typo in regulator enable GPIO property in s5pv210-aquila
>   ARM: dts: Fix typo in regulator enable GPIO property in s5pv210-goni
> 
> Marek Szyprowski (1):
>   ARM: dts: Add vbus regulator to USB2 phy nodes on exynos3250, 
> exynos4210 and exynos4412 boards
> 
> Tomeu Vizoso (1):
>   ARM: dts: Add clocks to DISP1 domain in exynos5250
> 
>  Documentation/devicetree/bindings/arm/exynos/power_domain.txt | 5 ++---
>  arch/arm/boot/dts/exynos3250-monk.dts | 1 +
>  arch/arm/boot/dts/exynos3250-rinato.dts   | 1 +
>  arch/arm/boot/dts/exynos4210-trats.dts| 2 +-
>  arch/arm/boot/dts/exynos4210-universal_c210.dts   | 2 +-
>  arch/arm/boot/dts/exynos4412-trats2.dts   | 1 +
>  arch/arm/boot/dts/exynos5250.dtsi | 4 
>  arch/arm/boot/dts/s5pv210-aquila.dts  | 2 +-
>  arch/arm/boot/dts/s5pv210-goni.dts| 4 ++--
>  9 files changed, 14 insertions(+), 8 deletions(-)

In this case, please show all of diff status including merge branch ;-)

Applied all of your tags/samsung-dt-4.4-3.

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 v3 1/3] dt-bindings: Consolidate SRAM bindings from all vendors

2015-10-23 Thread Kukjin Kim
On 10/24/15 04:47, Kukjin Kim wrote:
> On 10/23/15 10:39, Krzysztof Kozlowski wrote:
>> SRAM bindings for various SoCs, using the mmio-sram genalloc
>> API, are spread over different places - per SoC vendor. Since all of
>> these are quite similar (they depend on mmio-sram) move them to a common
>> place.
>>
>> Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com>
>> Cc: Heiko Stuebner <he...@sntech.de>
>> Cc: Maxime Ripard <maxime.rip...@free-electrons.com>
>> Cc: Chen-Yu Tsai <w...@csie.org>
>> Cc: Kukjin Kim <kg...@kernel.org>

Acked-by: Kukjin Kim <kg...@kernel.org>

>> Suggested-by: Rob Herring <robh...@kernel.org>
>>
> Applied with Heiko and Maxime's ack.
> 
+ Sudeep

Oops, I can't because of ..bindings/arm/arm,scpi.txt, this series should
be handled with "DT binding for ARM System Control and Power
Interface(SCPI) protocol"

- 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] Documentation: ARM: EXYNOS: Update bootloader interface on Exynos542x

2015-10-23 Thread Kukjin Kim
On 10/23/15 13:19, Krzysztof Kozlowski wrote:
> Update the documentation about:
> 1. Usage of PMU_SPARE2 register.
>Bootloaders on Exynos542x-based boards often use the register
>PMU_SPARE2 (0x908) in the same way as on Exynos3250: as a indicator
>the secondary CPU was booted on. The bootloader will set this value
>to non-zero, after sucessfull power up of secondary CPU. In the same
>time this booted CPU will stuck (spin) waiting for software reset.
> 2. Exynos542x entry address for secondary CPU boot up after system
>suspend (with MCPM enabled and in non-secure mode).
> 
> See arch/arm/mach-exynos/mcpm-exynos.c for source code.
> 
> Signed-off-by: Krzysztof Kozlowski 
> ---
>  Documentation/arm/Samsung/Bootloader-interface.txt | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/arm/Samsung/Bootloader-interface.txt 
> b/Documentation/arm/Samsung/Bootloader-interface.txt
> index df8d4fb85939..ed494ac0beb2 100644
> --- a/Documentation/arm/Samsung/Bootloader-interface.txt
> +++ b/Documentation/arm/Samsung/Bootloader-interface.txt
> @@ -19,7 +19,7 @@ executing kernel.
>  Address:  sysram_ns_base_addr
>  OffsetValuePurpose
>  =
> -0x08  exynos_cpu_resume_ns System suspend
> +0x08  exynos_cpu_resume_ns, mcpm_entry_point   System suspend
>  0x0c  0x0bad (Magic cookie)System suspend
>  0x1c  exynos4_secondary_startupSecondary CPU boot
>  0x1c + 4*cpu  exynos4_secondary_startup (Exynos4412)   Secondary CPU boot
> @@ -56,7 +56,8 @@ OffsetValue
> Purpose
>  Address:  pmu_base_addr
>  OffsetValue   Purpose
>  =
> -0x0908Non-zero (only Exynos3250)  Secondary CPU boot up indicator
> +0x0908Non-zeroSecondary CPU boot up indicator
> +  on Exynos3250 and Exynos542x
>  
>  
>  4. Glossary

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: [PATCH v2] MAINTAINERS: ARM: EXYNOS: Add documentation and dt-bindings

2015-10-23 Thread Kukjin Kim
On 10/22/15 10:28, Krzysztof Kozlowski wrote:
> Extend the Samsung Exynos maintainer entry to match SoC documentation
> and SoC dt-bindings directories. Without that some files, like
> bindings/arm/samsung/pmu.txt, are not matched by existing patterns.
> 
> This also may serve as a hint where new documentation and bindings (not
> matching specific subsystem) should be put.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com>
> Cc: Kukjin Kim <kg...@kernel.org>
> Reviewed-by: Javier Martinez Canillas <jav...@osg.samsung.com>
> 
> ---
> 
> Changes since v1:
> 1. Added Javier's reviewed-by
> 2. Cover also power domain and sram bindings located now in separate
>directory.
> ---
>  MAINTAINERS | 4 
>  1 file changed, 4 insertions(+)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index b556aad90930..6339926c77d6 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1459,6 +1459,10 @@ F: drivers/*/*s3c2410*
>  F:   drivers/*/*/*s3c2410*
>  F:   drivers/spi/spi-s3c*
>  F:   sound/soc/samsung/*
> +F:   Documentation/arm/Samsung/
> +F:   Documentation/devicetree/bindings/arm/samsung/
> +F:   Documentation/devicetree/bindings/sram/samsung-sram.txt
> +F:   Documentation/devicetree/bindings/power/pd-samsung.txt
>  N:   exynos
>  
>  ARM/SAMSUNG MOBILE MACHINE SUPPORT

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: [GIT PULL] ARM: defconfig: Exynos improvements for 4.4, 2nd pull

2015-10-23 Thread Kukjin Kim
On 10/13/15 09:38, Krzysztof Kozlowski wrote:
> Dear Kukjin,
> 
> This is another round of defconfig related changes for 4.4.
> 
> Description along with a tag.
> You can find them also on the lists with my reviewed-by.
> 
> Best regards,
> Krzysztof
> 
> 
> The following changes since commit 7fa5ce4e6fcb4596761c17e124e7d1f8cf64fe96:
> 
>   ARM: exynos_defconfig: Disable simplefb support (2015-09-13 19:25:39 +0900)
> 
> are available in the git repository at:
> 
>   https://github.com/krzk/linux.git tags/samsung-defconfig-4.4-2
> 
> for you to fetch changes up to 89a0112100e74f50407d269570a02a82fd28ccb8:
> 
>   ARM: multi_v7_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4 
> (2015-10-12 12:59:50 +0900)
> 
> 
> Defconfig changes around Exynos based boards:
> 1. Change WiFi-Ex from built-in to module to fix issue with probing
>the driver before root filesystem is available (driver needs
>firmware).
> 2. Enable Realtek RTL81t3 ethernet adapter present on Odroid-XU4
>board.
> 
> 
> Anand Moon (2):
>   ARM: exynos_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4
>   ARM: multi_v7_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4
> 
> Javier Martinez Canillas (1):
>   ARM: exynos_defconfig: Enable WiFi-Ex as a module instead built-in
> 
>  arch/arm/configs/exynos_defconfig   | 5 +++--
>  arch/arm/configs/multi_v7_defconfig | 1 +
>  2 files changed, 4 insertions(+), 2 deletions(-)

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: [PATCH v3 1/3] dt-bindings: Consolidate SRAM bindings from all vendors

2015-10-23 Thread Kukjin Kim
On 10/23/15 10:39, Krzysztof Kozlowski wrote:
> SRAM bindings for various SoCs, using the mmio-sram genalloc
> API, are spread over different places - per SoC vendor. Since all of
> these are quite similar (they depend on mmio-sram) move them to a common
> place.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com>
> Cc: Heiko Stuebner <he...@sntech.de>
> Cc: Maxime Ripard <maxime.rip...@free-electrons.com>
> Cc: Chen-Yu Tsai <w...@csie.org>
> Cc: Kukjin Kim <kg...@kernel.org>
> Suggested-by: Rob Herring <robh...@kernel.org>
> 
Applied with Heiko and Maxime's ack.

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 2/5] Late Samsung DT64 update for v4.4

2015-10-23 Thread Kukjin Kim
The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/samsung-dt64

for you to fetch changes up to c60ce7fe82c46d9480b85858828e3042dfe6c9bf:

  arm64: dts: Add BUS1 instance pinctrl support for exynos7 (2015-10-08
07:18:33 +0900)


Samsung arm64 DT update for v4.4

- add BUS1 instance pinctrl support on exynos7 SoC


Alim Akhtar (1):
  arm64: dts: Add BUS1 instance pinctrl support for exynos7

 arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 103

 arch/arm64/boot/dts/exynos/exynos7.dtsi |   7 ++
 2 files changed, 110 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 1/5] Late Samsung DT updates for v4.4

2015-10-23 Thread Kukjin Kim
Hi Arnd, Olof, Kevin

Here is late pull-request for v4.4, please pull.

If any problems, please kindly let me know.
See you in Seoul next week ;-)

Thanks,
Kukjin


The following changes since commit df829b06f0079165d9dc7719af8f8a7da852fe51:

  ARM: dts: Use GPIO constants for flags cells in exynos5440 boards
(2015-10-08 07:39:58 +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

for you to fetch changes up to d6b9aea67f40e138e972b17c7c658bc3c8ac2459:

  MAINTAINERS: Add documentation and dt-bindings for exynos stuff
(2015-10-24 05:07:26 +0900)


Samsung 2nd DT updates for v4.4

- use exynos5420-dw-mshc instead of exynos5250 for exynos3250
- add DISP1 clocks and the DISP1 power domain of two closk
  on exynos5250 (clock commit got Stephen's ack)
- add vbus regulators on exynos3250, exynos4210 and exynos4412 boards
- fix typo in regulator enable GPIO property on s5pv20-aquila and goni
- document: correct the example of exynos power domain clocks
- document: consolidate exynos SoC dt-bindings and non-Samsung
  boards related compatibles (FriendlyARM, Google, Hardkernel
  and Insignal)
- update MAINTAINER entries accordingly (documentation)


Jaehoon Chung (1):
  ARM: dts: use exynos5420-dw-mshc compatible for exynos3250

Krzysztof Kozlowski (4):
  dt-bindings: Correct the example for Exynos power domain clocks
  dt-bindings: Consolidate Exynos SoC bindings
  dt-bindings: EXYNOS: Document compatibles from other vendors
  MAINTAINERS: Add documentation and dt-bindings for exynos stuff

Laurent Pinchart (2):
  ARM: dts: Fix typo in regulator enable GPIO property in s5pv210-aquila
  ARM: dts: Fix typo in regulator enable GPIO property in s5pv210-goni

Marek Szyprowski (1):
  ARM: dts: Add vbus regulator to USB2 phy nodes on exynos3250,
exynos4210 and exynos4412 boards

Tomeu Vizoso (2):
  clk: samsung: exynos5250: Add DISP1 clocks
  ARM: dts: Add clocks to DISP1 domain in exynos5250

 .../devicetree/bindings/arm/samsung-boards.txt | 27 -
 .../bindings/arm/samsung/samsung-boards.txt| 69
++
 .../devicetree/bindings/iommu/samsung,sysmmu.txt   |  2 +-
 .../power_domain.txt => power/pd-samsung.txt}  |  5 +-
 MAINTAINERS|  4 ++
 arch/arm/boot/dts/exynos3250-monk.dts  |  1 +
 arch/arm/boot/dts/exynos3250-rinato.dts|  1 +
 arch/arm/boot/dts/exynos3250.dtsi  |  4 +-
 arch/arm/boot/dts/exynos4210-trats.dts |  2 +-
 arch/arm/boot/dts/exynos4210-universal_c210.dts|  2 +-
 arch/arm/boot/dts/exynos4412-trats2.dts|  1 +
 arch/arm/boot/dts/exynos5250.dtsi  |  4 ++
 arch/arm/boot/dts/s5pv210-aquila.dts   |  2 +-
 arch/arm/boot/dts/s5pv210-goni.dts |  4 +-
 drivers/clk/samsung/clk-exynos5250.c   | 14 -
 include/dt-bindings/clock/exynos5250.h |  4 +-
 16 files changed, 106 insertions(+), 40 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/samsung-boards.txt
 create mode 100644
Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt
 rename Documentation/devicetree/bindings/{arm/exynos/power_domain.txt
=> power/pd-samsung.txt} (93%)
--
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 5/5] Late Samsung defconfig updates for v4.4

2015-10-23 Thread Kukjin Kim
The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/samsung-defconfig

for you to fetch changes up to f0864f843f0249f3e16e1a9af7152d7aa8070b10:

  ARM: multi_v7_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4
(2015-10-24 04:13:12 +0900)


Samsung defconfig udpates for v4.4

- exynos_defconfig
  : enable USB Video Class for Peach boards.
  : enable DWC2 USB and USB ethernet gadget
  : enable LEDs (LEGS_GPIO and LEDS_PWM)for Odroid-XU3/XU4
  : enable RTL8152 for Odroid-XU4
  : enable WiFi-Ex as a module instead of build-in
  : disable temporal simplefb support (FB_SIMPLE) because
exynos DRM driver can support it now

- multi_v7_defconfig
  : enable DWC2 USB and USB ethernet gadget
  : enable RTL8152 for Odroid-XU4


Anand Moon (3):
  ARM: exynos_defconfig: Enable LEDS for Odroid-XU3/XU4
  ARM: exynos_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4
  ARM: multi_v7_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4

Javier Martinez Canillas (3):
  ARM: exynos_defconfig: Enable USB Video Class support
  ARM: exynos_defconfig: Disable simplefb support
  ARM: exynos_defconfig: Enable WiFi-Ex as a module instead built-in

Marek Szyprowski (2):
  ARM: exynos_defconfig: Enable DWC2 USB driver and USB ethernet gadget
  ARM: multi_v7_defconfig: Enable DWC2 USB driver and USB ethernet
gadget

 arch/arm/configs/exynos_defconfig   | 18 +++---
 arch/arm/configs/multi_v7_defconfig |  3 +++
 2 files changed, 18 insertions(+), 3 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 3/5] Late Samsung SoC updates for v4.4

2015-10-23 Thread Kukjin Kim
The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -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 97d5c7a77e39ab96a2a6137de0e35dd6e3f38325:

  Documentation: EXYNOS: Update bootloader interface on exynos542x
(2015-10-24 04:43:31 +0900)


Samsung SoC updates for v4.4

- use PWM lookup table with pwm_add_table() for the following boards
  : s3c24xx h1940 and rx1950
  : s3c64xx smdk6410, crag6410, hmt and smartq
- document: update bootloader interface on exynos542x


Krzysztof Kozlowski (1):
  Documentation: EXYNOS: Update bootloader interface on exynos542x

Thierry Reding (6):
  ARM: S3C24XX: Use PWM lookup table for mach-h1940
  ARM: S3C24XX: Use PWM lookup table for mach-rx1950
  ARM: S3C64XX: Use PWM lookup table for smdk6410
  ARM: S3C64XX: Use PWM lookup table for mach-crag6410
  ARM: S3C64XX: Use PWM lookup table for mach-hmt
  ARM: S3C64XX: Use PWM lookup table for mach-smartq

 Documentation/arm/Samsung/Bootloader-interface.txt |  5 +++--
 arch/arm/mach-s3c24xx/mach-h1940.c | 10 +++---
 arch/arm/mach-s3c24xx/mach-rx1950.c|  8 ++--
 arch/arm/mach-s3c64xx/dev-backlight.c  |  4 
 arch/arm/mach-s3c64xx/mach-crag6410.c  |  9 +++--
 arch/arm/mach-s3c64xx/mach-hmt.c   |  9 +++--
 arch/arm/mach-s3c64xx/mach-smartq.c|  9 +++--
 arch/arm/mach-s3c64xx/mach-smdk6410.c  |  8 +++-
 8 files changed, 44 insertions(+), 18 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 4/5] Late Samsung driver updates for v4.4

2015-10-23 Thread Kukjin Kim
The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/samsung-driver

for you to fetch changes up to c612d5a7785b307df96938d590c3a1edfb624ccf:

  cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs (2015-10-24
04:34:50 +0900)


Samsung driver udpates for v4.4

- add support for exynos SROM controller DT based driver
  (drivers/soc/samsung/exynos-srom.c)
  : Since the exynos SROM registers are used during Suspend to RAM
so the exynos SROM driver handles the S2R and then we can remove
static mapping for SROM registers.
  : Pankaj tested boot and S2R functionality on Peach-Pi chromebook
  : Pavel tested on SMDK5410 board
  : Krzysztof tested on Trats2 (exynos4412) board
- update Maintainer entry accordingly
- remove superfluous CONFIG_PM ifdefs with Viresh's ack


Bartlomiej Zolnierkiewicz (1):
  cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs

Pankaj Dubey (8):
  ARM: EXYNOS: remove unused static mapping of CMU for exynos5
  ARM: EXYNOS: code cleanup in map.h
  dt-bindings: add exynos-srom device tree binding
  ARM: dts: add SROM device node for exynos4
  ARM: dts: add SROM device node for exynos5
  drivers: soc: add support for exynos SROM driver
  MAINTAINERS: add maintainers entry for drivers/soc/samsung
  ARM: EXYNOS: Remove SROM related register settings from mach-exynos

 .../bindings/arm/samsung/exynos-srom.txt   |  12 ++
 MAINTAINERS|   1 +
 arch/arm/boot/dts/exynos4.dtsi |   5 +
 arch/arm/boot/dts/exynos5.dtsi |   5 +
 arch/arm/mach-exynos/Kconfig   |   2 +
 arch/arm/mach-exynos/exynos.c  |  22 ---
 arch/arm/mach-exynos/include/mach/map.h|   8 -
 arch/arm/mach-exynos/regs-srom.h   |  53 ---
 arch/arm/mach-exynos/suspend.c |  20 +--
 arch/arm/plat-samsung/include/plat/map-s5p.h   |   1 -
 drivers/cpufreq/s5pv210-cpufreq.c  |   2 -
 drivers/soc/Kconfig|   1 +
 drivers/soc/Makefile   |   1 +
 drivers/soc/samsung/Kconfig|  13 ++
 drivers/soc/samsung/Makefile   |   1 +
 drivers/soc/samsung/exynos-srom.c  | 175
+
 drivers/soc/samsung/exynos-srom.h  |  51 ++
 17 files changed, 269 insertions(+), 104 deletions(-)
 create mode 100644
Documentation/devicetree/bindings/arm/samsung/exynos-srom.txt
 delete mode 100644 arch/arm/mach-exynos/regs-srom.h
 create mode 100644 drivers/soc/samsung/Kconfig
 create mode 100644 drivers/soc/samsung/Makefile
 create mode 100644 drivers/soc/samsung/exynos-srom.c
 create mode 100644 drivers/soc/samsung/exynos-srom.h
--
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 v5 8/8] ARM: EXYNOS: Remove SROM related register settings from mach-exynos

2015-10-23 Thread Kukjin Kim
On 10/20/15 18:15, Pankaj Dubey wrote:
> As now we have dedicated driver for SROM controller, it will take care
> of saving register banks during S2R so we can safely remove these
> settings from mach-exynos.
> 
> Signed-off-by: Pankaj Dubey 
> Reviewed-by: Krzysztof Kozlowski 
> ---
>  arch/arm/mach-exynos/Kconfig |  2 ++
>  arch/arm/mach-exynos/exynos.c| 17 -
>  arch/arm/mach-exynos/include/mach/map.h  |  3 --
>  arch/arm/mach-exynos/regs-srom.h | 53 
> 
>  arch/arm/mach-exynos/suspend.c   | 20 ++-
>  arch/arm/plat-samsung/include/plat/map-s5p.h |  1 -
>  6 files changed, 4 insertions(+), 92 deletions(-)
>  delete mode 100644 arch/arm/mach-exynos/regs-srom.h
> 
> diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
> index 3a10f1a..62c3139 100644
> --- a/arch/arm/mach-exynos/Kconfig
> +++ b/arch/arm/mach-exynos/Kconfig
> @@ -27,6 +27,8 @@ menuconfig ARCH_EXYNOS
>   select SRAM
>   select THERMAL
>   select MFD_SYSCON
> + select SOC_SAMSUNG
> + select EXYNOS_SROM if PM

Please add them in alphabetical next time...I've changed the order in
this 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: [PATCHv2] ARM: dts: change the compatible from exynos5250 to exynos5420 for mshc

2015-10-23 Thread Kukjin Kim
On 10/23/15 11:14, Krzysztof Kozlowski wrote:
> On 23.10.2015 11:01, Jaehoon Chung wrote:
>> Exynos3250 and exnos5250 are some differences in Mobile Storage Host.
>> (For example, exynos3250 support the HS400 mode, but exynos5250 doesn't
>> support it.)
>> Exynos3250 can perform the similar function with exynos5420 compatible.
>> So this patch changes the compatible from exynos5250 to exynos5420
>> for mshc.
>>
>> Signed-off-by: Jaehoon Chung 
>> ---
>> Changelog v2:
>>  - Drop "mmc: dw_mmc: exynos: Add the exynos3250 compatible" patch.
>>  - Describe commit-message more detailedly than before.
>>  - Change to exynos5420, not add new compatible (exynos3250).
>>
>>  arch/arm/boot/dts/exynos3250.dtsi | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> 
> Thanks! Looks good:
> 
> Reviewed-by: Krzysztof Kozlowski 
> 
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: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-23 Thread Kukjin Kim
On 10/24/15 03:52, Kukjin Kim wrote:
> On 10/21/15 23:55, Javier Martinez Canillas wrote:
>> Hello Alim,
>>
>> On 10/21/2015 04:50 PM, Alim Akhtar wrote:
>>
>> [snip]
>>
>>>>
>>>> [0]:
>>>> From c9b250ee03bae338339b70693e906145c719f783 Mon Sep 17 00:00:00 2001
>>>> From: Javier Martinez Canillas <jav...@osg.samsung.com>
>>>> Date: Wed, 21 Oct 2015 11:59:44 +0200
>>>> Subject: [RFT PATCH] mmc: pwrseq: Use highest priority for eMMC restart
>>>>  handler
>>>>
>>>> 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.
>>>>
>>>> But this has to be called before a system reboot handler and while most
>>>> of them use the priority 128, there are other restart handlers (such as
>>>> the syscon-reboot one) that use a higher priority. So, use the highest
>>>> priority to make sure that the eMMC hw is reset before a system reboot.
>>>>
>>>> Signed-off-by: Javier Martinez Canillas <jav...@osg.samsung.com>
>>>> ---
>>> Looks good.
>>> Reviewed-by: Alim Akhtar <alim.akh...@samsung.com>
>>>
>>
>> Thanks, should I post it as a proper patch or are adding it to your
>> series? I think the latter is more reasonable so with an ack from Ulf,
>> all patches can go through the linux-samsung tree.
>>  
> Javier,
> 
> Can you please post your fix right now? so that I could take this series
> for v4.4 of late pull-request...
> 
I found the patch in linux-arm-kernel ml just nowlet me see. Please
kindly ignore previous my comments...

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] thermal: exynos: Fix register read in TMU

2015-10-16 Thread Kukjin Kim
On 10/13/15 08:51, Krzysztof Kozlowski wrote:
> From: Sudip Mukherjee 
> 
> The value of emul_con was getting overwritten if the selected soc is
> SOC_ARCH_EXYNOS5260. And so as a result we were reading from the wrong
> register in the case of SOC_ARCH_EXYNOS5260.
> 
> Signed-off-by: Sudip Mukherjee 
> Reviewed-by: Krzysztof Kozlowski 
> Reviewed-by: Chanwoo Choi 
> Acked-by: Lukasz Majewski 
> Fixes: 488c7455d74c ("thermal: exynos: Add the support for Exynos5433 TMU")
> Signed-off-by: Krzysztof Kozlowski 
> ---
>  drivers/thermal/samsung/exynos_tmu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/samsung/exynos_tmu.c 
> b/drivers/thermal/samsung/exynos_tmu.c
> index 0bae8cc6c23a..ca920b0ecf8f 100644
> --- a/drivers/thermal/samsung/exynos_tmu.c
> +++ b/drivers/thermal/samsung/exynos_tmu.c
> @@ -932,7 +932,7 @@ static void exynos4412_tmu_set_emulation(struct 
> exynos_tmu_data *data,
>  
>   if (data->soc == SOC_ARCH_EXYNOS5260)
>   emul_con = EXYNOS5260_EMUL_CON;
> - if (data->soc == SOC_ARCH_EXYNOS5433)
> + else if (data->soc == SOC_ARCH_EXYNOS5433)
>   emul_con = EXYNOS5433_TMU_EMUL_CON;
>   else if (data->soc == SOC_ARCH_EXYNOS7)
>   emul_con = EXYNOS7_TMU_REG_EMUL_CON;

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


[GIT PULL] Samsung 2nd fixes for v4.3

2015-10-16 Thread Kukjin Kim
Hello Arnd, Olof, Kevin

Here is 2nd Samsung fixes for v4.3 and it is including fix of exynos
thermal driver with exynos thermal driver maintainer(Lukasz)'s ack.

Please pull.

Thanks,
Kukjin


The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/samsung-fixes-2

for you to fetch changes up to b28fec1324bf8f5010d2c3c5d57db4115bda66d4:

  thermal: exynos: Fix register read in TMU (2015-10-17 08:08:56 +0900)


Samsung 2nd fixes for v4.3

- fix SOC detection of exynos thermal on exynos5260
- fix audio card detection on Peach boards
- fix double of_node_put() when parsing child power domains


Alim Akhtar (1):
  ARM: dts: Fix audio card detection on Peach boards

Krzysztof Kozlowski (1):
  ARM: EXYNOS: Fix double of_node_put() when parsing child power domains

Sudip Mukherjee (1):
  thermal: exynos: Fix register read in TMU

 arch/arm/boot/dts/exynos5420-peach-pit.dts | 5 +
 arch/arm/boot/dts/exynos5800-peach-pi.dts  | 5 +
 arch/arm/mach-exynos/pm_domains.c  | 8 +++-
 drivers/thermal/samsung/exynos_tmu.c   | 2 +-
 4 files changed, 14 insertions(+), 6 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


Re: [PATCH v2 0/6] ARM: dts: Use correct CD properties for SDIO and eMMC in Snow and Peach

2015-10-16 Thread Kukjin Kim
On 10/16/15 22:48, Javier Martinez Canillas wrote:
> Hello Alim,
> 
> On 10/16/2015 01:37 PM, Alim Akhtar wrote:
>> Hi Javier,
>>
>> On 10/15/2015 10:21 PM, Javier Martinez Canillas wrote:
>>> Hello,
>>>
>>> The Exynos Chromebooks DTS don't use the correct card detection properties
>>> since these were carried from the vendor tree that had a reason to do so.
>>>
>>> There are two things that I noticed:
>>>
>>> 1) The Marvell WiFi SDIO is marked as broken-cd instead of non-removable:
>>>
>>> This causes the device to be removed when the system enters into a suspend
>>> state which leads to the following warning when the system is resumed:
>>>
>>> [  181.944636] mmc2: error -2 during resume (card was removed?)
>>>
>>> The rationale for using broken-cd is explained in downstream commit [0] and
>>> was that using the non-removable property caused issues with the mwifiex
>>> driver since the reset logic called the mmc_{remove,add}_host() functions.
>>>
>>> But the reset logic in the mwifiex mainline driver has changed and this is
>>> no longer the case so it's safe to use the non-removable property AFAICT.
>>>
>> Good to know it is fixed now. This is fixed in firmware or in the driver?
>>
> 
> The fix is only in the driver. In fact, I'm using the same firmware from
> the ChromeOS rootfs for both the v3.8 vendor tree and mainline.
> 
> So IIUC, the problem with the vendor tree was that the mwifiex SDIO driver
> mwifiex_sdio_reset_work() function did a card reset by calling the functions
> mmc_remove_host() and then mmc_add_host().
> 
> But this didn't play nice with MMC_CAP_NONREMOVABLE since mmc_rescan() just
> returns if the flag is set so the card wouldn't be tried to be detected again.
> 
> After commit ("b4336a282db8 mwifiex: sdio: reset adapter using mmc_hw_reset"),
> the card is reset by doing a power cycle so that's why "non-removable" can be
> used now instead of "broken-cd".
> 
>>> 2) The eMMC node has both broken-cd and non-removable but the MMC DT binding
>>> doc (Documentation/devicetree/bindings/mmc/mmc.txt) mentions that only one
>>> of these card detection properties should be used.
>>>
>> This change looks ok, will take a closer look once I am back to my work 
>> station.
>>
Actually, looks good to me +1.
Let me take this series once get the feedback from Alim.

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 1/2] clk: samsung: exynos5250: Add DISP1 clocks

2015-10-16 Thread Kukjin Kim
On 10/17/15 03:56, Tomeu Vizoso wrote:
> On 16 October 2015 at 19:26, Stephen Boyd  wrote:
>> On 10/16, Michael Turquette wrote:
>>> Quoting Krzysztof Kozlowski (2015-10-15 16:46:27)
 On 15.10.2015 19:31, Tomeu Vizoso wrote:
> When the DISP1 power domain is powered off, there's two clocks that need
> to be temporarily reparented to OSC, and back to their original parents
> when the domain is powered on again.
>
> We expose these two clocks in the DT bindings so that the DT node of the
> power domain can reference them.
>
> Signed-off-by: Tomeu Vizoso 
> Acked-by: Stephen Boyd 
> ---
>
> Changes in v2:
> - Reuse mout_aclk200_p
> - Rename div_aclk300 as div_aclk300_disp
>
>  drivers/clk/samsung/clk-exynos5250.c   | 14 +-
>  include/dt-bindings/clock/exynos5250.h |  4 +++-
>  2 files changed, 16 insertions(+), 2 deletions(-)
>

 Reviewed-by: Krzysztof Kozlowski 
>>>
>>> Applied to clk-next.
>>>
>>
>> I think Tomeu wanted to take this through arm-soc? Otherwise
>> we'll need to provide a stable branch for the dt header.
> 
> Hi, Stephen is right, the second patch depends on this one.
> 
So...how can I take 2nd patch of this series in samsung(arm-soc) tree?
And this series shouldn't be for fixes for 4.3?...Mike how do you think?

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 v3] i2c: s3c2410: enable RuntimePM before registering to the core

2015-10-12 Thread Kukjin Kim
On 10/10/15 16:24, Wolfram Sang wrote:
> From: Wolfram Sang <wsa+rene...@sang-engineering.com>
> 
> The core may register clients attached to this master which may use
> funtionality from the master. So, RuntimePM must be enabled before, otherwise
> this will fail. While here, move drvdata, too.
> 
> Signed-off-by: Wolfram Sang <wsa+rene...@sang-engineering.com>

Looks good to me,

Acked-by: Kukjin Kim <kg...@kernel.org>

Thanks,
Kukjin

> ---
> 
> Changes since v2: don't call runtime pm on adaper if it wasn't registered
> 
> Thanks to Krzysztof for testing!
> 
>  drivers/i2c/busses/i2c-s3c2410.c | 8 +---
>  1 file changed, 5 insertions(+), 3 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


Re: [PATCH v2] arm: dts: Fix audio card detection on peach boards

2015-10-12 Thread Kukjin Kim
On 10/12/15 22:04, Krzysztof Kozlowski wrote:
> W dniu 12.10.2015 o 21:37, Alim Akhtar pisze:
>> Since commit 2fad972d45c4 ("ARM: dts: Add mclk entry for Peach boards"),
>> sound card detection is broken on peach boards and gives below errors:
>>
>> [3.630457] max98090 7-0010: MAX98091 REVID=0x51
>> [3.634233] max98090 7-0010: use default 2.8v micbias
>> [3.640985] snow-audio sound: HiFi <-> 383.i2s mapping ok
>> [3.645307] max98090 7-0010: Invalid master clock frequency
>> [3.650824] snow-audio sound: ASoC: Peach-Pi-I2S-MAX98091 late_probe() 
>> failed: -22
>> [3.658914] snow-audio sound: snd_soc_register_card failed (-22)
>> [3.664366] snow-audio: probe of sound failed with error -22
>>
>> This patch adds missing assigned-clocks and assigned-clock-parents for
>> pmu_system_controller node which is used as "mclk" for audio codec.
>>
>> Signed-off-by: Alim Akhtar 
>> Fixes: 2fad972d45c4 ("ARM: dts: Add mclk entry for Peach boards")
>> Cc: 
>> ---
>> Changes since v1:
>> Addressed Krzysztof's review comments.
> 
> Looks good, thanks!
> 
> Reviewed-by: Krzysztof Kozlowski 
> 
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: [PATCH] ARM: EXYNOS: Fix double of_node_put() when parsing child power domains

2015-10-12 Thread Kukjin Kim
On 10/12/15 10:26, Krzysztof Kozlowski wrote:
> On each next iteration of for_each_compatible_node() the reference
> counter for current device node is already decreased by the loop
> iterator. The manual call to of_node_get() is required only on loop
> break which is not happening here.
> 
> The double of_node_get() (with enabled CONFIG_OF_DYNAMIC) lead to
> decreasing the counter below expected, initial value.
> 
> Signed-off-by: Krzysztof Kozlowski 
> Fixes: fe4034a3fad7 ("ARM: EXYNOS: Add missing of_node_put() when parsing 
> power domains")
> ---
>  arch/arm/mach-exynos/pm_domains.c | 8 +++-
>  1 file changed, 3 insertions(+), 5 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos/pm_domains.c 
> b/arch/arm/mach-exynos/pm_domains.c
> index 4a87e86dec45..7c21760f590f 100644
> --- a/arch/arm/mach-exynos/pm_domains.c
> +++ b/arch/arm/mach-exynos/pm_domains.c
> @@ -200,15 +200,15 @@ no_clk:
>   args.args_count = 0;
>   child_domain = of_genpd_get_from_provider();
>   if (IS_ERR(child_domain))
> - goto next_pd;
> + continue;
>  
>   if (of_parse_phandle_with_args(np, "power-domains",
>"#power-domain-cells", 0, ) != 0)
> - goto next_pd;
> + continue;
>  
>   parent_domain = of_genpd_get_from_provider();
>   if (IS_ERR(parent_domain))
> - goto next_pd;
> + continue;
>  
>   if (pm_genpd_add_subdomain(parent_domain, child_domain))
>   pr_warn("%s failed to add subdomain: %s\n",
> @@ -216,8 +216,6 @@ no_clk:
>   else
>   pr_info("%s has as child subdomain: %s.\n",
>   parent_domain->name, child_domain->name);
> -next_pd:
> - of_node_put(np);
>   }
>  
>   return 0;

Looks good to me, 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


[GIT PULL] Samsung DT updates for v4.4

2015-10-12 Thread Kukjin Kim
Hi Arnd, Olof, Kevin,

Here is Samsung DT updates for v4.4, please pull.

Thanks,
Kukjin

The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/samsung-dt-1

for you to fetch changes up to df829b06f0079165d9dc7719af8f8a7da852fe51:

  ARM: dts: Use GPIO constants for flags cells in exynos5440 boards
(2015-10-08 07:39:58 +0900)


Samsung DT updates for v4.4

- New board support
  : add exynos5250-snow-rev5 DT file to support Snow Rev5+ board
  : add exynos5422-odroidxu4 DT file to support Odroid XU4 board
  : split exynos5422-odroidxu3-audio DT file from odroidxu3-common

- USE GPIO constants for flags cells for exynos boards
- fix cpu compatible value to 'arm926ej-s' for s3c2416

- add DMA support for serial ports for exynos4
- add suspend opp for exynos4412
- remove regulator-compatible usage for exynos4412-trats2

- enable EC vboot context support for Peach boards
- move display-timings node to DP for exynos5250-arndale, smdk5250 and
smdk5420

- for exynos4412-odroid/odroidu3
  : unify voltage regulator style and
  : remove redundant pinctrl settings
  : add pwm-fan node and use it as a colling device

- for exynos5422-odroidxu3
  : fix power off method and LEDs

- dt-bindings
  : grounded AC0KB pin on S2MPS11
  : entry how to use PWM FAN as a cooling device


Bartlomiej Zolnierkiewicz (1):
  ARM: dts: add suspend opp to exynos4412

Emilio Lopez (1):
  ARM: dts: Enable EC vboot context support on Peach boards

Javier Martinez Canillas (7):
  ARM: dts: Add Exynos5250 Snow Rev5+ support on exynos5250-snow-rev5
  ARM: dts: Remove regulator-compatible usage in exynos4412-trats2
  ARM: dts: Use GPIO constants for flags cells in exynos3250 boards
  ARM: dts: Use GPIO constants for flags cells in exynos4120 boards
  ARM: dts: Use GPIO constants for flags cells in exynos4412 boards
  ARM: dts: Use GPIO constants for flags cells in
exynos5420/5422/5800 boards
  ARM: dts: Use GPIO constants for flags cells in exynos5440 boards

Kamil Debski (1):
  ARM: dts: Add pwm-fan node for exynos4412-odroidu3

Krzysztof Kozlowski (5):
  ARM: dts: Fix LEDs on exynos5422-odroidxu3
  dt-bindings: Document grounded ACOKB pin on S2MPS11
  ARM: dts: Fix power off method for exynos5422-odroidxu3-common
  ARM: dts: Split audio configuration to separate
exynos5422-odroidxu3-audio
  ARM: dts: Add support Odroid XU4 board for exynos5422-odroidxu4

Kukjin Kim (1):
  Merge tag 'samsung-dt-4.4-2' of http://github.com/krzk/linux into
v4.4-next/dt-samsung

Lukasz Majewski (2):
  dt-bindings: Documentation entry to explain how to use PWM FAN as
a cooling device
  ARM: dts: use pwm-fan device as a cooling device for
exynos4412-odroidu3

Robert Baldyga (1):
  ARM: dts: Add DMA support for serial ports in exynos4

Sean Paul (1):
  ARM: dts: Move display-timings node from fimd to dp in
exynos5250-arndale, smdk5250 and smdk5420

Tobias Jakobi (2):
  ARM: dts: Remove redundant pinctrl settings in exynos4412-odroid
  ARM: dts: Unify voltage regulator style in exynos4412-odroid

Vladimir Zapolskiy (1):
  ARM: dts: Fix cpu compatible value for s3c2416

 .../devicetree/bindings/hwmon/pwm-fan.txt  |  29 +-
 Documentation/devicetree/bindings/mfd/s2mps11.txt  |   4 +
 arch/arm/boot/dts/Makefile |   2 +
 arch/arm/boot/dts/exynos3250-monk.dts  |   8 +-
 arch/arm/boot/dts/exynos3250-rinato.dts|  10 +-
 arch/arm/boot/dts/exynos4.dtsi |   8 +
 arch/arm/boot/dts/exynos4210-origen.dts|  15 +-
 arch/arm/boot/dts/exynos4210-smdkv310.dts  |   3 +-
 arch/arm/boot/dts/exynos4210-trats.dts |  29 +-
 arch/arm/boot/dts/exynos4210-universal_c210.dts|  42 +-
 arch/arm/boot/dts/exynos4412-odroid-common.dtsi|  27 +-
 arch/arm/boot/dts/exynos4412-odroidu3.dts  |  45 +-
 arch/arm/boot/dts/exynos4412-odroidx.dts   |   8 +-
 arch/arm/boot/dts/exynos4412-origen.dts|  15 +-
 arch/arm/boot/dts/exynos4412-tiny4412.dts  |   9 +-
 arch/arm/boot/dts/exynos4412-trats2.dts| 139 ++---
 arch/arm/boot/dts/exynos4412.dtsi  |   1 +
 arch/arm/boot/dts/exynos5250-arndale.dts   |   8 +-
 arch/arm/boot/dts/exynos5250-smdk5250.dts  |  16 +-
 arch/arm/boot/dts/exynos5250-snow-common.dtsi  | 684
+
 arch/arm/boot/dts/exynos5250-snow-rev5.dts |  47 ++
 arch/arm/boot/dts/exynos5250-snow.dts  | 671
+---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts  |   3 +-
 arch/arm/boot/dts/exynos5420-peach-pit.dts |   9 +-
 arch/arm/boot/dts/exynos5420

Re: [GIT PULL] ARM: defconfig: Exynos improvements for 4.4

2015-10-12 Thread Kukjin Kim
On 09/30/15 11:22, Krzysztof Kozlowski wrote:
> Dear Kukjin,
> 
> Few defconfig related changes for 4.4.
> 
> Description along with a tag.
> You can find them also on the lists with my reviewed-by.
> 
> Best regards,
> Krzysztof
> 
> 
> The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:
> 
>   Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)
> 
> are available in the git repository at:
> 
>   https://github.com/krzk/linux.git tags/samsung-defconfig-4.4
> 
> for you to fetch changes up to 7fa5ce4e6fcb4596761c17e124e7d1f8cf64fe96:
> 
>   ARM: exynos_defconfig: Disable simplefb support (2015-09-13 19:25:39 +0900)
> 
> 
> Defconfig changes around Exynos based boards:
> 1. Enable DWC2 USB driver for exynos and multi_v7 defconfigs.
>The driver is present on Exynos and Rockhip boards. Enabling also
>ethernet gadget allows betwork communication with the device.
> 2. Enable LEDS for Odroid XU3/XU4 family boards (provides simple
>monitoring of the board).
> 3. Disable the simplefb driver because in certain situations (when
>U-boot injects simplefb bindings into DTB) it may break display.
> 
> 
> Anand Moon (1):
>   ARM: exynos_defconfig: Enable LEDS for Odroid-XU3/XU4
> 
> Javier Martinez Canillas (1):
>   ARM: exynos_defconfig: Disable simplefb support
> 
> Marek Szyprowski (2):
>   ARM: exynos_defconfig: Enable DWC2 USB driver and USB ethernet gadget
>   ARM: multi_v7_defconfig: Enable DWC2 USB driver and USB ethernet gadget
> 
>  arch/arm/configs/exynos_defconfig   | 9 -
>  arch/arm/configs/multi_v7_defconfig | 2 ++
>  2 files changed, 10 insertions(+), 1 deletion(-)

Pulled, 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: [GIT PULL] ARM: dts: Exynos improvements for 4.4-2

2015-10-07 Thread Kukjin Kim
On 10/06/15 10:54, Krzysztof Kozlowski wrote:
> Dear Kukjin,
> 
> This is an updated pull request with DTS related changes for 4.4.
> 
> Description along with a tag.
> You can find them also on the lists with my reviewed-by.
> 
> Best regards,
> Krzysztof
> 
> 
> The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:
> 
>   Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)
> 
> are available in the git repository at:
> 
>   https://github.com/krzk/linux.git tags/samsung-dt-4.4-2
> 
> for you to fetch changes up to c21dbcfefc9dc9abc42971dc1f2681b6a8677c3c:
> 
>   ARM: dts: Remove regulator-compatible usage in exynos4412-trats2 
> (2015-10-06 10:47:13 +0900)
> 
> 
> Device Tree improvements for Exynos based boards (updated pull request):
> 1. Enable DMA on Exynos4 serial ports. This old patch uncovered
>a number of other issues in dmaengine and samsung serial driver.
>All of known issues are resolved so finally enable the DMA for UART.
> 2. Fix incorrect location of display-timings node (FIMD->DP node)
>on Arndale, SMDK5250 and SMDK5240 boards.
> 3. Minor cleanups.
> 
> 
> Javier Martinez Canillas (1):
>   ARM: dts: Remove regulator-compatible usage in exynos4412-trats2
> 
> Robert Baldyga (1):
>   ARM: dts: Add DMA support for serial ports in exynos4
> 
> Sean Paul (1):
>   ARM: dts: Move display-timings node from fimd to dp in 
> exynos5250-arndale, smdk5250 and smdk5420
> 
> Tobias Jakobi (2):
>   ARM: dts: Remove redundant pinctrl settings in exynos4412-odroid
>   ARM: dts: Unify voltage regulator style in exynos4412-odroid
> 
> Vladimir Zapolskiy (1):
>   ARM: dts: Fix cpu compatible value for s3c2416
> 
>  arch/arm/boot/dts/exynos4.dtsi  |   8 ++
>  arch/arm/boot/dts/exynos4412-odroid-common.dtsi |  12 +--
>  arch/arm/boot/dts/exynos4412-trats2.dts | 105 
> 
>  arch/arm/boot/dts/exynos5250-arndale.dts|   8 +-
>  arch/arm/boot/dts/exynos5250-smdk5250.dts   |  16 ++--
>  arch/arm/boot/dts/exynos5420-smdk5420.dts   |   7 +-
>  arch/arm/boot/dts/s3c2416.dtsi  |   2 +-
>  7 files changed, 62 insertions(+), 96 deletions(-)

Pulled, 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 v3 4/4] ARM: dts: Enable EC vboot context support on Peach boards

2015-10-07 Thread Kukjin Kim
On 09/21/15 22:38, Emilio LĂ³pez wrote:
> The Peach boards use the EC to store the vboot context information,
> so add the corresponding properties on the EC node to indicate so.
> 
> Reviewed-by: Krzysztof Kozlowski 
> Acked-by: Javier Martinez Canillas 
> Signed-off-by: Emilio LĂ³pez 
> ---
> 
> Changes from v1:
>  - none
> 
> Changes from v2:
>  - collect tags from Krzysztof & Javier
> 
>  arch/arm/boot/dts/exynos5420-peach-pit.dts | 1 +
>  arch/arm/boot/dts/exynos5800-peach-pi.dts  | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts 
> b/arch/arm/boot/dts/exynos5420-peach-pit.dts
> index 8f4d76c..ac02fb4 100644
> --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
> +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
> @@ -935,6 +935,7 @@
>   pinctrl-0 = <_spi_cs _irq>;
>   reg = <0>;
>   spi-max-frequency = <3125000>;
> + google,has-vbc-nvram;
>  
>   controller-data {
>   samsung,spi-feedback-delay = <1>;
> diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts 
> b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> index 7d5b386..b60dec0 100644
> --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
> +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
> @@ -898,6 +898,7 @@
>   pinctrl-0 = <_spi_cs _irq>;
>   reg = <0>;
>   spi-max-frequency = <3125000>;
> + google,has-vbc-nvram;
>  
>   controller-data {
>   samsung,spi-feedback-delay = <1>;

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: [PATCH 0/5] ARM: dts: Use GPIO constants for flags cells in exynos boards

2015-10-07 Thread Kukjin Kim
On 10/07/15 22:14, Javier Martinez Canillas wrote:
> Hello,
> 
> This series contains trivial patches that use the GPIO constants
> defined in include/dt-bindings/gpio/gpio.h to express GPIO polarity
> instead of numeric values.
> 
> There is no functional change and the compiled dtbs are unchanged but
> is a good practice to use the defined macros instead of magic numbers
> since that makes the DTS more readable.
> 
> Since the changes are trivial, I thought that split the changes per
> board DTS would create an unnecessary churn but a single patch would
> maybe be harder to review so I decided that split it by SoC family
> would be a good trade off.
> 
> Please let me know if you prefer another approach.
> 
> Best regards,
> Javier
> 
> 
> Javier Martinez Canillas (5):
>   ARM: dts: Use GPIO constants for flags cells in exynos3250 boards
>   ARM: dts: Use GPIO constants for flags cells in exynos4120 boards
>   ARM: dts: Use GPIO constants for flags cells in exynos4412 boards
>   ARM: dts: Use GPIO constants for flags cells in exynos5420/5422/5800
> boards
>   ARM: dts: Use GPIO constants for flags cells in exynos5440 boards
> 
>  arch/arm/boot/dts/exynos3250-monk.dts  |  8 ++---
>  arch/arm/boot/dts/exynos3250-rinato.dts| 10 +++---
>  arch/arm/boot/dts/exynos4210-origen.dts| 15 
>  arch/arm/boot/dts/exynos4210-smdkv310.dts  |  3 +-
>  arch/arm/boot/dts/exynos4210-trats.dts | 29 +++
>  arch/arm/boot/dts/exynos4210-universal_c210.dts| 42 
> +++---
>  arch/arm/boot/dts/exynos4412-odroid-common.dtsi| 15 
>  arch/arm/boot/dts/exynos4412-odroidu3.dts  |  2 +-
>  arch/arm/boot/dts/exynos4412-odroidx.dts   |  8 ++---
>  arch/arm/boot/dts/exynos4412-origen.dts| 15 
>  arch/arm/boot/dts/exynos4412-tiny4412.dts  |  9 ++---
>  arch/arm/boot/dts/exynos4412-trats2.dts| 34 +-
>  arch/arm/boot/dts/exynos5420-arndale-octa.dts  |  3 +-
>  arch/arm/boot/dts/exynos5420-peach-pit.dts |  8 ++---
>  arch/arm/boot/dts/exynos5420-smdk5420.dts  |  7 ++--
>  arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi |  4 +--
>  arch/arm/boot/dts/exynos5440-ssdk5440.dts  |  5 +--
>  arch/arm/boot/dts/exynos5800-peach-pi.dts  |  8 ++---
>  18 files changed, 118 insertions(+), 107 deletions(-)
> 
Applied this whole series, 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: [GIT PULL] ARM: dts: Exynos improvements for 4.4

2015-10-05 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
> 
> Dear Kukjin,
> 
Hi,

> DTS related changes for 4.4.
> 
> Description along with a tag.
> You can find them also on the lists with my reviewed-by.
> 
I have small comments. Then I could just pull your branch...

> Best regards,
> Krzysztof
> 
> 
> The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:
> 
>   Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)
> 
> are available in the git repository at:
> 
>   https://github.com/krzk/linux.git tags/samsung-dt-4.4
> 
> for you to fetch changes up to 01dd011b7a0230a426a79475ae452298421a16e4:
> 
>   ARM: dts: exynos4412-trats2: remove regulator-compatible usage (2015-09-30 
> 09:03:03 +0900)
> 
> 
> Device Tree improvements for Exynos based boards:
> 1. Enable DMA on Exynos4 serial ports. This old patch uncovered
>a number of other issues in dmaengine and samsung serial driver.
>All of known issues are resolved so finally enable the DMA for UART.
> 2. Fix incorrect location of display-timings node (FIMD->DP node).
> 3. Minor cleanups.
> 
> 
> Javier Martinez Canillas (1):
>   ARM: dts: exynos4412-trats2: remove regulator-compatible usage

Can you please move the dt name at the end of subject like others?

> 
> Robert Baldyga (1):
>   ARM: dts: Add DMA support for serial ports in exynos4
> 
> Sean Paul (1):
>   ARM: dts: Move display-timings node from fimd to dp on Exynos

For all of exynos? If not, please specify the dt file in subject so that we
could realize what has been updated.

> 
> Tobias Jakobi (2):
>   ARM: dts: Remove redundant pinctrl settings in exynos4412-odroid
>   ARM: dts: Unify voltage regulator style in exynos4412-odroid
> 
> Vladimir Zapolskiy (1):
>   ARM: dts: Fix cpu compatible value for s3c2416
> 
>  arch/arm/boot/dts/exynos4.dtsi  |   8 ++
>  arch/arm/boot/dts/exynos4412-odroid-common.dtsi |  12 +--
>  arch/arm/boot/dts/exynos4412-trats2.dts | 105 
> 
>  arch/arm/boot/dts/exynos5250-arndale.dts|   8 +-
>  arch/arm/boot/dts/exynos5250-smdk5250.dts   |  16 ++--
>  arch/arm/boot/dts/exynos5420-smdk5420.dts   |   7 +-
>  arch/arm/boot/dts/s3c2416.dtsi  |   2 +-
>  7 files changed, 62 insertions(+), 96 deletions(-)

- 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: [GIT PULL] arm64: dts: Exynos ARMv8 improvements for 4.4

2015-10-05 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
> 
> Dear Kukjin,
> 
> One ARMv8 DTS change for 4.4.
> 
> Best regards,
> Krzysztof
> 
> The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:
> 
>   Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)
> 
> are available in the git repository at:
> 
>   https://github.com/krzk/linux.git tags/samsung-dt64-4.4
> 
> for you to fetch changes up to 235c8e96f54a76bee201a7c86620c351a30b1ac6:
> 
>   arm64: dts: Add BUS1 instance pinctrl support for exynos7 (2015-09-16 
> 09:03:09 +0900)
> 
> 
> Device Tree improvements for Exynos ARMv8 based boards:
> 1. Add a BUS1 instance pinctrl for Exynos7 SoC.
> 
> 
> Alim Akhtar (1):
>   arm64: dts: Add BUS1 instance pinctrl support for exynos7
> 
>  arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 103 
> 
>  arch/arm64/boot/dts/exynos/exynos7.dtsi |   7 ++
>  2 files changed, 110 insertions(+)

Looks good to me. Since just one patch in this pull-request if you don't mind,
let me take the patch directly with your signed-off.

- 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] Samsung fixes for v4.3

2015-10-05 Thread Kukjin Kim
The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/samsung-fixes

for you to fetch changes up to 4776dbb3583d10969f991cc89da781884c15979d:

  Merge tag 'samsung-fixes-4.3' of http://github.com/krzk/linux into
v4.3-samsung-fixes (2015-09-30 15:42:39 +0900)



Samsung fixes for v4.3

- fix invalid clock used for FIMD IOMMU
- fix thermal boot issue smdk5250-smdk5250
- fix S2R on exynos4412 trats2 boards
- fix LEDs on exynos5422-odroidxu3-common
- fix booting of all 8 cores on exynos542x


Bartlomiej Zolnierkiewicz (1):
  ARM: dts: add suspend opp to exynos4412

Chanho Park (1):
  ARM: EXYNOS: reset Little cores when cpu is up

Joonyoung Shim (1):
  ARM: dts: Fix wrong clock binding for sysmmu_fimd1_1 on exynos5420

Krzysztof Kozlowski (1):
  ARM: dts: Fix LEDs on exynos5422-odroidxu3

Kukjin Kim (1):
  Merge tag 'samsung-fixes-4.3' of http://github.com/krzk/linux into
v4.3-samsung-fixes

Yadwinder Singh Brar (1):
  ARM: dts: Fix bootup thermal issue on smdk5250

 arch/arm/boot/dts/exynos4412.dtsi  |  1 +
 arch/arm/boot/dts/exynos5250-smdk5250.dts  |  1 +
 arch/arm/boot/dts/exynos5420.dtsi  |  2 +-
 arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi |  1 -
 arch/arm/mach-exynos/mcpm-exynos.c | 27
+-
 arch/arm/mach-exynos/regs-pmu.h|  6 +
 6 files changed, 35 insertions(+), 3 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


RE: [GIT PULL] Samsung fixes for v4.3

2015-10-04 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
> 
> On 30.09.2015 15:50, Kukjin Kim wrote:
> > On 09/30/15 08:59, Krzysztof Kozlowski wrote:
> >> Dear Kukjin,
> >>
> >> Below you will find fixes for current release cycle which are not
> >> present yet in your tree.
> >>
> >> Best regards,
> >> Krzysztof
> >>
> >>
> >> The following changes since commit 
> >> 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:
> >>
> >>   Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)
> >>
> >> are available in the git repository at:
> >>
> >>   https://github.com/krzk/linux.git tags/samsung-fixes-4.3
> >>
> >> for you to fetch changes up to c7d2ecd9f64c351cb4d551f1f472d0fc09c3cae8:
> >>
> >>   ARM: dts: Fix wrong clock binding for sysmmu_fimd1_1 on exynos5420 
> >> (2015-09-29 15:39:58 +0900)
> >>
> >> 
> >> Fixes for Exynos (DT and mach code):
> >> 1. Finally fix booting of all 8 cores on Exynos Octa (Exynos542x): all
> >>8 cores are booting and can be used. The fix, based on vendor
> >>code and bootloader behavior, is as for time being only
> >>for MCPM enabled path.
> >> 2. Fix thermal boot issue on SMDK5250.
> >> 3. Fix invalid clock used for FIMD IOMMU.
> >>
> > Pulled, thanks.
> >
> > Note it will be sent to upstream in a day.
> 
> A day extended to a week. Please do not hold the fixes but send them. If
> they reached Linus tree late and they required any further fix, then we
> would have less time for any updates.
> 
Sorry for the delay and it's my fault. I'll handle it tonight...

> The same applies for regular pull request for 4.4. For previous v4.3
> release many changes were too late (so they could even slip from 4.3 to
> 4.4). Can we just avoid such issues and send pull requests earlier?
> 
Krzysztof, I sent a pull request lately because of handling of cross-tree but I
don't think so it causes some missing because it was due to cross tree not only
mine. Please don't worry about that I'll handle it.

Anyway thanks for your gentle reminder.

- 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: [GIT PULL] Samsung fixes for v4.3

2015-09-30 Thread Kukjin Kim
On 09/30/15 08:59, Krzysztof Kozlowski wrote:
> Dear Kukjin,
> 
> Below you will find fixes for current release cycle which are not
> present yet in your tree.
> 
> Best regards,
> Krzysztof
> 
> 
> The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:
> 
>   Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)
> 
> are available in the git repository at:
> 
>   https://github.com/krzk/linux.git tags/samsung-fixes-4.3
> 
> for you to fetch changes up to c7d2ecd9f64c351cb4d551f1f472d0fc09c3cae8:
> 
>   ARM: dts: Fix wrong clock binding for sysmmu_fimd1_1 on exynos5420 
> (2015-09-29 15:39:58 +0900)
> 
> 
> Fixes for Exynos (DT and mach code):
> 1. Finally fix booting of all 8 cores on Exynos Octa (Exynos542x): all
>8 cores are booting and can be used. The fix, based on vendor
>code and bootloader behavior, is as for time being only
>for MCPM enabled path.
> 2. Fix thermal boot issue on SMDK5250.
> 3. Fix invalid clock used for FIMD IOMMU.
> 
Pulled, thanks.

Note it will be sent to upstream in a day.

- 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 4/4] ARM64: dts: exynos5433: add jpeg node

2015-09-30 Thread Kukjin Kim
On 09/28/15 21:02, Krzysztof Kozlowski wrote:
> W dniu 28.09.2015 o 20:54, Bartlomiej Zolnierkiewicz pisze:
>>
>> Hi,
>>
>> On Monday, September 28, 2015 05:52:13 PM Krzysztof Kozlowski wrote:
>>> W dniu 21.09.2015 o 18:59, Andrzej Pietrasiewicz pisze:
 Hi Hans,

 W dniu 21.09.2015 o 11:50, Hans Verkuil pisze:
> On 18-09-15 16:21, Andrzej Pietrasiewicz wrote:
>> From: Marek Szyprowski 
>>
>> Add Exynos 5433 jpeg h/w codec node.
>>
>> Signed-off-by: Marek Szyprowski 
>> Signed-off-by: Andrzej Pietrasiewicz 
>> ---
>>   arch/arm64/boot/dts/exynos/exynos5433.dtsi | 21 +
>>   1 file changed, 21 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi
>> b/arch/arm64/boot/dts/exynos/exynos5433.dtsi
>
> This dtsi file doesn't exist in the media-git tree. What is the story
> here?
>
> Should this go through a different subsystem?
>
> I think the media subsystem can take patches 1-3 and whoever does DT
> patches can
> take this patch, right?

 The cover letter explains that the series is rebased onto Mauro's
 master with Kukjin's branch merged. The latter does contain
 the exynos5433.dtsi. That said, yes, taking patches 1-3 in
 media subsystem and leaving DT patch to someone else is the
 way to go.
>>>
>>> Although Kukjin picked Exynos 5433 ARM64 patches but they were not
>>> accepted upstream by arm-soc. He rolled it for few releases but:
>>> 1. Reason for not accepting by arm-soc was not resolved - there is no DTS.
>>> 2. Kukjin did not rebase the branch for 4.4... which maybe means that he
>>> wants to drop it?
>>> 3. Anyone (but me...) can send Galaxy Note4 (Exynos5433) DTS file based
>>> on sources on opensource.samsung.com. The DTS there is for 32-bit but it
>>> can be probably easily adjusted for ARM64.
>>>
>>> All of this means that Device Tree support for this driver can't be
>>> merged now and effort for mainlining 5433 may be unfortunately wasted...
>>
>> Exynos5433 support is being incrementally merged (clocks, drm, phy,
>> pinctrl, thermal and tty support is already in upstream or -next).
>>
>> I don't know why DTS changes got stuck in Kukjin's tree (Kukjin,
>> could you please explain?) but I think that this shouldn't not stop
>> us from continuing Exynos5433 upstreaming effort.
> 
> I already explained. There is no DTS, so the pull request was rejected
> (pull request for v4.0 I believe).
> 
+ Chanwoo Choi

Yes right, as Krzysztof commented, the pull-request has been rejected by
arm-soc even I explained it has been tested on smdk5433, because it will
not be compiled without relevant board DT file. And I've rebased when
new -rc1 released until 4.3...because Chanwoo said at that time that
regarding DT file will be submitted but not yet...

To be honest, I'm not sure I can keep the exynos5433 changes for v4.4 in
my tree at this moment...

> It was not about adding drivers for 5433's clocks/phy/pinctrl etc. It
> was about DTS.

Could be...hmm...

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 v4 0/4] cpufreq-dt: add suspend frequency support

2015-09-16 Thread Kukjin Kim
On 09/08/15 14:10, Viresh Kumar wrote:
> On 08-09-15, 13:48, Krzysztof Kozlowski wrote:
>> Somehow my mind stuck on solving Exynos4x12 cpufreq issues.
>>
>> Right, it should go through Rafael's, probably except DTS patch (4/4)
>> because it depends on previous DTS changes. These changes are still in
>> arm-soc, not in Linus' tree [0].
> 
> That's bad :(
> 
> Anyway, 4/4 is kind of independent to this series, in the sense that
> it wouldn't harm even if it gets applied separately.
> 
> So, go ahead and apply 4/4 to Samsung's tree and rest of this can be
> picked by Rafael.
> 
Applied 4/4 into samsung tree, 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: exynos_defconfig: Enable USB Video Class support

2015-09-16 Thread Kukjin Kim
On 09/15/15 09:02, Krzysztof Kozlowski wrote:
> On 14.09.2015 21:04, Javier Martinez Canillas wrote:
>> The Exynos5420 Peach Pit and Exynos5800 Peach Pi boards have a built-in
>> Silicon Motion USB UVC WebCam. Enable support for the USB Video Class
>> driver and its needed media Kconfig symbols so the camera is supported.
>>
>> Signed-off-by: Javier Martinez Canillas 
>>
>> ---
>>
>> Changes in v2:
>> - Enable tristate Kconfig options as module instead of built-in.
>>   Suggested by Krzysztof Kozlowski.
> 
> Reviewed-by: Krzysztof Kozlowski 
> 
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: [PATCH] cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs

2015-09-16 Thread Kukjin Kim
On 09/09/15 10:14, Rafael J. Wysocki wrote:
> On Tuesday, September 08, 2015 07:02:12 PM Bartlomiej Zolnierkiewicz wrote:
>> CONFIG_PM ifdefs are superfluous and can be removed.
> 
> I guess Kukjin can apply this one?
> 
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: [PATCH v2 0/7] Add support for Exynos SROM Controller driver

2015-09-16 Thread Kukjin Kim
On 08/24/15 17:02, Pankaj Dubey wrote:
> This patch set adds support for Exynos SROM controller DT based driver.
> Currently SROM register sets are used only during S2R, so driver
> basically added for taking care of S2R. It will help us in removing
> static mapping from exynos.c and other extra code handline during S2R.
> 
> This patch set also updated exynos4 and exynos5 dtsi files for with device
> node for srom, and added binding documentation for the same.
> 
> First two patches are some minor cleanup in mach-exynos.
> 
> Patchset v1 was posted here[1]
> [1]: https://lkml.org/lkml/2015/4/29/98
> 
> Changes since v1:
>  - Rebased to latest kgene tree.
>  - Addressed review comments from Krzysztof Kozlowski.
>  - Add two new patches for minor cleanup in exynos.c and map.h
> 
> Pankaj Dubey (7):
>   ARM: EXYNOS: remove unused static mapping of CMU for exynos5
>   ARM: EXYNOS: code cleanup in map.h
>   drivers: soc: add support for exynos SROM driver
>   ARM: EXYNOS: Remove SROM related register settings from mach-exynos
>   ARM: dts: add SROM device node for exynos4
>   ARM: dts: add SROM device node for exynos5
>   Documentation: dt-bindings: add exynos-srom binding information
> 
>  .../bindings/arm/samsung/exynos-srom.txt   |  12 ++
>  arch/arm/boot/dts/exynos4.dtsi |   5 +
>  arch/arm/boot/dts/exynos5.dtsi |   5 +
>  arch/arm/mach-exynos/Kconfig   |   2 +
>  arch/arm/mach-exynos/common.h  |   2 -
>  arch/arm/mach-exynos/exynos.c  |  22 
>  arch/arm/mach-exynos/include/mach/map.h|   8 --
>  arch/arm/mach-exynos/regs-srom.h   |  53 
>  arch/arm/mach-exynos/suspend.c |  20 +--
>  arch/arm/plat-samsung/include/plat/map-s5p.h   |   1 -
>  drivers/soc/Kconfig|   1 +
>  drivers/soc/Makefile   |   1 +
>  drivers/soc/samsung/Kconfig|  13 ++
>  drivers/soc/samsung/Makefile   |   1 +
>  drivers/soc/samsung/exynos-srom.c  | 143 
> +
>  drivers/soc/samsung/exynos-srom.h  |  51 
>  16 files changed, 236 insertions(+), 104 deletions(-)
>  create mode 100644 
> Documentation/devicetree/bindings/arm/samsung/exynos-srom.txt
>  delete mode 100644 arch/arm/mach-exynos/regs-srom.h
>  create mode 100644 drivers/soc/samsung/Kconfig
>  create mode 100644 drivers/soc/samsung/Makefile
>  create mode 100644 drivers/soc/samsung/exynos-srom.c
>  create mode 100644 drivers/soc/samsung/exynos-srom.h
> 
Hi Pankaj,

Can you please address comments as per Krzysztof's review?...

- 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] ARM: dts: Fix LEDs on exynos5422-odroidxu3

2015-09-16 Thread Kukjin Kim
On 09/02/15 23:48, Krzysztof Kozlowski wrote:
> The LEDs on Odroid XU3 family boards could not properly probe because PWM
> outputs were reduced only to PWM for fan. Fix this to:
>  - Odroid XU3 and XU3-Lite: 4 outputs (although the PWM for MIPI
>probably is redundant because board does not have MIPI connector
>available);
>  - Odroid XU4: 2 outputs.
> 
> This fixes warnings on dmesg:
> [4.838712] samsung-pwm 12dd.pwm: tried to request PWM channel 1 
> without output
> [4.838725] leds_pwm pwmleds: unable to request PWM for green:mmc0: -22
> [4.838767] leds_pwm: probe of pwmleds failed with error -22
> 
> Signed-off-by: Krzysztof Kozlowski 
> 
> ---
> 
> Patch depends/is rebased on latest DTS for Odroid XU4 board:
>  - http://www.spinics.net/lists/arm-kernel/msg442474.html
>  - http://www.spinics.net/lists/arm-kernel/msg442475.html
> ---

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: [PATCH] ARM: dts: Fix LEDs on exynos5422-odroidxu3

2015-09-16 Thread Kukjin Kim
On 09/17/15 08:09, Kukjin Kim wrote:
> On 09/02/15 23:48, Krzysztof Kozlowski wrote:
>> The LEDs on Odroid XU3 family boards could not properly probe because PWM
>> outputs were reduced only to PWM for fan. Fix this to:
>>  - Odroid XU3 and XU3-Lite: 4 outputs (although the PWM for MIPI
>>probably is redundant because board does not have MIPI connector
>>available);
>>  - Odroid XU4: 2 outputs.
>>
>> This fixes warnings on dmesg:
>> [4.838712] samsung-pwm 12dd.pwm: tried to request PWM channel 1 
>> without output
>> [4.838725] leds_pwm pwmleds: unable to request PWM for green:mmc0: -22
>> [4.838767] leds_pwm: probe of pwmleds failed with error -22
>>
>> Signed-off-by: Krzysztof Kozlowski <k.kozlowsk...@gmail.com>
>>
>> ---
>>
>> Patch depends/is rebased on latest DTS for Odroid XU4 board:
>>  - http://www.spinics.net/lists/arm-kernel/msg442474.html
>>  - http://www.spinics.net/lists/arm-kernel/msg442475.html
>> ---
> 
> Applied, thanks.
> 
Oops, I mean already this change is included in your another patch.

- 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: Fix LEDs on exynos5422-odroidxu3

2015-09-16 Thread Kukjin Kim
On 09/16/15 08:54, Krzysztof Kozlowski wrote:
> On 16.09.2015 08:35, Kukjin Kim wrote:
>> On 09/13/15 18:32, Krzysztof Kozlowski wrote:
>>> The LEDs on Odroid XU3 family boards could not properly probe because PWM
>>> outputs were reduced only to PWM for fan. Fix it for Odroid XU3 and
>>> XU3-Lite boards by switching to usage of all 4 outputs (although the PWM
>>> for MIPI probably is redundant because board does not have MIPI
>>> connector available).
>>>
>>> This fixes warnings on dmesg:
>>> [4.838712] samsung-pwm 12dd.pwm: tried to request PWM channel 1 
>>> without output
>>> [4.838725] leds_pwm pwmleds: unable to request PWM for green:mmc0: -22
>>> [4.838767] leds_pwm: probe of pwmleds failed with error -22
>>>
>>> Signed-off-by: Krzysztof Kozlowski <k.kozlowsk...@gmail.com>
>>>
>>> ---
>>>
>>> Changes since v1:
>>> 1. Do not rebase on patchset adding support for Odroid XU4 board. Rebase
>>>just on current next.
>>> ---
>>
>> Applied, thanks.
>>
> 
> Thanks. This is actually a candidate for current v4.3 cycle. It fixes
> issue with LEDs for Odroid XU3 caused by Anand's b685d540cc26:
> The offending commit b685d540cc26 was merged in v4.3.
> I forgot to add "fixes" tag.
>   Fixes: b685d540cc26 ("ARM: dts: Add pwm-fan node for 
> exynos5422-odroidxu3")
> 
> Can you send it to arm-soc during this cycle?
> 
Why not? Will do it ;-)

> For current v4.3 Bartlomiej's patch is also an important candidate:
> "ARM: dts: add suspend opp to exynos4412"
> 
Thanks for gentle reminder.

- 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 v3 1/2] ARM: dts: Split audio configuration to separateexynos5422-odroidxu3-audio

2015-09-15 Thread Kukjin Kim
On 09/14/15 09:47, Krzysztof Kozlowski wrote:
> The Odroid XU4 board does not have audio codec so before adding DTS for
> new board split the audio codec to separate DTSI file. Include the audio codec
> DTSI in Odroid XU3 and XU3-Lite boards.
> 
> Signed-off-by: Krzysztof Kozlowski 
> Reviewed-by: Javier Martinez Canillas 
> 
Applied 1-2.

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: Fix LEDs on exynos5422-odroidxu3

2015-09-15 Thread Kukjin Kim
On 09/13/15 18:32, Krzysztof Kozlowski wrote:
> The LEDs on Odroid XU3 family boards could not properly probe because PWM
> outputs were reduced only to PWM for fan. Fix it for Odroid XU3 and
> XU3-Lite boards by switching to usage of all 4 outputs (although the PWM
> for MIPI probably is redundant because board does not have MIPI
> connector available).
> 
> This fixes warnings on dmesg:
> [4.838712] samsung-pwm 12dd.pwm: tried to request PWM channel 1 
> without output
> [4.838725] leds_pwm pwmleds: unable to request PWM for green:mmc0: -22
> [4.838767] leds_pwm: probe of pwmleds failed with error -22
> 
> Signed-off-by: Krzysztof Kozlowski 
> 
> ---
> 
> Changes since v1:
> 1. Do not rebase on patchset adding support for Odroid XU4 board. Rebase
>just on current next.
> ---

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: [GIT PULL v2 0/5] Samsung updates for v4.3

2015-08-19 Thread Kukjin Kim
Kukjin Kim wrote:
 
 Hello Arnd, Olof, Kevin
 
Hi,

Please pull and if any comments, please kindly let me know.

Thanks,
Kukjin

 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


RE: [PATCH RESEND v6 1/3] Documentation: dts: Documentation entry to explain how to use PWM FAN as a cooling device

2015-08-14 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
 On 11.08.2015 22:07, Lukasz Majewski wrote:
  Explanation of several properties, which allow PWM fan working as a cooling
  device, have been embraced in this commit.
 
  Signed-off-by: Lukasz Majewski l.majew...@samsung.com
  Acked-by: Eduardo Valentin edubez...@gmail.com
  ---
   .../devicetree/bindings/hwmon/pwm-fan.txt  | 29 
  --
   1 file changed, 27 insertions(+), 2 deletions(-)
 
 
 Acked-by: Krzysztof Kozlowski k.kozlow...@samsung.com
 
 I'll take care of it and send it to Kukjin for v4.4.
 
Hi, Krzysztof

If you're ok, I'll take this series into samsung tree directly for v4.3.

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] cpufreq: exynos: Fix for memory leak in case SoC name does not match

2015-08-14 Thread Kukjin Kim
Rafael J. Wysocki wrote:
 
 On Saturday, August 08, 2015 04:36:34 PM Krzysztof Kozlowski wrote:
  W dniu 06.08.2015 o 09:23, Rafael J. Wysocki pisze:
   On Tuesday, August 04, 2015 04:45:16 PM Kukjin Kim wrote:
   From: Shailendra Verma shailendra.capric...@gmail.com
  
   During probe free the memory allocated to exynos_info in case of
   unknown SoC type.
  
   Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com
   Acked-by: Viresh Kumar viresh.ku...@linaro.org
   Acked-by: Lukasz Majewski l.majew...@samsung.com
   [k.kozlowski: Rebased the patch around if(of_machine_is_compatible)]
   Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
   Signed-off-by: Kukjin Kim kg...@kernel.org
   ---
   Hi Rafael and Viresh,
  
   Since this is a fix to prevent memory leak, it would be better if
   this could be sent to linus during -rc via cpufreq tree.
  
   I'm not planning more pull requests for 4.2 and this one doesn't seem to 
   be
   a good enough reason for a pull request of its own, though.
  
   Of course, if there are more urgent fixes, I can push it along with them,
   but there are none so far.
 
  The cpufreq driver will be removed completely in v4.3 or v4.4 with
  patchset adding cpufreq-dt support for Exynos 4x12. This means that this
  patch makes sense only for 4.2 and as a stable backport (but it was not
  marked as such).
 
 Since I have one more ACPI fix for 4.2, I've applied this one and will
 push it to Linus next week.
 
Rafael, 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 1/3] mfd: documentation: dt: Document grounded ACOKB pin on S2MPS11

2015-08-14 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
 
 Document a new Device Tree property 'samsung,s2mps11-acokb-ground'
 indicating that ACOKB pin of S2MPS11 PMIC is connected to the ground so
 the PMIC must manually set PWRHOLD bit in CTRL1 register to turn off the
 power.
 
 Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com
 Reviewed-by: Javier Martinez Canillas jav...@osg.samsung.com
 Acked-by: Lee Jones lee.jo...@linaro.org
 
 ---
 
 Changes since v1:
 1. Split bindings documentation to separate patch (suggested by Lee).
 2. Add Javier's reviewed-by and Lee's acked-by.
 ---
  Documentation/devicetree/bindings/mfd/s2mps11.txt | 4 
  1 file changed, 4 insertions(+)
 
 diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt
 b/Documentation/devicetree/bindings/mfd/s2mps11.txt
 index 57a045016fca..90eaef393325 100644
 --- a/Documentation/devicetree/bindings/mfd/s2mps11.txt
 +++ b/Documentation/devicetree/bindings/mfd/s2mps11.txt
 @@ -15,6 +15,10 @@ Optional properties:
  - interrupt-parent: Specifies the phandle of the interrupt controller to 
 which
the interrupts from s2mps11 are delivered to.
  - interrupts: Interrupt specifiers for interrupt sources.
 +- samsung,s2mps11-acokb-ground: Indicates that ACOKB pin of S2MPS11 PMIC is
 +  connected to the ground so the PMIC must manually set PWRHOLD bit in CTRL1
 +  register to turn off the power. Usually the ACOKB is pulled up to VBATT so
 +  when PWRHOLD pin goes low, the rising ACOKB will trigger power off.
 
  Optional nodes:
  - clocks: s2mps11, s2mps13 and s5m8767 provide three(AP/CP/BT) buffered 
 32.768
 --
 2.1.4

Applied 1/3 and 3/3.

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: [GIT PULL 2nd 2/4] Samsung DT 3rd updates for v4.3

2015-08-13 Thread Kukjin Kim
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.

2015-08-13 Thread Kukjin Kim
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: [GIT PULL 2nd 3/4] Samsung driver 2nd updates for v4.3

2015-08-13 Thread Kukjin Kim
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: [GIT PULL 4/5] Samsung 2nd DT updates for v4.3

2015-08-13 Thread Kukjin Kim
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: [GIT PULL 5/5] Samsung driver updates for v4.3

2015-08-13 Thread Kukjin Kim
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: [PATCH v2] Remove unselectable rule for arm-exynos-cpufreq.o

2015-08-13 Thread Kukjin Kim
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

2015-08-13 Thread Kukjin Kim
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

2015-08-13 Thread Kukjin Kim
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


[GIT PULL v2 2/5] Samsung 2nd DT updates for v4.3

2015-08-13 Thread Kukjin Kim
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

2015-08-13 Thread Kukjin Kim
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

2015-08-13 Thread Kukjin Kim
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

2015-08-13 Thread Kukjin Kim
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


[GIT PULL 2nd 3/4] Samsung driver 2nd updates for v4.3

2015-08-12 Thread Kukjin Kim
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.

Thanks,
Kukjin


The following changes since commit 6b1621c4a15b9110cda7cc2e2eb3e8e1a0c2bcfc:

  ARM: EXYNOS: Add exynos3250 compatible to use generic cpufreq driver
(2015-08-04 15:59:33 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/samsung-driver-2

for you to fetch changes up to 50ef057c78ba7141b502f85ca1035e9c45612f4e:

  Merge branch 'v4.3-topic/cpufreq-samsung-2' into
v4.3-next/clk-cpufreq-samsung-2 (2015-08-12 07:44:59 +0900)



Samsung 2nd driver updates for v4.3

- add generic cpufreq driver for exynos4212 and 4412

- remove exynos4 SoCs specific cpufreq driver will not
  be used more and acked by cpufreq maintainer Viresh

Note this is based on tags/samsung-driver + tags/samsung-dt-3
to support cpufreq-dt driver for Exynos SoCs 3250, 4210, 4412
and 5250 finally


Bartlomiej Zolnierkiewicz (4):
  clk: exynos4x12: add cpu clock configuration data and instantiate
cpu clock
  ARM: dts: add CPU OPP and regulator supply property for exynos4x12
  ARM: EXYNOS: switch to using generic cpufreq driver for exynos4x12
  cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support

Kukjin Kim (3):
  Merge branch 'v4.3-topic/clk-samsung-2' into v4.3-next/dt-samsung-3
  Merge branch 'v4.3-next/dt-samsung-3' into
v4.3-next/clk-cpufreq-samsung-2
  Merge branch 'v4.3-topic/cpufreq-samsung-2' into
v4.3-next/clk-cpufreq-samsung-2

 arch/arm/boot/dts/exynos4212.dtsi   |  81 
 arch/arm/boot/dts/exynos4412-odroid-common.dtsi |   4 +
 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/mach-exynos/Kconfig|   2 +
 arch/arm/mach-exynos/exynos.c   |   2 +
 drivers/clk/samsung/clk-exynos4.c   |  50 +
 drivers/cpufreq/Kconfig.arm |  38 
 drivers/cpufreq/Makefile|   2 -
 drivers/cpufreq/exynos-cpufreq.c| 234
---
 drivers/cpufreq/exynos-cpufreq.h|  72 
 drivers/cpufreq/exynos4x12-cpufreq.c| 236

 13 files changed, 230 insertions(+), 582 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
--
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 2nd 1/4] Samsung defconfig updates for v4.3

2015-08-12 Thread Kukjin Kim
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-1

for you to fetch changes up to c3e71f4b5f580b43e0eb3be18059c8844d8713e7:

  ARM: multi_v7_defconfig: Enable max77802 regulator (2015-08-12
08:15:02 +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

- 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

 arch/arm/configs/exynos_defconfig   | 3 +++
 arch/arm/configs/multi_v7_defconfig | 5 +++--
 2 files changed, 6 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 2nd 2/4] Samsung DT 3rd updates for v4.3

2015-08-12 Thread Kukjin Kim
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.

Please pull.

Thanks,
Kukjin


The following changes since commit 71ae9acc2e3b4b85a08c65e7f411d110b786ca1d:

  ARM: dts: Add SPI CS on exynos5250-snow (2015-07-30 23:12:43 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/samsung-dt-3

for you to fetch changes up to 99f610d89b5bb1852742165b94ab99a8f63af6a9:

  ARM: dts: add CPU OPP and regulator supply property for exynos4x12
(2015-08-12 07:38:45 +0900)


Samsung 3rd DT updates for v4.3

- add CPU OPP and regulator for exynos4212 and 4412
  based on adding regarding cpu clock configuration


Bartlomiej Zolnierkiewicz (2):
  clk: exynos4x12: add cpu clock configuration data and instantiate
cpu clock
  ARM: dts: add CPU OPP and regulator supply property for exynos4x12

Kukjin Kim (1):
  Merge branch 'v4.3-topic/clk-samsung-2' into v4.3-next/dt-samsung-3

 arch/arm/boot/dts/exynos4212.dtsi   | 81

 arch/arm/boot/dts/exynos4412-odroid-common.dtsi |  4 ++
 arch/arm/boot/dts/exynos4412-origen.dts |  4 ++
 arch/arm/boot/dts/exynos4412-trats2.dts |  4 ++
 arch/arm/boot/dts/exynos4412.dtsi   | 83
+
 drivers/clk/samsung/clk-exynos4.c   | 50 +++
 6 files changed, 226 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 2nd 4/4] Samsung defconfig 2nd update for v4.3

2015-08-12 Thread Kukjin Kim
Here is enable cpufreq-dt driver for exynos stuff.

Please pull and sorry for little bit confused branches in this time...

Thanks,
Kukjin


The following changes since commit c3e71f4b5f580b43e0eb3be18059c8844d8713e7:

  ARM: multi_v7_defconfig: Enable max77802 regulator (2015-08-12
08:15:02 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/samsung-defconfig-2

for you to fetch changes up to 2b347c6494cbc6bfdc81b5201b8aa34afb2c3500:

  ARM: exynos_defconfig: Enable cpufreq-dt driver (2015-08-12 08:17:31
+0900)


Samsung 2nd defconfig updates for v4.3

- enable cpufreq-dt driver with ONDEMAND governor
  for Exynos SoCs 3250, 4210, 4212, 4412 and 5250


Krzysztof Kozlowski (1):
  ARM: exynos_defconfig: Enable cpufreq-dt driver

 arch/arm/configs/exynos_defconfig | 2 ++
 1 file changed, 2 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


RE: [PATCH] ARM: dts: exynos4*: add iommu property to JPEG device

2015-08-12 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
 
 On 12.08.2015 18:39, Marek Szyprowski wrote:
  JPEG codec node has been added in parallel to the patch, which added
  support for IOMMU to Exynos platform, so JPEG device for Exynos4 series
  lacked IOMMU property. This patch fixes this issue.
 
  Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com
  ---
   arch/arm/boot/dts/exynos4.dtsi | 1 +
   1 file changed, 1 insertion(+)
 
  diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi
  index b0d52b1..98c0a36 100644
  --- a/arch/arm/boot/dts/exynos4.dtsi
  +++ b/arch/arm/boot/dts/exynos4.dtsi
  @@ -702,6 +702,7 @@
  clocks = clock CLK_JPEG;
  clock-names = jpeg;
  power-domains = pd_cam;
  +   iommus = sysmmu_jpeg;
  };
 
  hdmi: hdmi@12D0 {
 
 
 Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com
 
Applied with Javier and Krzysztof's 'Reviewed-by'.

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] ARM: exynos_defconfig: Enable cpufreq-dt driver

2015-08-11 Thread Kukjin Kim
Javier Martinez Canillas wrote:
 
 Hello Krzysztof,
 
 On 08/11/2015 04:15 AM, Krzysztof Kozlowski wrote:
  With the latest patches the cpufreq-dt can be used on multiple
  Exynos SoCs: 3250, 4210, 4212, 4412 and 5250.
 
  Enable it along with default ondemand governor to conserve the energy,
  reduce temperature while maintaining acceptable performance.
 
  Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
  ---
   arch/arm/configs/exynos_defconfig | 2 ++
   1 file changed, 2 insertions(+)
 
  diff --git a/arch/arm/configs/exynos_defconfig 
  b/arch/arm/configs/exynos_defconfig
  index 67965cedeb69..2263cd94cb93 100644
  --- a/arch/arm/configs/exynos_defconfig
  +++ b/arch/arm/configs/exynos_defconfig
  @@ -27,6 +27,8 @@ CONFIG_ARM_APPENDED_DTB=y
   CONFIG_ARM_ATAG_DTB_COMPAT=y
   CONFIG_CMDLINE=root=/dev/ram0 rw ramdisk=8192 initrd=0x4100,8M 
  console=ttySAC1,115200
 init=/linuxrc mem=256M
   CONFIG_CPU_FREQ=y
  +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
  +CONFIG_CPUFREQ_DT=y
   CONFIG_CPU_IDLE=y
   CONFIG_ARM_EXYNOS_CPUIDLE=y
   CONFIG_VFP=y
 
 
 Reviewed-by: Javier Martinez Canillas jav...@osg.samsung.com
 
Thanks, applied.

- 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 v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-11 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
 
 On 10.08.2015 10:27, Kukjin Kim wrote:
  Krzysztof Kozlowski wrote:
 
  W dniu 08.08.2015 o 11:07, Viresh Kumar pisze:
  On 08-08-15, 00:24, Rafael J. Wysocki wrote:
  OK, so please let me know which patches you want me to pick up.
 
  Ideally, I'd prefer them to be resent in a separate series with ACKs and 
  all
  with a cover letter clearly stating whose tree they are being targeted 
  at.
 
  He already sent it separately, let me send a confirmatory mail in
  reply to that.
 
  Dear Kukjin,
 
  Can you apply the 2-5 of this series to v4.3? It's getting late but
  maybe they still could go?
 
  Once my previous pull-request landed into arm-soc, I'll try to send out this
  series 2-5 for v4.3.
 
 Additionally (better late than never):

Sure ;-)

 Patches 2-5 tested on Trats2 board (Exynos4412)
 
 Tested-by: Krzysztof Kozlowski k.kozlow...@samsung.com
 
Applied with Krzysztof's 'Tested-by'.

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: [GIT PULL] Samsung mach fixes for 4.2

2015-08-09 Thread Kukjin Kim
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)
 
 
 Two fixes for bugs in Exynos power domain error exit path:
 1. kfree() of read-only memory (name of power domain returned
by kstrdup_const()),
 2. Doubled of_node_put() leading to invalid ref count for OF node.
 
 
 Vladimir Zapolskiy (2):
   ARM: EXYNOS: Fix potentian kfree() of ro memory
   ARM: EXYNOS: fix double of_node_put() on error path
 
  arch/arm/mach-exynos/pm_domains.c | 3 +--
  1 file changed, 1 insertion(+), 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


RE: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-09 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
 
 W dniu 08.08.2015 o 11:07, Viresh Kumar pisze:
  On 08-08-15, 00:24, Rafael J. Wysocki wrote:
  OK, so please let me know which patches you want me to pick up.
 
  Ideally, I'd prefer them to be resent in a separate series with ACKs and 
  all
  with a cover letter clearly stating whose tree they are being targeted at.
 
  He already sent it separately, let me send a confirmatory mail in
  reply to that.
 
 Dear Kukjin,
 
 Can you apply the 2-5 of this series to v4.3? It's getting late but
 maybe they still could go?
 
Once my previous pull-request landed into arm-soc, I'll try to send out this
series 2-5 for v4.3.

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 v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-06 Thread Kukjin Kim
Bartlomiej Zolnierkiewicz wrote:
 
 Hi,
 
Hi Bart,

 This patch series removes the use of Exynos4x12 specific support
 from cpufreq-exynos driver and enables the use of cpufreq-dt driver
 for this platform.
 
Thanks for this series.

 This patch series has been tested on Exynos4412 based Odroid-U3 and
 Trats2 boards.
 
Sounds good.

 Depends on:
 - next-20150806 branch of linux-next kernel tree
 - [PATCH V3 00/16] OPP: Add code to support operating-points-v2 bindings
   (http://www.spinics.net/lists/arm-kernel/msg435408.html)
 
BTW, hmm...how can we see this series in v4.3?...to be honest, I don't think it
can be done in v4.3 because of dependencies with PM / OPP series and previous
exynos CPU OPP series in each cross trees...maybe that's why you created based
on linux-next...any idea?

Thanks,
Kukjin

 Changes since v3
 (http://thread.gmane.org/gmane.linux.power-management.general/63464):
 - rebased on top of next-20150806 branch of linux-next kernel tree
 - made ARCH_EXYNOS config option select thermal support
 - made scaling_boost_freqs sysfs attribute available only when boost
   support is enabled
 - added Acked-by tag from Viresh to patches #3, #4 and #5
 - added Tested-by tag from Tobias to patches #2-5
 - added Reviewed-by tag from Krzysztof to patch #4
 
 Changes since v2
 (http://thread.gmane.org/gmane.linux.kernel.samsung-soc/46653):
 - rebased on top of next-20150730 branch of linux-next kernel tree
 - ported over V3 of opp-v2 bindings support patch series
 - put cpu0 nodes in alphabetical order in dts files
 - added Reviewed-by tags from Javier and Krzysztof
 - added Acked-by tag from Sylwester
 
 Changes since v1
 (http://thread.gmane.org/gmane.linux.kernel.samsung-soc/44361):
 - rebased on top of next-20150629 branch of linux-next kernel tree
 - rebased on top of Exynos5250 cpufreq-dt support patch series
 - fixed if-statement in exynos4_clk_init() (noticed by Tobias Jakobi)
 - ported over opp-v2 bindings (requested by Viresh Kumar)
 
 Best regards,
 --
 Bartlomiej Zolnierkiewicz
 Samsung RD Institute Poland
 Samsung Electronics
 
 
 Bartlomiej Zolnierkiewicz (6):
   cpufreq: make scaling_boost_freqs sysfs attr available when boost is
 enabled
   clk: samsung: exynos4x12: add cpu clock configuration data and
 instantiate cpu clock
   ARM: dts: Exynos4x12: add CPU OPP and regulator supply property
   ARM: Exynos: switch to using generic cpufreq driver for Exynos4x12
   cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support
   cpufreq: remove no longer needed CPU_FREQ_BOOST_SW config option
 
  arch/arm/boot/dts/exynos4212.dtsi   |  81 
  arch/arm/boot/dts/exynos4412-odroid-common.dtsi |   4 +
  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/mach-exynos/Kconfig|   2 +
  arch/arm/mach-exynos/exynos.c   |   2 +
  drivers/clk/samsung/clk-exynos4.c   |  50 +
  drivers/cpufreq/Kconfig |   4 -
  drivers/cpufreq/Kconfig.arm |  38 
  drivers/cpufreq/Makefile|   2 -
  drivers/cpufreq/cpufreq-dt.c|   3 +
  drivers/cpufreq/exynos-cpufreq.c| 236 
 
  drivers/cpufreq/exynos-cpufreq.h|  72 
  drivers/cpufreq/exynos4x12-cpufreq.c| 236 
 
  drivers/cpufreq/freq_table.c|  10 +-
  include/linux/cpufreq.h |   1 +
  17 files changed, 241 insertions(+), 591 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
 
 --
 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


[GIT PULL 5/5] Samsung driver updates for v4.3

2015-08-04 Thread Kukjin Kim
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.

Thanks,
Kukjin

The following changes since commit 995008abdf5146feb0ffdeb15ddb0e90010aff50:

  Merge branch 'v4.3-next/dt-samsung-2' into
v4.3-next/clk-cpufreq-samsung (2015-08-04 15:59:14 +0900)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/samsung-driver

for you to fetch changes up to 6b1621c4a15b9110cda7cc2e2eb3e8e1a0c2bcfc:

  ARM: EXYNOS: Add exynos3250 compatible to use generic cpufreq driver
(2015-08-04 15:59:33 +0900)


Samsung mach-exynos and driver updates for v4.3

- Use generic cpufreq driver for exynos3250 and exynos5250
  : note depends on the following
v4.3-topic/clk-samsung (acked by clk maintainer, Mike)
v4.3-topic/cpufreq-samsung (acked by cpufreq maintainer, Viresh)
v4.3-next/dt-samsung-2 (add CPU OPP and regulator supply)


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/exynos.c | 2 ++
 1 file changed, 2 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 3/5] Samsung DT updates for v4.3

2015-08-04 Thread Kukjin Kim
Hi,

Please pull Samsung DT updates for v4.3.

Thanks,
Kukjin


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-dt-1

for you to fetch changes up to 5e080b078fa1f929d9aa5586985d5e7c0739d207:

  ARM: dts: Extend exynos5420-pinctrl nodes using labels instead of
paths (2015-07-21 13:01:23 +0900)


Samsung 1st DT updates for v4.3

- for exynos3250
  : update video-phy node with syscon phandle
- for exynos4210
  : add CPU OPP and regulator supply property
  : use labels for overriding nodes for exynos4210-universal_c210
- for exynos4412-trats2
  : set max17047 over heat and voltage thresholds
- for exynos5250 and 5420
  : extend exynos5250/5420-pinctrl nodes using labels
  : include exynos5250/5420-pinctrl after the nodes definitions
- for exynos5410-smdk5410
  : clean up indentation
- for exynos5422-odroidxu3
  : define default thermal-zones for exynos5422
  : enable USB3 regulators, TMU and thermal-zones
  : add pwm-fan node


Anand Moon (5):
  ARM: dts: Enable USB3 regulators for exynos5422-odroidxu3
  ARM: dts: Add pwm-fan node for exynos5422-odroidxu3
  ARM: dts: Enable TMU for exynos5422-odroidxu3
  ARM: dts: Define default thermal-zones for exynos5422
  ARM: dts: Enable thermal-zones for exynos5422-odroidxu3

Andreas Faerber (1):
  ARM: dts: Clean up indentation for exynos5410-smdk5410

Beata Michalska (1):
  ARM: dts: Update video-phy node with syscon phandle for exynos3250

Javier Martinez Canillas (4):
  ARM: dts: Include exynos5250-pinctrl after the nodes were defined
for exynos5250
  ARM: dts: Extend exynos5250-pinctrl nodes using labels instead of
paths
  ARM: dts: Include exynos5420-pinctrl after the nodes were defined
for exynos5420
  ARM: dts: Extend exynos5420-pinctrl nodes using labels instead of
paths

Krzysztof Kozlowski (2):
  ARM: dts: Set max17047 over heat and voltage thresholds for
exynos4412-trats2
  ARM: dts: Use labels for overriding nodes for
exynos4210-universal_c210

Thomas Abraham (1):
  ARM: dts: add CPU OPP and regulator supply property for exynos4210

 arch/arm/boot/dts/exynos3250.dtsi  |2 +-
 arch/arm/boot/dts/exynos4210-origen.dts|4 +
 arch/arm/boot/dts/exynos4210-trats.dts |4 +
 arch/arm/boot/dts/exynos4210-universal_c210.dts|  618 
 arch/arm/boot/dts/exynos4210.dtsi  |   12 +
 arch/arm/boot/dts/exynos4412-trats2.dts|3 +
 arch/arm/boot/dts/exynos5250-pinctrl.dtsi  | 1600
++--
 arch/arm/boot/dts/exynos5250.dtsi  |3 +-
 arch/arm/boot/dts/exynos5410-smdk5410.dts  |6 +-
 arch/arm/boot/dts/exynos5420-pinctrl.dtsi  | 1411 +
 arch/arm/boot/dts/exynos5420.dtsi  |3 +-
 arch/arm/boot/dts/exynos5422-cpu-thermal.dtsi  |   59 +
 arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi |   46 +
 13 files changed, 1951 insertions(+), 1820 deletions(-)
 create mode 100644 arch/arm/boot/dts/exynos5422-cpu-thermal.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 2/5] Samsung cleanup for v4.3

2015-08-04 Thread Kukjin Kim
Hi,

Please pull Samsung cleanup for v4.3.
Note I'm going to cleanup non-used definitions based on this soon.

Thanks,
Kukjin


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-cleanup

for you to fetch changes up to d306d08f07183fe1504257101b25b5b33d77bae9:

  ARM: SAMSUNG: remove keypad-core header in plat-samsung (2015-07-30
02:02:06 +0900)


Samsung cleanup for v4.3

- make the following headers local
  watchdog-reset, onenand-core, irq-uart, backlight,
  ata-core, regs-usb-hsotg-phy, spi-core, nand-core,
  fb-core and regs-srom headers
- make the following c file local
  s5p-dev-mfc, dev-backlight and setup-camif c file
- remove keypad-core.h file
- drop owner assignment in pmu.c
- remove duplicated define of SLEEP_MAGIC
- make exynos5420_powerdown_conf() staic


Krzysztof Kozlowski (3):
  ARM: EXYNOS: Make local function static
  ARM: EXYNOS: Remove duplicated define of SLEEP_MAGIC
  ARM: EXYNOS: Drop owner assignment in pmu.c

Kukjin Kim (14):
  ARM: SAMSUNG: make local setup-camif in mach-s3c24xx
  ARM: SAMSUNG: make local dev-backlight in mach-s3c64xx
  ARM: SAMSUNG: make local s5p-dev-mfc in mach-exynos
  ARM: SAMSUNG: local regs-srom header in mach-exynos
  ARM: SAMSUNG: local fb-core header in mach-s3c24xx
  ARM: SAMSUNG: local nand-core header in mach-s3c24xx
  ARM: SAMSUNG: local spi-core header in mach-s3c24xx
  ARM: SAMSUNG: local regs-usb-hsotg-phy header in mach-s3c64xx
  ARM: SAMSUNG: local ata-core header in mach-s3c64xx
  ARM: SAMSUNG: local backlight header in mach-s3c64xx
  ARM: SAMSUNG: local irq-uart header in mach-s3c64xx
  ARM: SAMSUNG: local onenand-core header in mach-s3c64xx
  ARM: SAMSUNG: local watchdog-reset header in mach-s3c64xx
  ARM: SAMSUNG: remove keypad-core header in plat-samsung

 arch/arm/mach-exynos/Kconfig   |  5 
 arch/arm/mach-exynos/Makefile  |  2 ++
 arch/arm/mach-exynos/common.h  |  6 +
 arch/arm/mach-exynos/firmware.c|  2 --
 arch/arm/mach-exynos/pmu.c |  3 +--
 .../include/plat = mach-exynos}/regs-srom.h   |  3 +--
 .../{plat-samsung = mach-exynos}/s5p-dev-mfc.c|  0
 arch/arm/mach-exynos/suspend.c |  8 +++---
 arch/arm/mach-s3c24xx/Kconfig  |  5 
 arch/arm/mach-s3c24xx/Makefile |  1 +
 .../include/plat = mach-s3c24xx}/fb-core.h|  2 --
 .../include/plat = mach-s3c24xx}/nand-core.h  |  3 +--
 arch/arm/mach-s3c24xx/s3c2412.c|  2 +-
 arch/arm/mach-s3c24xx/s3c2416.c|  6 ++---
 arch/arm/mach-s3c24xx/s3c2443.c|  7 ++---
 arch/arm/mach-s3c24xx/s3c244x.c|  2 +-
 .../{plat-samsung = mach-s3c24xx}/setup-camif.c   |  0
 .../include/plat = mach-s3c24xx}/spi-core.h   |  0
 arch/arm/mach-s3c64xx/Kconfig  |  6 +
 arch/arm/mach-s3c64xx/Makefile |  2 ++
 .../include/plat = mach-s3c64xx}/ata-core.h   |  3 +--
 .../include/plat = mach-s3c64xx}/backlight.h  |  3 +--
 arch/arm/mach-s3c64xx/common.c |  4 +--
 .../{plat-samsung = mach-s3c64xx}/dev-backlight.c |  6 ++---
 .../include/plat = mach-s3c64xx}/irq-uart.h   |  3 +--
 arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c|  3 +--
 arch/arm/mach-s3c64xx/mach-smdk6410.c  |  2 +-
 .../include/plat = mach-s3c64xx}/onenand-core.h   |  2 --
 .../plat = mach-s3c64xx}/regs-usb-hsotg-phy.h |  3 +--
 arch/arm/mach-s3c64xx/s3c6400.c|  2 +-
 arch/arm/mach-s3c64xx/s3c6410.c|  4 +--
 arch/arm/mach-s3c64xx/setup-usb-phy.c  |  2 +-
 .../include/plat = mach-s3c64xx}/watchdog-reset.h |  3 +--
 arch/arm/plat-samsung/Kconfig  | 17 
 arch/arm/plat-samsung/Makefile |  5 
 arch/arm/plat-samsung/include/plat/keypad-core.h   | 31
--
 36 files changed, 58 insertions(+), 100 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-exynos}/regs-srom.h
(96%)
 rename arch/arm/{plat-samsung = mach-exynos}/s5p-dev-mfc.c (100%)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c24xx}/fb-core.h (93%)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c24xx}/nand-core.h
(93%)
 rename arch/arm/{plat-samsung = mach-s3c24xx}/setup-camif.c (100%)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c24xx}/spi-core.h
(100%)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/ata-core.h
(92%)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/backlight.h

[GIT PULL 4/5] Samsung 2nd DT updates for v4.3

2015-08-04 Thread Kukjin Kim
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

for you to fetch changes up to 71ae9acc2e3b4b85a08c65e7f411d110b786ca1d:

  ARM: dts: Add SPI CS on exynos5250-snow (2015-07-30 23:12:43 +0900)


Samsung 2nd DT updates for v4.3

- for exynos3250 and 5250
  : add CPU OPP and regulator supply property
(note depends on v4.3-topic/clk-samsung)
- for exynos3250
  : add CPU cooling binding for exynos3250 boards
- for exynos5250-snow
  : add SPI CS
- for exynos5422
  : add exynos5422-cpus.dtsi to correct cpu order


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

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/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 +
 10 files changed, 175 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 1/5] Samsung non-critical-fixes for v4.3

2015-08-04 Thread Kukjin Kim
Hi Arnd, Olof, Kevin,

Here is Samsung non-critical-fixes for v4.3.
Please pull.

Thanks,
Kukjin

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-non-critical-1

for you to fetch changes up to 2cc6b813579415c4f627b08a043079bdc5b87a33:

  ARM: EXYNOS: Use IOMEM_ERR_PTR when function returns iomem (2015-07-21
13:19:06 +0900)


Samsung non-critical fixes for v4.3

- fix sparse warning for returning iomem
- fix clock-frequency of display timing0 for exynos3250-rinato


Hyungwon Hwang (1):
  ARM: dts: fix clock-frequency of display timing0 for exynos3250-rinato

Krzysztof Kozlowski (1):
  ARM: EXYNOS: Use IOMEM_ERR_PTR when function returns iomem

 arch/arm/boot/dts/exynos3250-rinato.dts | 2 +-
 arch/arm/mach-exynos/platsmp.c  | 2 +-
 2 files changed, 2 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] cpufreq: exynos: Fix for memory leak in case SoC name does not match

2015-08-04 Thread Kukjin Kim
From: Shailendra Verma shailendra.capric...@gmail.com

During probe free the memory allocated to exynos_info in case of
unknown SoC type.

Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com
Acked-by: Viresh Kumar viresh.ku...@linaro.org
Acked-by: Lukasz Majewski l.majew...@samsung.com
[k.kozlowski: Rebased the patch around if(of_machine_is_compatible)]
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
Hi Rafael and Viresh,

Since this is a fix to prevent memory leak, it would be better if
this could be sent to linus during -rc via cpufreq tree.

Thanks,
Kukjin

 drivers/cpufreq/exynos-cpufreq.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c
index ae5b2bd..fa3dd84 100644
--- a/drivers/cpufreq/exynos-cpufreq.c
+++ b/drivers/cpufreq/exynos-cpufreq.c
@@ -180,7 +180,7 @@ static int exynos_cpufreq_probe(struct platform_device 
*pdev)
ret = exynos5250_cpufreq_init(exynos_info);
} else {
pr_err(%s: Unknown SoC type\n, __func__);
-   return -ENODEV;
+   ret = -ENODEV;
}
 
if (ret)
@@ -188,12 +188,14 @@ static int exynos_cpufreq_probe(struct platform_device 
*pdev)
 
if (exynos_info-set_freq == NULL) {
dev_err(pdev-dev, No set_freq function (ERR)\n);
+   ret = -EINVAL;
goto err_vdd_arm;
}
 
arm_regulator = regulator_get(NULL, vdd_arm);
if (IS_ERR(arm_regulator)) {
dev_err(pdev-dev, failed to get resource vdd_arm\n);
+   ret = -EINVAL;
goto err_vdd_arm;
}
 
@@ -225,7 +227,7 @@ err_cpufreq_reg:
regulator_put(arm_regulator);
 err_vdd_arm:
kfree(exynos_info);
-   return -EINVAL;
+   return ret;
 }
 
 static struct platform_driver exynos_cpufreq_platdrv = {
-- 
2.0.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: [GIT PULL 1/5] Samsung non-critical-fixes for v4.3

2015-08-04 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
 
 On 04.08.2015 16:28, Kukjin Kim wrote:
  Hi Arnd, Olof, Kevin,
 
  Here is Samsung non-critical-fixes for v4.3.
  Please pull.
 
  Thanks,
  Kukjin
 
  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-non-critical-1
 
  for you to fetch changes up to 2cc6b813579415c4f627b08a043079bdc5b87a33:
 
ARM: EXYNOS: Use IOMEM_ERR_PTR when function returns iomem (2015-07-21
  13:19:06 +0900)
 
  
  Samsung non-critical fixes for v4.3
 
  - fix sparse warning for returning iomem
  - fix clock-frequency of display timing0 for exynos3250-rinato
 
Hi,

 One more set, which we agreed for pushing to v4.2, is missing:
 1. cpufreq: exynos: Fix for memory leak in case SOC name does not match

As you can see in ml, I've sent it to Rafael because it would be handled in
cpufreq tree not samsung tree/arm-soc tree.

 2. video: fbdev: s3c-fb: Constify platform_device_id (this can actually

Same as above, this would be handled in fb tree? Can you please send it?

- 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: [GIT PULL 1/5] Samsung non-critical-fixes for v4.3

2015-08-04 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
 
 On 04.08.2015 16:53, Kukjin Kim wrote:
  Krzysztof Kozlowski wrote:
 
  On 04.08.2015 16:28, Kukjin Kim wrote:
  Hi Arnd, Olof, Kevin,
 
  Here is Samsung non-critical-fixes for v4.3.
  Please pull.
 
  Thanks,
  Kukjin
 
  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-non-critical-1
 
  for you to fetch changes up to 2cc6b813579415c4f627b08a043079bdc5b87a33:
 
ARM: EXYNOS: Use IOMEM_ERR_PTR when function returns iomem (2015-07-21
  13:19:06 +0900)
 
  
  Samsung non-critical fixes for v4.3
 
  - fix sparse warning for returning iomem
  - fix clock-frequency of display timing0 for exynos3250-rinato
 
  Hi,
 
Hi,

  One more set, which we agreed for pushing to v4.2, is missing:
  1. cpufreq: exynos: Fix for memory leak in case SOC name does not match
 
  As you can see in ml, I've sent it to Rafael because it would be handled in
  cpufreq tree not samsung tree/arm-soc tree.
 
  2. video: fbdev: s3c-fb: Constify platform_device_id (this can actually
 
  Same as above, this would be handled in fb tree? Can you please send it?
 
 This was on LKML for 3 months (including a resend). As this is S3C frame
 buffer I think this can go via samsung-soc tree, since fb guys did not
 picked it.
 
Oh, OK. Let me look at its status again. Thanks.

 On list of patches few more are also missing:
 1. cpufreq: exynos: remove Exynos5250 specific cpufreq driver support

This is included in tags/samsung-driver...let me note in the pull-request to
clarify.

 2. clk: samsung: exynos5250: add cpu clock configuration data and
 instantiate cpu clock

Yeah, I'm aware of that and I need to sort it out soon.

 3. defconfig changes (separate pull request?)
 
Yeah, I'm sorting out some other defconfig updates and it will be sent out soon.

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] ARM: dts: Add CPU cooling binding for Exynos3250-based Rinato/Monk board

2015-07-30 Thread Kukjin Kim
On 07/29/15 15:35, Chanwoo Choi wrote:
 Dear Kukjin,
 
 Please pick this patch because exynos3250-cpufreq patch-set
 was already merged on linux-samsung.git.
 
Applied, thanks.

- Kukjin

 Thanks,
 Chanwoo Choi
 
 On 07/08/2015 09:19 AM, Krzysztof Kozlowski wrote:
 On 07.07.2015 23:40, Kukjin Kim wrote:
 Krzysztof Kozlowski wrote:

 2015-07-02 16:17 GMT+09:00 Krzysztof Kozlowski k.kozlow...@samsung.com:
 On 02.07.2015 15:11, Chanwoo Choi wrote:
 On 07/02/2015 02:54 PM, Krzysztof Kozlowski wrote:
 On 02.07.2015 14:37, Chanwoo Choi wrote:
 This patch add the cooling device to control the overheating issue on
 Exynos3250-based Rinato/Monk board.

 Cc: Kukjin Kim kg...@kernel.org
 Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
 Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
 Acked-by: Kyungmin Park kyungmin.p...@samsung.com
 ---
 Depends on:
 This patch needs the cpufreq support of Exynos3250 SoC. So, this patch 
 has the
 dependency on patch[1] which support the generic cpufreq for 
 Exynos3250 SoC.
 [1] https://lkml.org/lkml/2015/7/1/696
 : [PATCH v6 0/3] cpufreq: Use cpufreq-dt driver for Exynos3250

  arch/arm/boot/dts/exynos3250-monk.dts   | 15 +++
  arch/arm/boot/dts/exynos3250-rinato.dts | 15 +++
  arch/arm/boot/dts/exynos3250.dtsi   |  1 +
  3 files changed, 31 insertions(+)

 diff --git a/arch/arm/boot/dts/exynos3250-monk.dts 
 b/arch/arm/boot/dts/exynos3250-monk.dts
 index 7863265d4868..540a0adf2be6 100644
 --- a/arch/arm/boot/dts/exynos3250-monk.dts
 +++ b/arch/arm/boot/dts/exynos3250-monk.dts
 @@ -116,6 +116,21 @@
 min-microvolt = 110;
 max-microvolt = 270;
 };
 +
 +   thermal-zones {
 +   cpu_thermal: cpu-thermal {
 +   cooling-maps {
 +   map0 {
 +   /* Correspond to 500MHz at 
 freq_table */
 +   cooling-device = cpu0 5 5;
 +   };
 +   map1 {
 +   /* Correspond to 200MHz at 
 freq_table */
 +   cooling-device = cpu0 8 8;
 +   };
 +   };
 +   };
 +   };
  };

  adc {
 diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts 
 b/arch/arm/boot/dts/exynos3250-rinato.dts
 index ddd7ac283045..0e62a6435e07 100644
 --- a/arch/arm/boot/dts/exynos3250-rinato.dts
 +++ b/arch/arm/boot/dts/exynos3250-rinato.dts
 @@ -107,6 +107,21 @@
 min-microvolt = 110;
 max-microvolt = 270;
 };
 +
 +   thermal-zones {
 +   cpu_thermal: cpu-thermal {
 +   cooling-maps {
 +   map0 {
 +   /* Corresponds to 500MHz */
 +   cooling-device = cpu0 5 5;
 +   };
 +   map1 {
 +   /* Corresponds to 200MHz */
 +   cooling-device = cpu0 8 8;
 +   };
 +   };
 +   };
 +   };
  };

  adc {
 diff --git a/arch/arm/boot/dts/exynos3250.dtsi 
 b/arch/arm/boot/dts/exynos3250.dtsi
 index e0f3b2ed41a3..a4931b660ddb 100644
 --- a/arch/arm/boot/dts/exynos3250.dtsi
 +++ b/arch/arm/boot/dts/exynos3250.dtsi
 @@ -55,6 +55,7 @@
 clock-frequency = 10;
 clocks = cmu CLK_ARM_CLK;
 clock-names = cpu;
 +   #cooling-cells = 2;


 Don't you need also cooling-{min,max}-state properties?

 Yes, it is well working without cooling-{min,max}-state or 
 cooling-{min,max}-level.

 I look for the some code to parse cooling-{min,max}-state or 
 cooling-{min,max}-level
 in drivers/thermal/*. But, there are no any code to parse it.

 But, Documentation/devicetree/bindings/thermal/thermal.txt contains just 
 the 'cooling-{min,max}-
 state.

 I think that there are mismatch between document and thermal core driver.

 Thanks for explanation, looks good.
 Acked-by: Krzysztof Kozlowski k.kozlow...@samsung.com

 Best regards,
 Krzysztof

 Dear Kukjin,

 Recent four patchsets (4210 CPU OPP in DTS, cpufreq-dt 5250,
 cpufreq-dt 3250, this patch) are actually an one continuous chain.
 Dependencies are already in mainline. Are you gonna to pick up
 everything?

 Yes, I want and I will. BTW maybe clk change is required together? If so, 
 as you
 know we need to get ack from clk guy. Is my understanding right?

 Right. I think the samsung clock and cpufreq patches still need acks.

 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 2/7] cpufreq: opp: fix handling of turbo modes

2015-07-30 Thread Kukjin Kim
On 07/27/15 20:47, Bartlomiej Zolnierkiewicz wrote:
 On Monday, July 27, 2015 05:06:41 PM Viresh Kumar wrote:
 On 27-07-15, 13:14, Bartlomiej Zolnierkiewicz wrote:
 Sorry but you don't seem to understand the issue.

 :)

 No, I did. I understand that if someone uses opp bindings today with
 some entries as turbo OPPs, cpufreq will use them as normal
 frequencies. And that may harm the board.

 BUT, opp-v2 code isn't ready to be used yet. And platforms should see
 what all is implemented before trying to use them.
 
 OK.
 
 All I was saying is, this isn't a FIX as we haven't introduced the
 feature yet. Otherwise I had no issues with the patch.
 
 I will update the description for the next patchset revision.
 
Hi Bart,

When will you re-post v3? Because I have a plan to send a pull-request
to arm-soc until this weekend...

- 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 0/3] clocksource: exynos_mct: allow mct to use 64-bit counter from coprocessor

2015-07-30 Thread Kukjin Kim
On 07/29/15 08:29, Doug Anderson wrote:
 Hi,
 
Hi,

 On Tue, Jul 28, 2015 at 9:20 AM, Alexey Klimov klimov.li...@gmail.com wrote:
 Hi Doug,

 On Tue, Jul 28, 2015 at 6:24 PM, Doug Anderson diand...@chromium.org wrote:
 Alexey,

 On Mon, Jul 27, 2015 at 2:28 PM, Alexey Klimov klimov.li...@gmail.com 
 wrote:
 Hi all,

 year(s) ago it was discovered that MCT timer and ARM architectured
 timer
 are the same hardware with different interface. Here [1].

 I followed mail-list discussions about removing MCT and using arch
 timer for Exynos5-based SoCs but things aren't moving at least latest
 upstream kernel on odroid-xu3 will use MCT as default timers.
 Maybe the reason are some power-management related things that very
 specific to Samsung. I don't know.


 Idea of this draft patchset comes from Doug patches when he tried to
 optimize read of 64-bit counter located in mmio. [2]
 Why not using cp15 counter instead if possible?

 I hate to burst your bubble here, but...

 ...I think it would be a bad idea to use the cp15 counter on exynos
 5422.  According to Samsung, there are issues where using cp15 could
 sometimes return the wrong value, especially if you happen to read it
 while on an A7 instead of an A15.  It will tend to work pretty well,
 but Samsung claimed that it might not work right on some CPUs or at
 some temperatures.

 I think this is right time when I can say If only I had known about
 it before!.
 
 Yeah, we spent a whole lot of time on this too before giving up after
 we found out it was not possible to use.
 
 
 That's quite interesting especially about temperature issues.
 Maybe it's worth to insert comments in driver/docs about this.
 
 Maybe not a bad idea.  Depends if you think someone else will try to
 do this...  ...and if they do, will they check mailing list traffic.
 
 
 Generally I'd say that if the arch timer works for you: use the arch
 timer.  If the arch timer doesn't work for you, use the MCT.

One more thing, if you change it for your own private platform, it's up
to you but if not, i.e., for mass product, please don't change it.
Because it's not guaranteed even you haven't seen its failure...

 -Doug

 I possess no knowledge if there're any different hw revisions of
 odroid-xu3 on the field
 but looks like arch timer works fine for me on odroid-xu3 Exynos5422
 SoC with upstream kernel.
 
 Well, it looked like it worked for us too.  In fact, I never saw a
 failure.  All I know is that Samsung said: don't do this, it's not a
 good idea.  The performance gain wasn't enough to go against that...
 That's when I started trying to optimize the MCT a little bit.  ;)
 
Yeah and it was tough time for me when I discussed about that with
hardware designer at that time ... haha...

Thanks, Doug.

- 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 v3] ARM: dts: Add SPI CS on exynos5250-snow

2015-07-28 Thread Kukjin Kim
Michal Suchanek wrote:
 
 Although there is only one choice of chipselect it is necessary to
 specify it. The driver cannot claim the gpio otherwise.
 
 Signed-off-by: Michal Suchanek hramr...@gmail.com
 Acked-by: Javier Martinez Canillas jav...@osg.samsung.com
 Acked-by: Krzysztof Kozlowski k.kozlow...@samsung.com
 

From here ---88---

 --
  - don't move unrelated line
  - use symbolic GPIO_ACTIVE_HIGH

to here  ---88---

should be added under the following '---'.

Please add some additional comments like above 'changes since previous version'
under the following '---' not '--', because all comments will be logged before
the '---' and I don't want to keep the changes basically.

Anyway, applied with removing above comments.

Thanks,
Kukjin

 ---
  arch/arm/boot/dts/exynos5250-snow.dts | 1 +
  1 file changed, 1 insertion(+)
 
 diff --git a/arch/arm/boot/dts/exynos5250-snow.dts 
 b/arch/arm/boot/dts/exynos5250-snow.dts
 index b7f4122..2d6a976 100644
 --- a/arch/arm/boot/dts/exynos5250-snow.dts
 +++ b/arch/arm/boot/dts/exynos5250-snow.dts
 @@ -688,6 +688,7 @@
   status = okay;
   samsung,spi-src-clk = 0;
   num-cs = 1;
 + cs-gpios = gpa2 5 GPIO_ACTIVE_HIGH;
  };
 
  usbdrd_dwc3 {
 --
 2.1.4

--
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: [PATCHv6] ARM: dts: add exynos5422-cpus.dtsi to correct cpu order

2015-07-28 Thread Kukjin Kim
Chanho Park wrote:
 
 Hi,
 
 On Tue, Jul 14, 2015 at 5:23 PM, Kukjin Kim kg...@kernel.org wrote:
  Chanho Park wrote:
 
  Hi Kukjin,
 
  On Tue, Jul 14, 2015 at 2:04 PM, Kukjin Kim kg...@kernel.org wrote:
   Krzysztof Kozlowski wrote:
  
   On 14.07.2015 09:24, Chanho Park wrote:
The odroid-xu3 board which is based on exynos5422 not exynos5800 is
booted from cortex-a7 core unlike exynos5800. The odroid-xu3's cpu 
order
is quite strange. cpu0 and cpu5-7 are cortex-a7 cores and cpu1-4 are
cortex-a15 cores. To correct this mis-odering, I added 
exynos5422-cpus.dtsi
and reversing cpu orders from exynos5420. Now, cpu0-3 are cortex-a7 
and
cpu4-7 are cortex-a15.
   
Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Chanho Park parkc...@gmail.com
---
 
  [...]
 
   
Secondary cpu booting problem[1] is not resolved yet. Need more 
investigations
to work booting 8 cores correctly.
   
[1]: http://www.spinics.net/lists/linux-samsung-soc/msg45525.html
   
 arch/arm/boot/dts/exynos5422-cpus.dtsi | 81 
++
 arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi |  1 +
 2 files changed, 82 insertions(+)
 create mode 100644 arch/arm/boot/dts/exynos5422-cpus.dtsi
  
   Thanks, applied to my tree. I'll send it to Kukjin for v4.3 unless he
   picks it also.
  
   Well, let me see. I'm thinking we need to sort out the cpu ordering and 
   dtsi
   inclusions for exynos5420, 5422 and 5800 related to DT files.
  
   See,
  
   1) exynos5420 DT (cpu0~3: a15, cpu 4~7: a7)
   2) exynos5800 DT is including exynos5420 DT
   3) exynos5422 and exynos5800 based boards are including exynos5800 DT.
  
   Then making exynos5422-cpus DT for exynos5422 based boards?
   (cpu0~3: a7, cpu4~7: a15)
  
   I think, it could cause confusion when new board based on them are added
   because it's not clear and the boot cpu could be selected by bootloader 
   part.
 
  The iROM will check the GPIO pin to select which core is run as cpu0.
  I think no one will change the GPIO pin if a new board which is based
  on exynos5422 :)
 
  Yes, I know the boot sequence and it means it depends on board configuration
  not SoC. That’s why I'm saying it should be handled in board DT file. I 
  think,
  most of current exynos big.LITTLE model should do if it could be changed
  according to board configuration.
 
 I also agreed it's not a SoC configuration since second
 patch(exynos5422.dtsi - exynos5422-cpu.dtsi).
 
 
  
   So how about creating exynos5422-cpus and exynos5420-cpus then including 
   the
   cpus DT file in each board accordingly?
  
   Or more clear way to avoid confusion?
 
  In this situation, all exynos5422 boards(odroid xu3 series and mobile
  phone) have same cpu configurations. If we move the exynos5420 cpu
  configuration from exynos5420.dtsi, we should change all dts which
  including exynos5420.dtsi.
 
  Maybe same board configuration. Just adding inclusion should be fine at this
  moment.
 
  I think we'd better to defer the change until a new exynos5422 board
  which has different cpu configurations is added.
 
  I mean, according to current inclusion of exynos5422 based boards' DT file, 
  it
  is including exynos5420 DT via exynos5800 DT and then override different cpu
  ordering (5422-cpu DT) because of different board configuration (just GPIO
  value) and it is not a good way in this case.
 
 Actually, I don't want to disturb current dts hierarchy even though it
 looks strange. The common features of exynos5800 and exynos5422 should
 be in the exynos5800.dtsi because they shared many things except the
 cpu order.
 Please consider the exynos5422-cpu.dtsi is just board configurations
 to represent cpu order.
 
Yeah, strange and it can cause some confusing...but OK, we don't have much
choice at the moment, so applied to support it even we need some re-work
'current dts hierarchy' next 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 01/12] ARM: SAMSUNG: local regs-srom header in mach-exynos

2015-07-28 Thread Kukjin Kim
Krzysztof Kozlowski wrote:
 
 On 27.07.2015 23:57, Kukjin Kim wrote:
 
  This patch moves regs-srom header file into mach-exynos.
 
 Hi,
 
Hi,

 Minor nits:
 1. Could you trim it and remove unnecessary empty line before description?

Yeah, actually I couldn't use git send-email when I submitted but just used
e-mail. It should be fine in my local branch.

 2. Could you answer in commit message: Why? Why are you moving the headers?
 
OK, basically we don't need to keep headers in mach/xxx and plat/xxx if it
is not required. For example, actually common.h files in mach-/ have been
made/moved because of the reason before. Someday we did because it was required
to support multi_v7 as well. Anyway it is still required and note that I have
some more patches to move headers which are used only for under drivers/ not
arch side into drivers/. And next step is removing some definitions which are
not used more.

 
  c: Krzysztof Kozlowski k.kozlow...@samsung.com
 
 Malformed Cc: tag.
 
Oh, OK. Thanks.

One more thing, please ignore patch [09/12] ARM: SAMSUNG: local keypad header
in mach-s3c64xx in this series because the header is used in plat-samsung as
well.

Anyway, 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


[PATCH 08/12] ARM: SAMSUNG: local irq-uart header in mach-s3c64xx

2015-07-27 Thread Kukjin Kim

This patch moves irq-uart header file into mach-s3c64xx.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/mach-s3c64xx/common.c  | 2 +-
 arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/irq-uart.h | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/irq-uart.h (90%)

diff --git a/arch/arm/mach-s3c64xx/common.c b/arch/arm/mach-s3c64xx/common.c
index 16547f2..316df5a 100644
--- a/arch/arm/mach-s3c64xx/common.c
+++ b/arch/arm/mach-s3c64xx/common.c
@@ -48,12 +48,12 @@
 #include plat/devs.h
 #include plat/pm.h
 #include plat/gpio-cfg.h
-#include plat/irq-uart.h
 #include plat/pwm-core.h
 #include plat/regs-irqtype.h
 #include plat/watchdog-reset.h
 
 #include common.h
+#include irq-uart.h
 
 /* External clock frequency */
 static unsigned long xtal_f = 1200, xusbxti_f = 4800;
diff --git a/arch/arm/plat-samsung/include/plat/irq-uart.h 
b/arch/arm/mach-s3c64xx/irq-uart.h
similarity index 90%
rename from arch/arm/plat-samsung/include/plat/irq-uart.h
rename to arch/arm/mach-s3c64xx/irq-uart.h
index a9331e4..4b29613 100644
--- a/arch/arm/plat-samsung/include/plat/irq-uart.h
+++ b/arch/arm/mach-s3c64xx/irq-uart.h
@@ -1,5 +1,4 @@
-/* arch/arm/plat-samsung/include/plat/irq-uart.h
- *
+/*
  * Copyright (c) 2010 Simtec Electronics
  * Ben Dooks b...@simtec.co.uk
  *
-- 
2.0.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 10/12] ARM: SAMSUNG: local onenand-core header in mach-s3c64xx

2015-07-27 Thread Kukjin Kim

This patch moves onenand-core header file into mach-s3c64xx.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/onenand-core.h | 2 --
 arch/arm/mach-s3c64xx/s3c6400.c | 2 +-
 arch/arm/mach-s3c64xx/s3c6410.c | 2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/onenand-core.h 
(95%)

diff --git a/arch/arm/plat-samsung/include/plat/onenand-core.h 
b/arch/arm/mach-s3c64xx/onenand-core.h
similarity index 95%
rename from arch/arm/plat-samsung/include/plat/onenand-core.h
rename to arch/arm/mach-s3c64xx/onenand-core.h
index 7701cb7..925eb13 100644
--- a/arch/arm/plat-samsung/include/plat/onenand-core.h
+++ b/arch/arm/mach-s3c64xx/onenand-core.h
@@ -1,6 +1,4 @@
 /*
- * linux/arch/arm/plat-samsung/onenand-core.h
- *
  *  Copyright (c) 2010 Samsung Electronics
  *  Kyungmin Park kyungmin.p...@samsung.com
  *  Marek Szyprowski m.szyprow...@samsung.com
diff --git a/arch/arm/mach-s3c64xx/s3c6400.c b/arch/arm/mach-s3c64xx/s3c6400.c
index 1ce48c5..33273ab 100644
--- a/arch/arm/mach-s3c64xx/s3c6400.c
+++ b/arch/arm/mach-s3c64xx/s3c6400.c
@@ -41,9 +41,9 @@
 #include plat/devs.h
 #include plat/sdhci.h
 #include plat/iic-core.h
-#include plat/onenand-core.h
 
 #include common.h
+#include onenand-core.h
 
 void __init s3c6400_map_io(void)
 {
diff --git a/arch/arm/mach-s3c64xx/s3c6410.c b/arch/arm/mach-s3c64xx/s3c6410.c
index 5081f08..eadc48d 100644
--- a/arch/arm/mach-s3c64xx/s3c6410.c
+++ b/arch/arm/mach-s3c64xx/s3c6410.c
@@ -43,10 +43,10 @@
 #include plat/sdhci.h
 #include plat/adc-core.h
 #include plat/iic-core.h
-#include plat/onenand-core.h
 
 #include ata-core.h
 #include common.h
+#include onenand-core.h
 
 void __init s3c6410_map_io(void)
 {
-- 
2.0.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 09/12] ARM: SAMSUNG: local keypad header in mach-s3c64xx

2015-07-27 Thread Kukjin Kim

This patch moves keypad header file into mach-s3c64xx.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/keypad.h | 0
 arch/arm/mach-s3c64xx/mach-crag6410.c | 2 +-
 arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 +-
 arch/arm/mach-s3c64xx/setup-keypad.c  | 3 ++-
 4 files changed, 4 insertions(+), 3 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/keypad.h (100%)

diff --git a/arch/arm/plat-samsung/include/plat/keypad.h 
b/arch/arm/mach-s3c64xx/keypad.h
similarity index 100%
rename from arch/arm/plat-samsung/include/plat/keypad.h
rename to arch/arm/mach-s3c64xx/keypad.h
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c 
b/arch/arm/mach-s3c64xx/mach-crag6410.c
index 65c426b..098c144 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
@@ -57,7 +57,6 @@
 #include plat/gpio-cfg.h
 #include linux/platform_data/spi-s3c64xx.h
 
-#include plat/keypad.h
 #include plat/devs.h
 #include plat/cpu.h
 #include plat/adc.h
@@ -67,6 +66,7 @@
 
 #include common.h
 #include crag6410.h
+#include keypad.h
 #include regs-gpio-memport.h
 #include regs-modem.h
 #include regs-sys.h
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c 
b/arch/arm/mach-s3c64xx/mach-smdk6410.c
index d590b88..4bb8b8b 100644
--- a/arch/arm/mach-s3c64xx/mach-smdk6410.c
+++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c
@@ -67,11 +67,11 @@
 #include plat/cpu.h
 #include plat/adc.h
 #include linux/platform_data/touchscreen-s3c2410.h
-#include plat/keypad.h
 #include plat/samsung-time.h
 
 #include backlight.h
 #include common.h
+#include keypad.h
 #include regs-modem.h
 #include regs-srom.h
 #include regs-sys.h
diff --git a/arch/arm/mach-s3c64xx/setup-keypad.c 
b/arch/arm/mach-s3c64xx/setup-keypad.c
index 6ad9a89..128a803 100644
--- a/arch/arm/mach-s3c64xx/setup-keypad.c
+++ b/arch/arm/mach-s3c64xx/setup-keypad.c
@@ -12,9 +12,10 @@
 
 #include linux/gpio.h
 #include plat/gpio-cfg.h
-#include plat/keypad.h
 #include mach/gpio-samsung.h
 
+#include keypad.h
+
 void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols)
 {
/* Set all the necessary GPK pins to special-function 3: KP_ROW[x] */
-- 
2.0.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 07/12] ARM: SAMSUNG: local backlight header in mach-s3c64xx

2015-07-27 Thread Kukjin Kim

This patch moves backlight header file into mach-s3c64xx.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/backlight.h | 3 +--
 arch/arm/mach-s3c64xx/dev-backlight.c| 3 ++-
 arch/arm/mach-s3c64xx/mach-smdk6410.c| 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/backlight.h (92%)

diff --git a/arch/arm/plat-samsung/include/plat/backlight.h 
b/arch/arm/mach-s3c64xx/backlight.h
similarity index 92%
rename from arch/arm/plat-samsung/include/plat/backlight.h
rename to arch/arm/mach-s3c64xx/backlight.h
index ad530c7..8dcacac 100644
--- a/arch/arm/plat-samsung/include/plat/backlight.h
+++ b/arch/arm/mach-s3c64xx/backlight.h
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-samsung/include/plat/backlight.h
- *
+/*
  * Copyright (c) 2011 Samsung Electronics Co., Ltd.
  *  http://www.samsung.com
  *
diff --git a/arch/arm/mach-s3c64xx/dev-backlight.c 
b/arch/arm/mach-s3c64xx/dev-backlight.c
index 62f4648..38c323e 100644
--- a/arch/arm/mach-s3c64xx/dev-backlight.c
+++ b/arch/arm/mach-s3c64xx/dev-backlight.c
@@ -17,7 +17,8 @@
 
 #include plat/devs.h
 #include plat/gpio-cfg.h
-#include plat/backlight.h
+
+#include backlight.h
 
 struct samsung_bl_drvdata {
struct platform_pwm_backlight_data plat_data;
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c 
b/arch/arm/mach-s3c64xx/mach-smdk6410.c
index b7447a9..d590b88 100644
--- a/arch/arm/mach-s3c64xx/mach-smdk6410.c
+++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c
@@ -68,9 +68,9 @@
 #include plat/adc.h
 #include linux/platform_data/touchscreen-s3c2410.h
 #include plat/keypad.h
-#include plat/backlight.h
 #include plat/samsung-time.h
 
+#include backlight.h
 #include common.h
 #include regs-modem.h
 #include regs-srom.h
-- 
2.0.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 11/12] ARM: SAMSUNG: local watchdog-reset header in mach-s3c64xx

2015-07-27 Thread Kukjin Kim

This patch moves watchdog-reset header file into mach-s3c64xx.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/mach-s3c64xx/common.c| 2 +-
 arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c   | 3 +--
 arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/watchdog-reset.h | 3 +--
 3 files changed, 3 insertions(+), 5 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/watchdog-reset.h 
(91%)

diff --git a/arch/arm/mach-s3c64xx/common.c b/arch/arm/mach-s3c64xx/common.c
index 316df5a..4a9621b 100644
--- a/arch/arm/mach-s3c64xx/common.c
+++ b/arch/arm/mach-s3c64xx/common.c
@@ -50,10 +50,10 @@
 #include plat/gpio-cfg.h
 #include plat/pwm-core.h
 #include plat/regs-irqtype.h
-#include plat/watchdog-reset.h
 
 #include common.h
 #include irq-uart.h
+#include watchdog-reset.h
 
 /* External clock frequency */
 static unsigned long xtal_f = 1200, xusbxti_f = 4800;
diff --git a/arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c 
b/arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c
index 2fddf38..ead3766 100644
--- a/arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c
+++ b/arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c
@@ -15,11 +15,10 @@
 #include asm/system_misc.h
 
 #include plat/cpu.h
-#include plat/watchdog-reset.h
-
 #include mach/map.h
 
 #include common.h
+#include watchdog-reset.h
 
 /*
  * IO mapping for shared system controller IP.
diff --git a/arch/arm/plat-samsung/include/plat/watchdog-reset.h 
b/arch/arm/mach-s3c64xx/watchdog-reset.h
similarity index 91%
rename from arch/arm/plat-samsung/include/plat/watchdog-reset.h
rename to arch/arm/mach-s3c64xx/watchdog-reset.h
index 0386b8f..42707df 100644
--- a/arch/arm/plat-samsung/include/plat/watchdog-reset.h
+++ b/arch/arm/mach-s3c64xx/watchdog-reset.h
@@ -1,5 +1,4 @@
-/* arch/arm/plat-s3c/include/plat/watchdog-reset.h
- *
+/*
  * Copyright (c) 2008 Simtec Electronics
  * Ben Dooks b...@simtec.co.uk
  *
-- 
2.0.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 01/12] ARM: SAMSUNG: local regs-srom header in mach-exynos

2015-07-27 Thread Kukjin Kim

This patch moves regs-srom header file into mach-exynos.

c: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/{plat-samsung/include/plat = mach-exynos}/regs-srom.h | 3 +--
 arch/arm/mach-exynos/suspend.c  | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-exynos}/regs-srom.h (96%)

diff --git a/arch/arm/plat-samsung/include/plat/regs-srom.h 
b/arch/arm/mach-exynos/regs-srom.h
similarity index 96%
rename from arch/arm/plat-samsung/include/plat/regs-srom.h
rename to arch/arm/mach-exynos/regs-srom.h
index 9b6729c..5c4d442 100644
--- a/arch/arm/plat-samsung/include/plat/regs-srom.h
+++ b/arch/arm/mach-exynos/regs-srom.h
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-samsung/include/plat/regs-srom.h
- *
+/*
  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  * http://www.samsung.com
  *
diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c
index c506f8e..e00eb39 100644
--- a/arch/arm/mach-exynos/suspend.c
+++ b/arch/arm/mach-exynos/suspend.c
@@ -32,11 +32,11 @@
 #include asm/suspend.h
 
 #include plat/pm-common.h
-#include plat/regs-srom.h
 
 #include common.h
-#include regs-pmu.h
 #include exynos-pmu.h
+#include regs-pmu.h
+#include regs-srom.h
 
 #define REG_TABLE_END (-1U)
 
-- 
2.0.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 05/12] ARM: SAMSUNG: local regs-usb-hsotg-phy header in mach-s3c64xx

2015-07-27 Thread Kukjin Kim

This patch moves regs-usb-hsotg-phy header file into mach-s3c64xx.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 .../{plat-samsung/include/plat = mach-s3c64xx}/regs-usb-hsotg-phy.h   | 3 +--
 arch/arm/mach-s3c64xx/setup-usb-phy.c  | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = 
mach-s3c64xx}/regs-usb-hsotg-phy.h (96%)

diff --git a/arch/arm/plat-samsung/include/plat/regs-usb-hsotg-phy.h 
b/arch/arm/mach-s3c64xx/regs-usb-hsotg-phy.h
similarity index 96%
rename from arch/arm/plat-samsung/include/plat/regs-usb-hsotg-phy.h
rename to arch/arm/mach-s3c64xx/regs-usb-hsotg-phy.h
index fcf2796..eae3c31 100644
--- a/arch/arm/plat-samsung/include/plat/regs-usb-hsotg-phy.h
+++ b/arch/arm/mach-s3c64xx/regs-usb-hsotg-phy.h
@@ -1,5 +1,4 @@
-/* arch/arm/plat-s3c/include/plat/regs-usb-hsotg-phy.h
- *
+/*
  * Copyright 2008 Openmoko, Inc.
  * Copyright 2008 Simtec Electronics
  *  http://armlinux.simtec.co.uk/
diff --git a/arch/arm/mach-s3c64xx/setup-usb-phy.c 
b/arch/arm/mach-s3c64xx/setup-usb-phy.c
index ca960bd..2b17b7f 100644
--- a/arch/arm/mach-s3c64xx/setup-usb-phy.c
+++ b/arch/arm/mach-s3c64xx/setup-usb-phy.c
@@ -16,10 +16,10 @@
 #include linux/platform_device.h
 #include mach/map.h
 #include plat/cpu.h
-#include plat/regs-usb-hsotg-phy.h
 #include plat/usb-phy.h
 
 #include regs-sys.h
+#include regs-usb-hsotg-phy.h
 
 static int s3c_usb_otgphy_init(struct platform_device *pdev)
 {
-- 
2.0.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 02/12] ARM: SAMSUNG: local fb-core header in mach-s3c24xx

2015-07-27 Thread Kukjin Kim

This patch moves fb-core header file into mach-s3c24xx.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/{plat-samsung/include/plat = mach-s3c24xx}/fb-core.h | 2 --
 arch/arm/mach-s3c24xx/s3c2416.c| 2 +-
 arch/arm/mach-s3c24xx/s3c2443.c| 3 ++-
 3 files changed, 3 insertions(+), 4 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c24xx}/fb-core.h (93%)

diff --git a/arch/arm/plat-samsung/include/plat/fb-core.h 
b/arch/arm/mach-s3c24xx/fb-core.h
similarity index 93%
rename from arch/arm/plat-samsung/include/plat/fb-core.h
rename to arch/arm/mach-s3c24xx/fb-core.h
index bca383e..103bdba 100644
--- a/arch/arm/plat-samsung/include/plat/fb-core.h
+++ b/arch/arm/mach-s3c24xx/fb-core.h
@@ -1,6 +1,4 @@
 /*
- * arch/arm/plat-samsung/include/plat/fb-core.h
- *
  * Copyright 2010 Samsung Electronics Co., Ltd.
  * Pawel Osciak p.osc...@samsung.com
  *
diff --git a/arch/arm/mach-s3c24xx/s3c2416.c b/arch/arm/mach-s3c24xx/s3c2416.c
index 3f8ca2a..b911851 100644
--- a/arch/arm/mach-s3c24xx/s3c2416.c
+++ b/arch/arm/mach-s3c24xx/s3c2416.c
@@ -59,12 +59,12 @@
 #include plat/pm.h
 
 #include plat/iic-core.h
-#include plat/fb-core.h
 #include plat/nand-core.h
 #include plat/adc-core.h
 #include plat/spi-core.h
 
 #include common.h
+#include fb-core.h
 
 static struct map_desc s3c2416_iodesc[] __initdata = {
IODESC_ENT(WATCHDOG),
diff --git a/arch/arm/mach-s3c24xx/s3c2443.c b/arch/arm/mach-s3c24xx/s3c2443.c
index 87b6b89..91dd964 100644
--- a/arch/arm/mach-s3c24xx/s3c2443.c
+++ b/arch/arm/mach-s3c24xx/s3c2443.c
@@ -41,11 +41,12 @@
 #include plat/gpio-cfg-helpers.h
 #include plat/devs.h
 #include plat/cpu.h
-#include plat/fb-core.h
 #include plat/nand-core.h
 #include plat/adc-core.h
 #include plat/spi-core.h
 
+#include fb-core.h
+
 static struct map_desc s3c2443_iodesc[] __initdata = {
IODESC_ENT(WATCHDOG),
IODESC_ENT(CLKPWR),
-- 
2.0.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 04/12] ARM: SAMSUNG: local spi-core header in mach-s3c24xx

2015-07-27 Thread Kukjin Kim

This patch moves spi-core header file into mach-s3c24xx.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/mach-s3c24xx/s3c2416.c | 2 +-
 arch/arm/mach-s3c24xx/s3c2443.c | 2 +-
 arch/arm/{plat-samsung/include/plat = mach-s3c24xx}/spi-core.h | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c24xx}/spi-core.h (100%)

diff --git a/arch/arm/mach-s3c24xx/s3c2416.c b/arch/arm/mach-s3c24xx/s3c2416.c
index 2469b27..621b864 100644
--- a/arch/arm/mach-s3c24xx/s3c2416.c
+++ b/arch/arm/mach-s3c24xx/s3c2416.c
@@ -60,11 +60,11 @@
 
 #include plat/iic-core.h
 #include plat/adc-core.h
-#include plat/spi-core.h
 
 #include common.h
 #include fb-core.h
 #include nand-core.h
+#include spi-core.h
 
 static struct map_desc s3c2416_iodesc[] __initdata = {
IODESC_ENT(WATCHDOG),
diff --git a/arch/arm/mach-s3c24xx/s3c2443.c b/arch/arm/mach-s3c24xx/s3c2443.c
index 5269d08..b559d37 100644
--- a/arch/arm/mach-s3c24xx/s3c2443.c
+++ b/arch/arm/mach-s3c24xx/s3c2443.c
@@ -42,10 +42,10 @@
 #include plat/devs.h
 #include plat/cpu.h
 #include plat/adc-core.h
-#include plat/spi-core.h
 
 #include fb-core.h
 #include nand-core.h
+#include spi-core.h
 
 static struct map_desc s3c2443_iodesc[] __initdata = {
IODESC_ENT(WATCHDOG),
diff --git a/arch/arm/plat-samsung/include/plat/spi-core.h 
b/arch/arm/mach-s3c24xx/spi-core.h
similarity index 100%
rename from arch/arm/plat-samsung/include/plat/spi-core.h
rename to arch/arm/mach-s3c24xx/spi-core.h
-- 
2.0.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 06/12] ARM: SAMSUNG: local ata-core header in mach-s3c64xx

2015-07-27 Thread Kukjin Kim

This patch moves ata-core header file into mach-s3c64xx.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/ata-core.h | 3 +--
 arch/arm/mach-s3c64xx/s3c6410.c | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c64xx}/ata-core.h (92%)

diff --git a/arch/arm/plat-samsung/include/plat/ata-core.h 
b/arch/arm/mach-s3c64xx/ata-core.h
similarity index 92%
rename from arch/arm/plat-samsung/include/plat/ata-core.h
rename to arch/arm/mach-s3c64xx/ata-core.h
index f5a4ec7..5951f24 100644
--- a/arch/arm/plat-samsung/include/plat/ata-core.h
+++ b/arch/arm/mach-s3c64xx/ata-core.h
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-samsung/include/plat/ata-core.h
- *
+/*
  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  * http://www.samsung.com
  *
diff --git a/arch/arm/mach-s3c64xx/s3c6410.c b/arch/arm/mach-s3c64xx/s3c6410.c
index b2a7930..5081f08 100644
--- a/arch/arm/mach-s3c64xx/s3c6410.c
+++ b/arch/arm/mach-s3c64xx/s3c6410.c
@@ -41,11 +41,11 @@
 #include plat/cpu.h
 #include plat/devs.h
 #include plat/sdhci.h
-#include plat/ata-core.h
 #include plat/adc-core.h
 #include plat/iic-core.h
 #include plat/onenand-core.h
 
+#include ata-core.h
 #include common.h
 
 void __init s3c6410_map_io(void)
-- 
2.0.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 03/12] ARM: SAMSUNG: local nand-core header in mach-s3c24xx

2015-07-27 Thread Kukjin Kim

This patch moves nand-core header file into mach-s3c24xx.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/{plat-samsung/include/plat = mach-s3c24xx}/nand-core.h | 3 +--
 arch/arm/mach-s3c24xx/s3c2412.c  | 2 +-
 arch/arm/mach-s3c24xx/s3c2416.c  | 2 +-
 arch/arm/mach-s3c24xx/s3c2443.c  | 2 +-
 arch/arm/mach-s3c24xx/s3c244x.c  | 2 +-
 5 files changed, 5 insertions(+), 6 deletions(-)
 rename arch/arm/{plat-samsung/include/plat = mach-s3c24xx}/nand-core.h (93%)

diff --git a/arch/arm/plat-samsung/include/plat/nand-core.h 
b/arch/arm/mach-s3c24xx/nand-core.h
similarity index 93%
rename from arch/arm/plat-samsung/include/plat/nand-core.h
rename to arch/arm/mach-s3c24xx/nand-core.h
index 6de2078..7e811fe 100644
--- a/arch/arm/plat-samsung/include/plat/nand-core.h
+++ b/arch/arm/mach-s3c24xx/nand-core.h
@@ -1,5 +1,4 @@
-/* arch/arm/plat-samsung/include/plat/nand-core.h
- *
+/*
  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  * http://www.samsung.com/
  *
diff --git a/arch/arm/mach-s3c24xx/s3c2412.c b/arch/arm/mach-s3c24xx/s3c2412.c
index 64a1360..fb5ee8d 100644
--- a/arch/arm/mach-s3c24xx/s3c2412.c
+++ b/arch/arm/mach-s3c24xx/s3c2412.c
@@ -40,11 +40,11 @@
 #include plat/cpu.h
 #include plat/cpu-freq.h
 #include plat/devs.h
-#include plat/nand-core.h
 #include plat/pm.h
 #include plat/regs-spi.h
 
 #include common.h
+#include nand-core.h
 #include regs-dsc.h
 #include s3c2412-power.h
 
diff --git a/arch/arm/mach-s3c24xx/s3c2416.c b/arch/arm/mach-s3c24xx/s3c2416.c
index b911851..2469b27 100644
--- a/arch/arm/mach-s3c24xx/s3c2416.c
+++ b/arch/arm/mach-s3c24xx/s3c2416.c
@@ -59,12 +59,12 @@
 #include plat/pm.h
 
 #include plat/iic-core.h
-#include plat/nand-core.h
 #include plat/adc-core.h
 #include plat/spi-core.h
 
 #include common.h
 #include fb-core.h
+#include nand-core.h
 
 static struct map_desc s3c2416_iodesc[] __initdata = {
IODESC_ENT(WATCHDOG),
diff --git a/arch/arm/mach-s3c24xx/s3c2443.c b/arch/arm/mach-s3c24xx/s3c2443.c
index 91dd964..5269d08 100644
--- a/arch/arm/mach-s3c24xx/s3c2443.c
+++ b/arch/arm/mach-s3c24xx/s3c2443.c
@@ -41,11 +41,11 @@
 #include plat/gpio-cfg-helpers.h
 #include plat/devs.h
 #include plat/cpu.h
-#include plat/nand-core.h
 #include plat/adc-core.h
 #include plat/spi-core.h
 
 #include fb-core.h
+#include nand-core.h
 
 static struct map_desc s3c2443_iodesc[] __initdata = {
IODESC_ENT(WATCHDOG),
diff --git a/arch/arm/mach-s3c24xx/s3c244x.c b/arch/arm/mach-s3c24xx/s3c244x.c
index b141195..31fd273 100644
--- a/arch/arm/mach-s3c24xx/s3c244x.c
+++ b/arch/arm/mach-s3c24xx/s3c244x.c
@@ -41,9 +41,9 @@
 #include plat/devs.h
 #include plat/cpu.h
 #include plat/pm.h
-#include plat/nand-core.h
 
 #include common.h
+#include nand-core.h
 #include regs-dsc.h
 
 static struct map_desc s3c244x_iodesc[] __initdata = {
-- 
2.0.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 12/12] ARM: SAMSUNG: remove keypad-core header in plat-samsung

2015-07-27 Thread Kukjin Kim

Since keypad-core header is not used, this patch removes it.

Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Joonyoung Shim jy0922.s...@samsung.com
Signed-off-by: Kukjin Kim kg...@kernel.org
---
 arch/arm/plat-samsung/include/plat/keypad-core.h | 31 
 1 file changed, 31 deletions(-)
 delete mode 100644 arch/arm/plat-samsung/include/plat/keypad-core.h

diff --git a/arch/arm/plat-samsung/include/plat/keypad-core.h 
b/arch/arm/plat-samsung/include/plat/keypad-core.h
deleted file mode 100644
index d513e1b..000
--- a/arch/arm/plat-samsung/include/plat/keypad-core.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * linux/arch/arm/plat-samsung/include/plat/keypad-core.h
- *
- * Copyright (C) 2010 Samsung Electronics Co.Ltd   
- * Author: Joonyoung Shim jy0922.s...@samsung.com
- *
- * Samsung keypad controller core function
- *
- *  This program is free software; you can redistribute  it and/or modify it
- *  under  the terms of  the GNU General  Public License as published by the
- *  Free Software Foundation;  either version 2 of the  License, or (at your
- *  option) any later version.
- *
- */
-
-#ifndef __ASM_ARCH_KEYPAD_CORE_H
-#define __ASM_ARCH_KEYPAD_CORE_H
-
-/* These function are only for use with the core support code, such as
- * the cpu specific initialisation code
- */
-
-/* re-define device name depending on support. */
-static inline void samsung_keypad_setname(char *name)
-{
-#ifdef CONFIG_SAMSUNG_DEV_KEYPAD
-   samsung_device_keypad.name = name;
-#endif
-}
-
-#endif /* __ASM_ARCH_KEYPAD_CORE_H */
-- 
2.0.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/9] ARM: multi_v7_defconfig: Enable max77802 regulator, rtc and clock drivers

2015-07-24 Thread Kukjin Kim
Olof Johansson wrote:
 
 Hi,
 
Hi,

 On Fri, Jul 17, 2015 at 11:47 AM, Javier Martinez Canillas
 jav...@dowhile0.org wrote:
  Hello Olof,
 
  On Fri, Jul 17, 2015 at 6:49 PM, Olof Johansson o...@lixom.net wrote:
  On Thu, Jul 16, 2015 at 09:42:47AM +0900, Krzysztof Kozlowski wrote:
  On 16.07.2015 00:38, Javier Martinez Canillas wrote:
   Hello,
  
   On Thu, May 14, 2015 at 5:40 PM, Javier Martinez Canillas
   javier.marti...@collabora.co.uk wrote:
   The Maxim max77802 Power Management IC is used on many Exynos machines.
   Besides a bunch of regulators, this chip has a Real-Time-Clock (RTC)
   and 2-channel 32kHz clock outputs.
  
   Enable the kernel config options to have the drivers for these devices
   built as a module.
  
   Signed-off-by: Javier Martinez Canillas 
   javier.marti...@collabora.co.uk
   ---
arch/arm/configs/multi_v7_defconfig | 3 +++
1 file changed, 3 insertions(+)
  
   diff --git a/arch/arm/configs/multi_v7_defconfig 
   b/arch/arm/configs/multi_v7_defconfig
   index 2349584b6e08..080120fe5580 100644
   --- a/arch/arm/configs/multi_v7_defconfig
   +++ b/arch/arm/configs/multi_v7_defconfig
   @@ -373,6 +373,7 @@ CONFIG_POWER_RESET_SYSCON=y
CONFIG_REGULATOR_MAX8907=y
CONFIG_REGULATOR_MAX8973=y
CONFIG_REGULATOR_MAX77686=y
   +CONFIG_REGULATOR_MAX77802=m
  
   I noticed that the version that landed in 4.2-rc1 as commit
   f3caa529c6f5 (ARM: multi_v7_defconfig: Enable max77802 regulator, rtc
   and clock drivers) doesn't include this symbol. I guess it was caused
   by a wrong resolved conflict? I'll post a patch to enable the
   regulator again.
 
  As you can see in mentioned mainline commit Kukjin removed it manually:
  [kg...@kernel.org: removing useless REGULATOR_MAX77802 config]
 
  I wonder why?
 
  Seems odd. exynos_defconfig still enables it.
 
It has been removed when I did 'make savedefconfig' at that time maybe because
of dependency with other configs...

  Yeah since it is needed for at least the Exynos5420 Peach Pit and
  Exynos5800 Peach Pi Chromebooks that use this PMIC.
 
  Javier or Krzysztof, please send an incremental fix to enable and I'll pick
  it up as a fix.
 
 
  I already posted an incremental patch [0] and Krzysztof is pushing it
  through Kukjin for 4.3 [1].
 
Yes. I'll send it out to arm-soc in this weekend.

  I guess that's OK and there is no need to add it as a fix for the 4.2
  -rc cycle since this is not really a regression. I mean, the max77802
  regulator driver was never enabled for multi_v7_defconfig before.
 
 Yeah, I came across those emails a little further down. :-) It's all
 good, we'll see it come in later.
 
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


[PATCH 2/3] ARM: SAMSUNG: make local dev-backlight in mach-s3c64xx

2015-07-24 Thread Kukjin Kim

This patch moves dev-backlight from plat-samsung into mach-s3c64xx
because it is used for only s3c64xx no other platforms.

Signed-off-by: Kukjin Kim kgene@samsung.com
Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
---
 arch/arm/mach-s3c64xx/Kconfig   | 6 ++
 arch/arm/mach-s3c64xx/Makefile  | 2 ++
 arch/arm/{plat-samsung = mach-s3c64xx}/dev-backlight.c | 3 +--
 arch/arm/plat-samsung/Kconfig   | 6 --
 arch/arm/plat-samsung/Makefile  | 2 --
 5 files changed, 9 insertions(+), 10 deletions(-)
 rename arch/arm/{plat-samsung = mach-s3c64xx}/dev-backlight.c (98%)

diff --git a/arch/arm/mach-s3c64xx/Kconfig b/arch/arm/mach-s3c64xx/Kconfig
index eff95e9..28c7097 100644
--- a/arch/arm/mach-s3c64xx/Kconfig
+++ b/arch/arm/mach-s3c64xx/Kconfig
@@ -34,6 +34,12 @@ config S3C64XX_DEV_ONENAND1
help
  Compile in platform device definition for OneNAND1 controller
 
+config SAMSUNG_DEV_BACKLIGHT
+   bool
+   depends on SAMSUNG_DEV_PWM
+   help
+ Compile in platform device definition LCD backlight with PWM Timer
+
 # platform specific device setup
 
 config S3C64XX_SETUP_I2C0
diff --git a/arch/arm/mach-s3c64xx/Makefile b/arch/arm/mach-s3c64xx/Makefile
index 17f4b07..bb233f3 100644
--- a/arch/arm/mach-s3c64xx/Makefile
+++ b/arch/arm/mach-s3c64xx/Makefile
@@ -40,6 +40,8 @@ obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO)+= 
setup-sdhci-gpio.o
 obj-$(CONFIG_S3C64XX_SETUP_SPI)+= setup-spi.o
 obj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy.o
 
+obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT)+= dev-backlight.o
+
 # Machine support
 
 obj-$(CONFIG_MACH_ANW6410) += mach-anw6410.o
diff --git a/arch/arm/plat-samsung/dev-backlight.c 
b/arch/arm/mach-s3c64xx/dev-backlight.c
similarity index 98%
rename from arch/arm/plat-samsung/dev-backlight.c
rename to arch/arm/mach-s3c64xx/dev-backlight.c
index 2157c5b..62f4648 100644
--- a/arch/arm/plat-samsung/dev-backlight.c
+++ b/arch/arm/mach-s3c64xx/dev-backlight.c
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-samsung/dev-backlight.c
- *
+/*
  * Copyright (c) 2011 Samsung Electronics Co., Ltd.
  *  http://www.samsung.com
  *
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index f115c81..0e1874c 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -217,12 +217,6 @@ config SAMSUNG_DEV_PWM
help
  Compile in platform device definition for PWM Timer
 
-config SAMSUNG_DEV_BACKLIGHT
-   bool
-   depends on SAMSUNG_DEV_PWM
-   help
- Compile in platform device definition LCD backlight with PWM Timer
-
 config S3C24XX_PWM
bool PWM device support
select PWM
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile
index c48a2cc..624f5db 100644
--- a/arch/arm/plat-samsung/Makefile
+++ b/arch/arm/plat-samsung/Makefile
@@ -22,8 +22,6 @@ obj-$(CONFIG_SAMSUNG_ATAGS)   += devs.o
 obj-$(CONFIG_SAMSUNG_ATAGS)+= dev-uart.o
 obj-$(CONFIG_S5P_DEV_MFC)  += s5p-dev-mfc.o
 
-obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT)+= dev-backlight.o
-
 # PM support
 
 obj-$(CONFIG_PM_SLEEP) += pm-common.o
-- 
2.0.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/3] ARM: SAMSUNG: make local setup-camif in mach-s3c24xx

2015-07-24 Thread Kukjin Kim

This patch moves setup-camif from plat-samsung into mach-s3c24xx
because it can be used only for s3c24xx no other platforms.

Signed-off-by: Kukjin Kim kgene@samsung.com
Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
---
 arch/arm/mach-s3c24xx/Kconfig | 5 +
 arch/arm/mach-s3c24xx/Makefile| 1 +
 arch/arm/{plat-samsung = mach-s3c24xx}/setup-camif.c | 0
 arch/arm/plat-samsung/Kconfig | 6 --
 arch/arm/plat-samsung/Makefile| 2 --
 5 files changed, 6 insertions(+), 8 deletions(-)
 rename arch/arm/{plat-samsung = mach-s3c24xx}/setup-camif.c (100%)

diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
index 23bec3a..ef68ecb 100644
--- a/arch/arm/mach-s3c24xx/Kconfig
+++ b/arch/arm/mach-s3c24xx/Kconfig
@@ -124,6 +124,11 @@ config S3C24XX_PLL
  This also means that the PLL tables for the selected CPU(s) will
  be built which may increase the size of the kernel image.
 
+config S3C_SETUP_CAMIF
+   bool
+   help
+ Compile in common setup code for S3C CAMIF devices
+
 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
 
 config S3C2410_IOTIMING
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile
index 05920c8..8ac2f58 100644
--- a/arch/arm/mach-s3c24xx/Makefile
+++ b/arch/arm/mach-s3c24xx/Makefile
@@ -99,3 +99,4 @@ obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO)+= 
setup-sdhci-gpio.o
 obj-$(CONFIG_S3C2443_SETUP_SPI)+= setup-spi.o
 obj-$(CONFIG_ARCH_S3C24XX) += setup-i2c.o
 obj-$(CONFIG_S3C24XX_SETUP_TS) += setup-ts.o
+obj-$(CONFIG_S3C_SETUP_CAMIF)  += setup-camif.o
diff --git a/arch/arm/plat-samsung/setup-camif.c 
b/arch/arm/mach-s3c24xx/setup-camif.c
similarity index 100%
rename from arch/arm/plat-samsung/setup-camif.c
rename to arch/arm/mach-s3c24xx/setup-camif.c
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index cb8e3d6..f115c81 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -231,18 +231,12 @@ config S3C24XX_PWM
  Support for exporting the PWM timer blocks via the pwm device
  system
 
-config S3C_SETUP_CAMIF
-   bool
-   help
- Compile in common setup code for S3C CAMIF devices
-
 config SAMSUNG_PM_GPIO
bool
default y if GPIO_SAMSUNG  PM
help
  Include legacy GPIO power management code for platforms not using
  pinctrl-samsung driver.
-
 endif
 
 config S5P_DEV_MFC
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile
index 1a29ab1..c48a2cc 100644
--- a/arch/arm/plat-samsung/Makefile
+++ b/arch/arm/plat-samsung/Makefile
@@ -24,8 +24,6 @@ obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o
 
 obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT)+= dev-backlight.o
 
-obj-$(CONFIG_S3C_SETUP_CAMIF)  += setup-camif.o
-
 # PM support
 
 obj-$(CONFIG_PM_SLEEP) += pm-common.o
-- 
2.0.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


  1   2   3   4   5   6   7   8   9   10   >