From patchwork Thu Mar 24 04:20:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 12790346 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 DD61FC433EF for ; Thu, 24 Mar 2022 03:40:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348033AbiCXDmA (ORCPT ); Wed, 23 Mar 2022 23:42:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348018AbiCXDl6 (ORCPT ); Wed, 23 Mar 2022 23:41:58 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70072.outbound.protection.outlook.com [40.107.7.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BE4095A19; Wed, 23 Mar 2022 20:40:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gKqFFaAAuBGfXVHwHuK13RT/ezyx2vNF2wqxVCuMS392NCSUBrn2x8ngpWJvof7E7/vAAb81T0U5JTVVjfp0U48WHLvYaNCfL6M6kuJbcdEL2slamKRJibOSzexc9Szs7Z4QttlYEZZpXamwrHQByggcQJxfnxlvPBgEb0f6sIeRpODdMPXMym4uYr1OJ0kG9b0jhuKQVF0dy0YI2L5xAnakYy9qqjQKHkwjEwXqp/+ISWbUitwEpvYzOfk+32VQDp4MVYvaSERytZESJa2mQUj3QE9SIQM4rG1V5TKQKnnNl7hOVAffLndIRT9AOJ3r6+Fe8pm5y0JfYrU1o4AT4g== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qA1H6p5SilyU3ejwgRRkxmL9TN8F6SPRsr56LVXuiyM=; b=W5uJx7rAOMz6FdREYHJcA/95oteuvoJSbPq7uXTfFc3XbPKIHOkLtoTLuGfRIU+hTnwX8QmSDPYhn8S4NIOBGjvt9b/VJrbuPFfa/LJ0A2eyIKKSLkgoMZDS2L4z54wHdxcDd4kJzpMp+6T2MZn/m5mL35tAR6rfgGrvYyxZglPaPj6p/mx9hYS7G8l+jJmwT508z9vpxopT/HlQpIQL1ZLZ0Ijj1c8xvqyzjwMLp2nj+kyGRRBUQPBzO/v6x2EqbhICUMwN5JF+tD1gjqh6TqI2cy5eypn/PxoT+KBpRsoZoJ8HLuIiWdHF2fPrSUra2nL/u0KmHJzxcXsT8jr8HQ== 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=qA1H6p5SilyU3ejwgRRkxmL9TN8F6SPRsr56LVXuiyM=; b=mtiJ6NPpg7M/VpeBUrTXejq69/I4LxqkUPh3/GJWM0RNtec/TL3p6RnIsjiqYaswcZGDXf5wRYJsqs0GEvh7HxhreDOUaNiNBm89OesTYw+uWTrS9zmPUQql+mAVJNPBRLmInHuini6sOyNekGR92DjvEDUg65MKy1uqsha3XNI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBAPR04MB7223.eurprd04.prod.outlook.com (2603:10a6:10:1a4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.18; Thu, 24 Mar 2022 03:40:19 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1d8b:d8d8:ca2b:efff]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1d8b:d8d8:ca2b:efff%3]) with mapi id 15.20.5102.018; Thu, 24 Mar 2022 03:40:19 +0000 From: "Peng Fan (OSS)" To: ulf.hansson@linaro.org, robh+dt@kernel.org, krzk+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, wg@grandegger.com, mkl@pengutronix.de, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, qiangqing.zhang@nxp.com Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, Peng Fan Subject: [PATCH 1/4] dt-bindings: can: fsl,flexcan: introduce nvmem property Date: Thu, 24 Mar 2022 12:20:21 +0800 Message-Id: <20220324042024.26813-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220324042024.26813-1-peng.fan@oss.nxp.com> References: <20220324042024.26813-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0172.apcprd01.prod.exchangelabs.com (2603:1096:4:28::28) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7e7fc779-1cf0-4a3f-f508-08da0d48049e X-MS-TrafficTypeDiagnostic: DBAPR04MB7223:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1iODdnEoqgbSKkR7tu9C6Yw7osJ9nGHRaKMKWJAJv/Otl1K5Sa3fspvPmrJ0tYrmWzSRnecbEfLi52ILEo7KJYCoQKVpNqkd1HuT5fOqpDUcakDS/b4A84REUuy1nbBAgpzorSOh8fBPD6tfn3PXX9kBRh1auHnM4r8aK3QLo2433ZDTb2CGRSWYLZ1fxWcrmHY2wm1fARbNv/aqQCfuqHv86IA3LnwqK56ltNKO4FnJixQ1Tn6YjCBKaK/Xq2kaPFxCymxJovEFKGexI7KlmFeza9S7LBXrrwM28QlX48XJlRJa3EfIzj2gT8vXV+Vt0wraZ3yE7EmzPMhhlFnIPi0+/kKba2Zjx3m5DCoA/UK6IzkjMvHkWC6f9OfL6GEs1ndRYpgxLa/fCHNucxcLKCvYNU+ihMPT300uaVtNp27/aQ5l8itJ6TsIqKg1ty8YCTEQrxMOeAEgouq51Xi5qV09tOhFncbQS2js5N0GwYP/36iYPX9OPzGEGfjc5kZ+gUIMQO5P2+2FBk/rEXl/CFEL8XEA/qYs3Q64v1bKLMcHF0gtMr5q6eoTs88YRmZA4a02UPBdZuKNMATtBX5O6t8Wcl3ruHCXSO76YFmeGBjm32szk5UaGFTHhBWC1su+X55K2twa34vJELmg6n1WnUx5tPyBAP5pja+961x33MaDH/m9me1CvRiFh5MZ1pdsYlAmEtpgc4BK3BqYjAHgyc8TgKIH0YMa0MRoaoXKv2M= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(508600001)(6486002)(1076003)(52116002)(6506007)(6512007)(26005)(2616005)(186003)(316002)(8676002)(4326008)(66946007)(6666004)(66556008)(66476007)(921005)(38350700002)(8936002)(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9sYavpBoGDDYWuMqmu2bgd7bVFII/b3lrexBOK+AfFwQYFJQz7oEuU/2zGzxklmXKVjegFmTkChs/IPfFIHhORoXWMqNMLD7CkBbHee44WWkbM9GORcVqElf/Tl49yxyDhKqaKbgW/wRhTgs0dVaBhDRoXuzX0gAZ+SpHXlqpBkpj+yKOyz4sLsdi/ppipjOLWrILbm+gWCBzqfDEGpyr5i1mIIgu4xwn3BGxBLt98mXeuhNdu+YexWT3VOBiNSLNnGTvgcCWqKvH/lsx+o2De5FOPohkopNSc74yLnd7EAofCXVzT3llkb1r68m6IiVtSdeYuKqjbht+IuiJJ7DTBG27ThktvmgtScYUAmCu6TOLnRhcn/Tpf5eIURLvWq7SG7Oaw4+UM8QNSEAhFfOMTHWI62N61eWZPwK9N6vvtlkxsoUiAlCblnEsVLC4bjpPSd4uRSjzZ390bdqS/ZDKiUsMUEVlnNTDhFxxBdnRcRmQ+5eEU6xtxfWoCGBIqjLmsq6RHQGdvXEvU6Ji3ZeX3rVGYNoEudBM6Ii1GLE4xk1qPLPRHnMCgofCaeP9EqZFGRoevLwDUR3yKJ5hCzBvuaxKLxl+ITbBYBCVSvVkenhK3gjwP7Qx9U/mQN+u6rteEvENI1d9PAz6WcDZKlwJEX/i+l1K92rz+7Lfkesf+TLRU6CUXOEtkv/xYBBwZ3cI7JY1mqko6tZotFbKZl03X0qMKo4Oaw2cg9fJ9INPOY0L/RbVxylbzFi2QpH6uBTFCiAYS6FJOvtFw== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e7fc779-1cf0-4a3f-f508-08da0d48049e X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2022 03:40:19.6441 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: b+vyiiZVgru7YCqgCIDUV1LPlUWocTtzbIxE6+BtAlk8Su+h6Qe3U4OQaMFXEhhRfryUxsqvXCCqVIW3DsHSuQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7223 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Peng Fan To i.MX8MP variants, flexcan maybe fused out. Bootloader could use this property to read out the fuse value and mark the node status at runtime. Signed-off-by: Peng Fan --- .../devicetree/bindings/net/can/fsl,flexcan.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml index e52db841bb8c..0f553fdf8cb2 100644 --- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml +++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml @@ -73,6 +73,15 @@ properties: node then controller is assumed to be little endian. If this property is present then controller is assumed to be big endian. + nvmem-cells: + maxItems: 1 + description: + Nvmem data cell that indicate whether this IP is fused or not. + + nvmem-cell-names: + items: + - const: fused + fsl,stop-mode: description: | Register bits of stop mode control. From patchwork Thu Mar 24 04:20:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 12790347 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 A4E9EC433EF for ; Thu, 24 Mar 2022 03:40:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348088AbiCXDmP (ORCPT ); Wed, 23 Mar 2022 23:42:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348035AbiCXDmB (ORCPT ); Wed, 23 Mar 2022 23:42:01 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70081.outbound.protection.outlook.com [40.107.7.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FFB395A13; Wed, 23 Mar 2022 20:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QvzVe2r39LG4vFYimSAhppO56oMY7vWTqYAMdN7OWFF61Pq3o2zgKKYHHsFlybvJDMnGpGmbYGvpiPwf4upAFQi0bePtO0ZT0F9uGxkM/Ps/Ug9DHMH3wyV+x4Zb8ydFWc6IPhyNU8UWQCzG1mV+Y6Jfx+JsznhiYEaFlsMfJNtaW1gYAYiWDJWiUePcZ+qenOonO5WBumYGX4ucPW/2fbMnbeXvJ/2n4O5i5V2rwTisc9QqKMzGehWVYL1OIuItkkO6+bARfE+K3lOcyc/FWEnoX6dXV53JFV67LnYfDDv0GpGRPqPPlrZc1gV8Of1O6Rm5J32t/gFT8wkG0yGpYA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2Dis6wymXW/oq3hyyLVfO7XYxVC8Szus837WME6Mx18=; b=bdiIfsKkGnA/+SfZUPDe/BgA4ygeJY2F16QdOkkVTHpLPmp/fLbfRlgGvEgdSIp2ZDmZoeOF6V9aI/yU3Ci4F/pQ+TClGm2I0hGylB3OZk49f0Y0gzwp6aVjvUvRKLvgAMV6ErZbJxcdUuYIJ3KQ0NCkk9k4wKXMuAphWczJqrnl9Fgp9Lrc/Ug2/Dxp6RgYpm7SqPD0YtsS27gq3bOT9GZV07VUrmWfYB1sioffo+FHuquOSaSylvTvpcAMlUxzgKsACr8tNj8qfCfss1BCrEELNIj8gJFLnmJBkV5yA7gXvPW7ZHCqf6Hmiczng8ipML7MGgC8euWLvrIw+kg0Zg== 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=2Dis6wymXW/oq3hyyLVfO7XYxVC8Szus837WME6Mx18=; b=NNKy6SvfqZ3xki3XGOyWJ4bzOVzHO1wqR6dsTsldB688bOEHi/bGSBdcY/6ga8VquZM7F/0l6DtUujgcSaoing1WGdP7oYkVmRb3J67i+4cc5b5CL4ydL681ugswWHWNVLVHEHcn7oN0Al6qhvFXg34wcopPccXyctf4sILeY6I= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBAPR04MB7223.eurprd04.prod.outlook.com (2603:10a6:10:1a4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.18; Thu, 24 Mar 2022 03:40:26 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1d8b:d8d8:ca2b:efff]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1d8b:d8d8:ca2b:efff%3]) with mapi id 15.20.5102.018; Thu, 24 Mar 2022 03:40:26 +0000 From: "Peng Fan (OSS)" To: ulf.hansson@linaro.org, robh+dt@kernel.org, krzk+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, wg@grandegger.com, mkl@pengutronix.de, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, qiangqing.zhang@nxp.com Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, Peng Fan Subject: [PATCH 2/4] dt-bindings: net: fsl,fec: introduce nvmem property Date: Thu, 24 Mar 2022 12:20:22 +0800 Message-Id: <20220324042024.26813-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220324042024.26813-1-peng.fan@oss.nxp.com> References: <20220324042024.26813-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0172.apcprd01.prod.exchangelabs.com (2603:1096:4:28::28) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a2dbf4d5-c06e-4367-6ccd-08da0d48087f X-MS-TrafficTypeDiagnostic: DBAPR04MB7223:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mbBTv31Pn+wFprX/h80lko7cdB0AfSUbONBkWXAsvcqsHXPCDs9jZ2GwaWr29HNITZjGUWMCFy4Suy2K59eCoUZnLPWcrkflYs/o6HrqpM77RgvL4yT4CMFmwhbDFppxeoEdnawzEs4J2OCZBpfep88NLz/F/XoKFALCNBUCpGnkrWN6qnRPlCcCd/q9KqYfTibVVNgZTS/Rv93fkAsqmpe3uhg8swkT+q+StGXfEcGciSi/4KmxyWa7QZ1txQEkh6PnPpclw52t6Tw2MqfpxRL8uuN4D+hZGaZl3xT17dYY/wbHoODMl2ineRoMR1TcYVPZicvsTTS6vcPvnb5SLjjMN0XeZSCXJEVgmhSoTt793XTx09NMa+7LOvMeyGRGPy0DYk1CgD4ymH646tArB4RtXQf6ajYMaeXQgSivG55iFkAfSBRYg65gV2/dRTlbW+6q9eYbEfOo7eUV59GIJtCgU4vMPw15PzbBNs5BSDzlutpgNk5LQTrEnGXx+h3MtrAUi5p5lN5MkfclKwRmMv1t1TPdl0rHxOu5ecfx28S5W0AGDTLzJU/tEqYwG54XZUEXaZ1y0Ok+C5n+9YZWkDUMCkUtv7Q3wgfZZXwqW1dk7cpQMhE8Ua0NWvMKpU72BnbCrPG6wwhwEcWPfNSF0Mv0GO9nLpBMp1hApg37L9gHdMvrSnS4MNOlhlpW1ArA9yBX4LCjK9YW3DGktHPZZuaW1LNir7cRqBUfF/7T2es= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(508600001)(6486002)(1076003)(52116002)(6506007)(6512007)(26005)(2616005)(186003)(316002)(8676002)(4326008)(66946007)(6666004)(66556008)(66476007)(921005)(38350700002)(8936002)(2906002)(4744005)(7416002)(5660300002)(38100700002)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qEsjXFZQYFc7qqPyD49U5+cfZurZZ0I+PG13XZ2ycQwqCrQ2zlvwFUczMMrX4AqF16q7SzsKm7VYksTERrFZT8VQWFLQXqj4xXz04BgpUcNH/GLzqtwGyV5KZTglDOrj9uHvpe4Nhop6Bzx+Qy0abyX/3W3l7Vsnn2SRQzzQMWRJID5ffVaCjxRoaJ88bPDMebumMxUsZFit7zLanfNhDxE/hq+hH5LmpX3YeNHXCNf5nVDGQUvBw2NaZifQKTcnm6L0mr7f+Y7nS+GdD5IoAXflFy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4mHy+x9CpjOWzQF6FrTp2dyh97dBZGAvkZWym5Pb+WnByx2pUmceHPeVn/JIY+W9gHjdF4vPCYhxV0tGPL5yJ8bgOEQTpQkgVqsMn1JUwfojvfLn49RGxSQsGT20DTBKkk81oxIwzqNNbdZPgmDbZrL7PjlTJSEXw0kRvz8h4Vl0+09ISwuwp7ZS7ANtvwzg0Dn8M7N/XcQl0fQgoMx6r0Gj90FFPRqAW+p3eS9FzoRB6B2EHTQ8zcnBJMb8J18WTPg5ndxU2bK5ExRVvrSL9V4dYKNt8+Ek2aMxI4OKACYcKpNF+ywK+ZmtmheAiJSytCP0IvEca0JI9bnvQTYta6wGOMKzr02Z7vealYt8v91Tuh1S9u0jx1e1meQMm8Fj0R+w== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2dbf4d5-c06e-4367-6ccd-08da0d48087f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2022 03:40:26.0689 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /2qnL5iGOmnNSSN5SC6kPLiIwMze82DzWQ1kP0pP/4RlwknEsBG8p0LE1zLCJNHvYvaN753lCbW9dsTpGNVfmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7223 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Peng Fan To i.MX8M Family variants, fec maybe fused out. Bootloader could use this property to read out the fuse value and mark the node status at runtime. Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/net/fsl,fec.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yaml b/Documentation/devicetree/bindings/net/fsl,fec.yaml index daa2f79a294f..5d18f59ca0c3 100644 --- a/Documentation/devicetree/bindings/net/fsl,fec.yaml +++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml @@ -111,6 +111,15 @@ properties: - enet_out - enet_2x_txclk + nvmem-cells: + maxItems: 1 + description: + Nvmem data cell that indicate whether this IP is fused or not. + + nvmem-cell-names: + items: + - const: fused + phy-mode: true phy-handle: true From patchwork Thu Mar 24 04:20:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 12790349 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 75510C433FE for ; Thu, 24 Mar 2022 03:40:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348112AbiCXDmR (ORCPT ); Wed, 23 Mar 2022 23:42:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348071AbiCXDmP (ORCPT ); Wed, 23 Mar 2022 23:42:15 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2046.outbound.protection.outlook.com [40.107.22.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E295995A3B; Wed, 23 Mar 2022 20:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DbzwXLxHpHCdn42thmBwKU71ocI/fqKs7kKWYDFV1hJ42lZGYL/W+1LzkU5HLVkFw6iLkHmuPkvuJ01TFNyxYsM4EOjH3sx8Zw19wCCIb4ARHE/x8fJ6PBWpZAhuSKewTD3s/jfN2UTPvzWpTNOJdUkQ8jiM7xYTFl2293y7OJg/fj7XB1iMVVVNAvXmU+J1T/QfGWIBOEvho2ZOqb+KZH96x9ZTbHAN309Ia2Jqpwx9huN+R2wGxmgtQOvvruDTn/08G9k8vcoeGbdAnOnbQPgRZG7Mx2zrDZ/AWfuNR4eiBHL9xEmt8OQjnPg+wIqPF0kTjbGO7HDbGDCTUJ6ZvA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=B2HwLDeIsovm8Y9Ib4Yu7Z7IkVCFfwqSO/Van1dJqeI=; b=WqaS61WJoCWatNLXWnv2y2R5MyhoISiF3tYIQGYTZkPyzcXCXV7hzYvHzUGUQCxRHYC7WHbPkWWw4Ly4e4r+NdaJ6FTNnoyNAIDe4dqlCCZ9hpjRZKxd/aeSdDXckQKIIbZvgTUKAJ2raKRzJnAr71x6abTy0JD+SHyciZXFACAXpLWj0gwx77Bjrm7lQTkcWL2uSmND72IonX9Lma3eYO1937vjyX0yP/zfg01Jsorc/BhbcEabi/4v+VgRWdtiovfo+0ckG+cG4/bG9KHoaXaJyhLQPEskT1OYA6+khorGe7fvPPEX6744NjOmFIi7r/bgqOYxr6HcV4xPSQHV0Q== 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=B2HwLDeIsovm8Y9Ib4Yu7Z7IkVCFfwqSO/Van1dJqeI=; b=iqOpL8yGW0pT9G1RRgQkxR6QNG2jsa8cSkezAqJ2VQakM6NZzZ8RQRef2rs5Te5xrqGeTuBbGVsniku1IieI9vnWJP11qtJTjq7CvKJLJWVBf/LlfMDmSwmRGkjKJZwYFxTsKHAqbCCfuYnFNgizLuVKlqh5Xs9f7tC71gyHwI4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBAPR04MB7223.eurprd04.prod.outlook.com (2603:10a6:10:1a4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.18; Thu, 24 Mar 2022 03:40:32 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1d8b:d8d8:ca2b:efff]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1d8b:d8d8:ca2b:efff%3]) with mapi id 15.20.5102.018; Thu, 24 Mar 2022 03:40:32 +0000 From: "Peng Fan (OSS)" To: ulf.hansson@linaro.org, robh+dt@kernel.org, krzk+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, wg@grandegger.com, mkl@pengutronix.de, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, qiangqing.zhang@nxp.com Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, Peng Fan Subject: [PATCH 3/4] dt-bindings: mmc: imx-esdhc: introduce nvmem property Date: Thu, 24 Mar 2022 12:20:23 +0800 Message-Id: <20220324042024.26813-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220324042024.26813-1-peng.fan@oss.nxp.com> References: <20220324042024.26813-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0172.apcprd01.prod.exchangelabs.com (2603:1096:4:28::28) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e1e7176e-7faf-4789-9fd5-08da0d480c34 X-MS-TrafficTypeDiagnostic: DBAPR04MB7223:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zR0Gf2DpOIePXAF5B2F3t3xvTfT28mnCjaugbUgNw/azWCthFFDGDNyOJ97MWSy45+OjJdStzgTbfYHAw1hfaXLPApcEFvN0/xxjLhV6VWtmoyF17mRdk0LVrfKSB3oYGoRt1dVU3fjDkkj0fyXcbMFSZ/dvvlt/ryqYOUH6DOPTveGGA1a/IzFIwGAIjNLAKdvjqkJ5W/betwBKYzjsA9lNY5YxL1MtjTd5ekoAl1Pt8WS83KvxMBhWpMQgClhFG9bLz9ksf4SNyI/B3u/9sdIBQ24h7dCenEOZG4kUiqJTtCv2qeyTHr3RTOjRaLjkg1woY1dW1pv7AeWqxqcIBzT21LIr+9d87BzAeWeAgTTJTbOE28SW9GExyWaTRERyNnovEYbH4g86IaPGhRREIlzVhq4fm7az79Q50YdETsvJQFj7o5J4sl92FZERcYonfI7676iIsJmNaEBMFO/QiGK6qPxsXy+fHFyy6Nm9/nK8xORUf1wkfzYaGRYvzoFhGoWsg9Z/8huubV+twPvhzpDRTHc+lUCKjWF+/Z2Af0Q+onXO+mW44PZ2W++bp+2lyQtmcCpgo3Qx/Zec+xu965FJT549sFHQiIou2zXkxwmJXJ+12z2fLWGT7v3P/lW5hKg3xa3ML8XA78XhVSx/r4DOo3WH+DAqEFHny4IEznhRUSPs9U4ypUnK4CT+nSuDz4Mr0bD4JzwjW8mBJ12kMduSBx9oXFvTQLd+CbX+ZvI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(508600001)(6486002)(1076003)(52116002)(6506007)(6512007)(26005)(2616005)(186003)(316002)(8676002)(4326008)(66946007)(6666004)(66556008)(66476007)(921005)(38350700002)(8936002)(2906002)(4744005)(7416002)(5660300002)(38100700002)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: r4BPFeZGDYRfuJ1LtCrJi168COe0LxHKH+CtcujrcUXLi2ZuLe5Djl/Dg2LNS3MDTGeMmqFhGmAuJJTtReHCoZjcsza8G/EtbM+us0UpxIY3r1jGFZH7B493AFSihLunQXnYakNjD1s3oSKZU7+RnKvLD5m8YOWcnpQV2bmBIrAdsaUVJHHdVq1NiS/+m1nTgxdjxuqbLuIO1zfBmz0Ll6yMIMbRTPv3dmfKDRWz7hTrYP1ut1zxicjvb6osulB4GVh2/0UXu5gBlwtfbazeFzyjBHNwTiWuZN/XrOeuF3khcsFaTRnWVqRcRERK5sj2LFGVg0wwTUNPjsSxVvx9K54n4VY8UlHi4pGPgbSPBmqzqyakFoOJVm4tOeDPjdqlN5vZkXCbk8wJPu59LNn4tZhHJ98Gyu4j2Xew0v8C6UbwmypvdtC4JTHxVH5wmlp+psrzaGyVwdobblUaeAbjIxIBPPPlwSkcszK8QNPKSDqlqWUJTaIcQDNNF4nd659fH0+MsDLID/mR0CAJ3s07N9rqb+KKbWEb+aMJ3bKu2hVtcNvy3loWmmSt+ukxTcva36MDXr6vyC7nDcVNZQ9y6r/9AKZFBJc9rk2Y1y8ju/u75KTIMniKLdl475Apb6SG6kIEWFfjHcLap2KdaoMgPpjXrLmfLRi4Y8RmC0grW12ORhsuODy4+ORQvw5BpBq0C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network-Message-Id: e1e7176e-7faf-4789-9fd5-08da0d480c34 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2022 03:40:32.3208 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NmJ0eN804H1lnJjtfsPOaZzsH/WWm1Doru8RpxNdSdKGU63DaKvQq9ly0qmevTjToYMQJLWxstPtmGIpsT/72Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7223 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Peng Fan To i.MX8M Family variants, sdhc maybe fused out. Bootloader could use this property to read out the fuse value and mark the node status at runtime. Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index 7dbbcae9485c..67dfe6d168d0 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -57,6 +57,15 @@ properties: interrupts: maxItems: 1 + nvmem-cells: + maxItems: 1 + description: + Nvmem data cell that indicate whether this IP is fused or not. + + nvmem-cell-names: + items: + - const: fused + fsl,wp-controller: description: | boolean, if present, indicate to use controller internal write protection. From patchwork Thu Mar 24 04:20:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 12790348 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 B143CC43217 for ; Thu, 24 Mar 2022 03:40:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348039AbiCXDmQ (ORCPT ); Wed, 23 Mar 2022 23:42:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346350AbiCXDmP (ORCPT ); Wed, 23 Mar 2022 23:42:15 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70072.outbound.protection.outlook.com [40.107.7.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 487D09681B; Wed, 23 Mar 2022 20:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SiSjzG2aAWLFhTxxiOZNbWbe70lX3iiEwssq64m0kRcYHw3kGxTF7KEZ3lHSKK3PRdCo9+Asc6QmaICrWCrEdtGYuPFCdZdsQ07OH2Yd7IUzQtRHBY31JgwQFo49MVJi2kxLgk8ahYHHBq3iYOnOi84MiCVMeGkHZ2O+cw32uQDW2xz53qddj401UcBByahsdIM7Wn3F6klyvpV4HdQROOdmDOouemI+ba0SC20hdTdQa2NMsW99N0OjMyM1Xk6HeBD2IAug8KbbHzw1oFRqzDzVGuPhszqeSftZFIdOM3YrtBNt/7EpSJqrj1CtOdWXWP9uR7hsTmW2LGgzqfautw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=txssf5WBWQAUvbrHdcME+qenEx8vebQQQgbVSjhS8ks=; b=emKHGLLqZ3tWdEU8Kq2E2wplVHVXAeWgLHr9qTtbGRQ3PFyvyvrbsyNbueDpTSb0hC5Nzpqb++45juC6W4Avnw9L/a1JaEQylHVr0HoFPJLsXMZSVuF6r4Z+ONt+CbA0D6pRfJpocPqbHkgj0N8wRDSX8LJrEOCP14qizWvMRxjs2/8YwT7c8IwM+3LR2PNGcy4oRjChIIL2ndTqWnNzLkprZKqS7xq8vJDSJ05gIthJjkMN3LIBOv7J1f8x0mfyy75Nkk0TqChecJDS0FBBODhy5fbhKho7d+3OSJOxuoKdJ/tFJLPQrHMasxu7AtAM4CiFo8/k2WDK9BsK1GVZKA== 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=txssf5WBWQAUvbrHdcME+qenEx8vebQQQgbVSjhS8ks=; b=IFgAKTSpcXcJM7F64sJTmc7x9n9x+zlMmJrWMxniExfr0Vrasv5CnhhFtz5NRmpLRGO0N6icJxS+yPt6IFgQ5lci/WZWR2nnj4Z77gSxBPlZegVSpAHsLfM06kcfRAZTV07Gceu8Eb+7X7B7uJR3uozg/Rv2TAVuHevvGdKjX2Y= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBAPR04MB7223.eurprd04.prod.outlook.com (2603:10a6:10:1a4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.18; Thu, 24 Mar 2022 03:40:38 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1d8b:d8d8:ca2b:efff]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1d8b:d8d8:ca2b:efff%3]) with mapi id 15.20.5102.018; Thu, 24 Mar 2022 03:40:38 +0000 From: "Peng Fan (OSS)" To: ulf.hansson@linaro.org, robh+dt@kernel.org, krzk+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, wg@grandegger.com, mkl@pengutronix.de, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, qiangqing.zhang@nxp.com Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, Peng Fan Subject: [PATCH 4/4] dt-bindings: net: imx-dwmac: introduce nvmem property Date: Thu, 24 Mar 2022 12:20:24 +0800 Message-Id: <20220324042024.26813-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220324042024.26813-1-peng.fan@oss.nxp.com> References: <20220324042024.26813-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0172.apcprd01.prod.exchangelabs.com (2603:1096:4:28::28) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 37063a00-d1d9-465e-3a77-08da0d480ff1 X-MS-TrafficTypeDiagnostic: DBAPR04MB7223:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Mxxd1289k4autllXNAa5xKZhSHub8AWCJB2SIDeGvAMldjiQ4RItMvvESKZXhNBkub1FljysvN1fn5uf2B0ok26o8F9sz5Peh/u41TRebN+NK1F5jkmqwspx/U/8HoPzM50NyzTdpm50S/ljJuA2yzh6ybIUdF518jshZvB1oPrggeEdyrXgpNhFcEFjiMZZFMvuwxi7xW5emFVpbHdMlMPHjfvpkSJRhU1y79YA+j1BazPhCIDtgiGhv9R4LA+L141ezNtYCC3M+xUEWh2upg7pxxCZ3BTAS2XzhmIOj3m31y99/Y2UYM64KK8xK+2s3esz5TZDPL7NSWrEmFRkTMRB0wJ+ogswtHYNEpa7FTtcYqDZWPNvc/sGnPWJT/LdukSsCzPA3XVE+r6kySgrShhj6bc7JyublsscZesXSzb+4FD+QzKt0a4Sl9lmcc9EqkRUM+YpgV96bvpVljcUUA/+cCHhNLSLJKn5dR/BwQMOzYzrBrxsviOsacq8+QeAgsLnZirxvCSqSeldMRW4pGdcSgXJblf9EFaMowV/+pN6mMNTPBpiuVMlkkiidK6CIZIsJvpiYAT+t5JksY0PsKmVG1o3RXlInieTRs7ve14uXPApNUbx8XKiw1BrZGmkFyjemZl3L47WX6xfXT9Evm/sUUfLgqy1sMATl5KpJU7hBWXqGLFJWVbZ7qG91q2uVxus8F+U5l9kZ2ocpCw9Asdl6eIZOx1WXbDjYWWOTAc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(508600001)(6486002)(1076003)(52116002)(6506007)(6512007)(26005)(2616005)(186003)(316002)(8676002)(4326008)(66946007)(6666004)(66556008)(66476007)(921005)(38350700002)(8936002)(2906002)(7416002)(5660300002)(38100700002)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Njz5U1A5065KlSrBcGF9Uzs0N4k/uBaa2a43XT4zemnGRWbDywiBNrK1BAKG718QLslPDx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jjktVXfGebVJ32DOOEvxsdeBPmZQDAJueTlXA9plx6lXvSQdrtz41irKJf/DQQgaxZL0C2jSzneoIqtxbYhMLtr5lV5T80+sjLoTjgCXsAMMb9strGvlsVF044MT+IIE6LWH+xuNYxMujY6G0HLceCDOss3zT31ectbSweqQGuwDAHVC0GqTDS9E5YnptWEmqgLVUKQ5XwDkPyMPSBFvKCNM9EtJ6kov9R7Z5L/6y8jKU2dsD+7eqfTtl+qY2vWy4ubZtTD2e+Wf/4T2B4ZitWio66g6hmchD7nOX3vTj5qNHJz+tMnXJ6sd/zIi/ICc95V3RcfyaKRnqN3yMNWEwp4bCV5dbJsrwwHRW7dCVw7GnukPKi5rIvNS1bsvw+/bYZBnHXAC3s1O1HoJcw0VqMLqHFJiL8Ssj995NgzseF1H5WGIWuJEaSNubXcYjNS5pwi9niZ0hXuptL++ttvzeXkvLl6WC6ZZ2pKk3gLR9jB/4DPAExOt+ZEGCSRvK42QFkxuOjcmgZBdnZwVRZsBv5nPvESnTVblyqww8M4U87FyLl/Q2VpC5eEj157E+gsDy0EcM1AP3WOloALQ== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37063a00-d1d9-465e-3a77-08da0d480ff1 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2022 03:40:38.6056 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: z9J3QwtTFYlv+bwwrjbPCfs6bDOIIgZSAOX0C4A3GbQdEyi2qk0MwX9djrh8yU1EFardnGNBpNKl4DkI7+06dg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7223 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Peng Fan To i.MX8M Family variants, dwmac maybe fused out. Bootloader could use this property to read out the fuse value and mark the node status at runtime. Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml index 011363166789..911e510d14c6 100644 --- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml +++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml @@ -62,6 +62,15 @@ properties: Should be phandle/offset pair. The phandle to the syscon node which encompases the GPR register, and the offset of the GPR register. + nvmem-cells: + maxItems: 1 + description: + Nvmem data cell that indicate whether this IP is fused or not. + + nvmem-cell-names: + items: + - const: fused + snps,rmii_refclk_ext: $ref: /schemas/types.yaml#/definitions/flag description: