[PATCH 08/08] ARM: shmobile: Remove CMT renesas,channels-mask from DTS

2015-06-21 Thread Magnus Damm
From: Magnus Damm Update the DTS to remove the now deprecated "renesas,channels-mask" property. The channel information is now kept in the device driver and can easily be determined based on the compat string. Signed-off-by: Magnus Damm --- arch/arm/boot/dts/r8a73a4.dtsi |3

[PATCH 05/08] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings

2015-06-21 Thread Magnus Damm
From: Magnus Damm Update SoC-specific bindings for r8a73a4 and R-Car Gen2 CMT0 and CMT1. Signed-off-by: Magnus Damm --- Documentation/devicetree/bindings/timer/renesas,cmt.txt | 26 --- 1 file changed, 15 insertions(+), 11 deletions(-) --- 0006/Documentation/devicetree

[PATCH 03/08] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings

2015-06-21 Thread Magnus Damm
From: Magnus Damm Add documentation for new separate CMT0 and CMT1 DT compatible strings for R-Car Gen2. These compat strings allow us to enable CMT1-specific features in the driver. The old compat strings will be deprecated in the not so distant future. Signed-off-by: Magnus Damm

Re: [PATCH 04/11] ARM: shmobile: lager legacy: Add MSIOF support

2014-02-23 Thread Magnus Damm
Hi Geert, On Fri, Feb 21, 2014 at 1:18 AM, Geert Uytterhoeven wrote: > Hi Magnus, > > On Thu, Feb 20, 2014 at 4:48 PM, Magnus Damm wrote: >>> +/* MSIOF */ >>> +static const struct resource sh_msiof0_resources[] __initconst = { >>> +

Re: [PATCH 07/10] spi: sh-msiof: Add support for R-Car H2 and M2

2014-02-23 Thread Magnus Damm
Hi Geert, On Fri, Feb 21, 2014 at 1:13 AM, Geert Uytterhoeven wrote: > On Thu, Feb 20, 2014 at 4:41 PM, Magnus Damm wrote: >> On thing stuck out a bit with the bindings. I can see that you specify >> both fifo size and use the SoC suffix for the r8a7790 and r8a7791 >> bindi

Re: [PATCH] gpio: gpio-rcar: init at postcore level

2014-02-23 Thread Magnus Damm
nit); > + > +static void __exit gpio_rcar_exit(void) > +{ > + platform_driver_unregister(&gpio_rcar_device_driver); > +} > +module_exit(gpio_rcar_exit); > > MODULE_AUTHOR("Magnus Damm"); > MODULE_DESCRIPTION("Renesas R-Car GPIO Driver"); Hi Vladimir, Th

Re: [PATCH V4 3/4] ARM: shmobile: koelsch: Add USBHS and internal PCI USB support

2014-02-23 Thread Magnus Damm
On Mon, Feb 24, 2014 at 3:00 AM, wrote: > From: Vladimir Barinov > > This adds the following to R-Car M2 Koelsch board: > - USBHS PHY > - USBHS device > - internal PCI USB host devices > > Depending on state of ID pin from MAX3355E chip the usb0 is configured > ether as host or gadget. > In case

Re: [PATCH] gpio: gpio-rcar: init at postcore level

2014-02-23 Thread Magnus Damm
Hi Vladimir, On Mon, Feb 24, 2014 at 4:42 PM, Vladimir Barinov wrote: > Hi Magnus, > > > On 02/24/2014 06:57 AM, Magnus Damm wrote: >> >> Hi Vladimir, >> >> On Mon, Feb 24, 2014 at 1:37 AM, >> wrote: >>> >>> From: Vladimir Barinov >

Re: [PATCH V4 3/4] ARM: shmobile: koelsch: Add USBHS and internal PCI USB support

