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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1DCE8C38145 for ; Thu, 8 Sep 2022 12:23:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ljm2F+BtjeVYQKahfMP1W3GIeof7SlshlQEZ1c+OL/o=; b=fAwISyu5FpO8An QUSFsBdwksMx/djPWdhaM96KZJLOzD/psZhhZCXvqqxYuizXAPdsGQtoFPZd3dczGHPj7ifePOd82 vVzyfsI2J3jEUsWkQ4teh1ZtSekGcS7UGIsM1DAq0v27fWJa5qrSru7GP6MymOuCzFzPDIFqFdLKo 5L7+m3/86oo9xRhmEeNc676q7gkfeHPacaa6BuKnT42uTdEmY3eU9v3ezLV8hEcIaLMfK8/lRxxdQ y6LkKLFO8/e6QxKQojt4dBp3QWdMxjLfbR/4OtKmSLQQuGmb9AY2CHABPDwfi7iONq9vkJVmAJStt 3jAglzFMdvH/QEDtw0Yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWGXx-003BAK-5S; Thu, 08 Sep 2022 12:22:17 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWGXu-003B5o-6D for linux-arm-kernel@lists.infradead.org; Thu, 08 Sep 2022 12:22:15 +0000 Received: by mail-lj1-x234.google.com with SMTP id c10so10185788ljj.2 for ; Thu, 08 Sep 2022 05:22:10 -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:subject:date; bh=dLNfPVthIDGnvL7i64ft4qcn3DEatPgzaJhqNWGF3ts=; b=tN5ys6hDdHw2V6LYl85NdhEbAv3IBthZ49XCt6QVHcsdJiSzDwgWO76jDPCqgX/1Gx LOiVgL1JZCg0BPm/ibDkf8X0eKYaXRa4gZiB039yX4MW83KWnh8E1t9ku1w28Gih08wx QwPzF8AqW+VZUt6zSKCbJ/fl7Bwz/b5x67+dQw4D+5J3VfRCUisQrJcMt/p030+o42Lw jMs2ER9qlCtnOR3piKpSPueODGp4uGJO9mPy/P1KfuAFKjyShG96LsyLwbOYi20omXAq nxKLLs1eYiUUm4j4UIfk27EW7Ib66BCv4okEGWDaJSZ+tQQUOKKSkSCeSFKu4ijcEjUI dFew== 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:subject:date; bh=dLNfPVthIDGnvL7i64ft4qcn3DEatPgzaJhqNWGF3ts=; b=6k3LhX2F4Jjn6w/ZnnlYNpX2Ma5HTHlB8N03GTt/hDTsTu4RddDUL5cLfCUvPwDwur 7PVIw4VbQSflu6yw7B5W/XlO9gvxAOYfaOq9xYQljdrWKrNi6WVwKKUFZOEZ3gIbO8LP jsFJ62IuaKV14RZI2fV/3FdGfqrVP9ByOZkSqsShxLUYv09vogXU0N64MuEZNlGsnHY9 6e1cfYLm1mTUtqhkLaqzD1zHkYGdO07Kw+1vVGlRWt07MxUxcQBJ9QGTGxzx/gP69SPt 0GfBBha7vmqZ8bLKLwanpanebiVqCuxQ03dB03p4p0tD67TBb6DsOHdTaTrqb0aIZEPJ U2kw== X-Gm-Message-State: ACgBeo2Zp0Jfn/5RpQwqmSYVL5Ncp9KG9/Am1l+JTwtsXrDGTqeLgJew Ik8E7B8U107BV1fo6X/OqNx4vf/XFXuCPA== X-Google-Smtp-Source: AA6agR72b0agI2YyD/fb1KKijZU1ePELXly2WbC2r0DTgz9pIb4cJL9ka7vjZy0+P5dng67QOaXZmA== X-Received: by 2002:a2e:2e07:0:b0:26a:c516:5a9a with SMTP id u7-20020a2e2e07000000b0026ac5165a9amr2247937lju.185.1662639729638; Thu, 08 Sep 2022 05:22:09 -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 a8-20020a056512200800b00497a0ea92desm1446135lfb.135.2022.09.08.05.22.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Sep 2022 05:22:09 -0700 (PDT) Message-ID: Date: Thu, 8 Sep 2022 14:22:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v2 15/20] dt-bindings: nvmem: add YAML schema for the sl28 vpd layout Content-Language: en-US To: Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Shawn Guo , Li Yang , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Frank Rowand Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ahmad Fatoum , Philipp Zabel References: <20220901221857.2600340-1-michael@walle.cc> <20220901221857.2600340-16-michael@walle.cc> From: Krzysztof Kozlowski In-Reply-To: <20220901221857.2600340-16-michael@walle.cc> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220908_052214_239728_5F61118B X-CRM114-Status: GOOD ( 21.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 02/09/2022 00:18, Michael Walle wrote: > Add a schema for the NVMEM layout on Kontron's sl28 boards. > > Signed-off-by: Michael Walle > --- > changes since v1: > - add custom select > - add description > - add "additionalProperties: false", I wasn't sure if all the > subnodes needs it. I'd say yes, but the brcm,nvram binding > doesn't have them neither. > > .../nvmem/layouts/kontron,sl28-vpd.yaml | 67 +++++++++++++++++++ > 1 file changed, 67 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nvmem/layouts/kontron,sl28-vpd.yaml > > diff --git a/Documentation/devicetree/bindings/nvmem/layouts/kontron,sl28-vpd.yaml b/Documentation/devicetree/bindings/nvmem/layouts/kontron,sl28-vpd.yaml > new file mode 100644 > index 000000000000..0c180f29e880 > --- /dev/null > +++ b/Documentation/devicetree/bindings/nvmem/layouts/kontron,sl28-vpd.yaml > @@ -0,0 +1,67 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/nvmem/layouts/kontron,sl28-vpd.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NVMEM layout of the Kontron SMARC-sAL28 vital product data > + > +maintainers: > + - Michael Walle > + > +description: > + The vital product data (VPD) of the sl28 boards contains a serial > + number and a base MAC address. The actual MAC addresses for the > + on-board ethernet devices are derived from this base MAC address by > + adding an offset. > + > +# We need a select here so we don't match all nodes with 'user-otp' > +select: > + properties: > + compatible: > + contains: > + const: kontron,sl28-vpd > + required: > + - compatible > + > +properties: > + compatible: > + items: > + - const: kontron,sl28-vpd > + - const: user-otp > + > + serial-number: I will leave it for Rob to ack... Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel