From patchwork Thu Jul 4 13:21:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Costea X-Patchwork-Id: 13723745 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 A5EF1C38150 for ; Thu, 4 Jul 2024 13:21:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Transfer-Encoding:Content-Type: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=5aIGSENashp1opWHQNZ/LlzM9Td+liywpUh9IgXwvsw=; b=CYwJzns0BokU2nnq+rqP0ioW4+ tB5qnzU5Hxs4BdJlmjvIQfaO+egbX16Rd/gIb6v7QpT38MbXyRQB52m4kHiq9c8HgT1Ixvl1XvDzO 2wvc+FdLg5oZROvtlRy+TXoNxvxD8CCDzWLsNjJNFW25ydkVpZUJAZvSJsMBIgS/lDzgvEuYNDcjU zDYci9IBVEdRZlh43Kxms3TekcLAWGMwzstq0k0FXMSAtiHgxO5Zx7Ls2ezQzO00L52lXx2iwQNQ2 tvtGkxFKevBCCSqDQB2VSdjarBW7lGdjT+P2eIlsQC3k31nCF9l3Ee+5veei2qb7qw77km6kmHKKm K2FEDAuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPMPA-0000000DGcp-0MZh; Thu, 04 Jul 2024 13:21:44 +0000 Received: from mail-westeuropeazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c201::] helo=AM0PR83CU005.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPMOx-0000000DGYj-1pX1 for linux-arm-kernel@lists.infradead.org; Thu, 04 Jul 2024 13:21:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GoVyJkbeTeDnPnOo9IaXEzpFc4Z7MZTo4fO2bqZpRwfKDSvbXNWeEuNNSKBvQg6JtBWPKPm9qwgyFOPflPstMfAEQ8x73Op9ZeBy7KzEvCkm46GPDc/jtAgcvG3BZAXth5G70saJUecd24fd3UTMzvsxAgq+Og89nPf1txYD8N4knJokL/hJaungGbEYYZ54rYiqj9/DPvQqq40dXlCz+QPI6Czxs0LxISSLgOrus1EPUFMub1pgMkwlohjd1z/pS5PLv2MzRxsA4H3FhmrmH61BWtWS91Z0Ne9uF/kT4xJqcX25dnfaPYmvj5aFH83gNt3vez86jwiS0A6aKpI6sw== 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=5aIGSENashp1opWHQNZ/LlzM9Td+liywpUh9IgXwvsw=; b=Uo1HzBpG/kQUzoZURUpeeqi/XVSdaG4UIY7sqcaSgjyuUYg98+I5Jp+/Vncj5PxO0XhyasPeyGKMLJYzFxVX6DGCLh2TJdliaQAa7F8uvgwSWURZeRXIr1HU4E8t9eVvq8RduZav2wtyPZmP55IvZvPcLoQDztmE5QwxtT/1Hs9XCEyqa6bOc7+zq98K1VQ6GI9PriKQ4U7dQQMRTnYiCDTXbCE+zFo8hNldHpGdCKG7znPEUskET1LxggJuX9AOV99oj080UzOHXUU61+Xgos8Gw7W7c4h9rwkb/xlf6zpUQH2sTF3whMPZjxBJHg4YD1LBmVwlZZH56nRQZNngtA== 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=5aIGSENashp1opWHQNZ/LlzM9Td+liywpUh9IgXwvsw=; b=IQkwDmAYdyLAO6CVXvdFTVKuG4ZlzxHyxgImgYBgS18V0hTXdWfTsrAY+IHQZ5l9bjK83rnDQKmVRrpaBxVXNgKO5azmFaVV24Bq8icKmPGFquzmss1A3G/SMuWbKIgyvvpjIKRNs2KezCMlnhoO5DrGYEIN4uK4bNIBO+2AHb0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) by PA2PR04MB10422.eurprd04.prod.outlook.com (2603:10a6:102:417::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.32; Thu, 4 Jul 2024 13:21:20 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%5]) with mapi id 15.20.7741.027; Thu, 4 Jul 2024 13:21:20 +0000 From: Ciprian Costea To: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Haibo Chen Cc: linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, s32@nxp.com, Ciprian Costea Subject: [PATCH 0/4] address several S32G2/S32G3 SoC based boards particularities Date: Thu, 4 Jul 2024 16:21:12 +0300 Message-ID: <20240704132116.2865864-1-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 X-ClientProxiedBy: AS4P195CA0027.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:5d6::16) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|PA2PR04MB10422:EE_ X-MS-Office365-Filtering-Correlation-Id: 108b590b-f7fc-4773-a86e-08dc9c2c316f X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?D3dZSt1bD/sL9vD64hkB6TJsj3uxDYE?= =?utf-8?q?Xbt9IhdOoSP+WNeIbGKdz/4r9NqIi0jrblQQ5ij7zY61kvPBWORf0xD+l8Q4YdBef?= =?utf-8?q?VRmbYMxFFKx1GYHVxdTYYebC9VZ1/pzczFFLzPBu79QLFJ4qs4sHpPeTs4DvQtOdp?= =?utf-8?q?h8nkm80lFjt4sDoTbrmdEY+l7wh/46FpWXVinEB5H8YvONdytjeUWTR2XUD/ZGdmQ?= =?utf-8?q?lkqk+1Y32Cap+mLDp7KrlBy53ZDnJ1vM5ycXBq/K7jz2IxYbbxa6/6MSxPkXgM5i9?= =?utf-8?q?x+DpuLqpHzGOigeDwHH7MyA7KfIe7RUj9qUdmIigznQzjvaAns3EVQF1jPQa7sByW?= =?utf-8?q?p+obTGJl/YT9qm1k/5mN3ob+OY+OBZI54vhPCny72y8xijfM7KzZaS2y2gya4zEUG?= =?utf-8?q?aIHBOprCFlec3Hk6ZhCTYINvXCA0ZUVB2jwILiKMt9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?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9251.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?K8tVbA45c0q5w6LMHkxwIUEErezC?= =?utf-8?q?RNBc+ETqyLe/Nirx1PwvNl0eV8UHnHY0BToEQViqsPCXkr4YMJiSvAoDXFf8YupFd?= =?utf-8?q?TAm2RCOL3UkD1Fxzy8oMoCFIbt4g01gku5VcIOHcx+Yr70EtJotZK3nlKRXA0CSL+?= =?utf-8?q?7od3Lfj8K+bFoqvGR3thfuhhjL6TKpDg5adjZYOKEi/xtFnll6retGnDVeb9lD+wm?= =?utf-8?q?XWCyZcd9i2LbBfRRXRHM0dOTbetCuEPIq7lML32NVGvh0ndViHcwh5S6kVaYqhh0l?= =?utf-8?q?JNbFzgHvctiatccwemc0W8SD7KYcSbGzkzgD8wQbwNUAONIx1wBgmafoDiHHBZkQO?= =?utf-8?q?R/Dmg0EtAlIHeUflYX76JX46e5oPouS2L1VowRVHRBDQ8bjk5iJe5yZZl5fnb17sy?= =?utf-8?q?ZFNfxz77cUzaYjklstnRFfYBR+KhxI+jNFs50WdhQqnLnBJLv55oTsTAKkoXbLlba?= =?utf-8?q?SwFchuLtEW1iuegKCrkpkXBke+eo/aWBJwnV3VZCxDTNv5QVeDihmxbMGUXvN7X/4?= =?utf-8?q?C4MUup23co+0atLSXtsSLXhIGjs+Xqc+oVnqY9d+vkdcCaV3sDGeHKWEM1b4tbLBc?= =?utf-8?q?To29yEgDaWIpfzNo+54cSBOWsZTSy/0gregqRMmB76TE740GuGxBfpiqyTSVRyZBZ?= =?utf-8?q?EdXh2tz1SPEs4/JITKRkDflFyyEY+tYfjyYv5L1ZfTPQS+rB2zK9vSCfKcE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com X-MS-Exchange-CrossTenant-Network-Message-Id: 108b590b-f7fc-4773-a86e-08dc9c2c316f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2024 13:21:20.3719 (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: 8G0wfZl6q7ccqnuhThBY+4gwyUsuCOVsJh/gwJhatCDvyUjHxaOjAYmQhIDLW0gG3hzOeAbQEm+NLsqDtrpJPsZSXb4nO2GCXU3OGj37VWQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10422 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240704_062131_504240_EB57B1F8 X-CRM114-Status: UNSURE ( 8.70 ) 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 This patchset addresses several S32G2/S32G3 SoC based boards uSDHC controller particularities such as: - GPIO card detect wake mechanism is not available - Changing the pinctrl state in suspend routine is not supported It also fixes a clocking usage issue on 'clk_get_rate', in case of 'per' clock. Ciprian Costea (4): mmc: sdhci-esdhc-imx: disable card detect wake for S32G based platforms mmc: sdhci-esdhc-imx: obtain the 'per' clock rate after its enablement mmc: sdhci-esdhc-imx: add option to not change pinctrl state in suspend MAINTAINERS: add 's32@nxp.com' as relevant mailing list for 'sdhci-esdhc-imx' driver MAINTAINERS | 1 + drivers/mmc/host/sdhci-esdhc-imx.c | 28 ++++++++++++++++++++++------ 2 files changed, 23 insertions(+), 6 deletions(-)