Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp499900pxp; Sat, 5 Mar 2022 09:25:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1pDbgnMiX2Zf/wRn9kPhcbbe2px6g18zN3/UkhTKVGscCMa7C/yRdBWAiUGBQzUD7igl3 X-Received: by 2002:a63:4f43:0:b0:378:8ec6:7936 with SMTP id p3-20020a634f43000000b003788ec67936mr3334076pgl.329.1646501135223; Sat, 05 Mar 2022 09:25:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646501135; cv=none; d=google.com; s=arc-20160816; b=sJ9DRmbRwNwTvDi7gDtaZG7r9bMZnJrRlWKhjGoPDoy2YOq1yvnh5Kj23JWXoOt6gb S4N2LaLWand5EeYBCo4nukq1MoUpClYfmwKOj8g/8J9Vs1uF3hDbEeDrnPAhLa60yDwe Kqymfnm19/8u9tIeJLp/OR4bGDLnYvVqq6dA9iM5XiMyctXcL9YtkdOtD4vedxZAmcwU kEYrguJGnG27ovDY+DvGTZgxzKQwZ6XvRPohnz1nq/CvO7H0NuqgL5Yh3x7fib//qIWK FqzcV45RYUhN2MzNDzIaSLlszpuFk9Vgc3bdEz9K0p/i9ZnGr9HAimh9/rPeQUupFlMU htNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature:dkim-signature; bh=vmjZL3xO/p2LUGnbNdIz4Ii8uyOFUTLeArwBNgVOTPk=; b=lKxEP+OP1wf9gbYg39+X00EDhiTHRoO2yrCtZ2A+HoET/YHmtP/MQ03KwlulvL7Lr/ hQJMflMHS9OXkM+b+ykyaziBeM5pv5qCGhdYhza7PG7brqHSym7zVYgtmAtmNM+vmc7P ViYs3rapsthgQeOt7rvrDUFjHFOq60pHPG6OHP7BqUflhexW4JY8ECTFJ8r96rE7BUCZ JOoa4b0D7iyGhi+3U1ATa2MfFCXfqldQCRVao2GWsj7Cgtb/dwP/CZhKgqm2OUvzCCVC JHLz+dyQAT2Hto3Dbs8DoW4F48KIcyFKKz92fEH0gtuWx2wdu0NDvQE6t0aa9GL12fsk prbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm1 header.b=EDhHShSD; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=EqVp0xyt; 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=REJECT sp=REJECT dis=NONE) header.from=svenpeter.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j14-20020a63230e000000b00374109af490si7813943pgj.169.2022.03.05.09.25.16; Sat, 05 Mar 2022 09:25:35 -0800 (PST) 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=@svenpeter.dev header.s=fm1 header.b=EDhHShSD; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=EqVp0xyt; 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=REJECT sp=REJECT dis=NONE) header.from=svenpeter.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230508AbiCEMBc (ORCPT + 99 others); Sat, 5 Mar 2022 07:01:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbiCEMBc (ORCPT ); Sat, 5 Mar 2022 07:01:32 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F837239689 for ; Sat, 5 Mar 2022 04:00:40 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 950D35C0357; Sat, 5 Mar 2022 07:00:38 -0500 (EST) Received: from imap47 ([10.202.2.97]) by compute2.internal (MEProxy); Sat, 05 Mar 2022 07:00:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=vmjZL3xO/p2LUGnbNdIz4Ii8uyOFUT LeArwBNgVOTPk=; b=EDhHShSD1ynAYDI7gYOO/Vzgt1AoXy03Qwpac9rh5O7PiE PVTMbeZkBvqOLM2zu07K/ZY9zVNFotnTvAVsRAn5IUe2PWSri2IgY+b2WFvznDFX X2TBD6laY+rrNB0ex0zSnyfiKmG+rM6OxyWmeoVjfdutJkuPi9LUSGj8MZA8J8L6 oZdJGaXI20agD8ywjcOrFm+c20q7ClAIqlnJyEZUwYnNisrqHm9uwqhc7QV1amKr qFQzCAWqc/hiC5TGLmIEljHonBYqSZs++4rlfx6Zte5S0BsNd6TB4SppqqRP+ytX K3mOSfBbNW3wg/CkqeTfFMc/7I6ZHP8MdzB4Ro9g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=vmjZL3xO/p2LUGnbN dIz4Ii8uyOFUTLeArwBNgVOTPk=; b=EqVp0xytoKstSTEJHmJyn+GWgn6uHxXhv 2Idxs1MFIylBUiOBZZUEpsGbhQKVEp1kE0k0x5fiFBvBUvkqKr3ZrT8qSuDx8DCb VSzVKEaENtOJ4sYCiKQ4zL7ulHljFNl8scKUwysP9r6q3wk5Zjr6MwCImsyo4EjD rxpxX8maeLrClPw7KXnkMjD/V9Y+0uk3hW6kMX+6wtFlI8wf2RHXKjbP4oJCnRjq rj5mMP9Ey4wF5fxBs6YxzCNfwrg/rGAeE2Ajxg5KMtMunOsLAlF6QbpWP6TAT/yu 9oqv7wmPS8qWnL1eFGW7jpe3HoIZOk3EQu+Sf02ODQKXftsKa1B7A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddutddgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfuvhgv nhcurfgvthgvrhdfuceoshhvvghnsehsvhgvnhhpvghtvghrrdguvghvqeenucggtffrrg htthgvrhhnpeehtdffledvffegveejgeegvdeujedtteefgfelffehtdetudekteethfet keeuudenucffohhmrghinhepuggvvhhitggvthhrvggvrdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhvvghnsehsvhgvnhhpvght vghrrdguvghv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 484B12740692; Sat, 5 Mar 2022 07:00:37 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4778-g14fba9972e-fm-20220217.001-g14fba997 Mime-Version: 1.0 Message-Id: <2e36dae0-7eff-43fc-b1a5-2c530f56e877@www.fastmail.com> In-Reply-To: <0d7b9a17-f5fc-69e5-173f-1c897522d3f3@canonical.com> References: <20220227115743.69059-1-sven@svenpeter.dev> <0d7b9a17-f5fc-69e5-173f-1c897522d3f3@canonical.com> Date: Sat, 05 Mar 2022 13:00:17 +0100 From: "Sven Peter" To: "Krzysztof Kozlowski" , "Srinivas Kandagatla" , "Rob Herring" Cc: "Hector Martin" , "Alyssa Rosenzweig" , "Mark Kettenis" , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: nvmem: Add apple,efuses Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 On Thu, Mar 3, 2022, at 19:00, Krzysztof Kozlowski wrote: > On 27/02/2022 12:57, Sven Peter wrote: >> Apple SoCs come with eFuses used to store factory-programmed data >> such as calibration settings for the PCIe and Type-C PHY. >> >> Signed-off-by: Sven Peter >> --- >> .../bindings/nvmem/apple,efuses.yaml | 50 +++++++++++++++++++ >> MAINTAINERS | 1 + >> 2 files changed, 51 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/nvmem/apple,efuses.yaml >> >> diff --git a/Documentation/devicetree/bindings/nvmem/apple,efuses.yaml b/Documentation/devicetree/bindings/nvmem/apple,efuses.yaml >> new file mode 100644 >> index 000000000000..a735d54856ae >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/nvmem/apple,efuses.yaml >> @@ -0,0 +1,50 @@ >> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/nvmem/apple,efuses.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Apple SoC eFuse-based NVMEM >> + >> +description: | >> + Apple SoCs such as the M1 contain factory-programmed eFuses used to e.g. store >> + calibration data for the PCIe and the Type-C PHY or unique chip identifiers such >> + as the ECID. >> + >> +maintainers: >> + - Sven Peter >> + >> +allOf: >> + - $ref: "nvmem.yaml#" >> + >> +properties: >> + compatible: >> + items: >> + - enum: >> + - apple,t8103-efuses >> + - apple,t6000-efuses >> + - const: apple,efuses >> + >> + reg: >> + maxItems: 1 >> + >> +required: >> + - compatible >> + - reg >> + >> +unevaluatedProperties: false >> + >> +examples: >> + - | >> + efuse@3d2bc000 { >> + compatible = "apple,t8103-efuses", "apple,efuses"; >> + reg = <0x3d2bc000 0x1000>; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + >> + ecid: efuse@500 { >> + reg = <0x500 0x8>; > > Mismatched indentation. Rest looks good. Good catch, thanks! Will fix it for v2. Best, Sven