Re: [PATCH 11/14] arm64: dts: Add initial device tree support for EXYNOS7

2014-08-28 Thread Geert Uytterhoeven
that checkpatch test I had for unit-addresses. It would be great if dtc started complaining about unit-addresses not matching the first reg property. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal

Re: [PATCH 14/15] PM / Domains: Remove default_stop_ok() API

2014-09-03 Thread Geert Uytterhoeven
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say programmer or something like that. -- Linus Torvalds

Re: [PATCH 00/15] PM / Domains: Cleanups and remove superfluous APIs

2014-09-04 Thread Geert Uytterhoeven
v2 0/9] PM / Domains: Generic OF-based support, with one minor conflict) a quick run on r8a7791/koelsch-reference, r8a7740/armadillo-legacy, and r8a7740/armadillo-multiplatform. Everything looks fine. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux

Re: [PATCH 4/4] PM / Domains: Let the -attach_dev() callback return an error code

2014-10-28 Thread Geert Uytterhoeven
this in? Doing it ASAP (in v3.18-rc3)? Delaying this to v3.19-rc2, which will require an atomic fixing of its users? Any other option? Gr{oetje,eeting}s, Geert, who's about to resubmit his pm-rmobile patches -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH 4/4] PM / Domains: Let the -attach_dev() callback return an error code

2014-10-29 Thread Geert Uytterhoeven
Hi Ulf, On Wed, Oct 29, 2014 at 10:26 AM, Ulf Hansson ulf.hans...@linaro.org wrote: On 28 October 2014 21:31, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Tue, Oct 28, 2014 at 3:38 PM, Ulf Hansson ulf.hans...@linaro.org wrote: Typically an -attach_dev() callback would fetch some PM

Re: [PATCH 4/4] PM / Domains: Let the -attach_dev() callback return an error code

2014-10-29 Thread Geert Uytterhoeven
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say programmer or something like that. -- Linus Torvalds

Re: [PATCH 4/4] PM / Domains: Let the -attach_dev() callback return an error code

2014-10-29 Thread Geert Uytterhoeven
Hi Kevin, On Wed, Oct 29, 2014 at 10:10 PM, Kevin Hilman khil...@kernel.org wrote: Geert Uytterhoeven ge...@linux-m68k.org writes: On Tue, Oct 28, 2014 at 3:38 PM, Ulf Hansson ulf.hans...@linaro.org wrote: Typically an -attach_dev() callback would fetch some PM resourses. Those operations

Re: [PATCH] PM / Domains: Change prototype for the -attach_dev() callback

