From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 934CDC77B61 for ; Thu, 30 Mar 2023 08:00:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbjC3IAr (ORCPT ); Thu, 30 Mar 2023 04:00:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229967AbjC3IAo (ORCPT ); Thu, 30 Mar 2023 04:00:44 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C392127 for ; Thu, 30 Mar 2023 01:00:43 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id by8so18677641ljb.12 for ; Thu, 30 Mar 2023 01:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680163242; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UCXqykby8X/tl5h21vtaDyXKQvYghY/9t0bakulrVps=; b=bgLKba6nlOaiPDuVTpaGm6/l+URd9XzaayQuh+SB7f4ZLhh6O2BqmKNncjYe9qsgJ+ gXZjTLBW8O+nATp2AZo3Fcj4aoD7jEn6x2kzpt8kDnxif14FnjB3R7zB57SD1zYNqH/a Za78+teMToROYI1ESBFOv2I6AnqTEJR/xHDKkQT1xVTQadDNAK1sS9+5VwgM1FVZZn3X u7EkSfsh0Zh8djElwenEml8f+oh9t+RoblKAuYG2WROYSy/F520FrmU1IPeLW05B9nJb d88p6B7+QQyFQXWXu1OzFAkH2BU773qX+Gt6PGvczAHDsARC6/XFr3qVjIdvfBEU6UpM zjDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680163242; 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:subject:date:message-id:reply-to; bh=UCXqykby8X/tl5h21vtaDyXKQvYghY/9t0bakulrVps=; b=LL593znkEWyQmTX0PUG6tJvoRns25kOKh/n3RHz3lFaVbrvteobHKiP0NWOlrSLSyT 8y/0gsba6pTXhPO8oKk0dLPuhpDaTGFiFYb0Qa0FNRnuh+p+tO1EwA2FBilHlNLcfGie o2gUMuHsmGeRK1ucNzoVY6JtGV9JFK2DDOdAyL0ruQeMfVe/X2/qjA2F6+LRoTZxAUT2 xzu8ZXSQioFZfWtEBqKSBlp9ra0JTDnDh8kBo2YNM6glhHv+z++CE9DgDt9tmAxylwXz rgufXt0C1nd/hcdnRIzDTDPwLzVclCwyNQRaTzA8zJms6M5Ody81LoVTiASimjIy7/Hm cF3A== X-Gm-Message-State: AAQBX9fB4Co2U4TRGHuOIAz44sMftR+QeADtJgFPiJuabwOJkaozMtnj bLVuFDUVDwsTC8bceZbPho8yJVTY3Lmm3PKGUzw= X-Google-Smtp-Source: AKy350YZXpl4ZSBECyvaIS1VGyO/P1SK3601QviNmQb4rz3HxRu6lXPhZLI5GSPCpUibhNe49dYz3g== X-Received: by 2002:a2e:87ca:0:b0:2a1:8a96:d5c with SMTP id v10-20020a2e87ca000000b002a18a960d5cmr7516879ljj.9.1680163241728; Thu, 30 Mar 2023 01:00:41 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id l22-20020a2e8356000000b0029e967c1dfesm4236840ljh.8.2023.03.30.01.00.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Mar 2023 01:00:41 -0700 (PDT) Message-ID: <250dd9d8-7592-6ebd-e63f-98ae5aad542c@linaro.org> Date: Thu, 30 Mar 2023 10:00:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 1/2] dt-bindings: nvmem: Add nxp,qoriq-efuse Content-Language: en-US To: Richard Alpe , srinivas.kandagatla@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, niklas.soderlund+renesas@ragnatech.se References: <20230328082701.2569114-1-richard@bit42.se> From: Krzysztof Kozlowski In-Reply-To: <20230328082701.2569114-1-richard@bit42.se> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/03/2023 10:27, Richard Alpe wrote: > Add a schema for the NVMEM eFuse (SFP) layout on the NXP QorIQ SOC. > > Signed-off-by: Richard Alpe > --- > .../bindings/nvmem/nxp,qoriq-efuse.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nvmem/nxp,qoriq-efuse.yaml Filename matching compatible. > > diff --git a/Documentation/devicetree/bindings/nvmem/nxp,qoriq-efuse.yaml b/Documentation/devicetree/bindings/nvmem/nxp,qoriq-efuse.yaml > new file mode 100644 > index 000000000000..e1d4d3849519 > --- /dev/null > +++ b/Documentation/devicetree/bindings/nvmem/nxp,qoriq-efuse.yaml > @@ -0,0 +1,40 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/nvmem/nxp,qoriq-efuse.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP QorIQ eFuse support > + > +maintainers: > + - Richard Alpe > + > +description: | Do not need '|'. > + Read support for the eFuses (SFP) on NXP QorIQ series SoC's. > + > +allOf: > + - $ref: "nvmem.yaml#" Drop quotes. > + > +properties: > + compatible: > + oneOf: Drop oneOf, no need for it. You can put description as comment. > + - description: Trust architecture 2.0 > + items: One items, so no need for "items:" > + - const: fsl,t1023-sfp > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + efuse@e8000 { > + compatible = "fsl,t1023-sfp"; > + reg = <0xe8000 0x1000>; > + }; > +... Best regards, Krzysztof