Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1031179rwe; Thu, 25 Aug 2022 14:03:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR6H0SHwfG1NqShykRc4XQ7F8GVHdEIe0Ivs/1yq07/V0dsAbB6s6y3Qo+QGv0d3lAxJ6Ub9 X-Received: by 2002:a17:906:c154:b0:733:197:a8c with SMTP id dp20-20020a170906c15400b0073301970a8cmr3666073ejc.483.1661461396768; Thu, 25 Aug 2022 14:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661461396; cv=none; d=google.com; s=arc-20160816; b=Nch8y1hNeYq0GiX1odIteuMov7DNxSYCUqaC5RQ1MVP+6S6l46xdg4h8tbu85Ph8NR od+6dqWa4OVFPpXetVjqD2QOv8yNNkc7cgPJIaH1CucVNu33eEnn7PAwFQe6f8Ga8cCx qTFKs2pk8CSHhP4z1DFdref5gwHVasYYAO8+yvWGjtWf8zQO5G/Unf2tgPgRFQh0I0bZ c50niTfY67oA3mQ5lmzkjnL4OFWXYPYYP/Baa0WSW0hNv0L2+4/g14RHBhVHRUkyZkdO UbxJ2Z40BpNsEli+Hd7xUCwjCp0vBaqXpi500lIsqHBkiFvm/6wP+TgzghCMd/LXtAfJ ZW+g== 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=dviUIrC4RU7+qj1Lk9cYGUdcJKM7H6deOTCJvHEXZic=; b=MLCXWGXnPzG4t6GPLIYI5SupQ1BepqZA4e7wdsOTe2MihdBkcnakBJEy23WeKXQ2kQ gDmWcTy5ZXXVTql6gfw8KF9mbYqhReCrOstiiLipg7GaYKl5CpXxsvhjkU36M71p0LMR 934bAazKrP8Xl94m++Dt5qvM+CXqFdFlR4N4LRmfQ/hQXZm55tw6V7JVdCQw1c6eZu6s A1Onszz1yGHjpTzgkmGcB8/eBPk/V42QRaro07ouuXq2hCo9p+E2s03V5/A0fDukfBSV F0vjk2W6SQuadM9S6Pgze+1UBzRd4b/3vJ6RV57+3OlRN5aas/3kVtAzWjgxwsLGPZph XwtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=shvSvNkr; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a056402190e00b00447cf741e33si354456edz.496.2022.08.25.14.02.47; Thu, 25 Aug 2022 14:03:16 -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=@microchip.com header.s=mchp header.b=shvSvNkr; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230285AbiHYUhA (ORCPT + 99 others); Thu, 25 Aug 2022 16:37:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235039AbiHYUgz (ORCPT ); Thu, 25 Aug 2022 16:36:55 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FEEFB7EC3; Thu, 25 Aug 2022 13:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1661459815; x=1692995815; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LBevIAHgSqMYiw3E6VyoUV5+sLMM3CLXoMdyzz13uTQ=; b=shvSvNkrvOQeDYcy46Gyt05BuihBFyh2Xeo7fbNkrgutt770aL27Z4Mb d17x+uvsfWDXcNmF1zz8mj/zV1IOeIV9q8YUEafTdDXRux9/3UgqxLykJ BE3VG+LzI2Tv55kIEz47UzzQrwqLTLGNW+1rlrmvS7P6X2PLZ8QxoAYtB unEB61vWok2U0OZfnOUZ+8ipgDnO7uV6ktbRJxbF/DSKTTU9UBhW8Qn1i hro6Gsr15I7Aa7q3/PwpQQdakFfvAZAiDxCJQ69qbX/LhtxdctmW6eNvY KNSefl9u/EGxNfrj+9C9NGLq8o8juk3Wqz/RpSLZEv0oICLHKzuKEYtS9 g==; X-IronPort-AV: E=Sophos;i="5.93,264,1654585200"; d="scan'208";a="110790085" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 25 Aug 2022 13:36:54 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 25 Aug 2022 13:36:52 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Thu, 25 Aug 2022 13:36:51 -0700 From: Horatiu Vultur To: , CC: , , , , "Horatiu Vultur" Subject: [PATCH v2 1/2] dt-bindings: lan9662-otpc: document Lan9662 OTPC Date: Thu, 25 Aug 2022 22:40:40 +0200 Message-ID: <20220825204041.1485731-2-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220825204041.1485731-1-horatiu.vultur@microchip.com> References: <20220825204041.1485731-1-horatiu.vultur@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Document Lan9662 OTP controller. Signed-off-by: Horatiu Vultur --- .../nvmem/microchip,lan9662-otpc.yaml | 42 +++++++++++++++++++ 1 file changed, 42 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..3307f6a7a373 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml @@ -0,0 +1,42 @@ +# 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: + items: + - const: microchip,lan9662-otpc + - const: microchip,lan9668-otpc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + otpc: otp@e0021000 { + compatible = "microchip,lan9662-otpc"; + reg = <0xe0021000 0x300>; + }; + +... -- 2.33.0