2014-02-24 Thread Magnus Damm
Hi Vladimir, On Mon, Feb 24, 2014 at 4:34 PM, Vladimir Barinov wrote: > Hello Magnus, > > Thank you for the quick response. > > > On 02/24/2014 07:52 AM, Magnus Damm wrote: >> >> +static int usbhs_hardware_init(struct platform_device *pdev) >> +{ &

Re: [PATCH 07/10] spi: sh-msiof: Add support for R-Car H2 and M2

2014-02-24 Thread Magnus Damm
Hi Geert, On Mon, Feb 24, 2014 at 4:39 PM, Geert Uytterhoeven wrote: > Hi Magnus, > > On Mon, Feb 24, 2014 at 3:45 AM, Magnus Damm wrote: >> On Fri, Feb 21, 2014 at 1:13 AM, Geert Uytterhoeven >> wrote: >>> On Thu, Feb 20, 2014 at 4:41 PM, Magnus Damm wrote: >

Re: [PATCH 04/11] ARM: shmobile: lager legacy: Add MSIOF support

2014-02-24 Thread Magnus Damm
Hi Geert! On Mon, Feb 24, 2014 at 5:25 PM, Geert Uytterhoeven wrote: > Hi Magnus, > > On Mon, Feb 24, 2014 at 3:09 AM, Magnus Damm wrote: >> On Fri, Feb 21, 2014 at 1:18 AM, Geert Uytterhoeven >> wrote: >>> On Thu, Feb 20, 2014 at 4:48 PM, Magnus Damm wrote: >

Re: [PATCH V4 3/4] ARM: shmobile: koelsch: Add USBHS and internal PCI USB support

2014-02-24 Thread Magnus Damm
Hi Vladimir, On Mon, Feb 24, 2014 at 5:29 PM, Vladimir Barinov wrote: > Hi Magnus, > > > On 02/24/2014 12:05 PM, Magnus Damm wrote: >> >> Hi Vladimir, >> >> On Mon, Feb 24, 2014 at 4:34 PM, Vladimir Barinov >> wrote: >>> >>

Re: [PATCH V6 0/3] clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits

2014-02-24 Thread Magnus Damm
On Thu, Feb 20, 2014 at 5:47 PM, Daniel Lezcano wrote: > On 02/17/2014 09:55 PM, Wolfram Sang wrote: >> >> This is V6 of the SH and ARM mach-shmobile clocksource Kconfig >> consolidation >> series. It is a rebased version of V5 (which did not get any comments) on >> top >> of the latest renesas/de

Re: DMABOUNCE in pci-rcar

2014-02-24 Thread Magnus Damm
On Mon, Feb 24, 2014 at 8:00 PM, Arnd Bergmann wrote: > Hi Magnus, > > I noticed during randconfig testing that you enabled DMABOUNCE for the > pci-rcar-gen2 driver as posted in this patch https://lkml.org/lkml/2014/2/5/30 Hi Arnd, The patch that you are referring to has been updated a few times

Re: [PATCH 08/10] spi: sh-msiof: Move clock management to (un)prepare_message()

2014-02-24 Thread Magnus Damm
Hi Geert, On Mon, Feb 24, 2014 at 6:48 PM, Geert Uytterhoeven wrote: > Hi Mark, Magnus, > > On Sat, Feb 22, 2014 at 4:27 AM, Mark Brown wrote: >> On Thu, Feb 20, 2014 at 03:43:07PM +0100, Geert Uytterhoeven wrote: >> >>> + if (!test_and_set_bit(0, &p->flags)) { >>> + pm_runtime_g

Re: DMABOUNCE in pci-rcar

2014-02-24 Thread Magnus Damm
Hi Russell, On Tue, Feb 25, 2014 at 9:17 AM, Russell King - ARM Linux wrote: > On Tue, Feb 25, 2014 at 08:49:28AM +0900, Magnus Damm wrote: >> On Mon, Feb 24, 2014 at 8:00 PM, Arnd Bergmann wrote: >> >From my point of view we need some kind of bounce buffer unless we >&g

Re: [PATCH V5 0/4] ARM: shmobile: koelsch: Add USB support

2014-02-25 Thread Magnus Damm
gt; * get rid from PCI USB on usb0 > * moved MAX3355E ID pin check in usbhs probe > * removed CONFIG_USB_RENESAS_USBHS_HCD as not used yet This version of the series looks good to me. Acked-by: Magnus Damm Thanks. / magnus -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH v2 0/6] spi: sh-msiof: Add support for R-Car H2 and M2

2014-02-26 Thread Magnus Damm
iver. Also getting rid of the now-not-needed bitbang dependency is a great thing. All these patches look good to me. Acked-by: Magnus Damm Cheers, / magnus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[PATCH] pinctrl: sh-pfc: r8a7791: SD1_CLK fix

2014-02-26 Thread Magnus Damm
From: Magnus Damm Fix the SD1_CLK handling for r8a7791. Without this patch it is impossible to request all pins needed for SDHI1 on the Koelsch board. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart --- Developed on top of linux-next tag next-20140225 drivers/pinctrl/sh-pfc/pfc

[PATCH v2 02/03] ARM: shmobile: Remove CMT, TMU and STI Kconfig entries

2013-11-06 Thread Magnus Damm
From: Magnus Damm Now when drivers/clocksource/Kconfig has been updated with entires for CMT, TMU and STI it is safe to remove these from mach-shmobile. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/Kconfig | 21 - 1 file changed, 21 deletions(-) --- 0004/arch

[PATCH v2 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-11-06 Thread Magnus Damm
From: Magnus Damm Add Kconfig entries for CMT, MTU2, TMU and STI to drivers/clocksource/Kconfig. This will allow us to get rid of duplicated entires in architecture code such as arch/sh and arch/arm/mach-shmobile. Signed-off-by: Magnus Damm --- drivers/clocksource/Kconfig | 30

[PATCH v2 03/03] sh: Remove Kconfig entries for TMU, CMT and MTU2

2013-11-06 Thread Magnus Damm
From: Magnus Damm Now when drivers/clocksource/Kconfig has been updated with entires for CMT, TMU and MTU2 it is safe to remove these from SH. Signed-off-by: Magnus Damm --- arch/sh/Kconfig | 21 - 1 file changed, 21 deletions(-) --- 0001/arch/sh/Kconfig +++ work/arch

[PATCH v2 00/03] clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits

2013-11-06 Thread Magnus Damm
interpreted your ideas wrong please let me know and I will update. Signed-off-by: Magnus Damm --- Written against renesas.git tag renesas-devel-v3.12-rc7-20131101 arch/arm/mach-shmobile/Kconfig | 21 - arch/sh/Kconfig| 21 - drivers

[PATCH] gpio: Renesas RZ GPIO driver

2013-11-06 Thread Magnus Damm
From: Magnus Damm This patch adds a GPIO driver for the RZ series of SoCs from Renesas. The driver can be used as platform device with dynamic or static GPIO assignment or via DT using dynamic GPIOs. The hardware allows control of GPIOs in blocks of up to 16 pins, and once device may span

Re: [PATCH 2/3] spi: sh-msiof: Convert to spi core auto_runtime_pm framework

2014-03-11 Thread Magnus Damm
On Wed, Mar 12, 2014 at 1:32 AM, Laurent Pinchart wrote: > On Tuesday 11 March 2014 17:23:37 Geert Uytterhoeven wrote: >> Hi Laurent, >> >> On Tue, Mar 11, 2014 at 4:55 PM, Laurent Pinchart wrote: >> > Does this require drivers/sh/pm_runtime.c to be compiled in ? >> >> Let's check... >> >> My koel

Re: [PATCH 2/3] spi: sh-msiof: Convert to spi core auto_runtime_pm framework

2014-03-12 Thread Magnus Damm
Hi Laurent, On Wed, Mar 12, 2014 at 8:26 PM, Laurent Pinchart wrote: > Hi Magnus, > > On Wednesday 12 March 2014 10:23:48 Magnus Damm wrote: >> On Wed, Mar 12, 2014 at 1:32 AM, Laurent Pinchart wrote: >> > On Tuesday 11 March 2014 17:23:37 Geert Uytterhoeven

Re: [PATCH v2 00/11] ARM: shmobile: MSIOF integration on r8a7790/lager and r8a7791/koelsch

2014-03-05 Thread Magnus Damm
] ARM: shmobile: koelsch/lager/multi defconfig: Enable MSIOF > > These are (reworked versions of) the remaining patches not taken from v1. > Changelogs are available in the individual patches. Hi Geert, Thanks for your efforts. All these look fine to me. Acked-by: Magnus Damm Exa

Re: [PATCH v2 00/11] ARM: shmobile: MSIOF integration on r8a7790/lager and r8a7791/koelsch

2014-03-05 Thread Magnus Damm
On Thu, Mar 6, 2014 at 10:38 AM, Simon Horman wrote: > On Wed, Mar 05, 2014 at 05:31:42PM +0900, Magnus Damm wrote: >> On Tue, Feb 25, 2014 at 7:30 PM, Geert Uytterhoeven >> wrote: >> > Hi Simon, Magnus, >> > >> > This patch series integrates s

Re: [PATCH 0/7] ARM: shmobile: r8a7790/Lager QSPI SoC/board integration

2014-02-11 Thread Magnus Damm
si: Add QSPI node > [4/7] ARM: shmobile: lager dts: Add QSPI nodes > [5/7] ARM: shmobile: lager defconfig: Enable RSPI and MTD_M25P80 Thanks a lot for this! All patches included in this series look great to me. I noticed that 1/7 turned into a v2, so feel free to omit or includ

[PATCH v2 02/08] PCI: rcar: add error interrupt handling

2014-02-12 Thread Magnus Damm
From: Ben Dooks Add option to enable interrupts to report any errors from the AHB-PCI bridge to help find any issues with the bridge when in use. Signed-off-by: Ben Dooks Signed-off-by: Magnus Damm --- v2: - removed kconfig entry and use CONFIG_PCI_DEBUG - check for irq >

[PATCH 01/08] PCI: rcar: check platform_get_irq() return code

2014-02-12 Thread Magnus Damm
From: Ben Dooks The current code does not check the return from platform_get_irq() so add an error check and return if this call does fail. Signed-off-by: Ben Dooks Signed-off-by: Magnus Damm --- drivers/pci/host/pci-rcar-gen2.c |5 + 1 file changed, 5 insertions(+) --- 0001

[PATCH 03/08] PCI: rcar: fix bridge logic configuration accesses

2014-02-12 Thread Magnus Damm
: pci-rcar-gen2 ee0d.pci: error irq: status 0014 Signed-off-by: Ben Dooks Signed-off-by: Magnus Damm --- drivers/pci/host/pci-rcar-gen2.c |4 1 file changed, 4 insertions(+) --- 0005/drivers/pci/host/pci-rcar-gen2.c +++ work/drivers/pci/host/pci-rcar-gen2.c 2014-02-13

[PATCH 00/08] PCI: rcar: Recent driver patches from Ben Dooks and me

2014-02-12 Thread Magnus Damm
new one that fixes up the Kconfig dependencies. Patch 1-3: Signed-off-by: Ben Dooks Patch 4-8: Signed-off-by: Magnus Damm --- Written against renesas.git tag renesas-devel-v3.14-rc1-20140207 drivers/pci/host/Kconfig |5 drivers/pci/host/pci-rcar-gen2.c | 445

[PATCH 07/08] PCI: rcar: Enable BOUNCE in case of HIGHMEM

2014-02-12 Thread Magnus Damm
From: Magnus Damm Select BOUNCE in case of HIGHMEM to enable bounce buffers in the block layer. Without this patch the DMABOUNCE code will error out due to lack of HIGHMEM support, and without DMABOUNCE there will be silent errors. Signed-off-by: Magnus Damm --- drivers/pci/host/Kconfig

[PATCH v2 06/08] PCI: rcar: Add DMABOUNCE support

2014-02-12 Thread Magnus Damm
From: Magnus Damm Add DMABOUNCE support together with a local memory area for all PCI devices hanging off this bridge. 4MiB of memory is set aside for coherent allocations which is shared between the on-chip OHCI and EHCI devices that are hanging off the PCI bridge. With this patch the driver

[PATCH v2 05/08] PCI: rcar: Break out window size handling

2014-02-12 Thread Magnus Damm
From: Magnus Damm Break out the hard coded window size code to allow dynamic setup. The window size is still left at 1GiB but with this patch changing window size is easy for testing. Signed-off-by: Magnus Damm --- Changes since V1: - Updated to fit on top of patches from Ben Dooks drivers

[PATCH 08/08] PCI: rcar: Make the Kconfig dependencies more generic

2014-02-12 Thread Magnus Damm
From: Magnus Damm Update the R-Car Generation 2 PCI driver Kconfig dependencies to follow same style as other drivers - no SoC dependencies. Also, update the COMPILE_TEST bits to depend on ARM. This since the DMA bounce buffer and dma_ops handling code is ARM specific. Signed-off-by: Magnus

[PATCH v2 04/08] PCI: rcar: Register each instance independently

2014-02-12 Thread Magnus Damm
From: Magnus Damm Convert the code to allow per-device probe() like other device drivers. This also delays driver registration due to change from subsys_initcall() to regular module_platform_driver(). Signed-off-by: Magnus Damm --- Changes since V1: - Updated to fit on top of patches from

Re: [PATCH 07/10] spi: sh-msiof: Add support for R-Car H2 and M2

2014-02-20 Thread Magnus Damm
On Thu, Feb 20, 2014 at 11:43 PM, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven > > Add support for the MSIOF variant in the R-Car H2 (r8a7790) and M2 > (r8a7791) SoCs. > > Binding documentation: > - Add future-proof "renesas,msiof-" compatible values, > - Add example bindings. > > Imp

Re: [PATCH 04/11] ARM: shmobile: lager legacy: Add MSIOF support

2014-02-20 Thread Magnus Damm
Hi Geert, On Thu, Feb 20, 2014 at 11:49 PM, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven > > Add MSIOF resources, platform data, platform device, pinctrl, and SPI > child device. > > - Platform device numbering is 1-based for compatibility with the BSP, > as QSPI uses zero. > - O

Re: [PATCH CFT] ARM:SHMOBILE: Enable AUTO_ZRELADDR by default

2014-01-09 Thread Magnus Damm
On Thu, Jan 9, 2014 at 5:31 PM, panchaxari wrote: > This patch enables AUTO_ZRELADDR as default config to Renasas R-Mobile and > SH-Mobile platforms. > > AUTO_ZRELADDR config enables auto calculation of the decompressed kernel image > address. AUTO_ZRELADDR config is mutually exclusive to ZBOOT_RO

[PATCH] pinctrl: sh-pfc: Initial r7s72100 support

2013-11-26 Thread Magnus Damm
From: Magnus Damm Add r7s72100 PINCTRL support via sh-pfc. At this point this code provides enough support to allow use together with the gpio-rz driver. Incremental per-device patches will in the future be submitted on top of this base patch to allow PINCTRL enablement for each individual

[PATCH 00/03] pinctrl: sh-pfc: r7s72100 SCIF2 support

2013-11-27 Thread Magnus Damm
le-pin groups, and in the case of the Genmai board the groups to enable SCIF2 will be "scif2_txd_p3_0" and "scif2_rxd_p3_2". If you prefer me to adjust this code somehow then please let me know. Signed-off-by: Magnus Damm --- Written against renesas.git tag renesas-dev

[PATCH 01/03] pinctrl: sh-pfc: r7s72100 SCIF2 port3 support

2013-11-27 Thread Magnus Damm
From: Magnus Damm Add support for SCIF2 port3 pin functions SCK, TXD and RXD to the r7s72100 PINCTRL code. There are two possible pins that can be used for TXD (Port 3 Pin 0 Function 6 and Port 3 Pin 1 Function 4) and because of that are the data pins broken out in separate TXD and RXD. This

[PATCH 03/03] pinctrl: sh-pfc: r7s72100 SCIF2 port4, 6 and 8 support

2013-11-27 Thread Magnus Damm
From: Magnus Damm Add the remaining SCIF2 pins using the recently introduced macro. Signed-off-by: Magnus Damm --- drivers/pinctrl/sh-pfc/pfc-r7s72100.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) --- 0008/drivers/pinctrl/sh-pfc/pfc-r7s72100.c +++ work/drivers

