Re: [PATCH 07/14] DEVICETREE: Add bindings for PIC32 pin control and GPIO

2015-12-08 Thread Joshua Henderson
Hi Rob, On 11/22/2015 02:47 PM, Rob Herring wrote: > On Fri, Nov 20, 2015 at 05:17:19PM -0700, Joshua Henderson wrote: >> From: Andrei Pistirica <andrei.pistir...@microchip.com> >> >> Document the devicetree bindings for PINCTRL and GPIO found on Microchip >> PI

Re: [PATCH 08/14] pinctrl: Add PIC32 pin control driver

2015-12-08 Thread Joshua Henderson
Linus, On 11/30/2015 06:41 AM, Linus Walleij wrote: > On Sat, Nov 21, 2015 at 1:17 AM, Joshua Henderson > <joshua.hender...@microchip.com> wrote: > >> From: Andrei Pistirica <andrei.pistir...@microchip.com> >> >> Add a driver for the pin controller pres

Re: [PATCH 03/14] DEVICETREE: Add PIC32 clock binding documentation

2015-12-03 Thread Joshua Henderson
Rob, On 11/30/2015 02:43 PM, Rob Herring wrote: > On Wed, Nov 25, 2015 at 10:36:55PM -0700, Joshua Henderson wrote: >> Hi Rob, >> >> On 11/22/2015 2:31 PM, Rob Herring wrote: >>> On Fri, Nov 20, 2015 at 05:17:15PM -0700, Joshua Henderson wrote: >>>

Re: [PATCH 09/14] DEVICETREE: Add bindings for PIC32 usart driver

2015-12-11 Thread Joshua Henderson
Rob, On 11/22/2015 02:56 PM, Rob Herring wrote: > On Fri, Nov 20, 2015 at 05:17:21PM -0700, Joshua Henderson wrote: >> From: Andrei Pistirica <andrei.pistir...@microchip.com> >> >> Document the devicetree bindings for the USART peripheral found on >> Microchip

[PATCH v2 02/14] irqchip: irq-pic32-evic: Add support for PIC32 interrupt controller

2015-12-14 Thread Joshua Henderson
ndling - irqdomain support Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> --- drivers/irqchip/Makefile |1 + drivers/irqchip/i

[PATCH v2 00/14] Initial Microchip PIC32MZDA Support

2015-12-14 Thread Joshua Henderson
is available at [0]. [0] https://github.com/joshua-henderson/linux/tree/pic32-upstream-v2 Changes since v1 (https://lkml.org/lkml/2015/11/20/848): + Rename all DT compatible properties to be chip specific. + Remove hardware interrupt priorities from interrupt controller DT

[PATCH v2 05/14] DEVICETREE: Add bindings for PIC32/MZDA platforms

2015-12-14 Thread Joshua Henderson
This adds support for the Microchip PIC32 platform along with the specific variant PIC32MZDA on a PIC32MZDA Starter Kit. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> --- .../bindings/mips/pic32/microchip,pic32mzda.t

[PATCH v2 03/14] DEVICETREE: Add PIC32 clock binding documentation

2015-12-14 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com>

[PATCH v2 14/14] MIPS: pic32mzda: Add initial PIC32MZDA Starter Kit defconfig

2015-12-14 Thread Joshua Henderson
This adds an initial default config that enables all available PIC32 drivers and is enough for booting a PIC32MZDA Starter Kit. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> --- arch/mips/configs/pic32mzda_defc

[PATCH v2 13/14] MIPS: dts: Add initial DTS for the PIC32MZDA Starter Kit

2015-12-14 Thread Joshua Henderson
This adds basic DTS configuration for the PIC32MZDA chip and in turn the PIC32MZDA Starter Kit. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> --- arch/mips/boot/dts/Makefile |1 + arch/mips/boot/dts/pi

[PATCH v2 12/14] mmc: sdhci-pic32: Add PIC32 SDHCI host controller driver

2015-12-14 Thread Joshua Henderson
From: Andrei Pistirica <andrei.pistir...@microchip.com> This driver supports the SDHCI host controller found on a PIC32. Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle &l

[PATCH v2 08/14] pinctrl: pinctrl-pic32: Add PIC32 pin control driver

2015-12-14 Thread Joshua Henderson
Add a driver for the pin controller present on the Microchip PIC32 including the specific variant PIC32MZDA. This driver provides pinmux and pinconfig operations as well as GPIO and IRQ chips for the GPIO banks. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baec

[PATCH v2 01/14] DEVICETREE: Add bindings for PIC32 interrupt controller

2015-12-14 Thread Joshua Henderson
From: Cristian Birsan <cristian.bir...@microchip.com> Document the devicetree bindings for the interrupt controller on Microchip PIC32 class devices. Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com>

[PATCH v2 11/14] DEVICETREE: Add bindings for PIC32 SDHCI host controller

2015-12-14 Thread Joshua Henderson
From: Andrei Pistirica <andrei.pistir...@microchip.com> Document the devicetree bindings for the SDHCI peripheral found on Microchip PIC32 class devices. Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchi

[PATCH v2 06/14] MIPS: Add support for PIC32MZDA platform

2015-12-14 Thread Joshua Henderson
, an interface is provided to synchronize access to registers shared across several peripherals. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> --- arch/mips/Kbuild.platforms |1 + arch/

[PATCH v2 10/14] serial: pic32_uart: Add PIC32 UART driver

2015-12-14 Thread Joshua Henderson
From: Andrei Pistirica <andrei.pistir...@microchip.com> This adds UART and a serial console driver for Microchip PIC32 class devices. Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf B

[PATCH v2 04/14] clk: clk-pic32: Add PIC32 clock driver

2015-12-14 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> This clock driver implements PIC32 specific clock-tree. clock-tree entities can only be configured through device-tree file (OF). Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Josh

[PATCH v2 09/14] DEVICETREE: Add bindings for PIC32 UART driver

2015-12-14 Thread Joshua Henderson
From: Andrei Pistirica <andrei.pistir...@microchip.com> Document the devicetree bindings for the UART peripheral found on Microchip PIC32 class devices. Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchi

[PATCH v2 07/14] DEVICETREE: Add bindings for PIC32 pin control and GPIO

2015-12-14 Thread Joshua Henderson
Document the devicetree bindings for PINCTRL and GPIO found on Microchip PIC32 class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> --- .../bindings/gpio/microchip,pic32-gpio.txt | 49

Re: [PATCH v2 02/14] irqchip: irq-pic32-evic: Add support for PIC32 interrupt controller

2016-01-05 Thread Joshua Henderson
Marc, On 12/15/2015 10:00 AM, Marc Zyngier wrote: > On 14/12/15 22:42, Joshua Henderson wrote: >> From: Cristian Birsan <cristian.bir...@microchip.com> >> >> This adds support for the interrupt controller present on PIC32 class >> devices. >> >> T

Re: [PATCH 03/14] DEVICETREE: Add PIC32 clock binding documentation

2015-11-25 Thread Joshua Henderson
Hi Arnd, On 11/21/2015 1:49 PM, Arnd Bergmann wrote: > On Friday 20 November 2015 17:17:15 Joshua Henderson wrote: >> +/* PIC32 specific clks */ >> +pic32_clktree { >> + #address-cells = <1>; >> + #size-cells = <1>; >> + re

Re: [PATCH 02/14] irqchip: irq-pic32-evic: Add support for PIC32 interrupt controller

2015-11-25 Thread Joshua Henderson
On 11/22/2015 4:45 AM, Marc Zyngier wrote: > On Fri, 20 Nov 2015 17:17:14 -0700 > Joshua Henderson <joshua.hender...@microchip.com> wrote: > > Joshua, Cristian, > >> From: Cristian Birsan <cristian.bir...@microchip.com> >> >> This add

Re: [PATCH 01/14] DEVICETREE: Add bindings for PIC32 interrupt controller

2015-11-25 Thread Joshua Henderson
On 11/21/2015 1:47 PM, Arnd Bergmann wrote: > On Friday 20 November 2015 17:17:13 Joshua Henderson wrote: > >> +Example >> +--- >> + >> +evic: interrupt-controller@1f81 { >> +compatible = "microchip,evic-v2"; >> +int

Re: [PATCH 12/14] DEVICETREE: Add bindings for PIC32 SDHC host controller

2015-11-25 Thread Joshua Henderson
Hi Sergei, On 11/21/2015 8:19 AM, Sergei Shtylyov wrote: > Hello. > > On 11/21/2015 3:17 AM, Joshua Henderson wrote: > >> From: Andrei Pistirica <andrei.pistir...@microchip.com> >> >> Document the devicetree bindings for the SDHC peripheral found

Re: [PATCH 01/14] DEVICETREE: Add bindings for PIC32 interrupt controller

2015-11-25 Thread Joshua Henderson
Hi Rob, On 11/22/2015 2:14 PM, Rob Herring wrote: > On Fri, Nov 20, 2015 at 05:17:13PM -0700, Joshua Henderson wrote: >> From: Cristian Birsan <cristian.bir...@microchip.com> >> >> Document the devicetree bindings for the interrupt controller on Microchip >> PI

Re: [PATCH 12/14] DEVICETREE: Add bindings for PIC32 SDHC host controller

2015-11-25 Thread Joshua Henderson
Hi Rob, On 11/22/2015 2:57 PM, Rob Herring wrote: > On Fri, Nov 20, 2015 at 05:17:24PM -0700, Joshua Henderson wrote: >> From: Andrei Pistirica <andrei.pistir...@microchip.com> >> >> Document the devicetree bindings for the SDHC peripheral found on >> Microchip

Re: [PATCH 03/14] DEVICETREE: Add PIC32 clock binding documentation

2015-11-25 Thread Joshua Henderson
Hi Rob, On 11/22/2015 2:31 PM, Rob Herring wrote: > On Fri, Nov 20, 2015 at 05:17:15PM -0700, Joshua Henderson wrote: >> From: Purna Chandra Mandal <purna.man...@microchip.com> >> >> Document the devicetree bindings for the clock driver found on Microchip >> PIC3

[PATCH 10/14] serial: pic32_uart: Add PIC32 uart driver

2015-11-20 Thread Joshua Henderson
From: Andrei Pistirica <andrei.pistir...@microchip.com> This adds UART and a serial console driver for Microchip PIC32 class devices. Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- drivers/

[PATCH 11/14] mmc: sdhci-pic32: Add PIC32 SDHC host controller driver

2015-11-20 Thread Joshua Henderson
From: Andrei Pistirica <andrei.pistir...@microchip.com> This driver supports the SDHCI host controller found on the PIC32 in DMA or PIO mode. Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> ---

[PATCH 05/14] DEVICETREE: Add bindings for PIC32/MZDA platforms

2015-11-20 Thread Joshua Henderson
This adds support for the Microchip PIC32 platform along with the specific variant PIC32MZDA on a PIC32MZDA Starter Kit. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- .../bindings/mips/pic32/microchip,pic32mzda.txt| 33 1 file chang

[PATCH 08/14] pinctrl: Add PIC32 pin control driver

2015-11-20 Thread Joshua Henderson
Andrei Pistirica <andrei.pistir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- drivers/pinctrl/Kconfig | 17 + drivers/pinctrl/Makefile|2 + drivers/pinctrl/pinctrl-pic32.c | 2127 ++

[PATCH 06/14] MIPS: Add support for PIC32MZDA platform

2015-11-20 Thread Joshua Henderson
, an interface is provided to synchronize access to registers shared across several peripherals. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- arch/mips/Kbuild.platforms |1 + arch/mips/Kconfig |9 + .../include/as

[PATCH 01/14] DEVICETREE: Add bindings for PIC32 interrupt controller

2015-11-20 Thread Joshua Henderson
m> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- .../microchip,pic32mz-evic.txt | 65 ++ .../interrupt-controller/microchip,pic32mz-evic.h | 238 2 files changed, 303 insertions(+) create mode 100644 Documentation/d

[PATCH 00/14] Initial Microchip PIC32MZDA Support

2015-11-20 Thread Joshua Henderson
. This has been tested on an applicable PIC32MZDA Starter Kit. A tree with these changes is available at [0]. [0] https://github.com/joshua-henderson/linux/tree/pic32-upstream-v1 Andrei Pistirica (6): DEVICETREE: Add bindings for PIC32 pin control and GPIO pinctrl: Add PIC32 pin control driver

[PATCH 02/14] irqchip: irq-pic32-evic: Add support for PIC32 interrupt controller

2015-11-20 Thread Joshua Henderson
iority and polariy settings for each interrupt line - irqdomain support Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- drivers/irqchip/Makefile |1 + drivers/irqchip/irq-pic

[PATCH 09/14] DEVICETREE: Add bindings for PIC32 usart driver

2015-11-20 Thread Joshua Henderson
From: Andrei Pistirica <andrei.pistir...@microchip.com> Document the devicetree bindings for the USART peripheral found on Microchip PIC32 class devices. Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender..

[PATCH 04/14] clk: clk-pic32: Add PIC32 clock driver

2015-11-20 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> This clock driver implements PIC32 specific clock-tree. clock-tree entities can only be configured through device-tree file (OF). Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Josh

[PATCH 07/14] DEVICETREE: Add bindings for PIC32 pin control and GPIO

2015-11-20 Thread Joshua Henderson
ei.pistir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- .../bindings/gpio/microchip,pic32-gpio.txt | 33 ++ .../bindings/pinctrl/microchip,pic32-pinctrl.txt | 100 + include/dt-bindings/pinctrl/pic32mzda.h| 404 +++

[PATCH 12/14] DEVICETREE: Add bindings for PIC32 SDHC host controller

2015-11-20 Thread Joshua Henderson
From: Andrei Pistirica <andrei.pistir...@microchip.com> Document the devicetree bindings for the SDHC peripheral found on Microchip PIC32 class devices. Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender..

[PATCH 13/14] MIPS: dts: Add initial DTS for the PIC32MZDA Starter Kit

2015-11-20 Thread Joshua Henderson
This adds basic DTS configuration for the PIC32MZDA and in turn the PIC32MZDA Starter Kit. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- arch/mips/boot/dts/Makefile |1 + arch/mips/boot/dts/pic32/Makefile | 12 ++ arch/mips/boot/dts

[PATCH 03/14] DEVICETREE: Add PIC32 clock binding documentation

2015-11-20 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender..

[PATCH 14/14] MIPS: pic32mzda: Add initial PIC32MZDA Starter Kit defconfig

2015-11-20 Thread Joshua Henderson
This adds an initial default config that enables all available PIC32 drivers and is enough for booting a PIC32MZDA Starter Kit. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- arch/mips/configs/pic32mzda_defconfig | 88 + 1 file chang

Re: [PATCH 06/14] MIPS: Add support for PIC32MZDA platform

2015-11-22 Thread Joshua Henderson
On 11/21/2015 04:37 AM, Alban wrote: > On Fri, 20 Nov 2015 17:17:18 -0700 > Joshua Henderson <joshua.hender...@microchip.com> wrote: > >> This adds support for the Microchip PIC32 MIPS microcontroller with >> the specific variant PIC32MZDA. PIC32MZDA is based on the MI

Re: [PATCH v6 2/2] pinctrl: pinctrl-pic32: Add PIC32 pin control driver

2016-02-08 Thread Joshua Henderson
On 02/05/2016 03:57 PM, Linus Walleij wrote: > On Mon, Feb 1, 2016 at 11:48 PM, Joshua Henderson > <joshua.hender...@microchip.com> wrote: > >> Add a driver for the pin controller present on the Microchip PIC32 >> including the specific variant PIC32MZDA.

Re: [PATCH 2/2] watchdog: pic32-wdt: Add PIC32 watchdog driver

2016-02-04 Thread Joshua Henderson
Guenter, On 02/01/2016 08:27 PM, Guenter Roeck wrote: > On 02/01/2016 04:02 PM, Joshua Henderson wrote: >> When enabled, the watchdog peripheral can be used to reset the device if the >> WDT is not cleared periodically in software. > > Commit description is a bit long. A

Re: [PATCH 2/2] watchdog: pic32-dmt: Add PIC32 deadman timer driver support

2016-02-04 Thread Joshua Henderson
Guenter, On 02/01/2016 08:04 PM, Guenter Roeck wrote: > On 02/01/2016 04:02 PM, Joshua Henderson wrote: >> From: Purna Chandra Mandal <purna.man...@microchip.com> >> >> The primary function of the deadman timer (DMT) is to reset the processor >> in the event o

[PATCH v6 1/2] dt/bindings: Add PIC32 clock binding documentation

2016-02-08 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com>

[PATCH v2 1/2] dt/bindings: Add bindings for the PIC32 random number generator

2016-02-08 Thread Joshua Henderson
Document the devicetree bindings for the random number generator found on Microchip PIC32 class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/rng/microchip,pic32-rng.txt | 17

[PATCH v2 2/2] rng: pic32-rng: Add PIC32 RNG hardware driver

2016-02-08 Thread Joshua Henderson
Add support for the hardware true random number generator peripheral found on PIC32. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes since v1: - Reorder includes to be alphabetic.

[PATCH v6 2/2] clk: clk-pic32: Add PIC32 clock driver

2016-02-08 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> This clock driver implements PIC32 specific clock-tree. clock-tree entities can only be configured through device-tree file (OF). Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Josh

[PATCH v3 1/2] usb: musb: Fix DMA for host mode

2016-02-11 Thread Joshua Henderson
off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- Changes since v2: - Put function call in if condition. Changes since v1: - Don't add unecessary new variable. Just correct done. --- drivers/usb/musb/m

[PATCH v3 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-11 Thread Joshua Henderson
channel desired mode when it should instead be assigned the actual mode value. This results in the value of channel->desired_mode not being correct. Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> ---

Re: [PATCH 2/2] rng: pic32-rng: Add PIC32 RNG hardware driver

2016-02-04 Thread Joshua Henderson
Daniel, On 02/03/2016 04:22 AM, Daniel Thompson wrote: > On 01/02/16 22:41, Joshua Henderson wrote: >> Add support for the hardware pseudo and true random number generator >> peripheral found on PIC32. >> >> Signed-off-by: Joshua Henderson <joshua.hender...@microchi

[PATCH v2 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-08 Thread Joshua Henderson
rrectly assigned to an address, when it should be assigned the actual mode value. This results in the value of channel->desired_mode not being correct. Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> ---

[PATCH v2 1/2] usb: musb: Fix DMA for host mode

2016-02-08 Thread Joshua Henderson
off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- Changes since v1: - Don't add unecessary new variable. Just correct done. --- drivers/usb/musb/musb_host.c | 10 -- 1 file changed, 8 insertions(+)

Re: [PATCH 03/15] mips: use of_platform_default_populate() to populate default bus

2016-01-29 Thread Joshua Henderson
pic32_auxdata_lookup, NULL)) > + if (of_platform_default_populate(NULL, pic32_auxdata_lookup, NULL)) > panic("Failed to populate DT"); > > return 0; I'll one-up just compile-testing for this. Tested-by: Joshua Henderson <joshua.hender...@microchip.com> [...]

Re: [PATCH v5 08/14] pinctrl: pinctrl-pic32: Add PIC32 pin control driver

2016-01-27 Thread Joshua Henderson
Linus, On 01/27/2016 06:49 AM, Linus Walleij wrote: > On Thu, Jan 14, 2016 at 2:15 AM, Joshua Henderson > <joshua.hender...@microchip.com> wrote: > >> Add a driver for the pin controller present on the Microchip PIC32 >> including the specific variant PIC32MZDA.

Re: [PATCH v5 10/14] serial: pic32_uart: Add PIC32 UART driver

2016-01-27 Thread Joshua Henderson
On 01/26/2016 10:33 AM, Greg Kroah-Hartman wrote: > On Tue, Jan 26, 2016 at 10:04:41AM -0700, Joshua Henderson wrote: >> Hi Greg and Jiri, >> >> Ping! Need an ack for this or pull it upstream. > > The merge window _just_ ended, please give us a chance to catch up

[PATCH 1/2] dt/bindings: Add bindings for the PIC32 SPI peripheral

2016-02-01 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> Document the devicetree bindings for the SPI peripheral found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender..

[PATCH] spi: Fix incomplete handling of SPI_MASTER_MUST_RX/_MUST_TX

2016-02-01 Thread Joshua Henderson
at .rx_buf as legitimate ptr. This will result into memory corruption due to usage of free'd ptr. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- drivers/spi/spi.c | 12 ++-- 1 file change

[PATCH v6 2/2] pinctrl: pinctrl-pic32: Add PIC32 pin control driver

2016-02-01 Thread Joshua Henderson
Add a driver for the pin controller present on the Microchip PIC32 including the specific variant PIC32MZDA. This driver provides pinmux and pinconfig operations as well as GPIO and IRQ chips for the GPIO banks. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baec

[PATCH v6 1/2] dt/bindings: Add bindings for PIC32 pin control and GPIO

2016-02-01 Thread Joshua Henderson
Document the devicetree bindings for PINCTRL and GPIO found on Microchip PIC32 class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> Acked-by: Rob Herring <r...@kernel.org> Cc: Linus Walleij <linus.wall...@li

[PATCH 1/2] dt/bindings: Add bindings for the PIC32 random number generator

2016-02-01 Thread Joshua Henderson
Document the devicetree bindings for the random number generator found on Microchip PIC32 class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- .../bindings/rng/microchip,pic32-rng.txt | 17 + 1 file changed, 17 insertions(+) creat

[PATCH 2/2] watchdog: pic32-wdt: Add PIC32 watchdog driver

2016-02-01 Thread Joshua Henderson
When enabled, the watchdog peripheral can be used to reset the device if the WDT is not cleared periodically in software. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Cc: Ralf Baechle <r...@lin

[PATCH 1/2] dt/bindings: Add bindings for PIC32 watchdog peripheral

2016-02-01 Thread Joshua Henderson
Document the devicetree bindings for the watchdog peripheral found on Microchip PIC32 SoC class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> Cc: <linux-m...@linux-mips.org> --- Note: Please merge this pa

[PATCH 1/2] dt/bindings: Add bindings for the PIC32 real time clock

2016-02-01 Thread Joshua Henderson
Document the devicetree bindings for the real time clock found on Microchip PIC32 class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- .../bindings/rtc/microchip,pic32-rtc.txt | 21 1 file changed, 21 insertions(+) creat

[PATCH 2/2] rtc: rtc-pic32: Add PIC32 real time clock driver

2016-02-01 Thread Joshua Henderson
This drivers adds support for the PIC32 real time clock and calendar peripheral: - reading and setting time - alarms when connected to an IRQ Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- drivers/rtc/Kconfig | 10 ++ drivers/rtc/Makefile

[PATCH 2/2] rng: pic32-rng: Add PIC32 RNG hardware driver

2016-02-01 Thread Joshua Henderson
Add support for the hardware pseudo and true random number generator peripheral found on PIC32. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- drivers/char/hw_random/Kconfig | 13 +++

[PATCH 2/2] watchdog: pic32-dmt: Add PIC32 deadman timer driver support

2016-02-01 Thread Joshua Henderson
match occurs. Instructions are not fetched when the processor is in sleep mode. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> Cc: <linux-m...@linux-mips.

[PATCH 1/2] dt/bindings: Add bindings for PIC32 deadman timer peripheral

2016-02-01 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> Document the devicetree bindings for the deadman timer peripheral found on Microchip PIC32 SoC class devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender..

[PATCH 2/2] spi: spi-pic32: Add PIC32 SPI master driver

2016-02-01 Thread Joshua Henderson
s" property of spi node in board dts file. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- drivers/spi/Kconfig |7 + drivers/spi/Makefile|1 + dr

[PATCH 1/2] usb: musb: Fix DMA for host mode

2016-02-01 Thread Joshua Henderson
Birsan <cristian.bir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- drivers/usb/musb/musb_host.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index 795a4

[PATCH 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-01 Thread Joshua Henderson
signed to a pointer value, when it should be assigned the actual mode value. This results in the value of channel->desired_mode not being correct. Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- drivers/usb/mu

Re: [PATCH 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-02 Thread Joshua Henderson
Sergei, On 02/02/2016 06:32 AM, Sergei Shtylyov wrote: > On 2/2/2016 3:37 AM, Joshua Henderson wrote: > >> From: Cristian Birsan <cristian.bir...@microchip.com> >> >> Commit 6b6e97107f12f3a9f7 (USB: musb: fix isochronous TXDMA (take 2)) >> introduces >

[PATCH v8 0/3] PIC32MZDA Clock Driver

2016-02-24 Thread Joshua Henderson
Clock bindings got acked and then essentially unacked, while the clock driver never made it upstream. In the meantime, the initial DTS file made it upstream. This latest patch series includes a patch to go back and correct the DTS files to reflect the new clock bindings in this patch series. This

[PATCH v8 1/3] dt/bindings: Add PIC32 clock binding documentation

2016-02-24 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com>

[PATCH v8 2/3] clk: clk-pic32: Add PIC32 clock driver

2016-02-24 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> This clock driver implements PIC32 specific clock-tree. clock-tree entities can only be configured through device-tree file (OF). Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Josh

[PATCH v8 3/3] MIPS: dts: pic32: Update dts to reflect new PIC32MZDA clk binding

2016-02-24 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> - now clock nodes definition is merged with core .dtsi file - only one rootclk is now part of DT - clock clients also updated based on new binding doc Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-of

Re: [PATCH v2 2/2] rtc: rtc-pic32: Add PIC32 real time clock driver

2016-02-23 Thread Joshua Henderson
Alexandre, On 02/19/2016 11:17 AM, Alexandre Belloni wrote: > Hi, > > On 19/02/2016 at 11:09:45 -0700, Joshua Henderson wrote : >> This driver adds support for the PIC32 real time clock and calendar >> peripheral: >> - reading and setting time >>

[PATCH v3 1/2] dt/bindings: Add bindings for the PIC32 real time clock

2016-02-25 Thread Joshua Henderson
Document the devicetree bindings for the real time clock found on Microchip PIC32 class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Acked-by: Rob Herring <r...@kernel.org> -- Changes since v2: None Changes since v1: None --- .../bindings/rtc/microchip,p

[PATCH v2 1/2] dt/bindings: Add bindings for PIC32 watchdog peripheral

2016-02-25 Thread Joshua Henderson
Document the devicetree bindings for the watchdog peripheral found on Microchip PIC32 SoC class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> --- Note: Please merge this patch series through the MIPS tree. Chan

[PATCH v9 1/3] dt/bindings: Add PIC32 clock binding documentation

2016-02-25 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com>

[PATCH v9 3/3] MIPS: dts: pic32: Update dts to reflect new PIC32MZDA clk binding

2016-02-25 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> - now clock nodes definition is merged with core .dtsi file - only one rootclk is now part of DT - clock clients also updated based on new binding doc Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-of

[PATCH v9 2/3] clk: clk-pic32: Add PIC32 clock driver

2016-02-25 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> This clock driver implements PIC32 specific clock-tree. clock-tree entities can only be configured through device-tree file (OF). Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Josh

[PATCH v9 0/3] PIC32MZDA Clock Driver

2016-02-25 Thread Joshua Henderson
Clock bindings got acked and then essentially unacked, while the clock driver never made it upstream. In the meantime, the initial DTS file made it upstream. This latest patch series includes a patch to go back and correct the DTS files to reflect the new clock bindings in this patch series.

[PATCH v2 1/2] dt/bindings: Add bindings for PIC32 deadman timer peripheral

2016-02-25 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> Document the devicetree bindings for the deadman timer peripheral found on Microchip PIC32 SoC class devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender..

[PATCH v2 2/2] watchdog: pic32-dmt: Add PIC32 deadman timer driver

2016-02-25 Thread Joshua Henderson
timer, which is clocked whenever an instruction fetch occurs until a count match occurs. Instructions are not fetched when the processor is in sleep mode. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> C

[PATCH v3 2/2] rtc: rtc-pic32: Add PIC32 real time clock driver

2016-02-25 Thread Joshua Henderson
This driver adds support for the PIC32 real time clock and calendar peripheral: - reading and setting time - alarms provided by dedicated IRQ Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> --- Changes since v2: - Fix rework bug causing unecessary r

[PATCH v2 2/2] watchdog: pic32-wdt: Add PIC32 watchdog driver

2016-02-25 Thread Joshua Henderson
Add support for the watchdog peripheral found on PIC32 class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> --- Note: Please merge this patch serie

Re: [PATCH] clk: Get rid of HAVE_MACH_CLKDEV

2016-02-25 Thread Joshua Henderson
let's remove the config all > together. > > Cc: Ralf Baechle <r...@linux-mips.org> > Cc: <linux-m...@linux-mips.org> > Signed-off-by: Stephen Boyd <sb...@codeaurora.org> Reviewed-by: Joshua Henderson <joshua.hender...@microchip.com> Thanks, Josh > --- > &

Re: [PATCH 42/50] pinctrl: pic32: Use devm_pinctrl_register() for pinctrl registration

2016-02-25 Thread Joshua Henderson
On 02/24/2016 06:16 AM, Laxman Dewangan wrote: > Use devm_pinctrl_register() for pin control registration. > > Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com> Reviewed-by: Joshua Henderson <joshua.hender...@microchip.com> Thanks, Josh > --- > drivers/pinctrl/p

Re: [PATCH v2 2/2] watchdog: pic32-dmt: Add PIC32 deadman timer driver

2016-02-26 Thread Joshua Henderson
On 02/26/2016 07:11 AM, Guenter Roeck wrote: > On 02/25/2016 10:30 AM, Joshua Henderson wrote: >> From: Purna Chandra Mandal <purna.man...@microchip.com> >> >> Adds support for the deadman timer peripheral found on PIC32 class devices. >> >> The pri

Re: [PATCH v2 2/2] watchdog: pic32-wdt: Add PIC32 watchdog driver

2016-02-26 Thread Joshua Henderson
Guenter, On 02/26/2016 07:06 AM, Guenter Roeck wrote: > On 02/25/2016 10:27 AM, Joshua Henderson wrote: >> Add support for the watchdog peripheral found on PIC32 class >> devices. >> >> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> >&

[PATCH v3 2/2] watchdog: pic32-dmt: Add PIC32 deadman timer driver

2016-02-26 Thread Joshua Henderson
timer, which is clocked whenever an instruction fetch occurs until a count match occurs. Instructions are not fetched when the processor is in sleep mode. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> C

[PATCH v3 1/2] dt/bindings: Add bindings for PIC32 deadman timer peripheral

2016-02-26 Thread Joshua Henderson
From: Purna Chandra Mandal <purna.man...@microchip.com> Document the devicetree bindings for the deadman timer peripheral found on Microchip PIC32 SoC class devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender..

[PATCH v3 2/2] watchdog: pic32-wdt: Add PIC32 watchdog driver

2016-02-26 Thread Joshua Henderson
Add support for the watchdog peripheral found on PIC32 class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> --- Note: Please merge this patch serie

[PATCH v3 1/2] dt/bindings: Add bindings for PIC32 watchdog peripheral

2016-02-26 Thread Joshua Henderson
Document the devicetree bindings for the watchdog peripheral found on Microchip PIC32 SoC class devices. Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Cc: Ralf Baechle <r...@linux-mips.org> --- Note: Please merge this patch series through the MIPS tree. Changes si

Re: [PATCH v2 2/2] rtc: rtc-pic32: Add PIC32 real time clock driver

2016-02-25 Thread Joshua Henderson
On 02/24/2016 03:25 PM, Alexandre Belloni wrote: > Hi, > > On 19/02/2016 at 11:09:45 -0700, Joshua Henderson wrote : >> +static int pic32_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) >> +{ >> +struct pic32_rtc_dev *pdata = dev_get_drvdata(dev); >>

Re: [PATCH v5 12/14] mmc: sdhci-pic32: Add PIC32 SDHCI host controller driver

2016-01-26 Thread Joshua Henderson
Hi Ulf, Ping! Need an ack for this or pull it upstream. On 01/13/2016 06:15 PM, Joshua Henderson wrote: > From: Andrei Pistirica <andrei.pistir...@microchip.com> > > This driver supports the SDHCI host controller found on a PIC32. > > Signed-off-by: Andrei Pis

Re: [PATCH v5 10/14] serial: pic32_uart: Add PIC32 UART driver

2016-01-26 Thread Joshua Henderson
Hi Greg and Jiri, Ping! Need an ack for this or pull it upstream. On 01/13/2016 06:15 PM, Joshua Henderson wrote: > From: Andrei Pistirica <andrei.pistir...@microchip.com> > > This adds UART and a serial console driver for Microchip PIC32 class > devices. > > Signed-

  1   2   3   >