On Fri, 2014-03-14 at 20:10 +0100, Arnd Bergmann wrote:
> > As for the other two functions, I've no special attachment to where they
> > are present
> > and I'm happy to move them into drivers/pci on the condition that the
> > patchset doesn't
> > double in size. The reason why I'm weary of touch
Hi,
>> This patch adds support for the APM X-Gene SoC AHCI SATA host controller
>> driver. It requires the corresponding APM X-Gene SoC PHY driver. This
>> initial version only supports Gen3 speed.
>
> This version seems workable, thanks for the quick follow-up.
>
> The comment about Gen3 speed ab
Add a simple twl_i2c_read/write_u16 wrapper over
the twl_i2c_read/write, which is similar to the
twl_i2c_read/write_u8 wrapper.
Signed-off-by: Sebastian Reichel
Acked-by: Lee Jones
Acked-by: Jonathan Cameron
Tested-by: Marek Belisko
---
include/linux/i2c/twl.h | 12
1 file change
Some style fixes in twl4030-madc driver.
Reported-by: Jonathan Cameron
Reported-by: Lee Jones
Signed-off-by: Sebastian Reichel
Acked-by: Lee Jones
Acked-by: Jonathan Cameron
Tested-by: Marek Belisko
---
drivers/mfd/twl4030-madc.c | 145 +++
include/
This converts twl4030-madc module to use the Industrial IO ADC
framework and adds device tree support.
Signed-off-by: Sebastian Reichel
Tested-by: Marek Belisko
Acked-by: Lee Jones
Acked-by: Jonathan Cameron
---
drivers/mfd/twl4030-madc.c | 127 +
1
Update twl4030-madc driver to use managed resources.
Signed-off-by: Sebastian Reichel
Acked-by: Lee Jones
Acked-by: Jonathan Cameron
Tested-by: Marek Belisko
---
drivers/mfd/twl4030-madc.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/drivers/mfd/twl4030-
This is a driver for an A/D converter, which belongs into
drivers/iio/adc.
Signed-off-by: Sebastian Reichel
Acked-by: Lee Jones
Acked-by: Jonathan Cameron
---
drivers/iio/adc/Kconfig | 10 ++
drivers/iio/adc/Makefile| 1 +
drivers/{mfd => iio/adc}/twl40
Simplify reading and writing of 16 bit TWL registers in the
driver by using twl_i2c_read_u16 and twl_i2c_write_u16.
Signed-off-by: Sebastian Reichel
Acked-by: Lee Jones
Acked-by: Jonathan Cameron
Tested-by: Marek Belisko
---
drivers/mfd/twl4030-madc.c | 39
Add devicetree binding documentation for twl4030-madc
analog digital converter.
Signed-off-by: Sebastian Reichel
Acked-by: Jonathan Cameron
---
.../devicetree/bindings/iio/adc/twl4030-madc.txt | 24 ++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devi
Hi,
This is PATCHv4 for converting twl4030-madc to the IIO API and
adding DT support. The plan is to remove the private twl4030-madc
API once all users have been removed or converted to the IIO API.
The patchset compiles and has been tested on my Nokia N900.
Changes since PATCHv3 [0]:
* Dropped
On 03/15/2014 11:17 AM, Ezequiel Garcia wrote:
Follow-up patches will extend the registers ioremap and request
to handle SoC-specific quirks on the RSTOUT register. Therefore,
in order to keep the code readable, this commit introduces a special
function for this.
Signed-off-by: Ezequiel Garcia
Hi Dave
On Fri, Mar 14, 2014 at 2:15 PM, David Miller wrote:
> From: David Miller
> Date: Fri, 14 Mar 2014 15:07:20 -0400 (EDT)
>
>> From: Vince Bridgers
>> Date: Fri, 14 Mar 2014 09:04:38 -0500
>>
>>> This is the version 5 submission for the Altera Triple Speed Ethernet (TSE)
>>> driver. All c
On Sat, Mar 15, 2014 at 7:33 AM, Grant Likely wrote:
> On Fri, 14 Mar 2014 16:39:38 -0500, Rob Herring wrote:
>> On Fri, Mar 14, 2014 at 12:11 PM, Grant Likely
>> wrote:
>> > Make of_find_node_by_path() handle aliases as prefixes. To make this
>> > work the name search is refactored to search b
Add the DT nodes to enable the watchdog support available on
Armada 380/385 SoC.
Reviewed-by: Guenter Roeck
Signed-off-by: Ezequiel Garcia
---
arch/arm/boot/dts/armada-38x.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/armada-38x.dtsi
b/arch/arm/boot/dts/arma
This commit documents the new support for "marvell,armada-{375,380}-wdt"
compatible strings and the extra 'reg' entry requirement.
Reviewed-by: Guenter Roeck
Signed-off-by: Ezequiel Garcia
---
Documentation/devicetree/bindings/watchdog/marvel.txt | 7 +++
1 file changed, 7 insertions(+)
di
Add the DT nodes to enable the watchdog support available on
Armada 375 SoC.
Reviewed-by: Guenter Roeck
Signed-off-by: Ezequiel Garcia
---
arch/arm/boot/dts/armada-375.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/armada-375.dtsi
b/arch/arm/boot/dts/armada-37
Follow-up patches will extend the registers ioremap and request
to handle SoC-specific quirks on the RSTOUT register. Therefore,
in order to keep the code readable, this commit introduces a special
function for this.
Signed-off-by: Ezequiel Garcia
---
drivers/watchdog/orion_wdt.c | 38 ++
Fourth round of the patchset adding support for watchdog on Armada 375 and
Armada 38x SoCs.
The new Armada 375/385 SoCs have two registers for the watchdog RSTOUT:
1. It has a dedicated register (similar to the one in A370/XP)
2. Also has a bit in a shared RSTOUT register.
Therefore, in order
The RSTOUT register on the Armada 370 SoC variant is a dedicated register
(not shared across orthogonal subsystems) and so it's not needed to write
it atomically.
Reviewed-by: Guenter Roeck
Signed-off-by: Ezequiel Garcia
---
drivers/watchdog/orion_wdt.c | 7 +--
1 file changed, 5 insertions
Separate the RSTOUT register mapping for the different compatible strings
supported by the driver. This allows to use devm_ioremap on SoC variants that
share the RSTOUT register, and devm_ioremap_resource (which requests the MMIO
region) on SoCs that have a dedicated RSTOUT register.
Reviewed-by:
In order to support other SoCs, it's needed to have a different stop()
implementation for each SoC. This commit adds no functionality, and it
consists of preparation work.
Reviewed-by: Guenter Roeck
Signed-off-by: Ezequiel Garcia
---
drivers/watchdog/orion_wdt.c | 29 +++
This commit adds support for the Armada 375 and Armada 380 SoCs.
This SoC variant has a second RSTOUT register, in addition to the already
existent, which is shared with the system-controller. To handle this RSTOUT,
we introduce a new MMIO register 'rstout_mask' to be required on
'armada-{375,380}
In order to support other SoCs, it's needed to have a different enabled()
implementation for each SoC. This commit adds no functionality, and it
consists of preparation work.
Reviewed-by: Guenter Roeck
Signed-off-by: Ezequiel Garcia
---
drivers/watchdog/orion_wdt.c | 15 +--
1 file
On Fri, Mar 14, 2014 at 5:23 PM, Josh Cartwright wrote:
> So, are you suggesting that because fatal errors should be "extremely
> rare", a consuming driver should just assume that if NULL is returned
> from a hwspin_lock_request*() function that it was the "device not yet
> probed" case that was h
On Sat, Mar 15, 2014 at 04:45:08PM +0100, Hans de Goede wrote:
> Hi,
>
> Thanks for your continued work on this.
>
> On 03/15/2014 04:43 PM, Carlo Caione wrote:
> > Signed-off-by: Hans de Goede
> > Signed-off-by: Carlo Caione
> > ---
> > arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 12 +++
Hi,
Thanks for your continued work on this.
On 03/15/2014 04:43 PM, Carlo Caione wrote:
> Signed-off-by: Hans de Goede
> Signed-off-by: Carlo Caione
> ---
> arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 12
> arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 13 +
>
AXP202 and AXP209 come with two synchronous step-down DC-DCs and five
LDOs. This patch introduces basic support for those regulators.
Signed-off-by: Carlo Caione
---
drivers/regulator/Kconfig| 7 +
drivers/regulator/Makefile | 1 +
drivers/regulator/axp20x-regulator.c |
Add ABI entries for the PEK found on PMU X-Powers AXP202 and AXP209.
Signed-off-by: Carlo Caione
---
Documentation/ABI/testing/sysfs-driver-input-axp-pek | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-driver-input-axp-pek
diff --git a/Docu
This dtsi describes the axp209 PMIC, and is to be included from inside
the i2c controller node to which the axp209 is connected.
Signed-off-by: Hans de Goede
Signed-off-by: Carlo Caione
---
arch/arm/boot/dts/x-powers-axp209.dtsi | 60 ++
1 file changed, 60 insert
This patch add support for the Power Enable Key found on MFD AXP202 and
AXP209. Besides the basic support for the button, the driver adds two
entries in sysfs to configure the time delay for power on/off.
Signed-off-by: Carlo Caione
---
drivers/input/misc/Kconfig | 11 ++
drivers/input/mis
Signed-off-by: Hans de Goede
Signed-off-by: Carlo Caione
---
arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 12
arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 13 +
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 12
3 files changed, 37 insertions(+)
Signed-off-by: Carlo Caione
---
arch/arm/configs/sunxi_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig
index 3e2259b..0cef101 100644
--- a/arch/arm/configs/sunxi_defconfig
+++ b/arch/arm/configs/sunxi_defconfig
AXP209 and AXP202 are the PMUs (Power Management Unit) used by A10, A13
and A20 SoCs and developed by X-Powers, a sister company of Allwinner.
AXP20x comprises an adaptive USB-Compatible PWM charger, 2 BUCK DC-DC
converters, 5 LDOs, multiple 12-bit ADCs of voltage, current and temperature
as well a
Bindings documentation for the AXP20x driver. In this file also two
sub-nodes (PEK and regulators) are documented.
Signed-off-by: Carlo Caione
---
Documentation/devicetree/bindings/mfd/axp20x.txt | 83 ++
.../devicetree/bindings/vendor-prefixes.txt| 1 +
2 files ch
This patch introduces the preliminary support for PMICs X-Powers AXP202
and AXP209. The AXP209 and AXP202 are the PMUs (Power Management Unit)
used by A10, A13 and A20 SoCs and developed by X-Powers, a sister company
of Allwinner.
The core enables support for two subsystems:
- PEK (Power Enable Ke
On 10/03/14 17:25, Sebastian Reichel wrote:
Add iio_read_channel_average_raw to support reading
averaged raw values in consumer drivers.
Signed-off-by: Sebastian Reichel
As this one also stands fine on it's own and isn't actually used
by the rest of the patch set - applied to the togreg branch
On 10/03/14 17:25, Sebastian Reichel wrote:
Add ABI documentation for in_*_mean_raw files, which are
already supported and used in the kernel for some time.
Signed-off-by: Sebastian Reichel
As this one stands fine on it's own...
Applied to the togreg branch of iio.git
Thanks
---
Documenta
On 10/03/14 17:25, Sebastian Reichel wrote:
Some style fixes in twl4030-madc driver.
Reported-by: Jonathan Cameron
Reported-by: Lee Jones
Signed-off-by: Sebastian Reichel
Acked-by: Lee Jones
Tested-by: Marek Belisko
Acked-by: Jonathan Cameron
One, whilst you are here request below.
---
On 10/03/14 17:25, Sebastian Reichel wrote:
This converts twl4030-madc module to use the Industrial IO ADC
framework and adds device tree support.
Signed-off-by: Sebastian Reichel
Tested-by: Marek Belisko
One issue in the remove function. Reorder that
and I'm happy.
---
drivers/mfd/twl4
On 10/03/14 17:25, Sebastian Reichel wrote:
Update twl4030-madc driver to use managed resources.
Signed-off-by: Sebastian Reichel
Acked-by: Lee Jones
Tested-by: Marek Belisko
My email client was having a crazy day and not showing me this revision of the
patches - I'll bring my comments acros
On 04/03/14 22:05, Sebastian Reichel wrote:
Add iio_read_channel_average_raw to support reading
averaged raw values in consumer drivers.
Signed-off-by: Sebastian Reichel
Acked-by: Jonathan Cameron
Sometimes these wrappers seem a little bit silly. There
might be a case for automating them som
On 04/03/14 22:05, Sebastian Reichel wrote:
Add ABI documentation for in_*_mean_raw files, which are
already supported and used in the kernel for some time.
Signed-off-by: Sebastian Reichel
Acked-by: Jonathan Cameron
Thanks for doing this.
---
Documentation/ABI/testing/sysfs-bus-iio | 8 +
On 04/03/14 22:05, Sebastian Reichel wrote:
Add devicetree binding documentation for twl4030-madc
analog digital converter.
Signed-off-by: Sebastian Reichel
I'm happy with this, but it needs the usual sign off form a device tree
maintainer or 3 weeks to pass since it was posted.
Acked-by: Jona
On 04/03/14 22:05, Sebastian Reichel wrote:
Some style fixes in twl4030-madc driver.
Reported-by: Jonathan Cameron
Gah - not sure I want to be known for reporting style
issues :)
Signed-off-by: Sebastian Reichel
Acked-by: Lee Jones
Looks good - one little whilst you are here comment below.
On 04/03/14 22:05, Sebastian Reichel wrote:
This converts twl4030-madc module to use the Industrial IO ADC
framework and adds device tree support.
Signed-off-by: Sebastian Reichel
One issues right down in the remove function alongside the ones Lee raised.
Otherwise looks pretty much there to m
On 04/03/14 22:05, Sebastian Reichel wrote:
Update twl4030-madc driver to use managed resources.
Signed-off-by: Sebastian Reichel
Acked-by: Lee Jones
Acked-by: Jonathan Cameron
---
drivers/mfd/twl4030-madc.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --gi
Since the sun4i irq chip does not require any action and clears the interrupt
when the level goes back to inactive, we don't need to mask / unmask for
non oneshot IRQs, to achieve this we make sun4i_irq_ack a nop for all irqs
except irq 0 and use handle_fasteoi_irq for all interrupts.
Now there mi
Now that we only ack irq 0 the code can be simplified a lot.
Also switch from read / modify / write to a simple write clear:
1) This is what the android code does (it has a hack for acking irq 0
in its unmask code doing this)
2) read / modify / write simply does not make sense for an irq status
Hi All,
Here is v2 of my patchset for sun4i-irq.c to use handle_fasteoi_irq for all
irqs + follow up clean-up patch.
Changes since v2:
-adjust commit msg based on Thomas' comments, and merge patch 1 and 2 as
they make more sense as 1 patch
Regards,
Hans
--
To unsubscribe from this list: send t
On 13/03/14 02:09, Marek Vasut wrote:
On Wednesday, March 12, 2014 at 01:53:14 PM, Matt Ranostay wrote:
AS3935 chipset can detect lightning strikes and reports those back as
events and the estimated distance to the storm.
Signed-off-by: Matt Ranostay
Reviewed-by: Marek Vasut
I'm not 100% h
On 12/03/14 14:30, Rob Herring wrote:
On Wed, Mar 12, 2014 at 7:53 AM, Matt Ranostay wrote:
Document compatible string, required and optional DT properties for
AS3935 chipset driver.
Signed-off-by: Matt Ranostay
Acked-by: Rob Herring
Applied to the togreg branch of iio.git (probably pushe
Added documentation for NMI irqchip.
Signed-off-by: Carlo Caione
---
.../allwinner,sun67i-sc-nmi.txt| 27 ++
1 file changed, 27 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt-controller/allwinner,sun67i-sc-nmi.txt
diff --gi
Allwinner A20/A31 SoCs have special registers to control / (un)mask /
acknowledge NMI. This NMI controller is separated and independent from GIC.
This patch adds a new irqchip to manage NMI.
Signed-off-by: Carlo Caione
Acked-by: Maxime Ripard
---
drivers/irqchip/Makefile| 1 +
drivers
This patch adds DTS entries for NMI controller as child of GIC.
Signed-off-by: Carlo Caione
---
arch/arm/boot/dts/sun6i-a31.dtsi | 9 +
arch/arm/boot/dts/sun7i-a20.dtsi | 9 +
2 files changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun
Allwinner A20/A31 SoCs have a special interrupt controller for managing NMI.
Three register are present to (un)mask, control and acknowledge NMI.
These two patches add a new irqchip driver in cascade with GIC.
Changes since v1:
- added binding document
Changes since v2:
- fixed tr
Use ctrl-macid driver to obtain the macids stored in the processor. This
is only done when defined in DT.
The internal macid is not used if mac-address is given explicitly. So it
does not change the behavior if the bootloader provides a mac address
through the mac-address property
Signed-off-by:
mac-address is an optional property. If no mac-address is set, a random
mac-address will be generated.
Signed-off-by: Markus Pargmann
---
Documentation/devicetree/bindings/net/cpsw.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/net/cpsw.
Hi,
This series introduces a driver to read and use the MACIDs stored in the am335x
control module. These are read-only registers for a unique MACID. At the moment
the MACIDs are generated randomly when the mac-address property is not a valid
mac address.
In v2 I changed the precedence of mac-add
This driver extracts the hardware macid from the control module of
am335x processors. It exports a function cpsw_ctrl_macid_read for cpsw
to get the macid from within the processor.
Signed-off-by: Markus Pargmann
---
.../devicetree/bindings/net/cpsw-ctrl-macid.txt| 32 +
drivers/net/eth
cpsw.h uses the symbol MII_BUS_ID_SIZE which is defined in
. Add the respective #include to not depend on users to
include it themselves.
Signed-off-by: Markus Pargmann
---
drivers/net/ethernet/ti/cpsw.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers
Add cpsw-ctrl-macid to the am33xx dtsi file. It does not change the
behaviour of boards with a provided mac-address, so it is safe to add it
for all boards with this CPU.
Signed-off-by: Markus Pargmann
---
arch/arm/boot/dts/am33xx.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a
On Thu, 13 Mar 2014 14:51:56 -0700, Kevin Hilman wrote:
> Josh Cartwright writes:
>
> > On Thu, Mar 13, 2014 at 01:46:50PM -0700, Kevin Hilman wrote:
> >> On Fri, Feb 21, 2014 at 4:25 AM, Marek Szyprowski
> >> wrote:
> >> > Enable reserved memory initialization from device tree.
> >> >
> >> > S
On 15.03.2014 12:36, Kyungmin Park wrote:
On Sat, Mar 15, 2014 at 2:35 AM, Tomasz Figa wrote:
Hi Chanwoo, Mark,
On 14.03.2014 11:56, Chanwoo Choi wrote:
Hi Mark,
On 03/14/2014 07:35 PM, Mark Rutland wrote:
On Fri, Mar 14, 2014 at 07:14:37AM +, Chanwoo Choi wrote:
Hi Mark,
On 03/14
On Fri, 14 Mar 2014 16:39:38 -0500, Rob Herring wrote:
> On Fri, Mar 14, 2014 at 12:11 PM, Grant Likely
> wrote:
> > Make of_find_node_by_path() handle aliases as prefixes. To make this
> > work the name search is refactored to search by path component instead
> > of by full string. This should
There may be many couples of CPU/CODEC DAI links.
The example 2 is extracted from the Cubox DT.
Signed-off-by: Jean-Francois Moine
---
.../devicetree/bindings/sound/simple-card.txt | 34 +-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/Documentation/devic
On Sat, Mar 15, 2014 at 2:35 AM, Tomasz Figa wrote:
> Hi Chanwoo, Mark,
>
>
> On 14.03.2014 11:56, Chanwoo Choi wrote:
>>
>> Hi Mark,
>>
>> On 03/14/2014 07:35 PM, Mark Rutland wrote:
>>>
>>> On Fri, Mar 14, 2014 at 07:14:37AM +, Chanwoo Choi wrote:
Hi Mark,
On 03/14/2014 0
On Saturday 15 March 2014, Loc Ho wrote:
> This patch adds support for the APM X-Gene SoC AHCI SATA host controller
> driver. It requires the corresponding APM X-Gene SoC PHY driver. This
> initial version only supports Gen3 speed.
This version seems workable, thanks for the quick follow-up.
The
On Saturday 15 March 2014, Loc Ho wrote:
> This patch adds APM X-Gene SoC AHCI SATA host controller DTS entries.
>
> Signed-off-by: Loc Ho
> Signed-off-by: Tuan Phan
> Signed-off-by: Suman Tripathi
Acked-by: Arnd Bergmann
--
To unsubscribe from this list: send the line "unsubscribe devicetree
On Saturday 15 March 2014, Loc Ho wrote:
> This patch adds documentation for the APM X-Gene SoC SATA host controller DTS
> binding.
>
> Signed-off-by: Loc Ho
> Signed-off-by: Tuan Phan
> Signed-off-by: Suman Tripathi
Acked-by: Arnd Bergmann
--
To unsubscribe from this list: send the line "uns
On Saturday 15 March 2014, Loc Ho wrote:
> This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose
> PHY driver. The PHY for SATA controller 2 and 3 are enabled by default.
>
> Signed-off-by: Loc Ho
> Signed-off-by: Tuan Phan
> Signed-off-by: Suman Tripathi
Acked-by: Arnd B
On Friday 14 March 2014, Loc Ho wrote:
> > I still think it's rather unlikely that we will actually see ACPI support
> > on your platform, btw.
> >
> > I'm willing to look at the patches you need for it, but I'm not very
> > optimistic, in particular because of the kind of hacks you need
> > for r
On Saturday 15 March 2014, Tanmay Inamdar wrote:
> On Fri, Mar 14, 2014 at 5:07 AM, Arnd Bergmann wrote:
> > On Thursday 06 March 2014, Tanmay Inamdar wrote:
> >> + pcie0: pcie@1f2b {
> >> + status = "disabled";
> >> + device_type = "pci";
>
Am 14.03.2014 20:52, schrieb Linus Walleij:
So a few Tested-by's from the people using this driver would for
example convince me that it is solving a real problem for them
and it needs to go into fixes.
2001: a space odyssey is fast action movie compared with the movie
kernel bug fixing. And
73 matches
Mail list logo