Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2131770rwn; Fri, 16 Sep 2022 06:13:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM47HMBpv+M+xk3kCJmcYxzr95H5Iz04ws1xVFuRsRG1G+OcwUNCIpNYa0rkRVIzwfTw40R+ X-Received: by 2002:a17:90a:2b0a:b0:1ff:f1cc:b430 with SMTP id x10-20020a17090a2b0a00b001fff1ccb430mr16463382pjc.243.1663333999613; Fri, 16 Sep 2022 06:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663333999; cv=none; d=google.com; s=arc-20160816; b=K/hgb4PNifSe2G0Hab1LBDM7/d7injDrD+ipxVLaBTvLtWA1+ztF2pnEveRgf+6QyE z9V6fuicjdT43H2TTW0UQtAUp9Uc9m5k+THdjtL8n4KOMIfzDDPfqlqNAXWIVWv8TyD2 l8+KSB8zLJ2oJUfqN0JwojndJxqNLho3peXv75fV60F6zGHMfC0pSDL1ymoRqPqyqW/C kX3JL4V6sWRWIQRigYQH5+gawjLqMGbZGgcodMsNjDwyI6Vq779N3yZnPvguU/6hPIug //U4Kw9f6A/VSbW+fgZ+sqZsv6JHOG8EE9JSyRqiIzUhXW6o+cXmVDamVByw0dmXmorl SwUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zxb2eOYdbFuIwriIiJENiShYuzhFLs8VI8hEdSxtZI4=; b=LWE2XmpbshuomPxurQ2Cj5NTUBXvqCFLTF0TGzhL0h30naKExpLXXQGXImMIqgpUQb pm0AslRTTyDdaIfT8FyyUgVadSEvNpHHovRI9mNklaVgVjaaeBbaAmHg11cO7rtF5snY 8X9QkwxJiTGGDP8IjCupIVYEtKx5zwLQTKBhO186SfNADyJJTv+1+02lqhay1NHELYqP 4ms9BiK2kMYh7rYGYg2BXtxthERi5+bf/9CT9RYtFeLozycKiG6SGSssFbQxZIIKiC0l YPhsBEpsbkfBykh8+XZrfj1+mf0oJs80QDVc1jlT7XqgaxstvzG37SE2Zt+F80bdsh7A zeHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dJENqT5S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020aa79565000000b00540a2ff5351si20426396pfq.304.2022.09.16.06.13.06; Fri, 16 Sep 2022 06:13:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dJENqT5S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231628AbiIPMWE (ORCPT + 99 others); Fri, 16 Sep 2022 08:22:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231567AbiIPMVZ (ORCPT ); Fri, 16 Sep 2022 08:21:25 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C77AB14DF for ; Fri, 16 Sep 2022 05:21:21 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id d2so201008wrq.2 for ; Fri, 16 Sep 2022 05:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=zxb2eOYdbFuIwriIiJENiShYuzhFLs8VI8hEdSxtZI4=; b=dJENqT5SmssLbc9m96wJVytWaLVPEqOYq8HoGtclBFP40G6/qaEymUD4L4ptdBGP3R x5r+jgSQRb+RJY2o1UEDn50v+zZx56VEuBQZQNJgJ0+y9qpzdldYokd3v3Sax2l/ykVD +eK+1vI5ZlrT0w5RLJEGRDRD7pey/Zksj1M+P+a1wZcI3hEtyyQULMNOOnjI2e5bGH8f 0xRAMrw75bbKd6PBzJmX/t++WiIGeLqCPI7wmrOQV+FagUybQwGCEBFHm6IDVX//ZfKs IZbId06UnCwcrOPfHeJM9IqiZwyeBGw8lbnhqa8wjiB6OqSU/vwoj8mG1Po+B93l3yhk 2w9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=zxb2eOYdbFuIwriIiJENiShYuzhFLs8VI8hEdSxtZI4=; b=RxNcrMhRpWlbUcvXvCakHoBlVGhDV7LEf/XIjlTU8QcSrnUC/UrVhO4AroP5g9uher SiWlfUCFWQjx8euRsKrYc9PpQr0qyeqH/uy8jQ3Z23eCcAJWujnD3f8xo2Q1htlp7TYx pZHJOjgZMIG9dMcDDZq7qCNc1ymXv1aWDv1pv3JzI/qL9hbWZsLkDhlL/YkH6sxkOghz DgXNjiyWyFY8nfNwF9UQNRXNv0lTW/wom2AYyUY6QcnD0mj1KPOziBbOyj5sB+3MaIpj 8qWj0SWdVZTdYbxwmHz2bUcKW9/03Mz1x4245V4c/GhaHrthh5eWszw5U3OEDXZxP42W CO+Q== X-Gm-Message-State: ACrzQf3pg/9uHR9O4kI1kod9p+Z/S5b/TrE0WHXA1jlcEbRhWU0XTpzf kCVYlNGgTdfVz6dtSMNT1dg4Kw== X-Received: by 2002:a5d:5452:0:b0:228:d6f0:dbeb with SMTP id w18-20020a5d5452000000b00228d6f0dbebmr2741501wrv.84.1663330879251; Fri, 16 Sep 2022 05:21:19 -0700 (PDT) Received: from srini-hackbase.lan (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.gmail.com with ESMTPSA id u11-20020adfdb8b000000b0022add371ed2sm1540015wri.55.2022.09.16.05.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 05:21:18 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Horatiu Vultur , Krzysztof Kozlowski , Srinivas Kandagatla Subject: [PATCH 11/13] dt-bindings: lan9662-otpc: document Lan9662 OTPC Date: Fri, 16 Sep 2022 13:20:58 +0100 Message-Id: <20220916122100.170016-12-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220916122100.170016-1-srinivas.kandagatla@linaro.org> References: <20220916122100.170016-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Horatiu Vultur Document Lan9662 OTP controller. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Horatiu Vultur Signed-off-by: Srinivas Kandagatla --- .../nvmem/microchip,lan9662-otpc.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml diff --git a/Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml b/Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml new file mode 100644 index 000000000000..f97c6beb4766 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/microchip,lan9662-otpc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip LAN9662 OTP Controller (OTPC) + +maintainers: + - Horatiu Vultur + +description: | + OTP controller drives a NVMEM memory where system specific data + (e.g. hardware configuration settings, chip identifiers) or + user specific data could be stored. + +allOf: + - $ref: nvmem.yaml# + +properties: + compatible: + oneOf: + - items: + - const: microchip,lan9668-otpc + - const: microchip,lan9662-otpc + - enum: + - microchip,lan9662-otpc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + otpc: otp@e0021000 { + compatible = "microchip,lan9662-otpc"; + reg = <0xe0021000 0x300>; + }; + +... -- 2.25.1