Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: lan9662-otpc: document Lan9662 OTPC

Document Lan9662 OTP controller.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220916122100.170016-12-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Horatiu Vultur and committed by
Greg Kroah-Hartman
d1b274c4 d4d43267

+45
+45
Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/nvmem/microchip,lan9662-otpc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Microchip LAN9662 OTP Controller (OTPC) 8 + 9 + maintainers: 10 + - Horatiu Vultur <horatiu.vultur@microchip.com> 11 + 12 + description: | 13 + OTP controller drives a NVMEM memory where system specific data 14 + (e.g. hardware configuration settings, chip identifiers) or 15 + user specific data could be stored. 16 + 17 + allOf: 18 + - $ref: nvmem.yaml# 19 + 20 + properties: 21 + compatible: 22 + oneOf: 23 + - items: 24 + - const: microchip,lan9668-otpc 25 + - const: microchip,lan9662-otpc 26 + - enum: 27 + - microchip,lan9662-otpc 28 + 29 + reg: 30 + maxItems: 1 31 + 32 + required: 33 + - compatible 34 + - reg 35 + 36 + unevaluatedProperties: false 37 + 38 + examples: 39 + - | 40 + otpc: otp@e0021000 { 41 + compatible = "microchip,lan9662-otpc"; 42 + reg = <0xe0021000 0x300>; 43 + }; 44 + 45 + ...