From patchwork Wed Mar 8 12:27:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13165650 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 7ADE0C678D5 for ; Wed, 8 Mar 2023 12:27:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231371AbjCHM1d (ORCPT ); Wed, 8 Mar 2023 07:27:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbjCHM1a (ORCPT ); Wed, 8 Mar 2023 07:27:30 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4C7BBAD3E; Wed, 8 Mar 2023 04:27:28 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3288E0pO010415; Wed, 8 Mar 2023 12:27:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=wOrYb5bgi8BBLJqmXqVoPAEsgmNHI3uO0IS0khsONoQ=; b=0NG2Pnw2edSZOsywGyVmzKgtKJk9XUcdMYoBTSxQuG3LvO2kHzB4XsM5+y4Cz03hWg+t jyIW/putH86wAfxnEGWzoh2JtCFY+pZvc9wK/lKcVCFhKtcIkM+LeAPbsYzJNMYb82zf WeSLrmmuRFrhjpD9w059KehqQZUKUxK/O99uXAHpj3AJOXuO0yNyFBA7UcejHnzgksZ5 Vb4nQBEi1t8EsWhJ/fQyTfSB+chAVI5Bou+/S38zTSD94xWRfxX13lHTcFLATw0Ecyp0 v5zd/qBttr8BgFHqX+lR8nxmqoN/kre/WocY+7Pe7cze0UHuktehyB6S+qhmmtMZDu7p dg== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3p417cfy1s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Mar 2023 12:27:12 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 328AiKfi021718; Wed, 8 Mar 2023 12:27:11 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2109.outbound.protection.outlook.com [104.47.58.109]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3p6fr8nup0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Mar 2023 12:27:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TK3ZvLXBYTgi3ECyCkRD6b4UZ8ybba/P6Wsu63aeT/JaJGIY9MitzsSKRzzW7eJaRd/MiBiRAmPupDuKZM/SHYrT8aNbheYGzylWkmuQhrIMlzR2XCQCMKJhlhbagbWoRMzgDdq92e/QQqH0T3K6QYnIYpY7eH7J6gxqx/evzKpBptDyOMr86QPqK/wnv3BNDn7bppuWE97/LHc94UG5Hvk6ugVYkbxYCdIWv7dHqQTwdsTJjVInfeLKtp5z0OHCvhReNwd9krDYq+g2R8I0O/mwjPyp+NQ2NWzUZhkB8vuMsYlVt7TGq2sMbR7wXHxM7+Kg9v97QaHne395FpI/Zw== 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=wOrYb5bgi8BBLJqmXqVoPAEsgmNHI3uO0IS0khsONoQ=; b=lysR448oLhU5zod88H5c7o69dWsDersSpL5HHMlv3JlwBi9vIzu1r5dGlgfOC+93TaZck+MB1oyAR79a2z9FGhoC1Lpf6g1QPSrgmkvdDhJqpcDXVWt20XybdtmptjdrQvvHDL41noiwfZ8njcR6j7IEm9Zt31Ly65aeJ0mK/KfsdB3G/7mTDdVuldmXDDORoXKx6IMNsKWo3GGvjFboabey9cd3ag1HBXYpt7imDZHpG/PEuK7udeQI7OODUs3v0Ip0FE5ECQJrTlo++d+mT8fXWnWRsvTaVvN8WIkM2+dSWNyKh7xUHiOQuZu8Bhfa4I58RubTAGgKpZegKe7heg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wOrYb5bgi8BBLJqmXqVoPAEsgmNHI3uO0IS0khsONoQ=; b=te+e6wC6XQiTBsLvRsfU2TRGPmwV02/vyH3hTHozpcRflpgABj22SV9kZu5jbePslrgM+EWduXUgleRsf6JjODAVUByakarW1FYREV8xbR49+LSQMbcxBGzUDQvdz0XAy5Iy6uJvYi6wZ0ADvHYpnTV88oikDcA+AboOITDLVIg= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH8PR10MB6551.namprd10.prod.outlook.com (2603:10b6:510:225::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.28; Wed, 8 Mar 2023 12:27:09 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.027; Wed, 8 Mar 2023 12:27:09 +0000 From: Nick Alcock To: michal.simek@xilinx.com Cc: Michal Simek , Luis Chamberlain , linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org Subject: [PATCH] firmware: xilinx: nvmem: zynqmp: make modular Date: Wed, 8 Mar 2023 12:27:02 +0000 Message-Id: <20230308122703.114549-1-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 X-ClientProxiedBy: LO4P123CA0334.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18c::15) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH8PR10MB6551:EE_ X-MS-Office365-Filtering-Correlation-Id: 18c73992-6ae7-405d-7897-08db1fd06fd5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QscgloKnkSNyRSySJYFLvyOPpx4Xp+5lc5QsfahDlqpnfM5wbfwwT4FTsJp2xz3ZCKm+qoaboI2sBwnQhl2StL2B54B6GsjE06yQqO9/F/czoODEXeU3caF45Qtf+1oJ9+rPrQzlf6WafeCrkQT4/priQraq3iLcykMryxR25STMQGifPkPUuGe0xiDAH9g07QcXItg1QbzU6xf2ADEGi0MHudXuYeO98eM6LSuRjXOpHnbskIFx+NEeFON8bhzUeR4flcLKdgrPdvoaEy1wnm+0tTff+Ov8311OUjUdT98LH9Gmb8aUAaV8unb3/4tmDIuuOvpExrB5ZNb7BmFec51gHXaElO0qt875hFTpUPdr9BY7EmsmjCAs300EAIpq+riEUpD70dMS9ylu1E2HJ/tATVeJGYjPtOFlXPEQv4ud6JpxlMNtEvNMn5J0OclKdWjfGWVj/W77/BeD3m3BzfTqeF548ON8qExTJZoTcMwkccYdzNUKmyf0TJz5XG4mBShRyBzL0vaSRcgIjsv57FnnJmsHh8FE+3+P/tTMbsTjg7kylCH5BPtjmATcCXWZ74WxEsfPlpi5b7C75+hcovfbWilk9pr+tVJAcAYR5nUX/kS3VjsxQS6YlcTrjE4BgZhGeDATuKJxY/7JPkUUAQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(346002)(396003)(136003)(376002)(366004)(451199018)(66476007)(66946007)(66556008)(316002)(54906003)(2616005)(186003)(5660300002)(8676002)(86362001)(36756003)(6916009)(4326008)(2906002)(8936002)(44832011)(41300700001)(1076003)(6506007)(6666004)(6486002)(478600001)(38100700002)(83380400001)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1zfMcoKwAUKIpDWcypW2Srb8Pos1LAaFZY1e2GdIElWdG9FH4UABZN5MF4iUrJFaPMiWDZ/DbzmXr/8QBL0lHIXMpxcEEUlWedCzKFmHqgopSjAA8HiuQkuQyXBrwUiA5U8rNDdK/t8b5gpNOoMQcKNr2nmUVJC1zs6VUBl+nBtkmi8r5EG+SHirnfxRyaV7gCZyanWV5MULSs+rWj7nj4aZLBHyDGIW1on9/Ytq7dtkGzgGeGB5ftFNNJ2ayy0itmqMVVM2O37NQT/hY7jd18NjLpry7JYU1393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is0ED/DdI68U+StBmKCpJsOequ/TJyVBt3u5WB3wLzJsT+d2R8QeOSGdXmSKOwJF0l0wW7zkabTTnWgIiGN2+u6XrKTD1NvikeldqZ5wJXr1pNDUWkw7D7GPqSa2fxb7kqcU2IfZ515v2TeyCOHHimwSxnJ0MA0Hq3LJth3QCnkrT30rwgOA2MwjzljjSarbR1Z3jS2le2zWPfHptkO8jSjKpins5okw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 18c73992-6ae7-405d-7897-08db1fd06fd5 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2023 12:27:09.3914 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NtnxSlmNI1DolwURCS4qYJJ7Bqrq7wxVdKG51+Fb7sZD9ax84xOvPgNHO0eNhCV/1r+7AsxWKhIhzIG5MLOcpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR10MB6551 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-08_08,2023-03-08_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 adultscore=0 bulkscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303080107 X-Proofpoint-GUID: ZgZb3a-1gdKi9GvyaxqwSsKVS3zB0ZUS X-Proofpoint-ORIG-GUID: ZgZb3a-1gdKi9GvyaxqwSsKVS3zB0ZUS Precedence: bulk List-ID: This driver has a MODULE_LICENSE but is not tristate so cannot be built as a module, unlike all its peers: make it modular to match. Signed-off-by: Nick Alcock Suggested-by: Michal Simek Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Srinivas Kandagatla Cc: Michal Simek Cc: linux-arm-kernel@lists.infradead.org --- drivers/nvmem/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) How's this? (This supplants the previous patch, obviously.) diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index 6dec38805041b..3b3832f4dfad1 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -368,7 +368,7 @@ config NVMEM_VF610_OCOTP be called nvmem-vf610-ocotp. config NVMEM_ZYNQMP - bool "Xilinx ZYNQMP SoC nvmem firmware support" + tristate "Xilinx ZYNQMP SoC nvmem firmware support" depends on ARCH_ZYNQMP help This is a driver to access hardware related data like