Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp684457rwb; Thu, 18 Aug 2022 10:17:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR6noqBVXo8qMzR1sOM1XMtQX3YXWD+Ylmd9ZaH3Rl2pTyiIoskYJ8xOo86ZCTr733O3H9WL X-Received: by 2002:a17:906:30c8:b0:73c:81a9:f8e1 with SMTP id b8-20020a17090630c800b0073c81a9f8e1mr629482ejb.649.1660843074414; Thu, 18 Aug 2022 10:17:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660843074; cv=none; d=google.com; s=arc-20160816; b=UMpnxMdr42I2pDIpQAPO4YhAQP0N0zYo/YDwzHK4LOka14sTBrzvkLHvlQy/ZGwJou ahQlXF3rimVfwsnOFQzy3xylc6hhSOAmeApDYezdkIk5FFRtoK6F5OdfqMFLSuxKaf0B y6sIIy+0slGgbww4C16aaZ+/DG0A2cv/4Zf560DJUmvUibwWVQ/56TV757f/mQ6sGDWU 3hxkmhpZa0BF1556HPdajUCaOzK11Kwi/NV06speOEAhuA+C66nuTS2sinr7N4ywLWXx mSwCvlvun0Zs0lIFw1w2Z60eQSCf/y3A/qER6T6NhG3QDJyiWC3AGzcMj0lrcM0/fB6y xFag== 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=NzBO5+xWqVfzF5+lz/uuVEQpCnz/DM4053m2Nnt1U9g=; b=n9MPp0EIVbCOQx3Gz5JQiQHfbPmP9ezaT/4aYvIdHM6tWLIXd7ASVTIX2WyFhkDxE1 JWOFfw4OQhQqUpTsOJ3Yd7KhxE3ck47uUGD24o7mJTTBCS8EdRZOsopOSofnma6f0A03 uBJbqChokLK56+6PAGeCXv5Y+SWAAdciz+5ZF/MBouvG6v4jn55Lun6nwlO2FjsEQMum YFIaiagfxl+HZYPZ9NK3llCAng3ejU9b5y0+jxcOyl0St94Ce7GI3kQfc5CS1BMcXtfz bdj9cYQm36Q+zCfoL+ivtRBbb/XF0Yq8w7uyaco7SxspbjHM9xWyqtMH+d8I/Y/e6A56 ySEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kHpU8BDz; 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 sg16-20020a170907a41000b0072b33152db1si1542348ejc.858.2022.08.18.10.17.26; Thu, 18 Aug 2022 10:17:54 -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=kHpU8BDz; 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 S1344349AbiHRQkE (ORCPT + 99 others); Thu, 18 Aug 2022 12:40:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239763AbiHRQkD (ORCPT ); Thu, 18 Aug 2022 12:40:03 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76F7F87088; Thu, 18 Aug 2022 09:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1660840800; x=1692376800; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+dg6EB0Haqdjba5Oqz01neGrQPpoA8j0DmfpOuSwVT0=; b=kHpU8BDzRPAG1Pz2lXXlh38rONxj9CxPFdcnFs67tpNlKnxg6yGQOAul ol6pLEoQSxqyHlKlR0qIUiAnjqwyghSsNBn9+Xh31bOvAmFFI8L0YeNbf t3yeiHzJ3Bp3OB5sdL1nP+Hsi1oFaFQ0EY+tdiLMSz9uaorcbqrjhL99b uqEkDFJWRe/Y5Cbb7SlNmAVLXPChQnQvjcF1LQGdN4yk9ss+HdiZR0xta 0IE8KmJVwp8TYccBS07SlM9257tPgRxVGyc5DOI8CsLIKjlqa4QL1YA4i 06TVLBn4lEKlMgwljj51G0Hxc2L2iXLdEw9ZsEtGGB5W/DjwF4bCkb+XE A==; X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="176812616" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Aug 2022 09:40:00 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 18 Aug 2022 09:39:57 -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; Thu, 18 Aug 2022 09:39:56 -0700 From: Horatiu Vultur To: , CC: , , , Horatiu Vultur Subject: [PATCH 1/2] dt-bindings: lan966x-otpc: document Lan966X OTPC Date: Thu, 18 Aug 2022 18:44:04 +0200 Message-ID: <20220818164405.1953698-2-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220818164405.1953698-1-horatiu.vultur@microchip.com> References: <20220818164405.1953698-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 Lan966x OTP controller. Signed-off-by: Horatiu Vultur --- .../nvmem/microchip,lan966x-otpc.yaml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/microchip,lan966x-otpc.yaml diff --git a/Documentation/devicetree/bindings/nvmem/microchip,lan966x-otpc.yaml b/Documentation/devicetree/bindings/nvmem/microchip,lan966x-otpc.yaml new file mode 100644 index 000000000000..b19465971930 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/microchip,lan966x-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,lan966x-otpc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip LAN966X 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,lan966x-otpc + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + otpc: otp@e0021000 { + compatible = "microchip,lan966x-otpc", "syscon"; + reg = <0xe0021000 0x300>; + }; + +... -- 2.33.0