Fix typo in 'compatible' property name.
Signed-off-by: Mans Rullgard
---
Documentation/devicetree/bindings/usb/usb-device.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/usb/usb-device.yaml
b/Documentation/devicetree/bindin
On systems that do not have the traditional PC ISA serial ports, the
8250 driver still creates non-functional device nodes. This change
makes only ports that actually exist (PCI, DT, ...) get device nodes.
Signed-off-by: Mans Rullgard
---
drivers/tty/serial/8250/8250_core.c | 26
index via device tree
alias" for more discussion.
Signed-off-by: Mans Rullgard
---
arch/arm/boot/dts/am33xx.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 4c2298024137..f09a61cac2dc 100644
--- a/arch/arm/boot/
of the supplied data buffer, thus
causing Bad Things to happen. To prevent this, check the size
before copying the data block and return an error if it is too large.
Fixes: 209d27c3b167 ("i2c: Emulate SMBus block read over I2C")
Signed-off-by: Mans Rullgard
---
drivers/i2c/i2c-core-s
Printing the info message every time more than the max number of mac
addresses are requested generates unnecessary log spam. Showing it only
when the hw is not already in promiscous mode is equally informative
without being annoying.
Signed-off-by: Mans Rullgard
---
Changed in v2:
- test only
Printing the info message every time more than the max number of mac
addresses are requested generates unnecessary log spam. Showing it only
when the hw is not already in promiscous mode is equally informative
without being annoying.
Signed-off-by: Mans Rullgard
---
drivers/net/ethernet
While the individual CHARLCD_BL_xxx options have help texts, the
menu itself does not. Fix this.
Signed-off-by: Mans Rullgard
---
drivers/auxdisplay/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig
index c52c738e554a
Add support for the I2C_M_STOP flag to the i2c-imx driver. This allows
devices requiring a stop between messages to work with this controller.
Signed-off-by: Mans Rullgard
---
drivers/i2c/busses/i2c-imx.c | 26 ++
1 file changed, 22 insertions(+), 4 deletions(-)
diff
Add support for the nowayout option in the gpio watchdog driver.
Signed-off-by: Mans Rullgard
---
drivers/watchdog/gpio_wdt.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/watchdog/gpio_wdt.c b/drivers/watchdog/gpio_wdt.c
index ea77cae03c9d..63792bb70213 100644
--- a
The recently added uart mux options had a few typos. Fix them.
Fixes: 43d0fe112585 ("ARM: dts: sun7i: add pinctrl for missing uart mux
options")
Reported-by: Werner Böllmann
Signed-off-by: Mans Rullgard
---
arch/arm/boot/dts/sun7i-a20.dtsi | 8
1 file changed, 4 insert
The charlcd driver currently flashes the backlight once on init.
This may not be desirable. Thus, add options for turning the
backlight off or on as well.
Signed-off-by: Mans Rullgard
---
drivers/auxdisplay/Kconfig | 21 +
drivers/auxdisplay/charlcd.c | 10 +-
2
If CONFIG_PANEL_CHANGE_MESSAGE is set, CONFIG_PANEL_BOOT_MESSAGE will
also be defined, so the double ifdef is pointless. Simplify the code
further by using an intermediate macro rather duplicating most of the
line.
Signed-off-by: Mans Rullgard
---
drivers/auxdisplay/charlcd.c | 15
, rename its Kconfig symbol and keep the old one
such that make oldconfig will not disable the driver.
Signed-off-by: Mans Rullgard
---
drivers/auxdisplay/Kconfig | 17 -
drivers/auxdisplay/Makefile | 2 +-
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/drivers/
Make the default autosuspend delay configurable at build time.
This is useful for systems that require a non-standard value as
it avoids relying on the command line being properly set.
Signed-off-by: Mans Rullgard
---
Changes in v2:
- add explanatory text to Kconfig help
---
drivers/usb/core
Make the default autosuspend delay configurable at build time.
This is useful for systems that require a non-standard value as
it avoids relying on the command line being properly set.
Signed-off-by: Mans Rullgard
---
drivers/usb/core/Kconfig | 8
drivers/usb/core/usb.c | 4 ++--
2
Mark any ports listed in the non-removable-ports DT property as
hardwired. This is useful for boards with built-in USB devices
that cannot be (or have not been) marked as fixed in hardware.
Signed-off-by: Mans Rullgard
---
drivers/usb/core/hub.c | 14 ++
1 file changed, 14
Add a non-removable-ports property that lists the hardwired downstream
ports of a hub. Although hubs can provide this information, they are
not always configured correctly. An alternate means of indicating this
for built-in USB devices is thus useful.
Signed-off-by: Mans Rullgard
Add a boolean property indicating that a device is hardwired to the
upstream port. Although hubs can provide this information, they are not
always configured correctly. An alternate means of indicating this for
built-in USB devices is thus useful.
Signed-off-by: Mans Rullgard
---
I have a
In order for devicetree nodes to be correctly associated with attached
devices, the controller node needs to be propagated to the glue device.
Signed-off-by: Mans Rullgard
---
This depends on 2c1ea6abde88 ("platform: set of_node in
platform_device_register_full()") which is currently w
Add support for the I2C_M_STOP flag to the i2c-imx driver. This allows
devices requiring a stop between messages to work with this controller.
Signed-off-by: Mans Rullgard
---
drivers/i2c/busses/i2c-imx.c | 26 ++
1 file changed, 22 insertions(+), 4 deletions(-)
diff
The SIMCom SIM5218 and compatible devices have 5 USB interfaces, only 4
of which are serial ports. The fifth is a network interface supported
by the qmi-wwan driver. Furthermore, the serial ports do not support
modem control signals. Add driver_info flags to reflect this.
Signed-off-by: Mans
sb and similar drivers to easily
propagate the DT node to child devices as required.
Signed-off-by: Mans Rullgard
---
Changes in v3:
- handle of_node_reused
---
drivers/base/platform.c | 2 ++
include/linux/platform_device.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/base/
This adds pinctrl settings the EMAC using pins in the PH block.
Signed-off-by: Mans Rullgard
---
arch/arm/boot/dts/sun7i-a20.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 4528c91ef837..e4d927a8a984
Since only one alternative at a time is used, and some functions may not
be used at all, this cuts down the size of the board dtb files a bit.
Signed-off-by: Mans Rullgard
---
arch/arm/boot/dts/sun7i-a20.dtsi | 42
1 file changed, 42 insertions(+)
diff --git a
This adds pinctrl settings for the CAN controller using pins
PA16 and PA17.
Signed-off-by: Mans Rullgard
---
arch/arm/boot/dts/sun7i-a20.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 76d0c961f01e
This adds pinctrl settings for various missing uart options.
Signed-off-by: Mans Rullgard
---
Changed in v2:
- add /omit-if-no-ref/ tags to new nodes
---
arch/arm/boot/dts/sun7i-a20.dtsi | 54
1 file changed, 54 insertions(+)
diff --git a/arch/arm/boot/dts
ange will allow sunxi-musb and similar driver to easily
propagate the DT node to child devices as required.
Signed-off-by: Mans Rullgard
---
drivers/base/platform.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index dff82a3c2caa..853a1d0e58
If an interface has an associated devicetree node with status disabled,
do not register the device. This is useful for boards with a built-in
multifunction USB device where some functions are broken or otherwise
undesired.
Signed-off-by: Mans Rullgard
---
Changed in v2:
- print message about
This adds pinctrl settings for various missing uart options.
Signed-off-by: Mans Rullgard
---
arch/arm/boot/dts/sun7i-a20.dtsi | 45
1 file changed, 45 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index
If an interface has an associated devicetree node with status disabled,
do not register the device. This is useful for boards with a built-in
multifunction USB device where some functions are broken or otherwise
undesired.
Signed-off-by: Mans Rullgard
---
drivers/usb/core/message.c | 4
1
If the provided fwnode is an OF node, set dev.of_node as well.
Signed-off-by: Mans Rullgard
---
drivers/base/platform.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index dff82a3c2caa..853a1d0e5845 100644
--- a/drivers/base/platform.c
This adds the USB ID of the Hjelmslund Electronics USB485 Iso stick.
Signed-off-by: Mans Rullgard
---
drivers/usb/serial/ftdi_sio.c | 2 ++
drivers/usb/serial/ftdi_sio_ids.h | 6 ++
2 files changed, 8 insertions(+)
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial
The QFN28 package version of the CP2102N has three additional gpio pins.
Add support for these.
Signed-off-by: Mans Rullgard
---
drivers/usb/serial/cp210x.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial
first x or y character.
This reinstates the check for a final semicolon. Whereas the original
code use strchr(), this is wasteful seeing as the semicolon is always
at the end of the buffer. Thus check this character directly instead.
Signed-off-by: Mans Rullgard
---
drivers/auxdisplay/cha
Commit 9b5a8e00d479 ("mm: convert insert_pfn() to vm_fault_t") accidentally
made insert_pfn() always return an error. Fix this.
Fixes: 9b5a8e00d479 ("mm: convert insert_pfn() to vm_fault_t")
Signed-off-by: Mans Rullgard
---
mm/memory.c | 5 -
1 file changed, 4 inser
The mxs-dma unit is also used on i.MX6SX. Make it selectable.
Signed-off-by: Mans Rullgard
---
drivers/dma/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 24e8597b2c3e..cb7ec780892d 100644
--- a/drivers/dma/Kconfig
changes mxs-saif can be used together with the simple-card
driver.
Signed-off-by: Mans Rullgard
---
v2: add #include needed by some configs
---
sound/soc/mxs/mxs-saif.c | 144 +++
sound/soc/mxs/mxs-saif.h | 3 +
2 files changed, 99 insertions(+), 48
If the 'old' operand to cmpxchg() is a constant wider than 21 bits,
linking fails with a "relocation truncated to fit: R_AVR32_21S" error.
Fix this by replacing the "i" constraint with "Ks21" which makes the
compiler use a temporary register for out
->mclk_in_use.
Signed-off-by: Mans Rullgard
---
sound/soc/mxs/mxs-saif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index a6c7b8d87cd2..13631003cb7c 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -41
changes mxs-saif can be used together with the simple-card
driver.
Signed-off-by: Mans Rullgard
---
sound/soc/mxs/mxs-saif.c | 144 +++
sound/soc/mxs/mxs-saif.h | 2 +
2 files changed, 98 insertions(+), 48 deletions(-)
diff --git a/sound/soc/mxs/mxs
drivers calling set_pll() and set_clkdiv() directly are
unaffected.
Signed-off-by: Mans Rullgard
---
sound/soc/codecs/wm8974.c | 93 +++
1 file changed, 93 insertions(+)
diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c
index
On some architectures the DMA controller can have two masters connected to
different buses and thus access to memory is possible only through one and
to peripheral through the other.
This patch changes the src and dst master setting to match the direction
of the transfer.
Signed-off-by: Mans
From: Andy Shevchenko
Keep the entire platform data in the struct dw_dma.
It makes the driver a bit cleaner.
Signed-off-by: Andy Shevchenko
Signed-off-by: Mans Rullgard
---
drivers/dma/dw/core.c| 31 ---
drivers/dma/dw/platform.c| 4
From: Andy Shevchenko
This is a simple stylish change that allows to use less lines of code.
Signed-off-by: Andy Shevchenko
---
I'm a little ambivalent on this one. While the patch is correct as such,
the change means that if struct dw_dma_slave gains new members in future,
these will not be i
From: Andy Shevchenko
To be sure we have the cyclic transfers already gone we set cdesc to NULL. It
will prevent the double free.
Signed-off-by: Andy Shevchenko
Signed-off-by: Mans Rullgard
---
drivers/dma/dw/core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/dma/dw/core.c
From: Andy Shevchenko
Residue is a property of any active descriptor. So, any descriptor may be in
different state but residue is a feature of active descriptor. Check if the
asked descriptor is active and return proper residue value for it.
Signed-off-by: Andy Shevchenko
Signed-off-by: Mans
From: Andy Shevchenko
We have already dedicated variable for flags, therefore no need to create an
additional storage for that. Covert dwc->initialized to use dwc->flags.
Signed-off-by: Andy Shevchenko
Signed-off-by: Mans Rullgard
---
drivers/dma/dw/core.c | 8
drivers/dma/dw/
unsigned
drivers/dma/dw/core.c: In function ‘dw_dma_probe’:
drivers/dma/dw/core.c:1574: warning: comparison between signed and unsigned
There is no functional change.
Signed-off-by: Andy Shevchenko
Signed-off-by: Mans Rullgard
---
drivers/dma/dw/core.c | 10 +-
1 file changed, 5 insertions
From: Andy Shevchenko
We pass struct dw_dma_chip to the dw_dma_probe() anyway, thus we may use it to
pass platform data as well.
Signed-off-by: Andy Shevchenko
Signed-off-by: Mans Rullgard
---
drivers/ata/sata_dwc_460ex.c | 2 +-
drivers/dma/dw/core.c | 3
From: Andy Shevchenko
We have already dedicated variable for flags, therefore no need to create an
additional storage for that. Convert dwc->paused to use dwc->flags.
Signed-off-by: Andy Shevchenko
Signed-off-by: Mans Rullgard
---
drivers/dma/dw/core.c | 12 +---
drivers/
The datasheet requires that the LLP_[SD]_EN bits be cleared whenever
LLP.LOC is zero, i.e. in the last descriptor of a multi-block chain.
Make the driver do this.
Signed-off-by: Mans Rullgard
---
drivers/dma/dw/core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/dma/dw/core.c b
always be correct.
Signed-off-by: Mans Rullgard
---
drivers/dma/dw/core.c | 105 --
drivers/dma/dw/regs.h | 32 +++
2 files changed, 76 insertions(+), 61 deletions(-)
diff --git a/drivers/dma/dw/core.c b/drivers/dma/dw/core.c
index
, we still might return to distinct values when there is a use
case.
- Rename data_width to data-width in the device tree bindings.
- While here, replace dwc_fast_ffs() by __ffs().
Signed-off-by: Andy Shevchenko
Signed-off-by: Mans Rullgard
---
This patch changes the DT binding, so it
n the assumption that src_master and dst_master are
reflecting a connection to the memory and peripheral correspondently on all
platforms except 460ex.
Signed-off-by: Andy Shevchenko
Signed-off-by: Mans Rullgard
---
Documentation/devicetree/bindings/dma/snps-dma.txt | 4 ++--
arch/avr32/mach-a
From: Andy Shevchenko
Since struct dw_dma is allocated and regs member is assigned properly we can
use standard IO accessors to the DMA registers.
Signed-off-by: Andy Shevchenko
Signed-off-by: Mans Rullgard
---
drivers/dma/dw/core.c | 8 +++-
drivers/dma/dw/regs.h | 4
2 files
The LMS field indicates from which master the descriptor is to be
read. This patch assumes this is always the same as the memory
side in a peripheral transfer which is true for all known systems.
Signed-off-by: Mans Rullgard
Signed-off-by: Andy Shevchenko
---
drivers/dma/dw/core.c | 19
ne: dw: platform: use field-by-field initialization
dmaengine: dw: move dwc->paused to dwc->flags
dmaengine: dw: move dwc->initialized to dwc->flags
dmaengine: dw: move residue to a descriptor
dmaengine: dw: set cdesc to NULL when free cyclic transfers
Mans Rullgard (4):
dmae
This adds an option to create spidev nodes for any chip selects not
bound to a driver via DT/ACPI. It probably doesn't play nicely with
modules.
Signed-off-by: Mans Rullgard
---
drivers/spi/Kconfig | 4
drivers/spi/spi.c | 29 +
2 files change
() function and adding a shutdown() function with
a matching clk_unprepare() as these operations are already correctly
bracketed by soc-core.
Signed-off-by: Mans Rullgard
---
sound/soc/mxs/mxs-saif.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/sound/soc/mxs/mxs
This adds a binding for the secondary interrupt controller in
Sigma Designs SMP86xx and SMP87xx chips.
Signed-off-by: Mans Rullgard
---
Changes:
- not included in v3
---
.../interrupt-controller/sigma,smp8642-intc.txt| 49 ++
1 file changed, 49 insertions(+)
create mode
This adds support for the secondary interrupt controller used in Sigma
Designs SMP86xx and SMP87xx chips.
Signed-off-by: Mans Rullgard
---
Changes from v3:
- use of_address_to_resource() rather accessing "reg" property directly
Boot tested on SMP8643 (tango3) and SMP8759 (tango4)
--
The accept4 syscall is missing on AVR32. Fix this.
Signed-off-by: Mans Rullgard
---
arch/avr32/include/uapi/asm/unistd.h | 1 +
arch/avr32/kernel/syscall_table.S| 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/avr32/include/uapi/asm/unistd.h
b/arch/avr32/include/uapi/asm
The datasheet requires that the LLP_[SD]_EN bits be cleared whenever
LLP.LOC is zero, i.e. in the last descriptor of a multi-block chain.
Make the driver do this.
Signed-off-by: Mans Rullgard
---
drivers/dma/dw/core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/dma/dw/core.c b
] check_partition+0x140/0x274
[<901bba60>] rescan_partitions+0xa0/0x2b0
[<9011ff68>] __blkdev_get+0x264/0x380
[<901201ac>] blkdev_get+0x128/0x36c
[<901b9378>] add_disk+0x3c0/0x4bc
[<90268268>] sd_probe_async+0x100/0x224
[<90043a44>] async_run_entry_fn+0x50/0x124
[&l
until the device is removed.
Fix this by deferring the allocation until after checking the
"dma-channels" property.
Signed-off-by: Mans Rullgard
---
This has only been compile-tested as I have no suitable hardware.
---
drivers/dma/dw/platform.c | 7 +--
1 file changed, 5 insert
This adds a binding for the Wolfson WM8974 mono audio codec.
Signed-off-by: Mans Rullgard
---
Sending this patch again, this time including Mark Brown.
---
Documentation/devicetree/bindings/sound/wlf,wm8974.txt | 15 +++
1 file changed, 15 insertions(+)
create mode 100644
This adds devicetree support to the wm8974 codec driver.
With a DT-based kernel, there is no board-specific setting
to select the driver so allow it to be manually chosen.
Signed-off-by: Mans Rullgard
---
sound/soc/codecs/Kconfig | 3 ++-
sound/soc/codecs/wm8974.c | 7 +++
2 files changed
This adds a binding for the Wolfson WM8974 mono audio codec.
Signed-off-by: Mans Rullgard
---
The Linux driver for this device currently only supports I2C, but SPI
could easily be added if necessary, and DT bindings are supposed to be
generic.
---
Documentation/devicetree/bindings/sound/wlf
ck on the old way so existing device
trees can continue to work.
With this change, there is no longer any reason to depend on the 460EX
machine type so drop that from Kconfig.
Signed-off-by: Mans Rullgard
---
drivers/ata/Kconfig | 10 ++-
drivers/ata/sa
This adds support for powering on an optional PHY when activating the
device.
Signed-off-by: Mans Rullgard
---
drivers/ata/Kconfig | 1 +
drivers/ata/sata_dwc_460ex.c | 21 +
2 files changed, 22 insertions(+)
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
This moves all global data into the driver private struct, thus
permitting multiple devices of this type to be used.
Signed-off-by: Mans Rullgard
---
drivers/ata/sata_dwc_460ex.c | 80
1 file changed, 36 insertions(+), 44 deletions(-)
diff --git a
the number of bytes
requested unless this is zero, which is not supported by the hardware
and is thus refused.
Signed-off-by: Mans Rullgard
---
Changes:
- refuse zero-length transfers and stop advertising I2C_FUNC_SMBUS_QUICK
---
drivers/i2c/busses/i2c-xlr.c | 50
.
Signed-off-by: Mans Rullgard
---
Changes:
- rebase onto v2 of previous patch
---
drivers/i2c/busses/i2c-xlr.c | 119 +++
1 file changed, 119 insertions(+)
diff --git a/drivers/i2c/busses/i2c-xlr.c b/drivers/i2c/busses/i2c-xlr.c
index 2cfaba7..613c3a4 100644
Activate/deactivate the LCD_RESET signal as specified by the
reset-active DT property when the controller is disabled/enabled.
If the property is missing, leave the signal unchanged.
Signed-off-by: Mans Rullgard
---
drivers/video/fbdev/mxsfb.c | 28 +---
1 file changed
ired polarity
of the LCD_RESET pin.
Signed-off-by: Mans Rullgard
---
Documentation/devicetree/bindings/display/mxsfb.txt | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/mxsfb.txt
b/Documentation/devicetree/bindings/display/mxsfb.txt
index 96e
Add auart4 2-pin configuration on auart0 rts/cts pads.
Signed-off-by: Mans Rullgard
---
arch/arm/boot/dts/imx28.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index c5b57d4..fae7b90 100644
--- a/arch/arm/boot/dts
Attempting to use this codec driver triggers a BUG() in regcache_sync()
since no cache type is set. The register map of this device is fairly
small and has few holes so a flat cache is suitable.
Signed-off-by: Mans Rullgard
---
sound/soc/codecs/wm8974.c | 1 +
1 file changed, 1 insertion
This adds support for the Sigma Designs SMP86xx/SMP87xx family built-in
watchdog.
Signed-off-by: Mans Rullgard
---
Changes:
- #include bitops.h
- clk_disable_unprepare() on failure
---
drivers/watchdog/Kconfig | 10 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/tangox_wdt.c
This adds support for the secondary interrupt controller used in Sigma
Designs SMP86xx and SMP87xx chips.
Signed-off-by: Mans Rullgard
---
drivers/irqchip/Kconfig | 5 +
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-tangox.c | 232
This adds a binding for the secondary interrupt controller in
Sigma Designs SMP86xx and SMP87xx chips.
Signed-off-by: Mans Rullgard
---
.../interrupt-controller/sigma,smp8642-intc.txt| 47 ++
1 file changed, 47 insertions(+)
create mode 100644
Documentation/devicetree
this
controller.
Mans Rullgard (2):
devicetree: add binding for Sigma Designs SMP86xx interrupt controller
irqchip: add support for Sigma Designs SMP86xx interrupt controller
.../interrupt-controller/sigma,smp8642-intc.txt| 47 +
drivers/irqchip/Kconfig
This adds support for the Sigma Designs SMP86xx/SMP87xx family built-in
watchdog.
Signed-off-by: Mans Rullgard
---
Changes:
- deactivate initially if disable bit is set so as to avoid accidentally
resetting if the counter is expired
---
drivers/watchdog/Kconfig | 10 ++
drivers/watchdog
This adds a driver for the Aurora VLSI NB8800 Ethernet controller.
It is an almost complete rewrite of a driver originally found in
a Sigma Designs 2.6.22 tree.
Signed-off-by: Mans Rullgard
---
Changes:
- make some variables unsigned
---
drivers/net/ethernet/Kconfig |1 +
drivers
This adds a binding for the watchdog in Sigma Designs SMP8642 and
similar devices.
Signed-off-by: Mans Rullgard
---
Changes:
- add timeout-sec property
---
.../devicetree/bindings/watchdog/sigma,smp8642-wdt.txt | 18 ++
1 file changed, 18 insertions(+)
create mode 100644
This adds support for the Sigma Designs SMP86xx/SMP87xx family built-in
watchdog.
Signed-off-by: Mans Rullgard
---
Changes:
- combine start and ping functions
- use watchdog_init_timeout()
- calculate max timeout from clock rate
- add get_timeleft callback
- check if already running on startup
This adds a driver for the Aurora VLSI NB8800 Ethernet controller.
It is an almost complete rewrite of a driver originally found in
a Sigma Designs 2.6.22 tree.
Signed-off-by: Mans Rullgard
---
Changes:
- fix int / unsigned int mismatch
- spell out "unsigned int"
---
drivers/ne
This adds a driver for the Aurora VLSI NB8800 Ethernet controller.
It is an almost complete rewrite of a driver originally found in
a Sigma Designs 2.6.22 tree.
Signed-off-by: Mans Rullgard
---
Changes:
- Use napi_gro_receive()
- Ignore xmit_more if using last tx descriptor
- Perform tx cleanup
This adds support for the Sigma Designs SMP86xx family built-in
watchdog.
Signed-off-by: Mans Rullgard
---
drivers/watchdog/Kconfig | 7 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/tangox_wdt.c | 185 ++
3 files changed, 193
This adds support for the Vitesse VSC8601 PHY. Generic functions are
used for everything except interrupt handling.
Signed-off-by: Mans Rullgard
---
drivers/net/phy/vitesse.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/net/phy/vitesse.c b/drivers
Commit 77a993942 "phy/at8031: enable at8031 to work on interrupt mode"
added interrupt support for the 8031 PHY but left out the other two
chips supported by this driver.
This patch sets the .ack_interrupt and .config_intr functions for the
8030 and 8035 drivers as well.
Signed-of
This adds a driver for the Aurora VLSI NB8800 Ethernet controller.
It is an almost complete rewrite of a driver originally found in
a Sigma Designs 2.6.22 tree.
Signed-off-by: Mans Rullgard
---
Changes:
- Refactored mdio access functions
- Refactored register access helpers
- Improved error
to work with this type of UART.
Signed-off-by: Mans Rullgard
---
Changes:
- moved #defines to a separate file
---
arch/arm/Kconfig.debug| 9 +
arch/arm/include/debug/palmchip.S | 11 +++
2 files changed, 20 insertions(+)
create mode 100644 arch/arm/include/debug
.
Signed-off-by: Mans Rullgard
---
drivers/i2c/busses/i2c-xlr.c | 119 +++
1 file changed, 119 insertions(+)
diff --git a/drivers/i2c/busses/i2c-xlr.c b/drivers/i2c/busses/i2c-xlr.c
index c1afc3e..dd48c1e 100644
--- a/drivers/i2c/busses/i2c-xlr.c
+++ b/drivers
sets the correct clock divisor if a clk is provided. The bus
frequency is optionally speficied in the device tree node.
Signed-off-by: Mans Rullgard
---
drivers/i2c/busses/Kconfig | 6 ++--
drivers/i2c/busses/i2c-xlr.c | 81 +---
2 files changed, 80
to a dummy location allows making the main loops less convoluted.
In other words, this patch makes the driver transfer the number of bytes
requested unless this is zero, which is not supported by the hardware,
in which case one byte is transferred instead.
Signed-off-by: Mans Rullgard
---
drivers/
This adds a binding for the Sigma Designs SMP8642 built-in I2C master
controller.
Signed-off-by: Mans Rullgard
---
.../devicetree/bindings/i2c/sigma,smp8642-i2c.txt | 24 ++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/sigma
.
Signed-off-by: Mans Rullgard
---
drivers/i2c/busses/Kconfig | 8 +
drivers/i2c/busses/Makefile | 1 +
drivers/i2c/busses/i2c-tangox.c | 330
3 files changed, 339 insertions(+)
create mode 100644 drivers/i2c/busses/i2c-tangox.c
diff --git a
This adds a driver for the Aurora VLSI NB8800 Ethernet controller.
It is an almost complete rewrite of a driver originally found in
a Sigma Designs 2.6.22 tree.
Signed-off-by: Mans Rullgard
---
Changes:
- Make ethtool_ops const
- Fix race in tx path on smp systems
- Use different interrupt
This adds a binding for the watchdog in Sigma Designs SMP8642 and
similar devices.
Signed-off-by: Mans Rullgard
---
.../devicetree/bindings/watchdog/sigma,8642-wdt.txt| 14 ++
1 file changed, 14 insertions(+)
create mode 100644
Documentation/devicetree/bindings/watchdog
This adds support for the Sigma Designs SMP86xx family built-in
watchdog.
Signed-off-by: Mans Rullgard
---
drivers/watchdog/Kconfig | 7 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/tangox_wdt.c | 185 ++
3 files changed, 193
1 - 100 of 125 matches
Mail list logo