Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp365445rwe; Thu, 1 Sep 2022 00:14:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR4mQuYUoIPmS9gaew/YGoC99QuYfxoZqMYLBZZHA69QuudH5cJXAxrnOiV2Pl8SjOwhvjH5 X-Received: by 2002:a17:906:844d:b0:730:cd6a:a487 with SMTP id e13-20020a170906844d00b00730cd6aa487mr12451724ejy.50.1662016470675; Thu, 01 Sep 2022 00:14:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662016470; cv=none; d=google.com; s=arc-20160816; b=MNU8qoR1VO3vN3lnPkBBWjvDAZV9+soq3a9BfXJMdycYXteEAw5ZvTnj1G8xAHMqf1 77j7CTKhhYZlzLebX9+t5/YexsXdMd5Ku35M9W3IfeaCPyL5zpGqGrKUI/9gjIMpXoUA Adk5kUGtNNpvwR2Vj7ucnUzD8q5IefFsmOTucRHgiCDzzqIsm2hoQbUbSf9IMSeGW4I8 ZFtCTfGHkT1jjC0EwEc7ftBzaS7ohUExLxr6VWa07NNeUXEmQFbo19MADGNpqQiDmRff E+yeMkGCfnP/oaqky/vy2QA8dMZ0Zj+H+ehdposXFgtSy9K2lLkfrnGMAEHUdA7JeCMP gGUg== 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=okbMVtxBDn8foQ2cnN53F+CSeabbJSjmwp2aTDfGF2w=; b=n+ZM/68/+o7nb0jiWWZJSu88Yz1JZKqIR5TKYPcGZh20z9FHDtcP+ULSK2XSVeqpl0 JvK5wTjC6F4REICmOKqa1o0m3lpVCuDoMfF6mWV51sLvw/DPZQEZh1ywQg1ZNt3KKPKB pZlGulWTCH38tHXbnDWBON3hSoCjl+9LWKeSZ6WxwsABBrq3TII3rqeCrliP2ZP5UVJW h/X4n2v8UykwnK2XKx3GD7q0COH3MapmdxebkvyBFgZomR1zpR7828PRbuWvQ8eCGON8 Iz+ltL1elNOl8TzaQM0oXv/Ty4bgzLV3ytJyV9Tlz3NRWbGDQnWUtvH/pbcWT5FCDw3m r1aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=NA80S53i; 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 d3-20020a170906344300b0073150f3dbbfsi11623908ejb.950.2022.09.01.00.14.04; Thu, 01 Sep 2022 00:14:30 -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=NA80S53i; 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 S232994AbiIAGlW (ORCPT + 99 others); Thu, 1 Sep 2022 02:41:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232983AbiIAGlO (ORCPT ); Thu, 1 Sep 2022 02:41:14 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A335222522; Wed, 31 Aug 2022 23:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1662014401; x=1693550401; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZvD58jkSgzo7AvCZoM1vmdGTmnCuWHlSrv++mzVZ6W0=; b=NA80S53i3ImJ4C0oiCaplnxIUtWzb9gduKOs1f94Sv4CTk8S6hrQ0g6a IIGjM5KW9xbQPPd+Ph3vD6YmhhINAA1wQh8c6QLAD7KeO47ORjypc4NDL Eyw2vQ6MIRh4dGMdllexVRApkSsQkl7omt0K4BKqi03mRF9OeXmtTiB0b oVYkeNrbjbIt2e9ImXGClJ6Gag7dTX25jMcV2dOZYlW/iy/0d6HrHgjx/ yR7uCoG6jI3bzLZ1AD9nJAXnXwLBfU0C6pge3CcZuY6DXpAxO6dfy/vq8 GlVF+h9AWIP3Wojxw5RxxjFIHZas1r8qToHPqpUAHncTRPB/1BQja1C7X w==; X-IronPort-AV: E=Sophos;i="5.93,280,1654585200"; d="scan'208";a="111691217" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 31 Aug 2022 23:40:01 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 31 Aug 2022 23:40:00 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 31 Aug 2022 23:39:58 -0700 From: Horatiu Vultur To: , CC: , , , , "Horatiu Vultur" Subject: [PATCH v4 1/2] dt-bindings: lan9662-otpc: document Lan9662 OTPC Date: Thu, 1 Sep 2022 08:44:04 +0200 Message-ID: <20220901064405.149611-2-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220901064405.149611-1-horatiu.vultur@microchip.com> References: <20220901064405.149611-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 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 | 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.33.0