2014-10-30 Thread Geert Uytterhoeven
On Thu, Oct 30, 2014 at 1:02 PM, Ulf Hansson ulf.hans...@linaro.org wrote: Convert the prototype to return and int. This is just an initial step, needed to support error handling. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org Acked-by: Geert Uytterhoeven geert+rene...@glider.be Gr{oetje

Re: [PATCH v3 0/9] PM / Domains: Fix race conditions during boot

2014-11-04 Thread Geert Uytterhoeven
for CONFIG_PM_RUNTIME unset (otherwise runtime PM should take care of this). Registering a bus type notifier (that will be a platform bus notifier, right?) will affect all platform devices, not only the on-SoC devices. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots

Re: [PATCH] PM / Domains: Change prototype for the -attach_dev() callback

2014-11-04 Thread Geert Uytterhoeven
, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say programmer or something like that. -- Linus

Re: [PATCH 3/4] PM / Domains: Improve error handling while adding/removing devices

2014-11-04 Thread Geert Uytterhoeven
= genpd-domain; - + gpd_data = to_gpd_data(dev-power.subsys_data-domain_data); spin_unlock_irq(dev-power.lock); - if (genpd-attach_dev) - genpd-attach_dev(dev); - Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux

Re: [PATCH] PM / Domains: Change prototype for the -attach_dev() callback

2014-11-05 Thread Geert Uytterhoeven
[khilman: added domain as parameter to callbacks, as suggested by Dmitry] OK, so back to the signature of the original version... Signed-off-by: Ulf Hansson ulf.hans...@linaro.org Signed-off-by: Kevin Hilman khil...@linaro.org Acked-by: Geert Uytterhoeven geert+rene...@glider.be Gr{oetje,eeting

Re: [PATCH] PM / Domains: Change prototype for the -attach_dev() callback

2014-11-14 Thread Geert Uytterhoeven
, and the arm-soc merge window will close soon, time is running out. Alternatively, you could provide an immutable branch containing this fix to unblock dependents. Thanks for your understanding. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32

Re: [PATCH] PM / Domains: Change prototype for the -attach_dev() callback

2014-11-15 Thread Geert Uytterhoeven
by Dmitry] Signed-off-by: Ulf Hansson ulf.hans...@linaro.org Signed-off-by: Kevin Hilman khil...@linaro.org That's in the Linus' tree now. Thank you very much. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

Re: [PATCH 0/3] PM / Domains: Add initial PM clock support to genpd

2014-11-19 Thread Geert Uytterhoeven
for adding the flags field now? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say programmer

Re: [PATCH RFC v2 08/12] soc: samsung: pm_domain: Add support for parent power domain

2014-11-25 Thread Geert Uytterhoeven
power-domains properties to link them together. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just

Re: [PATCH V3 0/3] PM / Domains: Add initial PM clock support to genpd

2014-12-01 Thread Geert Uytterhoeven
changed, 13 insertions(+), 4 deletions(-) For the series: Acked-by: Geert Uytterhoeven geert+rene...@glider.be Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I

Re: [PATCH V3 3/3] ARM: shmobile: Convert to genpd flags for PM clocks for R-mobile

2014-12-01 Thread Geert Uytterhoeven
On Fri, Nov 28, 2014 at 9:30 AM, Ulf Hansson ulf.hans...@linaro.org wrote: Instead of using the dev_ops -stop|start() callbacks for genpd, let's convert to use genpd's flag field and set it to GENPD_PM_CLK. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org Tested-by: Geert Uytterhoeven geert

Re: [PATCH v2 2/7] ARM: Exynos: add support for sub-power domains

2014-12-03 Thread Geert Uytterhoeven
) { + pm_genpd_add_subdomain_names(master_np-name, np-name); + of_node_put(master_np); + } -- Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal

Re: [PATCH v7 08/11] arm/arm64: Unexport restart handlers

