On Thu, 15 Nov 2012, Grant Likely wrote:
On Sun, 11 Nov 2012 17:21:29 +0100, Andrew Lunn and...@lunn.ch wrote:
From: Jamie Lentin j...@lentin.co.uk
Given appropriate devicetree bindings, this driver registers a
pm_power_off function to set a GPIO line high/low to power down
your board
Allow a gpio-fan to be defined in devicetree, see binding documentation
for details.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
Acked-by: Andrew Lunn and...@lunn.ch
---
Changes since V2:-
* Correct error message terminology
* Check of_gpio_count returns some GPIOs [Guenter Roeck]
* Whitespace
instead of CONFIG_OF
* Apply __devinitdata to of_gpio_fan_match [Andrew Lunn]
* Remove useless gpio-fan.h [Andrew Lunn]
Feedback appreciated!
Jamie Lentin (2):
hwmon: Add devicetree bindings to gpio-fan
ARM: kirkwood: Use devicetree to define DNS-32[05] fan
.../devicetree/bindings/gpio/gpio
Remove more board-specific code by using devicetree to define the fan
attached to both boards.
Changes since V1:-
* Remove now-useless gpio-fan.h [Andrew Lunn]
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dnskw.dtsi | 10 ++
arch/arm/mach-kirkwood/board
of_prop_next_u32 to get records in a more obvious fashion
* Use CONFIG_OF_GPIO instead of CONFIG_OF
* Apply __devinitdata to of_gpio_fan_match [Andrew Lunn]
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
.../devicetree/bindings/gpio/gpio-fan.txt | 25 +
drivers/hwmon/gpio-fan.c
On Mon, 10 Sep 2012, Andrew Lunn wrote:
On Mon, Sep 10, 2012 at 02:51:51PM +0100, Jamie Lentin wrote:
Allow a gpio-fan to be defined in devicetree, see binding documentation
for details.
Changes since V1:-
* Don't hide return codes [Guenter Roeck]
* Remove typecast noise [Guenter Roeck]
* Use
Remove more board-specific code by using devicetree to define the fan
attached to both boards.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dnskw.dtsi | 10 ++
arch/arm/mach-kirkwood/board-dnskw.c | 25 -
2 files changed, 10
This is an attempt at getting DT support into gpio-fan, in a similar
fashion to gpio-leds and gpio-keys. I guess the most contentious bit is
going to be the bindings.
Tested on a D-Link DNS-320.
Feedback appreciated!
Jamie Lentin (2):
hwmon: Add devicetree bindings to gpio-fan
ARM: kirkwood
Allow a gpio-fan to be defined in devicetree, see binding documentation
for details.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
.../devicetree/bindings/gpio/gpio-fan.txt | 25 +
drivers/hwmon/gpio-fan.c | 111
2 files changed
Replace code in board-dnskw with the equivalent devicetree bindings.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dns320.dts | 25 +
arch/arm/boot/dts/kirkwood-dns325.dts | 25 +
arch/arm/mach-kirkwood/board-dnskw.c | 90
.
Jamie Lentin (3):
kirkwood: Replace DNS-320/DNS-325 leds with dt bindings
ARM: Kirkwood: Move common portions into a kirkwood-dnskw.dtsi
ARM: Kirkwood: Describe DNS32? gpio-keys in DT.
arch/arm/boot/dts/kirkwood-dns320.dts | 67 +++-
arch/arm/boot/dts/kirkwood-dns325.dts | 71
From: Andrew Lunn and...@lunn.ch
Now that we have I2C support in DT, describe the LM75 in
the DT file for the DNS325.
Signed-off-by: Andrew Lunn and...@lunn.ch
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dns325.dts |8
arch/arm/mach-kirkwood/board
A lot of device setup is shared between DNS-320 and DNS-325, move the
definitions into a common include.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dns320.dts | 42 +
arch/arm/boot/dts/kirkwood-dns325.dts | 42
Move description of GPIO keys on both the DNS320 and DNS325 into DT.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dnskw.dtsi | 21 +++
arch/arm/mach-kirkwood/board-dnskw.c | 37 -
2 files changed, 21 insertions
Cooper ja...@lakedaemon.net
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dns320.dts | 35 +
arch/arm/boot/dts/kirkwood-dns325.dts | 35 +
2 files changed, 70 insertions(+), 0 deletions(-)
diff --git
Add default configuration for NAND, to be enabled in your board config. Ensure
clock gating is set appropriately when the NAND is enabled.
Acked-by: Jason Cooper ja...@lakedaemon.net
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood.dtsi | 15 ++-
arch
isn't worth it.
* s/marvell,/mrvl,/g
* Include an example dtb partition in documentation
* Copy structure of serial nodes to allow common options for NAND to be set
in kirkwood.dtsi
* Simplifications in orion-nand.c
Jamie Lentin (4):
ARM: kirkwood: Basic support for DNS-320 and DNS-325
mtd: Add
to be in bytes
* Add explicit defaults for cle, ale and bank-width
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
.../devicetree/bindings/mtd/orion-nand.txt | 50
drivers/mtd/nand/orion_nand.c | 45 +-
2 files changed, 93
brain-dead select select CONFIG_MTD_OF_PARTS [Grant Likely]
* Don't add NAND support then throw it away immediately after [Grant Likely]
* Describe purpose of MPP 41, 42 49
Changes since last submission (V2):-
* Use IEEE-compliant okay, rather than ok [Scott Wood]
Signed-off-by: Jamie Lentin j
,
Jason.
--
Jamie Lentin
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
not aware of? I know Conceptronic sold a ~identical device to
the DNS-323, but not aware of anything else. You never know who truly
makes the devices nowadays anyway.
--
Jamie Lentin
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
On Mon, 9 Apr 2012, Arnd Bergmann wrote:
On Friday 06 April 2012, Grant Likely wrote:
On Wed, 28 Mar 2012 08:19:59 +, Arnd Bergmann a...@arndb.de wrote:
On Tuesday 27 March 2012, Jamie Lentin wrote:
Add support for the DNS-320 and DNS-325. Describe as much as currently possible
Allow a NAND chip using the orion_nand driver to be described using devicetree.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
* WARN when bank-width is out of range, as suggested by Andrew Lunn
* Document all parameters.
* Convert bank-width to be in bytes
* Add explicit defaults for cle
Use devicetree to define NAND partitions. Use D-link partition scheme by
default, to be vaguely compatible with their userland.
Acked-by: Arnd Bergmann a...@arndb.de
Acked-by: Jason Cooper ja...@lakedaemon.net
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
Unchanged since V3
arch/arm/boot
Add default configuration for NAND, to be enabled in your board config. Ensure
clock gating is set appropriately when the NAND is enabled.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
Update bank-width to be in bytes
arch/arm/boot/dts/kirkwood.dtsi | 15 ++-
arch/arm/mach
to allow common options for NAND to be set
in kirkwood.dtsi
* Simplifications in orion-nand.c
Jamie Lentin (3):
mtd: Add orion_nand devicetree bindings
kirkwood: Allow nand to be configured via. devicetree
ARM: kirkwood: Define DNS-320/DNS-325 NAND in fdt
.../devicetree/bindings/mtd/orion
Allow a NAND chip using the orion_nand driver to be described using devicetree.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
* Document all parameters.
* Convert bank-width to be in bytes
* Add explicit defaults for cle, ale and bank-width
.../devicetree/bindings/mtd/orion-nand.txt
Add default configuration for NAND, to be enabled in your board config. Ensure
clock gating is set appropriately when the NAND is enabled.
Acked-by: Arnd Bergmann a...@arndb.de
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood.dtsi | 15 ++-
arch/arm/mach
Allow a NAND chip using the orion_nand driver to be described using devicetree.
Acked-by: Arnd Bergmann a...@arndb.de
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
.../devicetree/bindings/mtd/orion-nand.txt | 46
drivers/mtd/nand/orion_nand.c
Jamie Lentin (5):
ARM: kirkwood: Basic support for DNS-320 and DNS-325
mtd: Add orion_nand devicetree bindings
ARM: kirkwood: Allow nand to be configured via. devicetree
ARM: kirkwood: Define DNS-320/DNS-325 NAND in fdt
mtd: Move fdt partition documentation to a seperate file
Use devicetree to define NAND partitions. Use D-link partition scheme by
default, to be vaguely compatible with their userland.
Acked-by: Arnd Bergmann a...@arndb.de
Acked-by: Jason Cooper ja...@lakedaemon.net
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dns320
), Jamie Lentin j...@lentin.co.uk
+ *
+ * arch/arm/mach-kirkwood/board-dnskw.c
+ *
+ * D-link DNS-320 DNS-325 NAS Init for drivers not converted to
+ * flattened device tree yet.
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed
On Mon, 26 Mar 2012, Scott Wood wrote:
On 03/26/2012 11:20 AM, Jason Cooper wrote:
On Mon, Mar 26, 2012 at 10:53:29AM -0500, Scott Wood wrote:
On 03/24/2012 08:14 AM, Jamie Lentin wrote:
Use devicetree to define NAND partitions. Use D-link partition scheme by
default, to be vaguely
the dtb for you anyway.
Jamie Lentin (3):
ARM: kirkwood: Basic support for DNS-320 and DNS-325
ARM: kirkwood: Convert orion-nand to fdt
ARM: kirkwood: Define NAND partitions in dts
.../devicetree/bindings/mtd/orion-nand.txt | 46
arch/arm/boot/dts/kirkwood-dns320.dts
Add support for the DNS-320 and DNS-325. Describe as much as currently possible
in the devicetree files, create a board-dnskw.c for everything else.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dns320.dts | 29 +++
arch/arm/boot/dts/kirkwood-dns325.dts | 24
-by: Jamie Lentin j...@lentin.co.uk
---
.../devicetree/bindings/mtd/orion-nand.txt | 46
arch/arm/boot/dts/kirkwood.dtsi| 15 ++-
arch/arm/mach-kirkwood/common.c| 12 +
drivers/mtd/nand/orion_nand.c
Use devicetree to define NAND partitions. Use D-link partition scheme by
default, to be vaguely compatible with their userland.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dns320.dts | 35 +
arch/arm/boot/dts/kirkwood-dns325.dts
partition table documentation into a separate file and reference
this.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
Re-arranged documentation as you suggest, however it's tempting to have
this as a separate patch and add references to partition.txt for the other
binding documentation files
a closer look.
Happy to resubmit, breaking it out into a board-dnskw.c though.
--
Jamie Lentin
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
On Mon, 12 Mar 2012 03:02:32 -, Jason Cooper ja...@lakedaemon.net
wrote:
On Sun, Mar 11, 2012 at 02:33:25PM +, Jamie Lentin wrote:
Add support for the DNS-320 and DNS-325. Describe as much as currently
possible
in the devicetree files, leave everything else in board-dt.c
The DNS-320 and 325 have a NAND partitioned to store uboot, uimage and root
filesystem. Store this information in devicetree.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
.../devicetree/bindings/mtd/orion-nand.txt | 41 +++
arch/arm/boot/dts/kirkwood-dns320.dts
Add support for the DNS-320 and DNS-325. Describe as much as currently possible
in the devicetree files, leave everything else in board-dt.c to be patched
later.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
---
arch/arm/boot/dts/kirkwood-dns320.dts | 54 ++
arch/arm/boot/dts/kirkwood
On Thu, 1 Mar 2012, Jason wrote:
On Wed, Feb 29, 2012 at 02:40:10PM +, Arnd Bergmann wrote:
On Sunday 12 February 2012, Jamie Lentin wrote:
This patch adds support for the D-Link DNS-320 DNS-325 NAS. Kirkwood-based
successors to the DNS-323.
Signed-off-by: Jamie Lentin j...@lentin.co.uk
43 matches
Mail list logo