[PATCH 02/03] pinctrl: sh-pfc: r7s72100 SCIF2 macro conversion

2013-11-27 Thread Magnus Damm
From: Magnus Damm Convert from rather verbose description of single pin groups to making use of macros to describe one pin per line. The actual bulk of the SCIF2 description is kept in the SCIF2 macro. Compresses the description of each pin from 9 to 1 line. Signed-off-by: Magnus Damm

[PATCH v3] gpio: Renesas RZ GPIO driver V3

2013-11-27 Thread Magnus Damm
From: Magnus Damm This patch adds a GPIO driver for the RZ series of SoCs from Renesas. The V3 of the driver requires DT to be used. The hardware allows control of GPIOs in blocks of up to 16 pins. Interrupts are not included in this hardware block, if interrupts are needed then the PFC needs

Re: [PATCH v2 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-11-27 Thread Magnus Damm
Hi John, everyone, Let me get back to you all in a little while together with some code, but before that let me just clarify this: On Wed, Nov 13, 2013 at 5:47 AM, John Stultz wrote: > On Tue, Nov 12, 2013 at 4:26 AM, Magnus Damm wrote: >> On Sat, Nov 9, 2013 at 3:34 AM, John Stul

Re: [PATCH v2 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-11-08 Thread Magnus Damm
On Thu, Nov 7, 2013 at 8:27 PM, Daniel Lezcano wrote: > On 11/06/2013 12:05 PM, Magnus Damm wrote: >> >> From: Magnus Damm >> >> Add Kconfig entries for CMT, MTU2, TMU and STI to >> drivers/clocksource/Kconfig. This will allow us to >> get rid of duplicat

Re: [PATCH v2 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-11-12 Thread Magnus Damm
On Sat, Nov 9, 2013 at 3:34 AM, John Stultz wrote: > On 11/08/2013 12:23 AM, Magnus Damm wrote: >> On Thu, Nov 7, 2013 at 8:27 PM, Daniel Lezcano >> wrote: >>> On 11/06/2013 12:05 PM, Magnus Damm wrote: >>>> From: Magnus Damm >>>> >&g

Re: [PATCH] gpio: Renesas RZ GPIO driver

2013-11-12 Thread Magnus Damm
Hi Linus, On Wed, Nov 13, 2013 at 4:59 AM, Linus Walleij wrote: > On Thu, Nov 7, 2013 at 12:47 AM, Magnus Damm wrote: > >> From: Magnus Damm >> >> This patch adds a GPIO driver for the RZ series of SoCs from >> Renesas. The driver can be used as platform device

[PATCH 00/05] gpio: R-Car and EM GPIO update V2

2013-11-19 Thread Magnus Damm
off-by: Magnus Damm --- Written against renesas.git tag renesas-devel-v3.12-20131119 Changes since V1: - Split lazy disable and mask on suspend patches - Improved commit messages drivers/gpio/gpio-em.c |5 ++--- drivers/gpio/gpio-rcar.c |5 ++--- 2 files changed, 4 insertions(+)

[PATCH 01/05 v2] gpio: rcar: Use lazy disable

2013-11-19 Thread Magnus Damm
From: Magnus Damm Set the ->irq_enable() and ->irq_disable() methods to NULL to enable lazy disable of interrupts. This by itself provides some level of optimization, but is mainly enabled as ground work for future Suspend-to-RAM wake up support. Signed-off-by: Magnus Damm --- driver

[PATCH 04/05 v2] gpio: em: Use lazy disable

2013-11-19 Thread Magnus Damm
From: Magnus Damm Set the ->irq_enable() and ->irq_disable() methods to NULL to enable lazy disable of interrupts. This by itself provides some level of optimization, but is mainly enabled as ground work for future Suspend-to-RAM wake up support. Signed-off-by: Magnus Damm --- driver

[PATCH 03/05] gpio: em: Setup gpiochip->dev

2013-11-19 Thread Magnus Damm
From: Magnus Damm Make sure gpio_chip->dev is setup so of_gpiochip_add() will work as expected. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart --- drivers/gpio/gpio-em.c |1 + 1 file changed, 1 insertion(+) --- 0001/drivers/gpio/gpio-em.c +++ work/drivers/gpio/gpio-em.c 2013

[PATCH 02/05 v2] gpio: rcar: Enable mask on suspend

2013-11-19 Thread Magnus Damm
From: Magnus Damm Now when lazy interrupt disable has been enabled in the driver then extend the code to set IRQCHIP_MASK_ON_SUSPEND which tells the core that only IRQs marked as wakeups need to stay enabled during Suspend-to-RAM. Tested on the Lager board with GPIO-keys and Suspend-to-RAM

[PATCH 05/05 v2] gpio: em: Enable mask on suspend

2013-11-19 Thread Magnus Damm
From: Magnus Damm Now when lazy interrupt disable has been enabled in the driver then extend the code to set IRQCHIP_MASK_ON_SUSPEND which tells the core that only IRQs marked as wakeups need to stay enabled during Suspend-to-RAM. Tested on the KZM9D board with GPIO-keys. Signed-off-by: Magnus

[PATCH] ARM: shmobile: Add pinctrl_register_mappings() for Koelsch

2013-11-19 Thread Magnus Damm
From: Magnus Damm Add code to setup the r8a7791 PFC for the Koelsch board. At this point serial consoles are added, and in the near future other platform-device-only devices will be added here like for instance the r8a7791 DU. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/board

[PATCH 02/05] ARM: shmobile: Add r8a7790 clocks for thermal devices

2013-11-19 Thread Magnus Damm
From: Magnus Damm Add the r8a7790 DT thermal device to the legacy clocks. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/clock-r8a7790.c |1 + 1 file changed, 1 insertion(+) --- 0001/arch/arm/mach-shmobile/clock-r8a7790.c +++ work/arch/arm/mach-shmobile/clock-r8a7790.c 2013-11-20

[PATCH 00/05] ARM: shmobile: r8a7790 and r8a7791 thermal update

2013-11-19 Thread Magnus Damm
used to point out the future direction. Hardware support may however be limited there due to lacking DT bindings. Signed-off-by: Magnus Damm --- Written against renesas.git tag renesas-devel-v3.12-20131119 Tested on Lager and Koelsch. arch/arm/boot/dts/r8a7790.dtsi |7

[PATCH 03/05] ARM: shmobile: Add r8a7791 thermal device node to DTS

2013-11-19 Thread Magnus Damm
From: Magnus Damm Hook up the r8a7791 thermal sensor to the DTS. Signed-off-by: Magnus Damm --- arch/arm/boot/dts/r8a7791.dtsi |7 +++ 1 file changed, 7 insertions(+) --- 0001/arch/arm/boot/dts/r8a7791.dtsi +++ work/arch/arm/boot/dts/r8a7791.dtsi 2013-11-20 16:00:29.0 +0900

[PATCH 01/05] ARM: shmobile: Add r8a7790 thermal device node to DTS

2013-11-20 Thread Magnus Damm
From: Magnus Damm Hook up the r8a7790 thermal sensor to the DTS. Signed-off-by: Magnus Damm --- arch/arm/boot/dts/r8a7790.dtsi |7 +++ 1 file changed, 7 insertions(+) --- 0004/arch/arm/boot/dts/r8a7790.dtsi +++ work/arch/arm/boot/dts/r8a7790.dtsi 2013-11-20 08:25:53.0 +0900

[PATCH 04/05] ARM: shmobile: Add r8a7791 thermal platform device

2013-11-20 Thread Magnus Damm
From: Magnus Damm Add a thermal platform device for the legacy case on the r8a7791 SoC. This keeps the r8a7791 in sync with the r8a7790 sister device. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/setup-r8a7791.c | 12 1 file changed, 12 insertions(+) --- 0001/arch

[PATCH 05/05] ARM: shmobile: Add r8a7791 clocks for thermal devices

2013-11-20 Thread Magnus Damm
From: Magnus Damm Add the r8a7791 thermal device as legacy clocks. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/clock-r8a7791.c |4 1 file changed, 4 insertions(+) --- 0001/arch/arm/mach-shmobile/clock-r8a7791.c +++ work/arch/arm/mach-shmobile/clock-r8a7791.c 2013-11-20 15

[PATCH 02/02] irqchip: renesas-irqc: Enable mask on suspend

2013-12-04 Thread Magnus Damm
From: Magnus Damm Now when lazy interrupt disable has been enabled in the driver then extend the code to set IRQCHIP_MASK_ON_SUSPEND which tells the core that only IRQs marked as wakeups need to stay enabled during Suspend-to-RAM. Signed-off-by: Magnus Damm --- drivers/irqchip/irq-renesas

[PATCH 00/02] irqchip: renesas-irqc: Lazy disable and mask-on-suspend

2013-12-04 Thread Magnus Damm
sources are left enabled while suspending. Signed-off-by: Magnus Damm --- Written against renesas.git tag renesas-devel-v3.13-rc2-20131202 drivers/irqchip/irq-renesas-irqc.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubs

[PATCH 01/02] irqchip: renesas-irqc: Use lazy disable

2013-12-04 Thread Magnus Damm
From: Magnus Damm Set the ->irq_enable() and ->irq_disable() methods to NULL to enable lazy disable of interrupts. This by itself provides some level of optimization, but is mainly enabled as ground work for future Suspend-to-RAM wake up support. Signed-off-by: Magnus Damm --- d

Re: [PATCH v2 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-12-04 Thread Magnus Damm
On Tue, Dec 3, 2013 at 12:08 AM, John Stultz wrote: > On 11/27/2013 09:42 PM, Magnus Damm wrote: >> Hi John, everyone, >> >> Let me get back to you all in a little while together with some code, >> but before that let me just clarify this: >> >> On Wed, Nov

Re: [PATCH v2] MAINTAINERS: Add DesignWare, i.MX6, Armada, R-Car PCI host maintainers

2013-12-12 Thread Magnus Damm
to nominate anybody; I > just tried to write down the list we came up with in an earlier discussion > [1]. > > I'd like confirmation from the following people that they approve of being > listed here: > > Richard Zhu (IMX6) > Thomas Petazzoni (MVEBU) > Magnus D

Re: [PATCH v4 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-12-13 Thread Magnus Damm
Hi Olof, On Thu, Dec 12, 2013 at 10:05 AM, Olof Johansson wrote: > Hi, > > A couple of small comments below. Thanks for your feedback! > On Thu, Dec 12, 2013 at 08:56:26AM +0900, Magnus Damm wrote: >> From: Magnus Damm >> >> Add Kconfig entries for CMT, M

[PATCH 04/05 v2] pinctrl: sh-pfc: r7s72100 SCIF support

2013-12-16 Thread Magnus Damm
From: Magnus Damm Add support for SCIF functions SCK, TXD, RXD, CTS and RTS to the r7s72100 PINCTRL code. There are two possible pins that can be used for TXD (Port 3 Pin 0 Function 6 and Port 3 Pin 1 Function 4) and because of that are pins broken out into separate functions. Signed-off-by

[PATCH 02/05 v2] pinctrl: sh-pfc: r7s72100 base support

2013-12-16 Thread Magnus Damm
From: Magnus Damm Add r7s72100 PINCTRL support via sh-pfc V2. At this point the code provides enough support to allow use together with the gpio-rz driver. Incremental per-device patches will in the future be submitted on top of this base patch to allow PINCTRL enablement for each individual

[PATCH 05/05 v2] pinctrl: sh-pfc: r8a7791 and r7s72100 binding docs

2013-12-16 Thread Magnus Damm
From: Magnus Damm Add compatible strings for r7s72100 and r8a7791. Signed-off-by: Magnus Damm --- Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt |2 ++ 1 file changed, 2 insertions(+) --- 0001/Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt +++ work

[PATCH 03/05 v2] pinctrl: sh-pfc: r7s72100 single pin macros

2013-12-16 Thread Magnus Damm
From: Magnus Damm Introduce macros that allow description of one pin per line. Compared to the other ways of doing this, using this style we can compresses the description of each pin from 9 to 1 line. Signed-off-by: Magnus Damm --- This patch uses RZ_PMX_GROUP and RZ_GROUPS, thanks Laurent

[PATCH 00/05 v2] pinctrl: sh-pfc: r7s72100 support V2

2013-12-16 Thread Magnus Damm
: Magnus Damm --- Written against renesas.git tag renesas-devel-v3.13-rc3-20131214v2 Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt |2 drivers/pinctrl/sh-pfc/Kconfig|5 drivers/pinctrl/sh-pfc/Makefile

[PATCH 01/05 v2] pinctrl: sh-pfc: Rework _GP_GPIO, introduce _GP_GPIO32

2013-12-16 Thread Magnus Damm
From: Magnus Damm Rework _GP_GPIO to take banksize as argument, introduce _GP_GPIO32 for SoCs with 32-bit GPIO banks. Signed-off-by: Magnus Damm --- Developed on top of renesas git tag renesas-devel-v3.13-rc3-20131214v2 drivers/pinctrl/sh-pfc/sh_pfc.h |9 + 1 file changed, 5

Re: [PATCH v4 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-12-16 Thread Magnus Damm
Hi Olof, On Mon, Dec 16, 2013 at 2:39 PM, Olof Johansson wrote: > On Fri, Dec 13, 2013 at 07:12:58PM +0900, Magnus Damm wrote: >> Hi Olof, >> >> On Thu, Dec 12, 2013 at 10:05 AM, Olof Johansson wrote: >> > Hi, >> > >> > A couple of smal

[PATCH v5 02/03] ARM: shmobile: Remove CMT, TMU and STI Kconfig entries

2013-12-17 Thread Magnus Damm
From: Magnus Damm Now when drivers/clocksource/Kconfig has been updated with entires for CMT, TMU and STI it is safe to remove these from mach-shmobile. Also select timers per SoC via SYS_SUPPORTS_xxx. Signed-off-by: Magnus Damm Acked-by: John Stultz --- arch/arm/mach-shmobile/Kconfig

[PATCH v5 03/03] sh: Remove Kconfig entries for TMU, CMT and MTU2

2013-12-17 Thread Magnus Damm
From: Magnus Damm Now when drivers/clocksource/Kconfig has been updated with entires for CMT, TMU and MTU2 it is safe to remove these from SH. Signed-off-by: Magnus Damm Acked-by: John Stultz --- arch/sh/Kconfig | 76 --- 1 file changed

[PATCH v5 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-12-17 Thread Magnus Damm
From: Magnus Damm Add Kconfig entries for CMT, MTU2, TMU and STI to drivers/clocksource/Kconfig. This will allow us to get rid of duplicated entires in architecture code such as arch/sh and arch/arm/mach-shmobile. Signed-off-by: Magnus Damm --- drivers/clocksource/Kconfig | 44

[PATCH v5 00/03] clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits

2013-12-17 Thread Magnus Damm
, thanks Olof! - Remove old SH entries for SYS_SUPPORTS_xxx, use above SH prefix instead Changes since V3: - Updated patch 1/3 with more detailed help texts - Updated patch 2/3 to fit latest renesas-devel tag, see below - Included acks from John Stultz for patch 2/3 and 3/3 Signed-off-by: Magnus Damm

Re: [PATCH RFC 2/2] ARM: shmobile: armadillo800eva defconfig: Enable REGULATOR_GPIO and LEDS_GPIO

2014-04-23 Thread Magnus Damm
On Wed, Apr 23, 2014 at 9:50 AM, Simon Horman wrote: > On Tue, Apr 22, 2014 at 03:01:07PM +0200, Geert Uytterhoeven wrote: >> Refresh armadillo800eva_defconfig, and enable missing options for devices >> in platform data and/or DT: >> - REGULATOR_GPIO >> - LEDS_GPIO > > I would prefer if change

Re: [PATCH 00/08] PCI: rcar: Recent driver patches from Ben Dooks and me

2014-02-13 Thread Magnus Damm
On Thu, Feb 13, 2014 at 9:34 PM, Ben Dooks wrote: > On 13/02/14 03:03, Magnus Damm wrote: >> >> PCI: rcar: Recent driver patches from Ben Dooks and me >> >> [PATCH 01/08] PCI: rcar: check platform_get_irq() return code >> [PATCH v2 02/08] PCI: rcar: add error i

Re: [PATCH 23/27] clocksource: sh_cmt: Add DT support

2014-02-14 Thread Magnus Damm
On Sat, Feb 15, 2014 at 12:53 AM, Laurent Pinchart wrote: > On Friday 14 February 2014 10:58:22 Mark Rutland wrote: >> On Fri, Feb 14, 2014 at 01:00:01AM +, Laurent Pinchart wrote: >> > +Channels Optional Properties: >> > + >> > + - clock-source-rating: rating of the timer as a clock source d

Re: [PATCH 23/27] clocksource: sh_cmt: Add DT support

2014-02-14 Thread Magnus Damm
Hi Laurent, On Sat, Feb 15, 2014 at 1:12 AM, Laurent Pinchart wrote: > Hi Magnus, > > On Saturday 15 February 2014 01:01:30 Magnus Damm wrote: >> On Sat, Feb 15, 2014 at 12:53 AM, Laurent Pinchart wrote: >> > On Friday 14 February 2014 10:58:22 Mark Rutland wrote: >&

Re: [PATCH 11/27] clocksource: sh_cmt: Add support for multiple channels per device

2014-02-16 Thread Magnus Damm
Hi Laurent, On Mon, Feb 17, 2014 at 3:18 AM, Laurent Pinchart wrote: > Hi Thomas, > > On Saturday 15 February 2014 13:46:54 Thomas Gleixner wrote: >> On Fri, 14 Feb 2014, Laurent Pinchart wrote: >> > CMT hardware devices can support multiple channels, with global >> > registers and per-channel re

Re: [PATCH 23/27] clocksource: sh_cmt: Add DT support

2014-02-16 Thread Magnus Damm
Hi Laurent, On Mon, Feb 17, 2014 at 10:45 AM, Laurent Pinchart wrote: > Hi Magnus, > > On Saturday 15 February 2014 02:22:00 Magnus Damm wrote: >> On Sat, Feb 15, 2014 at 1:12 AM, Laurent Pinchart wrote: >> > On Saturday 15 February 2014 01:01:30 Magnus Damm wrote: >&

Re: [PATCH 11/27] clocksource: sh_cmt: Add support for multiple channels per device

2014-02-16 Thread Magnus Damm
Hi Laurent, On Mon, Feb 17, 2014 at 10:48 AM, Laurent Pinchart wrote: > Hi Magnus, > > On Monday 17 February 2014 10:41:31 Magnus Damm wrote: >> On Mon, Feb 17, 2014 at 3:18 AM, Laurent Pinchart wrote: >> > On Saturday 15 February 2014 13:46:54 Thomas Gleixner wrote: &

Re: [PATCH 23/27] clocksource: sh_cmt: Add DT support

2014-02-17 Thread Magnus Damm
Hi Laurent, On Tue, Feb 18, 2014 at 6:43 AM, Laurent Pinchart wrote: > Hi Magnus, > > On Monday 17 February 2014 10:48:55 Magnus Damm wrote: >> On Mon, Feb 17, 2014 at 10:45 AM, Laurent Pinchart wrote: >> > On Saturday 15 February 2014 02:22:00 Magnus Damm wrote: >>

[PATCH v2 02/08] PCI: rcar: add error interrupt handling

2014-02-17 Thread Magnus Damm
From: Ben Dooks Add option to enable interrupts to report any errors from the AHB-PCI bridge to help find any issues with the bridge when in use. Signed-off-by: Ben Dooks Signed-off-by: Magnus Damm --- v2: - removed kconfig entry and use CONFIG_PCI_DEBUG - check for irq >

[PATCH 03/08] PCI: rcar: fix bridge logic configuration accesses

2014-02-17 Thread Magnus Damm
: pci-rcar-gen2 ee0d.pci: error irq: status 0014 Signed-off-by: Ben Dooks Signed-off-by: Magnus Damm --- drivers/pci/host/pci-rcar-gen2.c |4 1 file changed, 4 insertions(+) --- 0005/drivers/pci/host/pci-rcar-gen2.c +++ work/drivers/pci/host/pci-rcar-gen2.c 2014-02-13

[PATCH 01/08] PCI: rcar: check platform_get_irq() return code

2014-02-17 Thread Magnus Damm
From: Ben Dooks The current code does not check the return from platform_get_irq() so add an error check and return if this call does fail. Signed-off-by: Ben Dooks Signed-off-by: Magnus Damm --- drivers/pci/host/pci-rcar-gen2.c |5 + 1 file changed, 5 insertions(+) --- 0001

[PATCH v2 00/08] PCI: rcar: Recent driver patches from Ben Dooks and me (V2)

2014-02-17 Thread Magnus Damm
patches from Ben Dooks and me. The first 3 are written by Ben (thanks!) and are included here to show what I would like to have merged and what I rebased my patches on. The following 4 are written by me. Patch 1-3: Signed-off-by: Ben Dooks Patch 4-8: Signed-off-by: Magnus Damm --- Changes

[PATCH v2 05/08] PCI: rcar: Break out window size handling

2014-02-17 Thread Magnus Damm
From: Magnus Damm Break out the hard coded window size code to allow dynamic setup. The window size is still left at 1GiB but with this patch changing window size is easy for testing. Signed-off-by: Magnus Damm --- Changes since V1: - Updated to fit on top of patches from Ben Dooks drivers

[PATCH v2 06/08] PCI: rcar: Add DMABOUNCE support

2014-02-17 Thread Magnus Damm
From: Magnus Damm Add DMABOUNCE support together with a local memory area for all PCI devices hanging off this bridge. 4MiB of memory is set aside for coherent allocations which is shared between the on-chip OHCI and EHCI devices that are hanging off the PCI bridge. With this patch the driver

[PATCH 07/08] PCI: rcar: Enable BOUNCE in case of HIGHMEM

2014-02-17 Thread Magnus Damm
From: Magnus Damm Select BOUNCE in case of HIGHMEM to enable bounce buffers in the block layer. Without this patch the DMABOUNCE code will error out due to lack of HIGHMEM support, and without DMABOUNCE there will be silent errors. Signed-off-by: Magnus Damm --- drivers/pci/host/Kconfig

[PATCH v3 04/08] PCI: rcar: Register each instance independently

2014-02-17 Thread Magnus Damm
From: Magnus Damm Convert the code to allow per-device probe() like other device drivers. This also delays driver registration due to change from subsys_initcall() to regular module_platform_driver(). Signed-off-by: Magnus Damm --- Changes since V2: - Remove __init tags from rcar_pci_map_irq

[PATCH 08/08] PCI: rcar: Make the Kconfig dependencies more generic

2014-02-17 Thread Magnus Damm
From: Magnus Damm Update the R-Car Generation 2 PCI driver Kconfig dependencies to follow same style as other drivers - no SoC dependencies. Also, update the COMPILE_TEST bits to depend on ARM. This since the DMA bounce buffer and dma_ops handling code is ARM specific. Signed-off-by: Magnus

Re: [PATCH v4] drivers: sh: compile drivers/sh/pm_runtime.c if ARCH_SHMOBILE_MULTI

2014-05-11 Thread Magnus Damm
On Sun, May 11, 2014 at 9:46 AM, Simon Horman wrote: > On Thu, May 08, 2014 at 12:12:29PM +0200, Geert Uytterhoeven wrote: >> On Tue, May 6, 2014 at 11:26 PM, Geert Uytterhoeven >> wrote: >> > Tested on Koelsch (legacy, reference, shmobile, and shmobile+bbb kernels) >> > and BeagleBone Black (shm

[PATCH v3 00/05] staging: Emma Mobile USB driver and KZM9D board code V3

2014-06-06 Thread Magnus Damm
me to rebase this code somehow. Signed-off-by: Magnus Damm --- Written against renesas git repo at kernel.org using tag renesas-devel-v3.15-rc8-20140606 drivers/staging/Kconfig |4 drivers/staging/Makefile|2 drivers/staging/board/Kconfig |8

<    1   2   3   4   5   6   7   >