git.samba.org - sfrench/cifs-2.6.git/atom - Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt history Unnamed repository; edit this file 'description' to name the repository. http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git Steve French //www.samba.org/samba/style/2010/grey/favicon.ico //www.samba.org/samba/style/2010/samba_2010_logo_transparent_151x27.png 2019-06-19T17:35:51Z gitweb dt-bindings: nvmem: Convert Allwinner SID to a schema 2019-06-14T14:32:21Z Maxime Ripard maxime.ripard@bootlin.com Greg Kroah-Hartman gregkh@linuxfoundation.org 2019-06-14T14:32:21Z http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git;a=commitdiff;h=42c3dcedc6b76b1383e1b63be82b84c058b5a8ad
dt-bindings: nvmem: Convert Allwinner SID to a schema

The Allwinner SoCs have an efuse supported in Linux, with a matching Device
Tree binding.

Now that we have the DT validation in place, let's convert the device tree
bindings for that controller over to a YAML schemas.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • [D] Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
nvmem: sunxi-sid: add binding for H6's SID controller 2019-04-13T10:33:03Z Yangtao Li tiny.windzz@gmail.com Greg Kroah-Hartman gregkh@linuxfoundation.org 2019-04-13T10:33:03Z http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git;a=commitdiff;h=f6edbb38ea8369bf366475924ba02178e4c25183
nvmem: sunxi-sid: add binding for H6's SID controller

Add a binding for H6's SID controller.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • [D] Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
nvmem: sunxi-sid: fix wrong description in kernel doc 2019-04-13T10:33:02Z Yangtao Li tiny.windzz@gmail.com Greg Kroah-Hartman gregkh@linuxfoundation.org 2019-04-13T10:33:02Z http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git;a=commitdiff;h=b8371fc104d3acb87b04dbc70e75eda4714931e6
nvmem: sunxi-sid: fix wrong description in kernel doc

qfprom->sunxi-sid

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • [D] Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
nvmem: sunxi-sid: add support for H5's SID controller 2018-07-27T11:52:04Z Emmanuel Vadot manu@freebsd.org Maxime Ripard maxime.ripard@bootlin.com 2018-07-27T11:52:04Z http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git;a=commitdiff;h=ea2698597e13e2d812929d3ba33946e78a8db4d1
nvmem: sunxi-sid: add support for H5's SID controller

The H5 SoC have a SID controller that looks like the one in A64, the
cells are in the same offset but doesn't contain the same data (thermal
sensor calibration for example).
Add a binding for it.

Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
  • [D] Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
ARM: dts: sunxi: Add sid for a83t 2018-04-19T14:11:03Z kevans@FreeBSD.org kevans@FreeBSD.org Maxime Ripard maxime.ripard@bootlin.com 2018-04-19T14:11:03Z http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git;a=commitdiff;h=9a209c6e952c71b00ee29dbf6cab0da766be7fe0
ARM: dts: sunxi: Add sid for a83t

Allwinner a83t has a 1 KB sid block with efuse for security rootkey and thermal
calibration data, add node to describe it.

a83t-sid is not currently supported by nvmem/sunxi-sid, but it is
supported in an external driver for FreeBSD.

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
  • [D] Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
Merge tag 'char-misc-4.15-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel... 2017-11-16T17:10:59Z Linus Torvalds torvalds@linux-foundation.org Linus Torvalds torvalds@linux-foundation.org 2017-11-16T17:10:59Z http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git;a=commitdiff;h=2bf16b7a73caf3435f782e4170cfe563675e10f9
Merge tag 'char-misc-4.15-rc1' of ssh://gitolite./linux/kernel/git/gregkh/char-misc

Pull char/misc updates from Greg KH:
 "Here is the big set of char/misc and other driver subsystem patches
  for 4.15-rc1.

  There are small changes all over here, hyperv driver updates, pcmcia
  driver updates, w1 driver updats, vme driver updates, nvmem driver
  updates, and lots of other little one-off driver updates as well. The
  shortlog has the full details.

  All of these have been in linux-next for quite a while with no
  reported issues"

