[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 1/2] dt/bindings: Add bindings for PIC32 deadman timer peripheral

2016-02-26 Thread Joshua Henderson
From: Purna Chandra Mandal Document the devicetree bindings for the deadman timer peripheral found on Microchip PIC32 SoC class devices. Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Acked-by: Rob Herring --- Note: Please merge this patch series

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

2016-02-26 Thread Joshua Henderson
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 Signed-off-by: Joshua Henderson Cc: Ralf Baechle Reviewed-by: Guenter Roeck --- Note: Please merge this patch series through the MIPS tree

[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

[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 Signed-off-by: Purna Chandra Mandal Cc: Ralf Baechle --- Note: Please merge this patch series through the MIPS tree. Changes since v2: - Remove pr_fmt and replace pr_debug

[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 Cc: Ralf Baechle --- Note: Please merge this patch series through the MIPS tree. Changes since v2: None Changes since v1: - Change the example node

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

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 >> >> Adds support for the deadman timer peripheral found on PIC32 class devices. >> >> The primary function of the deadman time

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 >> Signed-off-by: Purna Chandra Mandal &g

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 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 Reviewed-by: Joshua Henderson Thanks, Josh > --- > drivers/pinctrl/pinctrl-pic32.c | 3 ++- > 1 file changed, 2 inserti

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] clk: Get rid of HAVE_MACH_CLKDEV

2016-02-25 Thread Joshua Henderson
let's remove the config all > together. > > Cc: Ralf Baechle > Cc: > Signed-off-by: Stephen Boyd Reviewed-by: Joshua Henderson Thanks, Josh > --- > > I don't see a problem if this goes through the MIPS tree or the clk tree. > Let me know and I can take it through

[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 v2 1/2] dt/bindings: Add bindings for PIC32 deadman timer peripheral

2016-02-25 Thread Joshua Henderson
From: Purna Chandra Mandal Document the devicetree bindings for the deadman timer peripheral found on Microchip PIC32 SoC class devices. Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Acked-by: Rob Herring --- Note: Please merge this patch series

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

2016-02-25 Thread Joshua Henderson
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 Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- Note: Please merge this patch series through the MIPS tree. Changes since v1

[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

[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 Signed-off-by: Purna Chandra Mandal Cc: Ralf Baechle --- Note: Please merge this patch series through the MIPS tree. Changes since v1: - Shorten commit description - Don't

[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 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 Cc: Ralf Baechle --- Note: Please merge this patch series through the MIPS tree. Changes since v1: - Change the example node name to be standard

[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 2/3] clk: clk-pic32: Add PIC32 clock driver

2016-02-25 Thread Joshua Henderson
From: Purna Chandra Mandal 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 Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc: Stephen Boyd --- Note

[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 3/3] MIPS: dts: pic32: Update dts to reflect new PIC32MZDA clk binding

2016-02-25 Thread Joshua Henderson
From: Purna Chandra Mandal - 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 Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc

[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 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 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 v9 1/3] dt/bindings: Add PIC32 clock binding documentation

2016-02-25 Thread Joshua Henderson
From: Purna Chandra Mandal Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc: Stephen Boyd Acked-by: Rob Herring Acked-by: Michael

[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 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 --- Changes since v2: - Fix rework bug causing unecessary retries for gettime. - Word

[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 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 Acked-by: Rob Herring -- Changes since v2: None Changes since v1: None --- .../bindings/rtc/microchip,pic32-rtc.txt | 21 1 file

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 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); >>

[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

[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 - 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 Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc

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

2016-02-24 Thread Joshua Henderson
From: Purna Chandra Mandal 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 Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc: Stephen Boyd --- Note

[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 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 1/3] dt/bindings: Add PIC32 clock binding documentation

2016-02-24 Thread Joshua Henderson
From: Purna Chandra Mandal Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc: Stephen Boyd Acked-by: Rob Herring --- Note: Please pull

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

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 v2 2/2] rtc: rtc-pic32: Add PIC32 real time clock driver

2016-02-19 Thread Joshua Henderson
This driver 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> --- Changes since v1: - Fix checkpatch.pl --strict

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

2016-02-19 Thread Joshua Henderson
This driver 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 --- Changes since v1: - Fix checkpatch.pl --strict issues. - Fix alpabetical makefile

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

2016-02-19 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 v1: None --- .../bindings/rtc/microchip,pic32-rtc.txt

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

2016-02-19 Thread Joshua Henderson
Document the devicetree bindings for the real time clock found on Microchip PIC32 class devices. Signed-off-by: Joshua Henderson Acked-by: Rob Herring -- Changes since v1: None --- .../bindings/rtc/microchip,pic32-rtc.txt | 21 1 file changed, 21 insertions

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

2016-02-19 Thread Joshua Henderson
Alexandre, On 02/16/2016 04:02 PM, Alexandre Belloni wrote: > Hi, > > On 01/02/2016 at 15:43:22 -0700, Joshua Henderson wrote : >> This drivers adds support for the PIC32 real time clock and calendar >> peripheral: >> - reading and setting time >>

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

2016-02-19 Thread Joshua Henderson
Alexandre, On 02/16/2016 04:02 PM, Alexandre Belloni wrote: > Hi, > > On 01/02/2016 at 15:43:22 -0700, Joshua Henderson wrote : >> This drivers adds support for the PIC32 real time clock and calendar >> peripheral: >> - reading and setting time >>

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

2016-02-19 Thread Joshua Henderson
On 02/16/2016 01:21 PM, Herbert Xu wrote: > On Mon, Feb 08, 2016 at 02:17:52PM -0700, Joshua Henderson wrote: >> Document the devicetree bindings for the random number generator found >> on Microchip PIC32 class devices. >> >> Signed-off-by: Joshua Henderson <

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

2016-02-19 Thread Joshua Henderson
On 02/16/2016 01:21 PM, Herbert Xu wrote: > On Mon, Feb 08, 2016 at 02:17:52PM -0700, Joshua Henderson wrote: >> Document the devicetree bindings for the random number generator found >> on Microchip PIC32 class devices. >> >> Signed-off-by: Joshua Henderson >>

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

2016-02-19 Thread Joshua Henderson
off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Joshua Henderson <joshua.hender...@microchip.com> Tested-by: Ladislav Michl <la...@linux-mips.org> --- Changes since v3: - Fix formatting to 2 lines. Changes since v2: - Put function call

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

2016-02-19 Thread Joshua Henderson
mmediately after receiving an endpoint RX interrupt without waiting for the DMA transfer to complete. As a consequence when the dma complete interrupt arrives the in_qh member of hw_ep is already null an the musb_host_rx() exits on !urb error case. Signed-off-by: Cristian Birsan Signed-off-

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

2016-02-19 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> Tested-

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

2016-02-19 Thread Joshua Henderson
ld instead be assigned the actual mode value. This results in the value of channel->desired_mode not being correct. Signed-off-by: Cristian Birsan Signed-off-by: Joshua Henderson Tested-by: Ladislav Michl Acked-by: Sergei Shtylyov --- Changes since v3: None Changes since v2: - Fix word

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

2016-02-19 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 v7 3/3] MIPS: dts: pic32: Update dts to reflect new PIC32MZDA clk binding

2016-02-19 Thread Joshua Henderson
From: Purna Chandra Mandal - 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 Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc

[PATCH v7 0/3] PIC32MZDA Clock Driver

2016-02-19 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 v7 0/3] PIC32MZDA Clock Driver

2016-02-19 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 v7 2/3] clk: clk-pic32: Add PIC32 clock driver

2016-02-19 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 v7 2/3] clk: clk-pic32: Add PIC32 clock driver

2016-02-19 Thread Joshua Henderson
From: Purna Chandra Mandal 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 Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc: Stephen Boyd --- Note

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

2016-02-19 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 v7 1/3] dt/bindings: Add PIC32 clock binding documentation

2016-02-19 Thread Joshua Henderson
From: Purna Chandra Mandal Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc: Stephen Boyd --- Note: Please pull this complete series

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

2016-02-11 Thread Joshua Henderson
ld instead be assigned the actual mode value. This results in the value of channel->desired_mode not being correct. Signed-off-by: Cristian Birsan Signed-off-by: Joshua Henderson --- Changes since v2: - Fix wording in commit message. Changes since v1: - Fix commit comment cit

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

2016-02-11 Thread Joshua Henderson
mmediately after receiving an endpoint RX interrupt without waiting for the DMA transfer to complete. As a consequence when the dma complete interrupt arrives the in_qh member of hw_ep is already null an the musb_host_rx() exits on !urb error case. Signed-off-by: Cristian Birsan Signed-off-

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

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

2016-02-08 Thread Joshua Henderson
mmediately after receiving an endpoint rx interrupt without waiting for the dma transfer to complete. As a consequence when the dma complete interrupt arrives the in_qh member of hw_ep is already null an the musb_host_rx() exits on !urb error case. Signed-off-by: Cristian Birsan Signed-off-

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

2016-02-08 Thread Joshua Henderson
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 Signed-off-by: Joshua Henderson --- Changes since v1: - Fix commit comment citing the cause of the regression. --- drivers/usb/musb/musb_host.c

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

2016-02-08 Thread Joshua Henderson
From: Purna Chandra Mandal 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 Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc: Stephen Boyd

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

2016-02-08 Thread Joshua Henderson
From: Purna Chandra Mandal Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Acked-by: Rob Herring Cc: Michael Turquette Cc: Stephen Boyd --- Changes since v5

[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 Acked-by: Rob Herring --- .../bindings/rng/microchip,pic32-rng.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644

[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 Signed-off-by: Purna Chandra Mandal --- Changes since v1: - Reorder includes to be alphabetic. - Drop use of PRNG and only use TRNG. - Fix dangling clock

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 > wrote: > >> Add a driver for the pin controller present on the Microchip PIC32 >> including the specific variant PIC32MZDA. This driver provides pinmux >> and pinconfig

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.

[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 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 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 >> >> The primary function of the deadman timer (DMT) is to reset the processor >> in the event of a software malfunction

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] 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 >> Si

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

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

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 >> >> Commit 6b6e97107f12f3a9f7 (USB: musb: fix isochronous TXDMA (take 2)) >> introduces > >Again, wrong commit style

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 1/2] usb: musb: Fix DMA for host mode

2016-02-01 Thread Joshua Henderson
after receiving an endpoint rx interrupt without waiting for the dma transfer to complete. As a consequence when the dma complete interrupt arrives the in_qh member of hw_ep is already null an the musb_host_rx() exits on !urb error case. Signed-off-by: Cristian Birsan Signed-off-by: Joshua Henderson

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

2016-02-01 Thread Joshua Henderson
be assigned the actual mode value. This results in the value of channel->desired_mode not being correct. Signed-off-by: Cristian Birsan Signed-off-by: Joshua Henderson --- drivers/usb/musb/musb_host.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/musb_hos

[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 Signed-off-by: Purna Chandra Mandal Cc: Ralf Baechle Cc: --- Note: Please merge this patch series through the MIPS tree. --- drivers

[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 Cc: Ralf Baechle Cc: --- Note: Please merge this patch series through the MIPS tree. --- .../bindings/watchdog/microchip,pic32-wdt.txt | 18

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

2016-02-01 Thread Joshua Henderson
From: Purna Chandra Mandal Document the devicetree bindings for the deadman timer peripheral found on Microchip PIC32 SoC class devices. Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: --- Note: Please merge this patch series through the MIPS tree

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

2016-02-01 Thread Joshua Henderson
are not fetched when the processor is in sleep mode. Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: --- Note: Please merge this patch series through the MIPS tree. --- drivers/watchdog/Kconfig | 14 ++ drivers/watchdog/Makefile|1 + drivers

  1   2   3   >