Re: [PATCH] clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated

2014-12-24 Thread Paolo Pisati
On Wed, Dec 10, 2014 at 09:35:31AM -0800, Kevin Hilman wrote:
 
 I confirm it fixes the boot hang in linux-next (next-20141210) on my
 exynos5800-peach-pi and exynos5420-arndale-octa.  Tested both
 exynos_defconfig and multi_v7_defconfig.
 
 Tested-by: Kevin Hilman khil...@linaro.org

does audio work on your peach pi? because kernel boots fine, but i can't get any
audio out of it

-- 
bye,
p.
--
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


3.19-rc1: peach*: display not working (missing patches)

2014-12-23 Thread Paolo Pisati
Hi,

3.19-rc1 still misses these two patches:

156823e arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy
03c16e7 ARM: exynos_defconfig: Enable options for display panel support156823e

and without them, the display doesn't turn on on my peachpi: can we have them
queued for rc2?
-- 
bye,
p.
--
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 1/1] drm/exynos: Move platform drivers registration to module init

2014-11-20 Thread Paolo Pisati
On Thu, Nov 20, 2014 at 03:22:23PM +0530, Vivek Gautam wrote:

 On linux-samsung tree the only patch that's missing apart from dptx-phy 
 patches
 is the syscon patch from Pankaj Dubey:
 b784b98 mfd: syscon: Decouple syscon interface from platform devices
 
 So with below git hash, linux-samsung/for-next display works fine along with
 other devices that request PMU system controller :
 
 7bd219e drm/exynos: dp: Remove support for unused dptx-phy
 e8f21fd arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy
 7099bde Revert Revert ARM: exynos_defconfig: Enable options for
 display panel support
 713a994 mfd: syscon: Decouple syscon interface from platform devices
 7552917 Revert ARM: exynos_defconfig: Enable options for display
 panel support /* This is Kukjin's for-next today */
 ff0391a Merge branch 'v3.19-samsung-defconfig' into for-next
 26c6283 Merge branch 'v3.18-samsung-fixes' into for-next
 cf864fd Merge branch 'v3.18-samsung-defconfig' into for-next
 98b6380 ARM: exynos_defconfig: Enable max77802 rtc and clock drivers
 839275c ARM: exynos_defconfig: Use 16 minors per MMC block device
 0526f27 ARM: dts: Explicitly set dr_mode on exynos5250-snow
 fc14f9c Linux 3.18-rc5

are you using a clean exynos_defconfig?
don't you need Javier's drm/exynos: Move platform drivers registration to
module init patch too?

kgene/for-next at:

7552917 Revert ARM: exynos_defconfig: Enable options for display panel support

plus:

5e1e068 arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy
36d908e drm/exynos: dp: Remove support for unused dptx-phy
624bff2 POSTED: mfd: syscon: Decouple syscon interface from syscon devices
68944e3 Revert Revert ARM: exynos_defconfig: Enable options for display panel 
support

hangs with a black screen (albeit backlight seems to be on) on boot.
I'm betting on Javier's patch at this point (i even tried disabling SND_SOC_SNOW
but that didn't help).
-- 
bye,
p.
--
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 1/1] drm/exynos: Move platform drivers registration to module init

2014-11-20 Thread Paolo Pisati
On Thu, Nov 20, 2014 at 10:22:54AM -0800, Kevin Hilman wrote:
 Javier Martinez Canillas javier.marti...@collabora.co.uk writes:
 
  Hello,
 
  For completeness I'll comment what we talked with Kevin on IRC
  since probably this is the same issue that Paolo is facing.
 
  On 11/20/2014 05:41 PM, Kevin Hilman wrote:
  Peach # setenv preboot usb start; sleep 1setenv bootargs
  console=tty1 console=ttySAC3,115200 debug earlyprintk rw
  root=/dev/mmcblk1p3 rootwait rootfstype=ext3
 
  My kernel command line is almost the same with the difference that I'm using
  clk_ignore_unused and I just checked that not passing that parameter, makes
  linux-next to hang showing the same output log that Kevin reported.
 
 Ah!  Good find.  I confirm that adding clk_ignore_unused is getting me
 booting again, but of course that is just masking a problem, so I hope
 someone can shed light on which clock isn't being correctly managed.
 
 Might I also suggest that folks have their default command-line to *not*
 use clk_ignore_unused, since it's primary job is to workaround clock
 bugs.

i'm testing kgene/for-next (not linux-next), with:

flag@peachpi:~/linux$ cat /proc/cmdline
console=tty1 console=ttySAC3,115200 debug earlyprintk rw rootwait
root=/dev/mmcblk1p3

adding clk_ignore_unused didn't make any difference: it hangs on boot
showing a black screen with backlight on.

vanilla kgene/for-next as of today:

7552917 Revert ARM: exynos_defconfig: Enable options for display panel support
ff0391a Merge branch 'v3.19-samsung-defconfig' into for-next
26c6283 Merge branch 'v3.18-samsung-fixes' into for-next
cf864fd Merge branch 'v3.18-samsung-defconfig' into for-next
98b6380 ARM: exynos_defconfig: Enable max77802 rtc and clock drivers
839275c ARM: exynos_defconfig: Use 16 minors per MMC block device
0526f27 ARM: dts: Explicitly set dr_mode on exynos5250-snow
fc14f9c Linux 3.18-rc5
...

