History log of /include/linux/mtd/sh_flctl.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cfe781946dac7f5ff42e23cd7054c75e7201fbdc 18-Mar-2012 Bastian Hecht <hechtb@googlemail.com> mtd: sh_flctl: Add power management with QoS request

Adds power management code with fine granularity. Every flash control
command is enclosed by runtime_put()/get()s. To make sure that no
overhead is generated by too frequent power state switches, a quality of
service request is issued.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/include/linux/mtd/sh_flctl.h
3f2e924b26989bbe1ad600a83fdc72a3056104d1 01-Mar-2012 Bastian Hecht <hechtb@googlemail.com> mtd: sh_flctl: Add FLHOLDCR register

Add a register used in new FLCTL hardware and a feature flag for it.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/include/linux/mtd/sh_flctl.h
0b3f0d12eff1ed23496fcf4cf468e1d317516e53 01-Mar-2012 Bastian Hecht <hechtb@googlemail.com> mtd: sh_flctl: Use cached register value for FLCMNCR

Instead of reading out the register, use a cached value. This will
make way for a proper runtime power management implementation.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/include/linux/mtd/sh_flctl.h
b6a5588b27f21d74ae35709b56e969d536f1eed0 01-Mar-2012 Bastian Hecht <hechtb@googlemail.com> mtd: sh_flctl: Expand FLCMNCR register bit field

Add support for a new hardware generation. The meaning of some bits
of the FLCMNCR register changed, so some new defines are added
parallel to the existing ones to keep backward compatibility.

The defines allow to choose an appropriate clocking scheme.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/include/linux/mtd/sh_flctl.h
1cd2620ca9332943c9fff84c0c9240982534d840 13-May-2010 Peter Huewe <peterhuewe@gmx.de> mtd/nand/sh_flctl: Move function mtd_to_flctl to fix build failure

This patch fixes a build failure[1] by simply moving the function mtd_to_flctl
beneath the definition of sh_flctl which it uses.

BF introduced by patch
'mtd/nand/sh_flctl: Replace the dangerous mtd_to_flctl macro' (67026418)

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/include/linux/mtd/sh_flctl.h
67026418f534045525a7c39f506006cd7fbd197f 23-Mar-2010 Ferenc Wagner <wferi@niif.hu> mtd/nand/sh_flctl: Replace the dangerous mtd_to_flctl macro

The original macro worked only when applied to variables named 'mtd'.
While this could have been fixed by simply renaming the macro argument,
a more type-safe replacement is preferred.

Signed-off-by: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/include/linux/mtd/sh_flctl.h
010ab820582d03bcd3648416b5837107e8a9c5f3 27-Jan-2010 Magnus Damm <damm@opensource.se> mtd: sh_flctl SHBUSSEL and SEL_16BIT support

This patch extends the sh_flctl driver with support
for 16-bit bus configuration using SEL_16BIT and
support for multiplexed pins using SHBUSSEL.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mtd/sh_flctl.h
b79c7adf82e8b8a6d6ad1dadf7e687a4a030cf8c 02-Feb-2010 Magnus Damm <damm@opensource.se> mtd: trivial sh_flctl changes

This patch contains a few changes for the sh_flctl driver:
- not sh7723-only driver - get rid of kconfig dependency
- use dev_err() instead of printk()
- use __devinit and __devexit for probe()/remove()
- fix probe() return values

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/include/linux/mtd/sh_flctl.h
6028aa01f759a1dae11e5d0e495b3dc9d2b0a47b 14-Oct-2008 Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> [MTD] [NAND] sh_flctl: add support for Renesas SuperH FLCTL

Several Renesas SuperH CPU has FLCTL. The FLCTL support NAND Flash.
This driver support SH7723.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/include/linux/mtd/sh_flctl.h