Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1266194rwb; Thu, 18 Aug 2022 23:58:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR7mexdhkClQwRkrf3FIrNgGKkOelkV3V8lRa+sSJ5rHrIB2qNgJxkLpF/vA+ZXbKiZ80Moo X-Received: by 2002:a05:6402:358a:b0:43d:aa71:3033 with SMTP id y10-20020a056402358a00b0043daa713033mr4964236edc.248.1660892302401; Thu, 18 Aug 2022 23:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660892302; cv=none; d=google.com; s=arc-20160816; b=MdU4jT0ivuiOCPQerg2AJS8BETzzqAi3LTalZ0pt/x2sshLCiXpBe1lrk2cqjnBJzX Jt+wtaHvHl74dPeRpTbo0S2tqNofxdqJwDK3EE9+oxWs7mGF009oSmYrjOrWsLf3IYXO snYYpJNQBmEY1Iu1gv9yg0pJdimlMw8F4QEfnyePXgV4mt7u7o3sdbD9RJlC1CDxqgan 6KN6EDSBWWmAKgati+a0Crm7uEyN8PzIwufWfwFxqDgoQqkzWBGLEJ5mpiC3IryO8snN cnlnc4Q6RbO86rZIG7c8qFzLVvsQrwCVjoPeIPc7oRYlr+Dwv3/Q0IfSdOEFHHPUT4sG f97g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Y5uL27unbAtFFDXV9O3CJy9VefjqDxgpHdg47Nmbfy4=; b=V2oRENgIoKfjpvcOqkvxCWQQABzxfw3pbQ2zQ8/FAvu2YsCUd+LvEIvWL21t2cJcy+ HJrfze2cnPB98psJJzrC3lJjfuMDeLQ0vwFlo5TR3LEjT5y9r7IB35GZ6bRhnqhEbZlc MzU+UF9k0TONYIqJU5hCedClBi5fG2PyIBNFOOO1NfrxnTchJh9zBARzQSuSFc6mhNqE fx8aLoKqSpHUiK7CuLHOGLKvWb7O+TWij0l9Axj1REbZrzaqIwh3FPbUYSmPGIpwmV1k +9YcuUsUISpGbGcFf4MKnchAHapJWnwJVc7+vSTWaylwLwN0jjEwXY726J+txnPAxJ1D TAGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JgBlkJi/"; 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 ej22-20020a056402369600b004464f14a3bfsi146918edb.202.2022.08.18.23.57.56; Thu, 18 Aug 2022 23:58:22 -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="JgBlkJi/"; 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 S1345192AbiHSGw4 (ORCPT + 99 others); Fri, 19 Aug 2022 02:52:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235053AbiHSGwz (ORCPT ); Fri, 19 Aug 2022 02:52:55 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF255DB7E1 for ; Thu, 18 Aug 2022 23:52:53 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id x19so4948001lfq.7 for ; Thu, 18 Aug 2022 23:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=Y5uL27unbAtFFDXV9O3CJy9VefjqDxgpHdg47Nmbfy4=; b=JgBlkJi/LL6K3LjSxJ5NaoyL5BIk+UWEvHJlvFGRUd5P2Tqm3jfQgYVHdJOg0xryIB GJm4B+LbzlK2LJwNZXcVQbN06lXwPH55d8MdV4WmkmCxk7rGBdS13j4k9kTuOuwcRJzw /3k/WsNbtvkDOO6weB25lLpfxynHio9ObvCfNkmbAXBgI7Mf51St0nnAAnwxkav6GUR5 JT6WzB2yMleHZvQyVdhl2jTjv6w1epULwVXWZbtd6QM9mLaIFRaF3Ky3Ycpkxtlb9oDc DS3Gob/+/kkYZE/fq2qMm76ysTW4vHhPUol70fSU5yRvJpUgYubmQ7h1SHeFM06cIZJW bGmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=Y5uL27unbAtFFDXV9O3CJy9VefjqDxgpHdg47Nmbfy4=; b=3RBCyWf+UXs+KE07OBM6hyNZnRvr04p6ZLGezF2HI1iqtjBNiGWTqed6DnUaGMssmb egY7nb26i9F0GjdrVdz3R7Pe7Egm1meopEAHjjVEZPXRxqOalRg2Y7czv/+Ma5uvxhev 36gbZUDiiIhxC1zlT245MuwRuw0c45NRtJAo4K7vhO7MD163C+tkK23xF+YwXV5olxgg Z5wnvaS5Fh7s6MwAumxfNgztsleuxgLCbg/R6W5U5X/soRNS0aMbuWFDwcsPnYNGVF68 2pNNQo0TFcjlLl4KHWn22tcVjkrQmm1D/cMuIffiCyLYP9q4Ug1+6EGhg2Ma6/whg9qH GxmA== X-Gm-Message-State: ACgBeo2TJzuGJirdvIx6Nv84MTnX1Qo/znng8KzhOh8cV+Xet9d6H9M+ IAyhDUxxEU7MGbSjXtThquRkranzcvfMJsCb X-Received: by 2002:a05:6512:4009:b0:491:bdd9:eab1 with SMTP id br9-20020a056512400900b00491bdd9eab1mr2177454lfb.372.1660891972252; Thu, 18 Aug 2022 23:52:52 -0700 (PDT) Received: from ?IPV6:2001:14bb:ac:e5a8:ef73:73ed:75b3:8ed5? (d1xw6v77xrs23np8r6z-4.rev.dnainternet.fi. [2001:14bb:ac:e5a8:ef73:73ed:75b3:8ed5]) by smtp.gmail.com with ESMTPSA id a19-20020ac25e73000000b0048aa64cfef6sm172941lfr.152.2022.08.18.23.52.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Aug 2022 23:52:51 -0700 (PDT) Message-ID: <550e652e-4541-c1e6-33a7-d5555f0cb266@linaro.org> Date: Fri, 19 Aug 2022 09:52:50 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 1/2] dt-bindings: lan966x-otpc: document Lan966X OTPC Content-Language: en-US To: Horatiu Vultur , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org References: <20220818164405.1953698-1-horatiu.vultur@microchip.com> <20220818164405.1953698-2-horatiu.vultur@microchip.com> From: Krzysztof Kozlowski In-Reply-To: <20220818164405.1953698-2-horatiu.vultur@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 On 18/08/2022 19:44, Horatiu Vultur wrote: > 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#" No need for quotes. > + > +properties: > + compatible: > + items: > + - const: microchip,lan966x-otpc No wildcards in compatible (which will also affect the file name as it should match the compatible). > + - const: syscon Is OTP controller also system controller register region? This is a bit odd and looks like hack not to use nvmem subsystem. > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + otpc: otp@e0021000 { > + compatible = "microchip,lan966x-otpc", "syscon"; > + reg = <0xe0021000 0x300>; > + }; > + > +... Best regards, Krzysztof