2014-12-04 Thread Geert Uytterhoeven
+98,6 @@ void (*pm_power_off)(void); EXPORT_SYMBOL_GPL(pm_power_off); void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd); -EXPORT_SYMBOL_GPL(arm_pm_restart); /* * This is our default idle handler. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven

Re: [PATCH v7 08/11] arm/arm64: Unexport restart handlers

2014-12-04 Thread Geert Uytterhoeven
Hi Günther, On Thu, Dec 4, 2014 at 3:26 PM, Guenter Roeck li...@roeck-us.net wrote: On 12/04/2014 05:36 AM, Geert Uytterhoeven wrote: On Wed, Aug 20, 2014 at 2:45 AM, Guenter Roeck li...@roeck-us.net wrote: Implementing a restart handler in a module don't make sense as there would

Enable runtime PM automatically?

2014-12-17 Thread Geert Uytterhoeven
Power-Managed Bus Support (https://lkml.org/lkml/2014/12/17/359). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking

Re: Enable runtime PM automatically?

2014-12-18 Thread Geert Uytterhoeven
Hi Rafael, Thanks for your comments! On Thu, Dec 18, 2014 at 1:57 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, December 17, 2014 08:33:13 PM Geert Uytterhoeven wrote: On Tue, Dec 16, 2014 at 11:10 PM, Kevin Hilman khil...@kernel.org wrote: At a deeper level, the problem

Re: Enable runtime PM automatically?

2014-12-19 Thread Geert Uytterhoeven
all dependents are suspended. That's how simple-pm-bus behaves. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking

Re: [PATCH 4/4] PM: Eliminate CONFIG_PM_RUNTIME

2014-12-19 Thread Geert Uytterhoeven
CONFIG_PM_STD_PARTITION=/dev/hda3 -CONFIG_PM_RUNTIME=y +CONFIG_PM=y ^^^ Now we have two of them CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_DEBUG=y CONFIG_CPU_FREQ_STAT=m Other defconfig files may be affected, too. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots

Re: [PATCH v3 1/7 RESEND] PM / Domains: Add a note about power domain subdomains

2015-01-14 Thread Geert Uytterhoeven
m.szyprow...@samsung.com Acked-by: Geert Uytterhoeven geert+rene...@glider.be Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm

Re: [PATCH 8/8] PM / Domains: Handle errors from genpd's -attach_dev() callback

2015-01-28 Thread Geert Uytterhoeven
of -EPROBE_DEFER get special treatment and is propagated to the driver are propagated core. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when

Re: [PATCH 0/8] PM / Domains: Re-structure code for adding/removing devices to genpd

2015-01-29 Thread Geert Uytterhoeven
-attach_dev() callback Looks OK, and tested on sh73a0/kzm9g-multiplatform with PM domains Tested-by: Geert Uytterhoeven geert+rene...@glider.be Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal

Re: [PATCH v3 1/7] PM / Domains: Add a note about power domain subdomains

2015-01-14 Thread Geert Uytterhoeven
'. s/defines/define/ +Domains created by 'child' power controller are subdomains of '0' power the 'child' power controller +domain provided by 'parent' power controller. the 'parent' power controller. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots

Re: [PATCH 08/11] MTD: m25p80: Add option to limit SPI transfer size.

2015-06-04 Thread Geert Uytterhoeven
this doesn't belong in DT, but it can be a field in struct spi_master. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking

Re: [PATCH 10/11] spi: add more debug prints in s3c64xx

2015-06-04 Thread Geert Uytterhoeven
this indicates that there's a very big abstraction problem going on. I guess it's needed for __clk_get_name(), which can be avoided by using the %pC printf format specifier instead. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH] thermal: consistently use int for temperatures

2015-07-06 Thread Geert Uytterhoeven
-us.net Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Maxime Ripard maxime.rip...@free-electrons.com Cc: Darren Hart dvh...@infradead.org Cc: lm-sens...@lm-sensors.org For rcar-thermal: Acked-by: Geert Uytterhoeven geert+rene...@glider.be diff --git a/drivers/thermal/rcar_thermal.c b/drivers

Re: [PATCH 2/2] clk: Convert __clk_get_name(hw-clk) to clk_hw_get_name(hw)

2015-08-13 Thread Geert Uytterhoeven
: Ralf Baechle r...@linux-mips.org Cc: Kevin Cernekee cerne...@chromium.org Cc: Geert Uytterhoeven geert+rene...@glider.be Cc: Ulrich Hecht ulrich.hecht+rene...@gmail.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Cc: linux

Re: [PATCH 1/3] platform/chrome: Don't make CHROME_PLATFORMS depends on X86 || ARM

2015-08-17 Thread Geert Uytterhoeven
Martinez Canillas javier.marti...@collabora.co.uk NAKed-by: Geert Uytterhoeven ge...@linux-m68k.org The proper way to have more build coverage is to extend the dependencies with || COMPILE_TEST. Yes I know MFD_CROS_EC selects CHROME_PLATFORMS, causing a Kconfig warning on !X86 and !ARM. Mixing

Re: [PATCH 2/2] [media] include/media: move platform driver headers to a separate dir

2015-11-13 Thread Geert Uytterhoeven
kdir include/media/platform_data > (cd include/media/; git mv $(grep -l platform_data *.h|grep -v v4l2) I think include/linux/platform_data/media/, like Arnd suggested, would be better. Then we can make it a common goal to empty include/linux/platform_data/ ;-) Gr{oetje,eeting}s,