From patchwork Mon Jun 3 07:00:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13683351 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 06E3BC25B75 for ; Mon, 3 Jun 2024 07:06: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:MIME-Version:Message-Id:Date:Subject:Cc :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=uTRK4zxNmglxXlP3Ok7QHQyUB7PPr9FfinD3is+Tyek=; b=A8hS2T2g6qv+Uy LyWXYhIAP9/EGBwIeg4BD+eRPSdOjyg3FR6CvLu5cqpn7i5uCpzG3UprgarO+8CfszmhQmXrho1vp FSnBszTIC4UDMfR0SgkTTI2Vv0YOmSdiBrsomcRzvlvU4fJJGvNWfDMwxquYhwQFvKaiogmykMzOA lB5HMs4dSpat1C+6Ra9XS4pOd8NtehcuN8we5Z4cHgtOIWh3CiXnLUbuTZiUMTI4B25GdG5qm5jmO 995L8MUTblHCG9L18/ddpoUAc1WOsUcuf2Dqex73wS9nKYH0xoitmBce5+9QgxfWMYm2/xvGO3A7m y0sS6256DYyEo+UKNPLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sE1ls-0000000FqSu-4Bkq; Mon, 03 Jun 2024 07:06:21 +0000 Received: from mail-vi1eur05on20600.outbound.protection.outlook.com ([2a01:111:f403:2613::600] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sE1lp-0000000FqSF-0RyP for linux-arm-kernel@lists.infradead.org; Mon, 03 Jun 2024 07:06:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m6oeQ95CvJwuIqq8bjzJrX0rbfZuv0+O9VSak5kD7qhP8M1QCEHTGy/uMzcv18INbEycQxqG08J8+BGooIQ+QUl5jqe90cR99sOmlZAauiTWqilO/e1JvolSAgkJQA4UEArXRU3qQOodbHTleZveg/Pz17MUwXW0BW69NehJrSag+XiFmIgnNgY/zdCXz7FThFgj3zvWP+dYgzOzaALpoHZy/ZJbCqNSlvDkBWatz4HaKdIFuE8Kg6FHOtDzpuwTCYmGdWPtEQkq3HTUGM+5zCDs2Ttk0tDeV8YZmmaJH2yyFCS8vR8jBNI2opYJA5g1n5xBcx4d2c9ngw85ot/y3g== 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=QPmT+/2+DWraD4gM0JgxS7uTJRJmd3icIGiJAhoHm1c=; b=JvdYgCrDSbNw5JAduB5+N5flvaX/nqo1fha08qRvfWb5OHFEfNjJQmLmQTSR4Oabf73jI5+z9PQF+x/d66Jbou4ugiDCin0kn6OpApMQvVo03iwgCTcvJib+XLE/CAJzYbkgJYfjcmio9oM6RQh5a4UNiD6cT1NdPGeKE8jBJFCnDe6qNsquzZrbCnV1ZlcmmmNrlnN/LxnEW+i9AwGXY/DLLSQW8wLuY1MLxpxdb6CFDcK67FGRNDNFR9I1Jk1qse+3GoxXwrzVL1lE+RfCPyntyQnPv8h7y8LfeLvc0oyRrjMEEzfjIOkWjg2+1I7rKOHKM7lFxK6YWDcI2YNIQQ== 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=QPmT+/2+DWraD4gM0JgxS7uTJRJmd3icIGiJAhoHm1c=; b=lbU+kX9k1nlAHr3x6GfA+IIQyTRr7AsZEzcKo2PFFHLo7RUf/G8k7JLuX2FIMZAlPMwiOCZghrkgqBWTG7SSpGXM4PdfOlWVGp9UKfuWJDi56R5NmEnXoRzpP6Gtw21G+O9JcqKN5vAYtDy4Y0nYKkINvUB5Ga2FhCPCsB2juJs= 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 VI2PR04MB10191.eurprd04.prod.outlook.com (2603:10a6:800:22c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Mon, 3 Jun 2024 06:51:08 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::557f:6fcf:a5a7:981c]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::557f:6fcf:a5a7:981c%7]) with mapi id 15.20.7633.021; Mon, 3 Jun 2024 06:51:08 +0000 From: "Peng Fan (OSS)" To: srinivas.kandagatla@linaro.org, shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan Subject: [PATCH 1/2] nvmem: kconfig: set i.MX OCOTP default y Date: Mon, 3 Jun 2024 15:00:06 +0800 Message-Id: <20240603070007.2413599-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SI1PR02CA0027.apcprd02.prod.outlook.com (2603:1096:4:1f4::18) 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-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|VI2PR04MB10191:EE_ X-MS-Office365-Filtering-Correlation-Id: 316f9ade-8300-4b54-a1a1-08dc83998bcd X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|52116005|1800799015|38350700005; X-Microsoft-Antispam-Message-Info: 5Jp0r056qZaWW8J1IkPQ62qwzl/LLvwtTWmqA3JqZX7cZv/5fABcFUecwnhylLYTgWOzLP0OrV7owh9FLZugPnfGWGVDxpFx998c7nyy4rC2dlqrGVlYsqs9KjzMbhNh5xcB2+u6naMGYyUVcl/ZrfJ3Pc4M7pWv1ECrKxaF/QZtTuiwIq6Ii4zNl7nzQ5NqIRQdRrZ+IP2iZvXd/1JCCSeRhOwCe21D4AFmuiirr4lKVM8rFJ2J4/df8/tZOhjhRp1X+7d9lIvJ2wDBFqBnX8/Cbg9vxivHnmofNXVVZeWdd59yJ7UQgMcm2aTyxyz1uESqfTJFpdJAxKnshriKLAGwc6zY1lBCdxbEFT2jCW6iC08h9nVdNIDoFGRWxh5SLAhPKutO8nYSiOuRMbdS4gR00nXRWuG0mR496snuwqpnHZjfzVYicLW6ZkrJU8YHYxfI/TMkNWnAgyRu7mD+E1fkcHbJeSe92djOcjlDTOaKdBBmMWqdsyHni0X1GLVFavvmBB1U9cEMlykDDmxZujJ2IPlMvzsBBHwq9LEQXOfd6hA45Nj2IuxGq4RI6P66tcWCjqd764BuAOb1ZgBrOhB+CjaY9FsJuvpPGysSlPQ9yNi/FJ84S7OBSe2oECYfUF7Wy+w8bbKYR6321mYeRgA06hhSBGGGycvREInzrwZu+mTbI9bMQvJj018krIfezmN/RP7Vjj8Re6uSuh+bWmzVdUrLBxNJLhYewKh0qK6ZQYoFxzwg7tM8OGjq70BK6vPQ1+pe+kbtKQI/jGS8NtMs5f6Ns7QFx5IODcmsoqxNg4fmbBwMJTvH/Fp/RKFIeau3Jp8TlBFAiNYqXiuHvL8V1zswCIm91DmlCYpYbw4m4RoN6m16zCDziRm/2BvOGA+tCL/vsgBU2gQJjkEQrexDOsVuIiE46504yLtgdyAlhBH7lWCOsak2KoyrwXvxvLBhjAIPCWDTp586J0OV4swNSjiE72dkHX/mu9Y1vVT3JValgxdb52A8m4aovenMnqKgFM7pdE2GR1EOtAyirMVeW+v037n0Z33oLNLhOEAuXp94A3HOs6qB8haX5e6cjjjlRMWHdnC80oBtch37X9ZCqDQEIIB0k5bYXVHOv1Sv/mc6yjFCeiY2PHX0QSJN+R5z4nm8IIAdAAjFevnCZ7Woz9cboStSvgu4lE/HiTqP1YlM17o+QFuwRDYiCWc3KtaNw1x/iRr5sCHgByFeguqfm8FRLXAOt4CEfkhSjmn0SFnzLHFhYKBezPSE44v4VuT0cV8EmxW1uXmJR31YgFzlFpzoUOvwlFcgaERF6sdosHDapoxly9utrm/hv79kAxtYGpX5R409QmARbeOZ9g== 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:(13230031)(366007)(376005)(52116005)(1800799015)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Nenhar041HTsb4gUjP+GTfU4Vu6pYLkFdf7hq821ZSpxI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e+YNS0clJt3nsHgHKbTrSLZ7YVi+K9qATYjUlQAtRExrZtBctAGwX4TQcSPvBZHOy+OWyUmnrA8j3RdETw8GSKnB28Uc38uoQH3OrbbxYnM6wx9HJQ8wufEau5QuFEOTmhxdXrmBAS2KPtt8R5ihSK7ny1XRxDW6444wZ3bM5G9LB2+qAVxF6leGRBuEe7poh5nhukrt5rqlHov+MUZkTjdv3qwNgSii1Hga6B9OyFyZjSK6N3/rRGob7nxgquexQ9wu5A1KLMbSqVExXNxCPa8WO7ZcYSCCbzVJLPlTJ8SDtZJfoVjQLWCeNQzP5kDWj2xVoACVPd0s4cBq655xwOh4bYfyCgJdZX5ECLy68OikLkotGeSkX4dhZyL3YuZCSFVth1+rs3nu+19r0cNmnN+Fn3ZlW53yhwQtd3Mwb6Ygs0rQmmd079IoP2LEqKAXs3ZHFavtOs1Ex+Ss91YuoOFNezoIahaB3+utrcfpbCzk X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 316f9ade-8300-4b54-a1a1-08dc83998bcd X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2024 06:51:08.5845 (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: WRcwVYrPGHzFx+WRThCHt6UppOthRrqCz/B99l+qHuxU+6/6uGBRqsGUKN7gqp0NDRu1x6w1ieWA7t7E3aGsNA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10191 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240603_000617_373456_0A1E5A97 X-CRM114-Status: UNSURE ( 8.71 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Peng Fan If ARCH_MXC is selected, set NVMEM_IMX_OCOTP[*] default y which will make nfs rootfs work since i.MX network driver needs read mac address from fuse. Signed-off-by: Peng Fan --- drivers/nvmem/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index 283134498fbc..7e92e855eb50 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -76,6 +76,7 @@ config NVMEM_IMX_OCOTP tristate "i.MX 6/7/8 On-Chip OTP Controller support" depends on ARCH_MXC || COMPILE_TEST depends on HAS_IOMEM + default y if ARCH_MXC help This is a driver for the On-Chip OTP Controller (OCOTP) available on i.MX6 SoCs, providing access to 4 Kbits of one-time programmable @@ -89,6 +90,7 @@ config NVMEM_IMX_OCOTP_ELE depends on ARCH_MXC || COMPILE_TEST depends on HAS_IOMEM depends on OF + default y if ARCH_MXC help This is a driver for the On-Chip OTP Controller (OCOTP) available on i.MX SoCs which has ELE. @@ -97,6 +99,7 @@ config NVMEM_IMX_OCOTP_SCU tristate "i.MX8 SCU On-Chip OTP Controller support" depends on IMX_SCU depends on HAVE_ARM_SMCCC + default y if ARCH_MXC help This is a driver for the SCU On-Chip OTP Controller (OCOTP) available on i.MX8 SoCs.