* tag 'char-misc-4.15-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (90 commits)
  VME: Return -EBUSY when DMA list in use
  w1: keep balance of mutex locks and refcnts
  MAINTAINERS: Update VME subsystem tree.
  nvmem: sunxi-sid: add support for A64/H5's SID controller
  nvmem: imx-ocotp: Update module description
  nvmem: imx-ocotp: Enable i.MX7D OTP write support
  nvmem: imx-ocotp: Add i.MX7D timing write clock setup support
  nvmem: imx-ocotp: Move i.MX6 write clock setup to dedicated function
  nvmem: imx-ocotp: Add support for banked OTP addressing
  nvmem: imx-ocotp: Pass parameters via a struct
  nvmem: imx-ocotp: Restrict OTP write to IMX6 processors
  nvmem: uniphier: add UniPhier eFuse driver
  dt-bindings: nvmem: add description for UniPhier eFuse
  nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset
  nvmem: qfprom: fix different address space warnings of sparse
  nvmem: mtk-efuse: fix different address space warnings of sparse
  nvmem: mtk-efuse: use stack for nvmem_config instead of malloc'ing it
  nvmem: imx-iim: use stack for nvmem_config instead of malloc'ing it
  thunderbolt: tb: fix use after free in tb_activate_pcie_devices
  MAINTAINERS: Add git tree for Thunderbolt development
  ...
  • [D] Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
dt-bindings: Remove leading zeros from bindings notation 2017-11-08T16:27:48Z Marco Franchi marco.franchi@nxp.com Rob Herring robh@kernel.org 2017-11-08T16:27:48Z http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git;a=commitdiff;h=48c926cd3414c7e628909f6f831394184816da87
dt-bindings: Remove leading zeros from bindings notation

Improve the binding example by removing all the leading zeros to fix the
following dtc warnings:

Warning (unit_address_format): Node /XXX unit name should not have leading 0s

Converted using the following command:

perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find ./Documentation/devicetree/bindings "*.txt"`

Some unnecessary changes were manually fixed.

Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
  • [D] Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
nvmem: sunxi-sid: add support for A64/H5's SID controller 2017-10-24T09:54:34Z Icenowy Zheng icenowy@aosc.io Greg Kroah-Hartman gregkh@linuxfoundation.org 2017-10-24T09:54:34Z http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git;a=commitdiff;h=b7fe57b802c4f12da20920229acb9fff92300ad4
nvmem: sunxi-sid: add support for A64/H5's SID controller

Allwinner A64/H5 SoCs come with a SID controller like the one in H3, but
without the silicon bug that makes the initial value at 0x200 wrong, so
the value at 0x200 can be directly read.

Add support for this kind of SID controller.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • [D] Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
nvmem: sunxi-sid: add support for H3's SID controller 2017-03-31T12:44:48Z Icenowy Zheng icenowy@aosc.xyz Greg Kroah-Hartman gregkh@linuxfoundation.org 2017-03-31T12:44:48Z http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git;a=commitdiff;h=1a9636426b9f994d57dfe5a64e3f4644747a2e95
nvmem: sunxi-sid: add support for H3's SID controller

The H3 SoC have a bigger SID controller, which has its direct read
address at 0x200 position in the SID block, not 0x0.

Also, H3 SID controller has some silicon bug that makes the direct read
value wrong at cold boot, add code to workaround the bug. (This bug has
already been fixed on A64 and later SoCs)

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • [D] Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
nvmem: sunxi: Move the SID driver to the nvmem framework 2015-07-27T11:17:09Z Maxime Ripard maxime.ripard@free-electrons.com Greg Kroah-Hartman gregkh@linuxfoundation.org 2015-07-27T11:17:09Z http://git.samba.org/samba.git/?p=sfrench/cifs-2.6.git;a=commitdiff;h=3d0b16a66c8a9d10294572c6f79df4f15a27825d
nvmem: sunxi: Move the SID driver to the nvmem framework

Now that we have the nvmem framework, we can consolidate the common
driver code. Move the driver to the framework, and hopefully, it will
fix the sysfs file creation race.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
[srinivas.kandagatla: Moved to regmap based EEPROM framework]
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • [D] Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt