From patchwork Mon Jul 8 12:10:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Costea X-Patchwork-Id: 13726549 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 719A6C3271E for ; Mon, 8 Jul 2024 12:10:58 +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=ALAXGEdIxJJcDfoxtYGEY98v8Un5fU5EAFyBJf+Z7UE=; b=y5iwWHQ72VZvlqhmhNp/7NMWQD KiaEVmNnQ+aqKK1XBRB6atspBtznWtTa57WwdGdbjoFYmL7yPFQEfOCJjNxzOCizoW3GbaoKmveeH XlhiTdHdL4UpMa9NEN7NA4jh6BWlm3a04HH8u2ksg2wfX5m4ueo0Nysozf1QI7fyTAVFZ495NDwzQ BPd1sHvU0ru5fUjp/VwreBjZyaEUDMVUjLjUZWLGWfJd7U1gS6nq487EIlpriAO9iaQpjZQ4EJo39 v/QBDrq+U+RCeizKEkRaD4xu22rjrDBIr/mvFfHOFrPKVrmnr+XEoiBitlPDa6sThFoG6pVp+QKZE q6RomwTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQnCf-00000003j6d-1quN; Mon, 08 Jul 2024 12:10:45 +0000 Received: from mail-db5eur02on20601.outbound.protection.outlook.com ([2a01:111:f403:2608::601] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQnCO-00000003ivt-08RD for linux-arm-kernel@lists.infradead.org; Mon, 08 Jul 2024 12:10:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f0d5FU3UPU+5a9eMN33Nirz7mHujIxEqfujRUmlwHf1mdOilhi2EO8phsc+dNYUgOHb9+SBQGWwg81zD+DcE8Wf1CyfWtzOcZytz+UOqmcjtfExVqLeQoEv2GdTzOJJiE4igy4P2+0g6h5QLlY/X3NBhvGOeybcvtVkc7Hk3XJAZRNbb0l+1OQ1HB0C0pXfCNXSX4uewcgWVkEUEfszb//PgecQoXtY+CbDYSJsL8YWZyfuTEknXm4lXoIZFDf+t3ZjmLY3HpryAPZrNrZee6kFPXUVzTgn9zWlnbIN4Y7hmy240xmz3UDofks9aQ4uX+ERzyX/RTUz+4lSIIoB3Eg== 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=ALAXGEdIxJJcDfoxtYGEY98v8Un5fU5EAFyBJf+Z7UE=; b=IG/gLV2u5eb3BVrmQl1Jmv56pLCmgU7GzaOXEKlloGVwW/jVI0J4mi4oYHqLcmk5gYXtJHgK7VDTIN4Y5TLQoOBVXLhaosJLx3pHbMx5IFkufRHeMhIX7f1PBL4pty62hssdEcMElDDnjzl/8G1+OvHNJSvzx152qyIF+P6jH+4Efyp/IrAxTpqrSQvsWKqFUG70RsTqmWlsypaHREt0UGkRc1yDl2aAb51L6mYcbvtfVsjLJ/TrRdQWPwRX0wikCxIo8/nOgiC0uv4c6wEYhHcH4TDCXGTqoPrOThON7OGKbMRmUsZVm0fRdLzrGn5WSX0krSFTgDf3+hoyJKlgsw== 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=ALAXGEdIxJJcDfoxtYGEY98v8Un5fU5EAFyBJf+Z7UE=; b=Z41vwS8CmQQWY7bYR7CMjPRtI6UIX8wFaFK2L5mSUToljUPF91ydg44YF5b1gG4ytkseItfoK84wlvu91A6NGyU1IKQ56LQfZXHDBqUPj+aVVhEwgEQpPF1Z9BohwUNywL6syXvk9+ztNq7C6CjCQ1Hi011rhqgp0nxNFirsvoY= 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 VI0PR04MB10614.eurprd04.prod.outlook.com (2603:10a6:800:260::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Mon, 8 Jul 2024 12:10:22 +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.033; Mon, 8 Jul 2024 12:10:22 +0000 From: Ciprian Costea To: Haibo Chen , Adrian Hunter , Ulf Hansson , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, s32@nxp.com, Ciprian Costea Subject: [PATCH 0/3] address S32G2/S32G3 SoC based boards particularities Date: Mon, 8 Jul 2024 15:10:15 +0300 Message-ID: <20240708121018.246476-1-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 X-ClientProxiedBy: AS4P190CA0010.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5de::20) 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_|VI0PR04MB10614:EE_ X-MS-Office365-Filtering-Correlation-Id: 5172033a-e37b-4e64-66e9-08dc9f46f0ea 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|7416014|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?OWWvI0IqPNKr/8HX8UqG+mWXOVnrQ/8?= =?utf-8?q?JOSgK5Dzv2TcvIciIdvFUOldJIQfNp1oB2wN0nAKkzTKUKGRxLOpS/SgxkMwIfJ2m?= =?utf-8?q?fa502P6pbGMWb88pQ/iVieekpcq2089fHDAm6JQNmf4prTvSyPUHpTt/N4U2SW/wH?= =?utf-8?q?1PIqHFKIBuzv3o0IM5UToz/bw/8OTH72ymBgot74BunvHdI2LHvY2BxhZc7ZZ6RRD?= =?utf-8?q?9JpFq6b08h8DPAKSQ3QiNtLG+TZvT0msDEbuZC6G+cTxX6Q4H3HPbeY5E0kgfbI5m?= =?utf-8?q?JREMRxITj3CAQ66J9W6oqYNeoG8qUpFx31bVb/HhD+VdsNdmuWKww6bhpJsy+LJMB?= =?utf-8?q?zX33Jvcv0tu55bWjMK7cLiDBP50S/0TPPRtdUkkcd28A85MO4ToGFaXgJxZeQk+lz?= =?utf-8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t?= =?utf-8?q?/laX8zo12UHDeKoZJgfFi8AE79+kRqLBxgw=3D=3D?= 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)(7416014)(376014)(1800799024)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+FwttDku7uKq2aC3VS+XHfK9AIaJ?= =?utf-8?q?K8fCqeCchVMUg272WhkTJpUJLed5Y4azQZj+kje9/CcpJtbt+68zvzGDv5DzSdgpK?= =?utf-8?q?hPRGOhI8FPrKmUIu2jxJej7R8c37zM73h+NU6D8/2qU5jkVjN8uYalOZFY22zl8IA?= =?utf-8?q?Ju5MERScudIPQmykGKluHzVeDavEq05AUCyDreyeLDdLIQoqzsDkCxtmpcPKMW49/?= =?utf-8?q?+xmt7ExWy+UWhzfzu5opIaHkr9rk1AAFN3IpYnOs7KC+T66T0/X5ThmHyhpPk1Ud2?= =?utf-8?q?0t0w71iXSZ0EfqXJQs3Qjntp/pP/Q/suXGueUOM3RLZC4dBXhHTSIBuHE0q6kbOMw?= =?utf-8?q?9W3QtMJZug7nyR0XSrjAwv9UbdQYlNZubhVGbdLyTT3wlFARAE58whyRAh7VbZ4Xz?= =?utf-8?q?MmyyD6iJT0GwpUwNh9VhyvKoPmY3s0baj3E7nNuN1+PAXKuP4HFIoHoUGJ7Ee/E9A?= =?utf-8?q?0s529b5wFbcePnN/olcEjFnjsWE77zxwWudF28HLVkiKfQ1ZuKhcm7LCaIZNMOlRq?= =?utf-8?q?Iunmzo3WtdV+oHUgnmgTEkTnbRM/FK3oTIcKAgz0X5jJeys9EXiRMVQkyrWBwJ73f?= =?utf-8?q?b4ogDtDXCi3nlBeXa7L8EJhJSb8GsOI/A0aQrUac5TuQC0Frcj7IO/ZpzMABVh1I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?= =?utf-8?q?v9eyODtyExj2YM+MBF9teM7EkB64WTzcMw=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5172033a-e37b-4e64-66e9-08dc9f46f0ea X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2024 12:10:22.0284 (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: dG6YmpPuewuzWwidwy8pNnkEQKU3X31NwB3INj7nZHnDm8zeAWFS5VNE79K/kcCw9lH+d4okPU9HskEZRZ4ESJpfaiosqfs4qFdIuK8ki7c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10614 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_051028_118627_0F7BE96C X-CRM114-Status: UNSURE ( 8.87 ) 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 S32G2/S32G3 SoC based boards uSDHC controller particularities such as: - GPIO card detect wake mechanism is not available It also fixes a clocking usage issue on 'clk_get_rate', in case of 'per' clock. Changes in v2: - Dropped option to not change pinctrl during PM. Instead, when S32G2/S32G3 uSDHC pinctrl entries will be upstream'ed, 'sleep' pinctrl will not be defined. Ciprian Costea (3): mmc: sdhci-esdhc-imx: disable card detect wake for S32G based platforms mmc: sdhci-esdhc-imx: obtain the 'per' clock rate after its enablement MAINTAINERS: add 's32@nxp.com' as relevant mailing list for 'sdhci-esdhc-imx' driver MAINTAINERS | 1 + drivers/mmc/host/sdhci-esdhc-imx.c | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-)