kernel-fxtec-pro1x/Documentation/ABI/stable
Srinivas Kandagatla b64cdce733 nvmem: core: add NVMEM_SYSFS Kconfig
Many nvmem providers are not very keen on having default sysfs
nvmem entry, as most of the usecases for them are inside kernel
itself. And in some cases read/writes to some areas in nvmem are
restricted and trapped at secure monitor level, so accessing them
from userspace would result in board reboots.

This patch adds new NVMEM_SYSFS Kconfig to make binary sysfs entry
an optional one. This provision will give more flexibility to users.
This patch also moves existing sysfs code to a new file so that its
not compiled in when its not really required.

Change-Id: I0a1c416f36c502fe887a920aa117ccfae58e8d07
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Gaurav Kohli <gkohli@codeaurora.org>
Tested-by: Gaurav Kohli <gkohli@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: ae0c2d725512f32a0d1a25f0cf2f07616d33a72e
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[gkohli@codeaurora: Resolve trivial merge conflicts]
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2019-07-28 21:00:13 -07:00
..
firewire-cdev firewire: ABI documentation: libhinawa uses firewire-cdev 2016-03-12 10:55:46 +01:00
o2cb
syscalls
sysfs-acpi-pmprofile ACPI: Export FADT pm_profile integer value to userspace 2011-11-06 20:48:42 -05:00
sysfs-bus-firewire firewire: core: document is_local sysfs attribute 2012-06-30 10:49:06 +02:00
sysfs-bus-nvmem nvmem: core: add NVMEM_SYSFS Kconfig 2019-07-28 21:00:13 -07:00
sysfs-bus-usb docs-rst: fix usb cross-references 2017-04-11 14:41:29 -06:00
sysfs-bus-vmbus Drivers: hv: vmbus: add numa_node to sysfs 2018-07-29 08:09:56 +02:00
sysfs-bus-w1 w1: introduce an ability to specify microseconds bus scanning intervals 2015-05-24 12:08:59 -07:00
sysfs-bus-xen-backend xen: export device state to sysfs 2018-08-28 17:37:40 -04:00
sysfs-class-backlight backlight: add backlight type 2011-03-22 17:43:59 -07:00
sysfs-class-infiniband Documentation/ABI: update infiniband sysfs interfaces 2018-02-23 08:18:33 -07:00
sysfs-class-rfkill rfkill: Correctly document rkill subfolder range as >= 0 in sysfs-class-rfkill 2018-06-15 13:35:49 +02:00
sysfs-class-tpm Doc: ABI/stable: Fix typo in ABI/stable 2015-11-02 18:10:33 -07:00
sysfs-class-ubi UBI: Add ro-mode sysfs attribute 2016-05-24 15:15:26 +02:00
sysfs-class-udc Documentation: ABI: sysfs-class-udc: remove duplicated entry 2017-06-13 13:21:04 +03:00
sysfs-devices Documentation: fix admin-guide doc refs 2017-10-12 11:13:28 -06:00
sysfs-devices-node docs/admin-guide/mm: start moving here files from Documentation/vm 2018-04-27 17:02:48 -06:00
sysfs-devices-system-cpu powerpc: Document sysfs DSCR interface 2014-05-28 13:35:40 +10:00
sysfs-devices-system-xen_memory xen/balloon: add runtime control for scrubbing ballooned out pages 2018-09-14 08:51:10 -04:00
sysfs-driver-aspeed-vuart drivers/serial: Add driver for Aspeed virtual UART 2017-05-18 16:19:16 +02:00
sysfs-driver-dma-ioatdma dmaengine: ioatdma: Add ABI document 2017-08-21 21:40:40 +05:30
sysfs-driver-ib_srp IB/srp: Add multichannel support 2014-11-12 12:05:24 +01:00
sysfs-driver-mlxreg-io Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces 2018-08-01 17:41:31 -07:00
sysfs-driver-qla2xxx
sysfs-driver-usb-usbtmc USB: update usbtmc api documentation 2012-04-12 08:26:22 -07:00
sysfs-driver-w1_ds28e04 w1: Add 1-wire slave device driver for DS28E04-100 2012-06-13 16:47:10 -07:00
sysfs-driver-w1_ds28ea00 w1: Add support for DS28EA00 sequence to w1-therm 2015-05-24 12:08:59 -07:00
sysfs-firmware-efi-vars efivars: Add Documentation 2011-03-14 08:40:51 -07:00
sysfs-firmware-opal-dump powerpc/powernv Platform dump interface 2014-03-07 16:19:10 +11:00
sysfs-firmware-opal-elog Doc: ABI/stable: Fix typo in ABI/stable 2015-11-02 18:10:33 -07:00
sysfs-fs-orangefs Orangefs: kernel client part 6 2015-10-03 11:39:59 -04:00
sysfs-hypervisor-xen doc,xen: document hypervisor sysfs nodes for xen 2017-06-15 08:50:15 +02:00
sysfs-module ABI: Clarify when /sys/module/MODULENAME is created 2013-07-02 15:38:20 +09:30
sysfs-transport-srp scsi_transport_srp: Add periodic reconnect support 2013-11-08 14:43:16 -08:00
thermal-notification thermal: Add event notification to thermal framework 2011-01-12 00:08:35 -05:00
vdso doc: ABI: vdso: update parse_vdso.c reference 2017-03-13 17:13:22 -06:00