plus

5e1e068 arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy
36d908e drm/exynos: dp: Remove support for unused dptx-phy
624bff2 POSTED: mfd: syscon: Decouple syscon interface from syscon devices
68944e3 Revert Revert ARM: exynos_defconfig: Enable options for display panel
support

vanilla exynos_defconfig with SND_SOC_SNOW disabled.

I should probably try linux-next at this point, but i wonder if people who
reported kgene/for-next working were testing with a vanilla exynos_defconfig on
a peach pi.
-- 
bye,
p.
--
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 V8 00/14] drm/exynos: few patches to enhance bridge chip support

2014-11-19 Thread Paolo Pisati
On Wed, Nov 19, 2014 at 10:35:40AM +0100, Javier Martinez Canillas wrote:
 Hello Ajay,
 
 On 11/18/2014 07:20 AM, Ajay kumar wrote:
  On Sat, Nov 15, 2014 at 3:24 PM, Ajay Kumar ajaykumar...@samsung.com 
  wrote:
  This series is based on master branch of Linus tree at:
  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
 
 I applied your series on top of 3.18-rc5 + linux-next's commit:
 
 0ef76ae (ARM: exynos_defconfig: Enable options for display panel support).
 
 I think you should had mentioned what other patches are needed as a
 dependency since I spent quite a bit of time figuring out why the
 ps8622 bridge driver probe was always deferred due of_drm_find_panel()
 failing and then I noticed that a patch from linux-next was needed:
 
 e35e305 (drm/panel: simple: Add AUO B116XW03 panel support)
 
 With that commit the ps8622 drm bridge driver probe succeed but I still
 don't have display working on an Exynos5240 Peach Pit, the kernel log shows:
 
 platform 145b.dp-controller: Driver exynos-dp requests probe deferral
 exynos-drm exynos-drm: bound 1440.fimd (ops fimd_component_ops)
 exynos-drm exynos-drm: failed to bind 145b.dp-controller (ops 
 exynos_dp_ops): -517
 exynos-drm exynos-drm: master bind failed: -517
 platform 145b.dp-controller: Driver exynos-dp requests probe deferral

do you have this in your dmesg?

...
exynos-dp-video-phy 10040728.video-phy: Failed to lookup PMU regmap
...

to get a working framebuffer out of linus 318rc4 on my peach pi, i had
to cherry pick these 3 patches:

arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy
drm/exynos: dp: Remove support for unused dptx-phy
ARM: exynos_defconfig: Enable options for display panel support

Check if you have those.
-- 
bye,
p.
--
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 V8 00/14] drm/exynos: few patches to enhance bridge chip support

2014-11-19 Thread Paolo Pisati
On Wed, Nov 19, 2014 at 12:20:53PM +0100, Javier Martinez Canillas wrote:
 
 If someone else is interested, I've pushed a branch [0] with 3.18-rc5 + all
 the needed patches.
 
 Ajay, feel free to add to your series:
 
 Tested-by: Javier Martinez Canillas javier.marti...@collabora.co.uk
 
 Best regards,
 Javier
 
 [0]: git://git.collabora.co.uk/git/user/javier/linux.git wip/exynos/dp-integ

doesn't peach pi require the same dts modification as peach pit/snow?

-- 
bye,
p.
--
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


3.19/for-next: peachpi: phy failures

2014-11-17 Thread Paolo Pisati
Today's 3.19/for-next regressed on usb (and display panel too) on my samsung
chromebook2 peach pi.

Blindly typing i was able to login and get a dmesg, and this is the relevant
part:

...
[0.195049] exynos-dp-video-phy 10040728.video-phy: Failed to lookup PMU 
regmap
[0.195304] exynos-mipi-video-phy 10040714.video-phy: can't request region 
for resource [mem 0x10040714-0x1004071f]
[0.195327] exynos-mipi-video-phy: probe of 10040714.video-phy failed with 
error -16
[0.195807] samsung-usb2-phy 1213.phy: Failed to map PMU registers (via 
syscon)
[0.195836] platform 1213.phy: Driver samsung-usb2-phy requests probe 
deferral
[0.196095] exynos5_usb3drd_phy 1210.phy: Failed to lookup PMU regmap
[0.196124] platform 1210.phy: Driver exynos5_usb3drd_phy requests probe 
deferral
[0.196196] exynos5_usb3drd_phy 1250.phy: Failed to lookup PMU regmap
[0.196222] platform 1250.phy: Driver exynos5_usb3drd_phy requests probe 
deferral
...

the funny thing is that usb has always worked fine for me on 318rc4, plus adding
those patches:

d10d142 arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy
92dcb9d drm/exynos: dp: Remove support for unused dptx-phy
ddda2b6 ARM: exynos_defconfig: Enable options for display panel support

i got the display to work too (albeit only for fb support, drm
wasn't working yet - that's why i was trying the for-next branch).

Any idea? Has anyone tested for-next on this chromebook?
-- 
bye,
p.
--
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