linux-uconsole/Documentation/devicetree/bindings/misc
Vladimir Zapolskiy b4c3fcb3c7 misc: sram: extend usage of reserved partitions
This change adds functionality to operate on reserved SRAM partitions
described in device tree file. Two partition properties are added,
"pool" and "export", the first one allows to share a specific partition
for usage by a kernel consumer in the same manner as it is done for
the whole SRAM device, and "export" property provides access to some
SRAM area from userspace over sysfs interface. Practically it is
possible to specify both properties for an SRAM partition, however
simultaneous access from a kernel consumer and from userspace is not
serialized, but still the combination may be useful for debugging
purpose.

The change opens the following scenarios of SRAM usage:
* updates in a particular SRAM area specified by offset and size are
  done by bootloader, then this information is utilized by the kernel,
* a particular SRAM area is rw accessed from userspace, the stored
  data is persistent on soft reboots,
* a device driver secures SRAM area for its purposes,
* etc.

Note, strictly speaking the added optional properties describe policy
of SRAM usage, rather than hardware, but here the policy mostly
resembles flash partitions in devicetree, which is undoubtedly
a very popular option but it does not describe hardware.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-17 21:51:47 -07:00
..
arm-charlcd.txt dt/bindings: add binding for ARM Versatile character LCD 2014-05-03 19:26:25 -04:00
at25.txt misc/at25, dt: Improve at25 SPI eeprom device tree bindings. 2012-09-05 14:10:29 -07:00
atmel-ssc.txt Binding: atmel-ssc: add option to choose clock 2014-02-12 17:21:36 +00:00
bmp085.txt misc: bmp085: devicetree irq update. 2013-12-04 20:23:51 -08:00
brcm,kona-smc.txt dt-bindings: brcm: rationalize Broadcom documentation naming 2015-03-26 12:14:11 -05:00
fsl,qoriq-mc.txt Documentation: DT: Add entry for FSL Management Complex 2015-01-27 15:05:49 -08:00
ifm-csi.txt dt/misc: add bindings documentation for ifm camera sensor interface 2012-09-14 10:10:32 +02:00
lis302.txt Documentation: DT: lis302: update wakeup binding 2015-04-03 16:20:54 +02:00
nvidia,tegra20-apbmisc.txt of: Document long-ram-code property in nvidia,tegra20-apbmisc 2015-05-04 14:21:20 +02:00
sram.txt misc: sram: extend usage of reserved partitions 2015-10-17 21:51:47 -07:00
ti,dac7512.txt drivers: misc: ti_dac7512: add support for DT matching 2013-09-26 09:04:06 -07:00