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 A0194C433EF for ; Thu, 3 Mar 2022 18:01:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235556AbiCCSBu (ORCPT ); Thu, 3 Mar 2022 13:01:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231147AbiCCSBr (ORCPT ); Thu, 3 Mar 2022 13:01:47 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20D50188857 for ; Thu, 3 Mar 2022 10:01:01 -0800 (PST) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id DA1EF3F5FB for ; Thu, 3 Mar 2022 18:00:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646330457; bh=IdYKuRpoQlWJKJqHmP4kdLinl0/TpAzOJ3W1H49SOHA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pdbZ0zOGUGlMLA8be+YMsxPg6ccEECNCFoAFxzE12nIWYJxanjq8WWO/bT5OSG+eR rNkSwMqG8XvlTIglauC6QNYUAxsZ6aR8w8jvjvj8rD23kXUAE7NTVTnAuOoyFvuV60 Te+6615TvxyMiVYUMomhN2mpdi852k9soSLkcslJ0L9yNSEDYytTX06GgJoDpeZbP5 r4c1i+MQ2/aOM5ezTENsLV3isXhx840vv8dPxoe1sDszyEA3oxVngDr/BVe4lN4eoe cCY6ff60ZSNSg6lKpD0ZOIMv6NBNNl1uTQ1BjV8S/gzJ/On7/+ek84aoR0tGa8264Y ezB8OZlRtzBvg== Received: by mail-wr1-f70.google.com with SMTP id x15-20020a5d6b4f000000b001ee6c0aa287so2328324wrw.9 for ; Thu, 03 Mar 2022 10:00:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=IdYKuRpoQlWJKJqHmP4kdLinl0/TpAzOJ3W1H49SOHA=; b=0sV6CyiXzAQBVyN5CULbsD6yvvbU8Hwqq7h7daea9nKSA1Ik8zCwlyQvhj9TjsU+AX Dm0iE5jXCYA+vH2aihim6rjXEKOYHOUWeWvQwQFAeFInijcPnGdLnbLeUQ/fx6QyBpmD aCDfMqywVBCfy8rmVpU2zcts14uaB/h1DVYgWE1WopBkuEiiEg4ia9i75V5BZDeEj8F6 ryczwIwb4XuiYBHzmUFmoXGLLo8lgEJDfsfp2GMI2Hb1vaNsyvCkKIGZ0twj58qSqezB aafu2h8/CNomZio5ycVtpauvoTZ+m0BaAEEKrOy3MXRlJpUHrzhwq6yTsTVhHJ4sLcFW PnBg== X-Gm-Message-State: AOAM530Z0CvbJn37NEtDwj1BjIecIwq5HXOUj5AQh5iGHs5dcVb9Jygk GRIVs2h48DiYu0NUi5NyS0OFlvth55UreDlSaPCAhmjVw29XFlAp3sAEMATpJ6a74wY6bmbzVp2 lWhIF8e5o/9vtsZfAEprYU1oYeaV5AoJRE/k6dw0o3g== X-Received: by 2002:a05:6000:1787:b0:1e7:aeac:eb00 with SMTP id e7-20020a056000178700b001e7aeaceb00mr28314779wrg.141.1646330457455; Thu, 03 Mar 2022 10:00:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcUUp/VkxET1O/z2n1UvXKsWsZKCgRWxpJ2ac80sDA6uo4FyeX3pHAb3asJ2/klasvI3ebWA== X-Received: by 2002:a05:6000:1787:b0:1e7:aeac:eb00 with SMTP id e7-20020a056000178700b001e7aeaceb00mr28314754wrg.141.1646330457158; Thu, 03 Mar 2022 10:00:57 -0800 (PST) Received: from [192.168.0.138] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id f16-20020adff590000000b001f0122f63e1sm2592891wro.85.2022.03.03.10.00.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Mar 2022 10:00:56 -0800 (PST) Message-ID: <0d7b9a17-f5fc-69e5-173f-1c897522d3f3@canonical.com> Date: Thu, 3 Mar 2022 19:00:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 1/2] dt-bindings: nvmem: Add apple,efuses Content-Language: en-US To: Sven Peter , 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 References: <20220227115743.69059-1-sven@svenpeter.dev> From: Krzysztof Kozlowski In-Reply-To: <20220227115743.69059-1-sven@svenpeter.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Best regards, Krzysztof 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 19B2BC433F5 for ; Thu, 3 Mar 2022 18:02:30 +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=WSsFt/Kyx/S6m57QGtVv9HirBgBGXSk9PyRY/ocQk9g=; b=jjZ4+U0nPWAmDt N7NVkMPD0yvrTzpTxQnIQHB6+ZTaExorz4t3L9nFsLu9de1NNepnBkGL0RVZhSqFWQ4Hmb3ICg5ih AZnFMnSdLPYTOWVlwmZjzdR8B7FmnAF2ykd1vy3IOSOUqEbMnGHSxmXoAFzi41wHJ2seGa11BPx+v WH6NBnWbTegxS8IitgTGj/UHwxENIh/YT3RnLmcdWv/fjiOdEbsScXVWrE1I9R2P+n+JG+UDy9hkw sWVopD25lGl3wajMjabGIYuizY1zOUx1P5sCUhlamL4Qq4R6vqJFt1r3cnLuR82e+6ULo6U7gXVVf k16xFMdflb+pCgDOP7bQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPplC-007PnY-0Z; Thu, 03 Mar 2022 18:01:06 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPpl5-007PmI-Dp for linux-arm-kernel@lists.infradead.org; Thu, 03 Mar 2022 18:01:01 +0000 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id E6B5B3F614 for ; Thu, 3 Mar 2022 18:00:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646330457; bh=IdYKuRpoQlWJKJqHmP4kdLinl0/TpAzOJ3W1H49SOHA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pdbZ0zOGUGlMLA8be+YMsxPg6ccEECNCFoAFxzE12nIWYJxanjq8WWO/bT5OSG+eR rNkSwMqG8XvlTIglauC6QNYUAxsZ6aR8w8jvjvj8rD23kXUAE7NTVTnAuOoyFvuV60 Te+6615TvxyMiVYUMomhN2mpdi852k9soSLkcslJ0L9yNSEDYytTX06GgJoDpeZbP5 r4c1i+MQ2/aOM5ezTENsLV3isXhx840vv8dPxoe1sDszyEA3oxVngDr/BVe4lN4eoe cCY6ff60ZSNSg6lKpD0ZOIMv6NBNNl1uTQ1BjV8S/gzJ/On7/+ek84aoR0tGa8264Y ezB8OZlRtzBvg== Received: by mail-wm1-f72.google.com with SMTP id o21-20020a05600c511500b003818c4b98b5so1628549wms.0 for ; Thu, 03 Mar 2022 10:00:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=IdYKuRpoQlWJKJqHmP4kdLinl0/TpAzOJ3W1H49SOHA=; b=D4GcLNrRpjE6bRQvfvjCeNDUBIS0LLId8dwXBrOX1oSDDPLCEGu9wjNDBOd/tvVvE+ aRbf5MVV0f28NgCmGyEaNrVsKM/K+heudM+2NfajRBjx7rWWFmHLQRxTL5930c1xyQOe nGWanjRqT5ErP0gjlKYvGLRJDRyBobf6tRE7LKVer+q74v2bUvVUgTF6wPLaSJPkFtZV lUVBBYyODVyrCE4deWE65RAWd5bRbqOITB4ttlKamE5gVXSp9+6zBgs+eZ6NzzKy3MUt vF7EXBsxhrB0dAwMlrMqzifz5jlayt4/wBzIk8bqGH3ajqAChs2uB3TdSpyYgoi/YwfR 3O/Q== X-Gm-Message-State: AOAM533ytAotBfP6YyitD8R3aWoCmfJ5blusaDHQ127ePuZssGfPshr1 a4pLaFD3zyY74XDEFoDaQqafPBn+U7r0/9YbzM1YuvoS28qD7LhH9fFzidPCqmhOQUlYfG2yM9u MyT9rq+of3VAY+cDkwLKnjeM4JeEw0ibK1Nq7Rvs/PfhdhEc3wia/ X-Received: by 2002:a05:6000:1787:b0:1e7:aeac:eb00 with SMTP id e7-20020a056000178700b001e7aeaceb00mr28314771wrg.141.1646330457443; Thu, 03 Mar 2022 10:00:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcUUp/VkxET1O/z2n1UvXKsWsZKCgRWxpJ2ac80sDA6uo4FyeX3pHAb3asJ2/klasvI3ebWA== X-Received: by 2002:a05:6000:1787:b0:1e7:aeac:eb00 with SMTP id e7-20020a056000178700b001e7aeaceb00mr28314754wrg.141.1646330457158; Thu, 03 Mar 2022 10:00:57 -0800 (PST) Received: from [192.168.0.138] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id f16-20020adff590000000b001f0122f63e1sm2592891wro.85.2022.03.03.10.00.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Mar 2022 10:00:56 -0800 (PST) Message-ID: <0d7b9a17-f5fc-69e5-173f-1c897522d3f3@canonical.com> Date: Thu, 3 Mar 2022 19:00:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 1/2] dt-bindings: nvmem: Add apple,efuses Content-Language: en-US To: Sven Peter , 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 References: <20220227115743.69059-1-sven@svenpeter.dev> From: Krzysztof Kozlowski In-Reply-To: <20220227115743.69059-1-sven@svenpeter.dev> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220303_100059_917108_5706DBB4 X-CRM114-Status: GOOD ( 18.63 ) 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 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. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel