Add bit mask for the BOOT_PARTITION_ENABLE values.
Signed-off-by: Neil Armstrong narmstr...@neotion.com
---
include/linux/mmc/mmc.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h
index 50bcde3..eb5b361 100644
eMMC conforming with eMMC 4.5
specifications.
Neil Armstrong (3):
Add BOOT_PARTITION_ENABLE definition to MMC EXT_CSD PART_CONFIG
Add boot_enable sysfs attribute to select MMC boot operation
partition
Add Documentation for MMC boot_enable attribute
Documentation/mmc/mmc-dev-parts.txt
Add sysfs attribute to select the eMMC boot mode operation according to
the eMMC 4.5 specifications.
Valid values are : 0 for disabled, 1 for first boot partition, 2 for
second boot partition, 7 for user area.
Signed-off-by: Neil Armstrong narmstr...@neotion.com
---
drivers/mmc/card/block.c
Add documentation on the enable_boot sysfs attribute.
Signed-off-by: Neil Armstrong narmstr...@neotion.com
---
Documentation/mmc/mmc-dev-parts.txt |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Documentation/mmc/mmc-dev-parts.txt
b/Documentation/mmc/mmc-dev
On 04/22/2013 06:55 AM, Namjae Jeon wrote:
2013/4/19, Neil Armstrong narmstr...@neotion.com:
Since eMMC 4.3 a special boot mode operation was introduced to retrieve
data from the eMMC device with a very simple procedure. Since the Linux
kernel exports these device boot partitions, it may
checkpatch script returns the following warning:
WARNING: line over 80 characters
310: FILE: drivers/staging/netlogic/xlr_net.c:310:
+ void *accel_priv, select_queue_fallback_t fallback)
This patch fixes the coding style issue.
Signed-off-by: Neil Armstrong superna9...@gmail.com
checkpatch script returns the following warning:
WARNING: line over 80 characters
310: FILE: drivers/staging/netlogic/xlr_net.c:310:
+ void *accel_priv, select_queue_fallback_t fallback)
This patch fixes the coding style issue.
Signed-off-by: Neil Armstrong superna9...@gmail.com
With sparse, the following error appears :
CHECK drivers/staging/rts5139/ms_mg.c
drivers/staging/rts5139/ms_mg.c:82:5: warning: symbol 'mg_set_tpc_para_sub' was
not declared. Should it be static?
Rename function with correct prefix and move declaration to coherent internal
header file.
With sparse, the following error appears :
CHECK drivers/staging/vt6656/aes_ccmp.c
drivers/staging/vt6656/aes_ccmp.c:221:6: warning: symbol 'AESbGenCCMP' was not
declared. Should it be static?
Add correct include header in order to have function declaration.
Signed-off-by: Neil 'Superna'
With sparse, the following error appears :
CHECK drivers/staging/wlan-ng/p80211netdev.c
drivers/staging/wlan-ng/cfg80211.c:710:6: warning: symbol
'prism2_connect_result' was not declared. Should it be static?
drivers/staging/wlan-ng/cfg80211.c:719:6: warning: symbol 'prism2_disconnected'
was
checkpatch script returns the following warning:
ERROR: do not use assignment in if condition
+ if (((dev_num = get_dev_idx(dev-ifindex)) ==
-1) |
This patch fixes the if condition by splitting it.
Signed-off-by: Neil Armstrong superna9...@gmail.com
---
drivers
to reuse the RX
ring init.
Neil Armstrong (2):
net: macb: Separate rx and tx ring init function
net: macb: Handle errors in RX path
drivers/net/ethernet/cadence/macb.c | 88 +--
drivers/net/ethernet/cadence/macb.h |3 +-
2 files changed, 76 insertions
into poll method
by using the same error management.
Signed-off-by: Neil Armstrong narmstr...@neotion.com
---
drivers/net/ethernet/cadence/macb.c | 55 +++---
1 files changed, 50 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/cadence/macb.c
b/drivers
A single method is called to initialize the TX and RX
rings. Separate the methods into distinct ones for
MACB and GEM context.
Signed-off-by: Neil Armstrong narmstr...@neotion.com
---
drivers/net/ethernet/cadence/macb.c | 33 -
drivers/net/ethernet/cadence
Le 18/07/2014 12:10, Varka Bhadram a écrit :
On 07/18/2014 03:22 PM, Neil Armstrong wrote:
A single method is called to initialize the TX and RX
rings. Separate the methods into distinct ones for
MACB and GEM context.
Signed-off-by: Neil Armstrong narmstr...@neotion.com
---
drivers/net
into poll method
by using the same error management.
Signed-off-by: Neil Armstrong narmstr...@neotion.com
---
drivers/net/ethernet/cadence/macb.c | 54 +++---
1 files changed, 49 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/cadence/macb.c
b/drivers
A single method is called to initialize the TX and RX rings.
Separate the methods into distinct ones for MACB and GEM contexts.
Also remove the multiple assignments from the original code.
Signed-off-by: Neil Armstrong narmstr...@neotion.com
---
drivers/net/ethernet/cadence/macb.c | 36
into poll method
by using the same error management.
Signed-off-by: Neil Armstrong narmstr...@neotion.com
---
drivers/net/ethernet/cadence/macb.c | 54 +++---
1 files changed, 49 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/cadence/macb.c
b/drivers
to reuse the RX
ring init.
v2: fix multiple assignments in first patch, fix checkpatch errors in second
patch.
Neil Armstrong (2):
net: macb: Separate rx and tx ring init function
net: macb: Handle errors in RX path
drivers/net/ethernet/cadence/macb.c | 90
stuck
with weird HW beheviours
Signed-off-by: Neil Armstrong narmstr...@neotion.com
---
drivers/usb/dwc2/core.h | 14 +++
drivers/usb/dwc2/gadget.c | 267 +++--
2 files changed, 221 insertions(+), 60 deletions(-)
This is mainly an RFC in order
Since nested variants of mdiobus_read/write are used in multiple
drivers, add nested variants in the mdiobus core.
Suggested-by: Andrew Lunn <and...@lunn.ch>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/phy/mdi
by mv88e6xxx and mv88e6060.
In a next patch, mdio-mux should also use these variant calls.
Neil Armstrong (3):
net: phy: Add nested variants of mdiobus read/write
net: dsa: Make mv88e6xxx use nested mdiobus read/write
net: dsa: Make mv88e6060 use nested mdiobus read/write
drivers/net/dsa
On 10/21/2015 06:14 PM, Andrew Lunn wrote:
> On Wed, Oct 21, 2015 at 05:37:45PM +0200, Neil Armstrong wrote:
>> Like the change made for mv88e6xxx, use mutex_lock_nested() to avoid
>> lockdep to give false positives because of nested MDIO busses.
>
> Hi Neil
>
>
On 10/21/2015 06:14 PM, Andrew Lunn wrote:
> On Wed, Oct 21, 2015 at 05:37:45PM +0200, Neil Armstrong wrote:
>> Like the change made for mv88e6xxx, use mutex_lock_nested() to avoid
>> lockdep to give false positives because of nested MDIO busses.
>
> Hi Neil
>
>
Hi Andrew,
On 10/21/2015 06:14 PM, Andrew Lunn wrote:
> On Wed, Oct 21, 2015 at 05:37:45PM +0200, Neil Armstrong wrote:
>> Like the change made for mv88e6xxx, use mutex_lock_nested() to avoid
>> lockdep to give false positives because of nested MDIO busses.
>
> Hi Neil
&
Like the change made for mv88e6xxx, use mutex_lock_nested() to avoid
lockdep to give false positives because of nested MDIO busses.
The false positive was observed using a mv88e6060 from a TI816X SoC.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6060.
Like mv88e6xxx and mdio-mux, to avoid lockdep give false positives
because of nested MDIO busses, switch to previously introduced
nested mdiobus_read/write variants.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6060.c | 4 ++--
1 file changed, 2 inse
Adds ti,timer-pwm property to timers 4 to 7 to permit usage of their
PWM output fonctionnality via the dmtimer driver.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/boot/dts/dm816x.dtsi | 4
1 file changed,
Add missing HWMOD_NO_IDLEST hwmod flag for entries no
having omap4 clkctrl values.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 3 +++
1 file changed, 3 insertions(+)
diff --gi
Add dm81xx hwmod data entries for dm816x spinbox support.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 35 ++
1 file changed, 35 insertions(+)
diff
Add missing clkdev dmtimer related entries for dm816x.
32Khz and ext sources were missing.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/clk/ti/clk-816x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/driver
In order to fix support for the dm816x platform, add missing bits in
the dm816x dtsi.
The last patch adds support for the omap4-hwspinlock.
Neil Armstrong (4):
arm: dts: add dm816x missing #mbox-cells
arm: dts: add dm816x missing spi DT dma handles
arm: dts: add dm816x pwm property
Add missing #mbox-cells for dm816x mbox DT node.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/boot/dts/dm816x.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts
Add the missing SPI controller DMA handler in the dm816x DT
node, only properties for the two channels on four were present.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/boot/dts/dm816x.dtsi | 7 +--
1 fil
Add dm816x DT entries for omap4-hwspinlock support as hwmod spinbox.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/boot/dts/dm816x.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/d
In order to fix support for the dm816x platform, add missing bits in
the 81xx hwmod data.
The clk related patch adds the missing clkdev entries to fix all source
selection in the dmtimer driver.
The last patch adds hwmod support of the spinbox module.
Neil Armstrong (4):
arm: omap2+: add
Adds ti,dm816-timer to the dmtimer OF match table.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/plat-omap/dmtimer.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/a
On 10/29/2015 03:00 PM, Andrew Lunn wrote:
> On Thu, Oct 29, 2015 at 02:23:25PM +0100, Neil Armstrong wrote:
>>
>> +netif_carrier_off(ds->ports[port]);
>> unregister_netdev(ds->ports[port]);
>> +phy_disconnect(p->phy);
>&g
[] (irq_exit+0xac/0x10c)
(irq_exit) from [] (__handle_domain_irq+0x50/0xa8)
Signed-off-by: Frode Isaksen <fisak...@baylibre.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
include/net/dsa.h | 3 +--
net/dsa/dsa.c | 28
2 files changed,
Upon probe failure or unbinding, add missing dev_put() calls on
master netdev.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
net/dsa/dsa.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index b2f696c..597a462 100644
---
Move dsa slave dedicated code from dsa_switch_destroy to a new
dsa_slave_destroy function in slave.c
Signed-off-by: Frode Isaksen <fisak...@baylibre.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
net/dsa/dsa.c | 5 +
net/dsa/dsa_priv.h | 1 +
net/dsa/sla
Add missing netif_carrier_off and phy_disconnect calls to the
dsa_switch_destroy function to make sure the netdev and phy
ressources are clean before complete removal.
Signed-off-by: Frode Isaksen <fisak...@baylibre.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
n
in dsa_switch_destroy
then add dedicated dsa_slave_destroy
Frode Isaksen (4):
net: dsa: Use delayed work instead of timer+work for polling
net: dsa: Do not reschedule polling if driver removed
net: dsa: add missing calls in dsa_switch_destroy
net: dsa: move dsa slave destroy code to slave.c
Neil
On 10/29/2015 02:51 PM, Andrew Lunn wrote:
> On Thu, Oct 29, 2015 at 02:22:41PM +0100, Neil Armstrong wrote:
> Hi Neil, Frode
>
> I assume you have see:
>
> http://permalink.gmane.org/gmane.linux.network/380777
>
> which is now in net-next.
>
> The only
...
(run_timer_softirq) from [] (__do_softirq+0xcc/0x320)
(__do_softirq) from [] (irq_exit+0xac/0x10c)
(irq_exit) from [] (__handle_domain_irq+0x50/0xa8)
Signed-off-by: Frode Isaksen <fisak...@baylibre.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
net/dsa/dsa.c | 4
Make sure that we unassign the master_netdev dsa_ptr to make the packet
processing go through the regulard Ethernet receive path.
Suggested-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
net/dsa/dsa.c | 8
1 fil
Some switch drivers might request interrupts, remap register ranges,
allow such drivers to implement a "remove" callback doing just that.
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
include/net/dsa.
Implement a remove callback allowing the switch driver to cleanup
resources it used: interrupts and remapped register ranges.
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/bcm_sf2.c | 20 +++
Introduce a new remove callback to allow DSA drivers to cleanup their
ressources.
Then add a remove implementation for bcm_sf2 and mv88e6xxx.
This patch was not tested due of a lack of hardware.
v2: add remove callback patch to the serie
Neil Armstrong (4):
net: dsa: allow switch drivers
> > void phy_disconnect(struct phy_device *phydev)
> > {
> > if (phydev->irq > 0)
> > phy_stop_interrupts(phydev);
> >
> > phy_stop_machine(phydev);
> >
> > phydev->adjust_link = NULL;
> >
> >
Hi Andrew,
On 10/28/2015 03:35 PM, Andrew Lunn wrote:
> On Wed, Oct 28, 2015 at 03:13:16PM +0100, Neil Armstrong wrote:
>> diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.c
>> index b1b14f5..6287096 100644
>> --- a/drivers/net/dsa/mv88e6xxx.c
>
On 10/27/2015 05:59 PM, Vivien Didelot wrote:
> On Oct. Tuesday 27 (44) 04:43 PM, Neil Armstrong wrote:
>>
>> Yes, I didn't know how to handle this since it was part of a larger patch.
>>
>> I forgot to add this into the cover-letter but I wanted to send an RFC serie
With the previously introduced remove callback, add a
mv88e6xxx common remove function to cleanup all resources.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6xxx.c | 18 ++
drivers/net/dsa/mv88e6xxx.h | 2 ++
2 files changed, 20 inse
Make usage of previously introduced mv88e6xxx common remove
function in all mv88e6xxx drivers.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6123_61_65.c | 1 +
drivers/net/dsa/mv88e6131.c | 8
drivers/net/dsa/mv88e6171.c | 1 +
drive
The mv88e6131 also need to call remove for the ppu part of mv88e6xxx.
Add the ppu remove function and add a mv88e6131 specific remove
callback calling the ppu remove function.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6131.c | 9 -
drivers/n
With the previously introduced remove callback, add a
mv88e6xxx common remove function to cleanup all resources.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6xxx.c | 8
drivers/net/dsa/mv88e6xxx.h | 1 +
2 files changed, 9 insertions(+)
diff
Make usage of previously introduced mv88e6xxx common remove
function in all mv88e6xxx drivers.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6123_61_65.c | 1 +
drivers/net/dsa/mv88e6131.c | 1 +
drivers/net/dsa/mv88e6171.c | 1 +
drivers/n
Implement a remove callback allowing the switch driver to cleanup
resources it used: interrupts and remapped register ranges.
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/bcm_sf2.c | 20 +++
Some switch drivers might request interrupts, remap register ranges,
allow such drivers to implement a "remove" callback doing just that.
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
include/net/dsa.
atch
Neil Armstrong (5):
net: dsa: allow switch drivers to cleanup their resources
net: dsa: bcm_sf2: cleanup resources in remove callback
net: dsa: mv88e6xxx: add common remove function
net: dsa: make usage of mv88e6xxx common remove function
net: dsa: add mv88e6xxx ppu remove func
On 10/29/2015 03:50 PM, Andrew Lunn wrote:
> On Thu, Oct 29, 2015 at 03:45:24PM +0100, Neil Armstrong wrote:
>> --- a/net/dsa/dsa.c
>> +++ b/net/dsa/dsa.c
>> @@ -459,6 +459,10 @@ static void dsa_switch_destroy(struct dsa_switch *ds)
>> }
>>
>>
Hi,
2015-10-24 3:21 GMT+02:00 Tony Lindgren <t...@atomide.com>:
>
> Hi,
>
> * Neil Armstrong <narmstr...@baylibre.com> [151022 02:19]:
> > Add missing HWMOD_NO_IDLEST hwmod flag for entries no
> > having omap4 clkctrl values.
>
> Have you checked this
Avoids:
Unable to handle kernel NULL pointer dereference at virtual address 0064
Workqueue: events_power_efficient phy_state_machine
PC is at phy_state_machine+0x28/0x480
Signed-off-by: Frode Isaksen <fisak...@baylibre.com>
Signed-off-by: Neil Armstrong <narmstr...@bay
Make sure that we unassign the master_netdev dsa_ptr to make the packet
processing go through the regular Ethernet receive path.
Suggested-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
net/dsa/dsa.c | 8
1 fil
[] (irq_exit+0xac/0x10c)
(irq_exit) from [] (__handle_domain_irq+0x50/0xa8)
Signed-off-by: Frode Isaksen <fisak...@baylibre.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
include/net/dsa.h | 3 +--
net/dsa/dsa.c | 28
2 files changed,
Some switch drivers might request interrupts, remap register ranges,
allow such drivers to implement a "remove" callback doing just that.
Suggested-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
include/net/dsa.
Upon probe failure or unbinding, add missing dev_put() calls.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
net/dsa/dsa.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index acbf854..9240a46 100644
--- a/net/dsa/dsa.c
Hi,
On 10/27/2015 04:39 PM, Florian Fainelli wrote:
> On 27/10/15 07:48, Neil Armstrong wrote:
>> Some switch drivers might request interrupts, remap register ranges,
>> allow such drivers to implement a "remove" callback doing just that.
>>
>> Suggested-by: F
...
(run_timer_softirq) from [] (__do_softirq+0xcc/0x320)
(__do_softirq) from [] (irq_exit+0xac/0x10c)
(irq_exit) from [] (__handle_domain_irq+0x50/0xa8)
Signed-off-by: Frode Isaksen <fisak...@baylibre.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
net/dsa/dsa.c | 4
of timer+work for polling
net: dsa: Do not reschedule polling if driver removed
net: phy: Stop 'phy-state-machine' and 'phy_change' work on remove
Neil Armstrong (3):
net: dsa: allow switch drivers to cleanup their resources
net: dsa: cleanup resources upon module removal
net: dsa: Add
Make usage of previously introduced mv88e6xxx common remove
function in all mv88e6xxx drivers.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6123_61_65.c | 1 +
drivers/net/dsa/mv88e6131.c | 8
drivers/net/dsa/mv88e6171.c | 1 +
drive
Implement a remove callback allowing the switch driver to cleanup
resources it used: interrupts and remapped register ranges.
Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/bcm_sf2.c | 20 +++
With the previously introduced remove callback, add a
mv88e6xxx common remove function to cleanup all ressources.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6xxx.c | 18 ++
drivers/net/dsa/mv88e6xxx.h | 2 ++
2 files changed, 20 inse
With the previously introduced remove callback for DSA driver in :
http://marc.info/?i=562F8ED7.2000804%40baylibre.com
Add remove callback for bcm_sf2 and mv88e6xxx drivers.
This patch was not tested due of a lack of hardware.
Neil Armstrong (3):
net: dsa: bcm_sf2: cleanup resources in remove
Make the mv88e6xxx driver use the previously introduced nested
variants of mdiobus_read/write functions.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6xxx.c | 46 +
1 file changed, 9 insertions(+), 37 del
According to the mv88e6060 datasheet, the MaxFrameSize bit position
is 10 instead of 11 which is reserved.
Use the bit correctly to setup max frame size to 1536.
Acked-by: Andrew Lunn <and...@lunn.ch>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv8
To align with the mv88e6xxx code, use the register defines to
access all the register addresses and bit fields.
Acked-by: Andrew Lunn <and...@lunn.ch>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6060.c | 64 ++--
To align with the mv88e6xxx code, add a similar header file
with all the register defines.
The file is based on the mv88e6xxx header for coherency.
Acked-by: Andrew Lunn <and...@lunn.ch>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e
.
v2: cleanup InitReady patch, add missing Acked-by and fix header copyright
notice
Neil Armstrong (6):
net: dsa: mv88e6060: remove poll_link callback
net: dsa: mv88e6060: use the correct InitReady bit
net: dsa: mv88e6060: use the correct MaxFrameSize bit
net: dsa: mv88e6060: use
As of mv88e6xxx remove the poll_link callback since the link
state change polling is now handled by the phylib.
Tested on a mv88e6060 B0 device with a TI DM816X SoC.
Suggested-by: Andrew Lunn <and...@lunn.ch>
Acked-by: Andrew Lunn <and...@lunn.ch>
Signed-off-by: Neil Armstr
According to the mv88e6060 datasheet, the InitReady bit position
is 11 and the polarity is inverted.
Use the bit correctly to detect the end of initialization.
Acked-by: Andrew Lunn <and...@lunn.ch>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6060
.ch>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/net/dsa/mv88e6060.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/dsa/mv88e6060.c b/drivers/net/dsa/mv88e6060.c
index 10647ad..cd08079 100644
--- a/drivers/net/dsa/mv88e6060.c
+++ b/dri
In order to have the ability to declare a non exclusive shared-dma-pool,
i.e. without the DMA_MEMORY_EXCLUSIVE flag, add the 'no-exclusive' DT
optional parameter to initialize the coherent memory without the flag.
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/ba
The shared-dma-pool dt node only exposes exclusive memory, but in order to
export
non-exclusive coherent memory, add the no-exclusive property and document it.
v3: use correct of_get_flat_dt_prop helper
v2: simplify patch by looking for DT attribute in callback
Neil Armstrong (2):
base: dma
Document the 'no-exclusive' parameter used for the 'shared-dma-pool'
compatible reserved-memory type.
Acked-by: Rob Herring <r...@kernel.org>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 3 +++
1
Add dm816x DT entries for omap4-hwspinlock support as hwmod spinbox.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/boot/dts/dm816x.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/d
Adds ti,timer-pwm property to timers 4 to 7 to permit usage of their
PWM output fonctionnality via the dmtimer driver.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/boot/dts/dm816x.dtsi | 4
1 file changed,
Add the missing SPI controller DMA handler in the dm816x DT
node, only properties for the two channels on four were present.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/boot/dts/dm816x.dtsi | 7 +--
1 fil
In order to fix support for the dm816x platform, add missing bits in
the dm816x dtsi and cleanup OCP.
The last patch adds support for the omap4-hwspinlock.
v2: add ocp hwmod cleanup
Neil Armstrong (5):
arm: dts: add dm816x missing #mbox-cells
arm: dts: add dm816x missing spi DT dma handles
Remove invalid l3_main hwmod entry from dm816x DT ocp node.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/boot/dts/dm816x.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/
On 11/10/2015 05:14 PM, Andrew Lunn wrote:
> On Tue, Nov 10, 2015 at 04:51:09PM +0100, Neil Armstrong wrote:
>> This patchset introduces some fixes and a registers addressing cleanup for
>> the mv88e6060 DSA driver.
>
> Hi Neil
>
> It is normal for netdev to put into t
Add missing #mbox-cells for dm816x mbox DT node.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/boot/dts/dm816x.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts
On 10/24/2015 12:09 PM, Neil Armstrong wrote:
> Hi,
>
> 2015-10-24 3:21 GMT+02:00 Tony Lindgren <t...@atomide.com>:
>>
>> Hi,
>>
>> * Neil Armstrong <narmstr...@baylibre.com> [151022 02:19]:
>>> Add missing HWMOD_NO_IDLEST hwmod flag for entr
On 11/12/2015 06:47 PM, Tony Lindgren wrote:
> * Neil Armstrong <narmstr...@baylibre.com> [151112 06:08]:
>> In order to fix support for the dm816x platform, add missing bits in
>> the dm816x dtsi and cleanup OCP.
>
> Which ones are needed as fixes for the v4.4-rc kern
Add dm81xx hwmod data entries for dm816x spinbox support.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 35 ++
1 file changed, 35 insertions(+)
diff
tch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c
b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c
index b1288f5..6256052 10064
Adds ti,dm816-timer to the dmtimer OF match table.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
arch/arm/plat-omap/dmtimer.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/a
In order to fix support for the dm816x platform, add missing bits in
the 81xx hwmod data.
The clk related patch adds the missing clkdev entries to fix all source
selection in the dmtimer driver.
The last patch adds hwmod support of the spinbox module.
v2: add error logs for first patch
Neil
Add missing clkdev dmtimer related entries for dm816x.
32Khz and ext sources were missing.
Cc: Brian Hutchinson <b.hutch...@gmail.com>
Acked-by: Tony Lindgren <t...@atomide.com>
Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
---
drivers/clk/ti/clk-816x.c | 2 ++
On 11/13/2015 03:41 PM, Tony Lindgren wrote:
> * Neil Armstrong <narmstr...@baylibre.com> [151112 06:16]:
>> On 10/24/2015 12:09 PM, Neil Armstrong wrote:
>>> Hi,
>>>
>>> 2015-10-24 3:21 GMT+02:00 Tony Lindgren <t...@atomide.com>:
>>>>
1 - 100 of 5022 matches
Mail list logo