From patchwork Tue Dec 15 08:35:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Alice Guo (OSS)" X-Patchwork-Id: 11974223 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D4E8C2BB48 for ; Tue, 15 Dec 2020 08:39:24 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C3D2E2231F for ; Tue, 15 Dec 2020 08:39:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C3D2E2231F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=n1vBF68/BjaoBkmxNNVaWig7UlGAkRR5oMmY5dMD80g=; b=qalOGukmaabq90IsWUqapPagcI zjDyWFttrXj8S0A/NlYIVn880wPWcTVkFpF0h78Z10aIKyuzzbAuwXRSQmrPtfxfR9MV76WIFMSCh p94MlVJh02PAdEjf5xegOfVZiDvpUf5hkK7ksI1StDGZSGdtPulx+qUIcXSpRXKZTDbLgEI+jJDoP HV3QwrrCqEqvvlhItmLr0ZRxPKDyE1tEyTRmCCAJbI4XhYvRFvHosFlCAw8JwXafeyugziUvp+GoW KHiZTfxh/A2TGDLmDDBEKKmJzbuke8rP2C0U0DO0QwEskfkhNklTKD5if9HJ2MUKBWT+NIFC9KYuO 9pUIWjLg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kp5qJ-0001w3-6k; Tue, 15 Dec 2020 08:37:59 +0000 Received: from mail-eopbgr140040.outbound.protection.outlook.com ([40.107.14.40] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kp5qG-0001vi-7q for linux-arm-kernel@lists.infradead.org; Tue, 15 Dec 2020 08:37:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OqNIT0M+eg5oe99jwcIXE4ifqaUIIpcGKHp2jry1irLkd73aWV3ISU+eXN4r4ZYGHWrewCALvezG16viDrqhdlAoDLkVz0PDvT3XUFAi6SJraiGrntQPBcmSFl1sP3lKl/89ySLUxKco2ZTehP6iNCP+qabVtE0ysClKUEjVIkSjf6M79ix9g2n+9eHwqkdi7Fvf9O2yxA6/xWjJEoXxMZh07qsxAXPSrLKa2Xb4KrIdDitAU+v26+GJi7gQKj/uM5cUa8f4kOnbnG1SNLZ1cIiAWx7JUTWtL66BZAtEE96qfUaCEkjVI2f4IVX4K96vMa2Sc+Jn0KuHePa+4cXciQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0ZqFOd7RqSyNuryOTwjnFln4saf3bUKoQZ9NCJ+gUHk=; b=mdNakFA9HOt/DY1vD9DrW19tAbZfLJqvSoc0JjfEPybFHwe9XHpvsd59wIkQQcvaK21omrw0AlQotC+JCGk6r+nm5XjBc40HEjFuBCq0j9hXQ9s/6E18Rsw2LfMHpE2gdffKnUbBx7LkF+H5XmM0MI/YuEyXeaH2Q/c49qLOhfIu3npVEuO77AUhKo8xfN5BrrfRQIo45xXt3Og3rhW5hXghi9hhYlbvxxLmgFnfkBqREe16sF4xJhQnUPQEh5NrKZjzmbRzL9DnfuAjUUiVx77Yrl+ZACnle+Ws87aJqZZ0uR7+ccJN/74wg+bssdVpUKEifIjQvlpeLlEzrzPEFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0ZqFOd7RqSyNuryOTwjnFln4saf3bUKoQZ9NCJ+gUHk=; b=MleKWwluWnIQSPxF1pKA6FCeLrY5/uPLJurrVdxVYrN+qVNU6cek8r2PdNOPm4241CxJ0w7+Pz8EPYEEGzC/JhV3Dk3hvVCR+VauqAqgR34swYQvzzDUQIaBwttHuebybSfQ1x5C8v1y3l1fZ8o6t5pZ03wiMG65h9PDa9lfvgo= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB6053.eurprd04.prod.outlook.com (2603:10a6:20b:b9::10) by AM7PR04MB6807.eurprd04.prod.outlook.com (2603:10a6:20b:104::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.14; Tue, 15 Dec 2020 08:37:51 +0000 Received: from AM6PR04MB6053.eurprd04.prod.outlook.com ([fe80::78fe:9b7a:a2ac:9631]) by AM6PR04MB6053.eurprd04.prod.outlook.com ([fe80::78fe:9b7a:a2ac:9631%7]) with mapi id 15.20.3654.025; Tue, 15 Dec 2020 08:37:51 +0000 From: "Alice Guo (OSS)" To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, krzk@kernel.org Subject: [PATCH v7 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID Date: Tue, 15 Dec 2020 16:35:48 +0800 Message-Id: <20201215083551.6067-1-alice.guo@oss.nxp.com> X-Mailer: git-send-email 2.17.1 X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR06CA0250.apcprd06.prod.outlook.com (2603:1096:4:ac::34) To AM6PR04MB6053.eurprd04.prod.outlook.com (2603:10a6:20b:b9::10) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from nxf55104-OptiPlex-7060.ap.freescale.net (119.31.174.71) by SG2PR06CA0250.apcprd06.prod.outlook.com (2603:1096:4:ac::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Tue, 15 Dec 2020 08:37:48 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 41e1c5da-2007-400b-d666-08d8a0d4b5ab X-MS-TrafficTypeDiagnostic: AM7PR04MB6807: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4941; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /oFGOXsyo/gSJtN8Pfv8G/dofnSJEe5mPCPtR1zQAeurCOUQveWT51h4V2esfA5NYcsVwqB/XiNhgaJJ+HGZ2bq3+purTUBo2kgPyjG49mAqj1NH6kXw61OBzN6CHij6HMlJ/qviHTNaBnW4EL9h2gU76aPLi8lKURiqZzt6DnFkTpFW80XLvL8/JagFAA6uX3Op2WxMKnxP0JcjD/s6pUOiCo2xd7HrlbLLQJ5fafWccFmlShJShDy7Lo5OxGjJvuBDdpqp0T2J4UiAKg5U2Veh9u1u/kO8z633l3XixArmmL8nABq5z7fhTCz0QbSZg3osLqVZgQ5eYfJJDd2m2ht5Sy9Yt9gkkwfjHfWIw4jDEcpgdPDCNlZuu2YflO/SZcmcowiYPqX+ciM6TR6tjDjyqgKvIeD5/Jmz8UWK5xazkaxekzUxuprgB43XPQyU X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB6053.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(346002)(366004)(396003)(39860400002)(83380400001)(16526019)(186003)(66476007)(86362001)(26005)(8676002)(5660300002)(6486002)(8936002)(316002)(66556008)(66946007)(2906002)(4326008)(1076003)(6512007)(478600001)(2616005)(956004)(52116002)(6506007)(966005)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: YNxRMWVSsELOCNdrhNBmI9KuqwVrCLtwKOo5IoNBl/irN0gY92qWAEMGO6pwSXE9jNyBTOo4V6/Yc2Yd0SbZwfbtOsExjPh3zdZQIPv8HcbigjZFdzaN+24ZcFhj6XNFGkIDOKTNueKt9Fxd1LmrmRvb0q7UxYUF34SpxUrOcfNuuQJ18Sp+TsKvAuK+I/QyuJWl0yvq0nGvygdGuuW7cO1GEdv06kC3XKmZI5BzsuHRB/FtmxB3HeToKQxWk+Lm3ozAOKc8KFKy1dz9wIXKBFfu/DpOr50lWMNaYUV5pKv8KTsZTUFIzxduor224DbbGxREKyyROrEn9z6DJN1LLsz+0sy5zT9IEs1AUaz8i0N5TdeM9ZL25RoJHSCKm3B0IZo8yietHaA3LeuYD7N1ZLyLD/pbaagE6gGJoGuoMvnZl79/pCHzoWaJ1RmbKJ6VMLTFuCzVZ8q1hbkdq3yTOyxtMvzTspFhRXAG5+1niP5n+4jUOc79kH/FBsdsiSIWTAQI/fkxLBzOwXN/hA4xoK+Jy78DR/f2Oq0ZuTYGQpad7Sa0PHgHm3TFOyi05h7oxVEMoflIqBSToLhk8CsUzgVZ2virXs8lIDolu6tRjLhrA9KkENhoWbexHi3Ds79i/W5wXwWwZbl1dhHA7VRTfqncY2FJUT65+0oFJodwttEXVvKzqAmrpkpyLgTvcQr+WANdaxsn+MTRpAmyVs5FJbthfDmD9sJdh+JaNpY6M4DpS4zKyfJzUosnleELqJKiiScm3wDMk600/hcQ59X4fzimGKMv74vX/3vMpoKdk81YzvWDF2vbLS6BsZP5GmTtAIpj7ISQNlqK/+KvFJhJfBe7F9z6IwxWdkbSwDLKZGwXRN+SWVOTGMdgObK31V91ENpbayF79UtZS+0chtc7l9j1aSfZc9zNPVNiiYVhoZoTjZ/9mw6PK3KS9uVZmmwEhOARyZYi9XUu9KWCX29KN7parsWFNTXAlghka1+qAN6kccM4brMV9QgaXBIq/+9Y X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6053.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Dec 2020 08:37:51.3344 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 41e1c5da-2007-400b-d666-08d8a0d4b5ab X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OCcyppSH0KehKWk/6j8IuksKWZdDgSNgXbf1Vc66vKAE5U9My7l1tLl0M/yP9YEJF5OJcL/kxwZnxpyyXiZPCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6807 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201215_033756_406432_72E24C38 X-CRM114-Status: GOOD ( 14.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Alice Guo Add DT Binding doc for the Unique ID of i.MX 8M series. Signed-off-by: Alice Guo --- Changes for v7: - change to a separate schema file Changes for v6: - none Changes for v5: - correct the error of using allOf Changes for v4: - use allOf to limit new version DTS files for i.MX8M to include "fsl,imx8m*-soc", nvmem-cells and nvmem-cells-names Changes for v3: - put it into Documentation/devicetree/bindings/arm/fsl.yaml - modify the description of nvmem-cells - use "make ARCH=arm64 dtbs_check" to make sure it is right Changes for v2: - remove the subject prefix "LF-2571-1" .../bindings/soc/imx/imx8m-soc.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml -- 2.17.1 diff --git a/Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml b/Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml new file mode 100644 index 000000000000..a2f7dc0c9b35 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/imx8m-soc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8M Series SoC + +maintainers: + - Alice Guo + +description: | + NXP i.MX8M series SoCs contain fuse entries from which SoC Unique ID can be + obtained. + +select: + properties: + compatible: + contains: + enum: + - fsl,imx8mm + - fsl,imx8mn + - fsl,imx8mp + - fsl,imx8mq + required: + - compatible + +properties: + soc: + type: object + properties: + compatible: + items: + - enum: + - fsl,imx8mm-soc + - fsl,imx8mn-soc + - fsl,imx8mp-soc + - fsl,imx8mq-soc + - const: simple-bus + + nvmem-cells: + maxItems: 1 + description: Phandle to the SOC Unique ID provided by a nvmem node + + nvmem-cells-names: + const: soc_unique_id + + required: + - compatible + - nvmem-cells + - nvmem-cell-names + +additionalProperties: true +...