From patchwork Thu Jan 9 01:27:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13931765 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 7E53FE77188 for ; Thu, 9 Jan 2025 01:31:19 +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-Type: Content-Transfer-Encoding:References:In-Reply-To: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:List-Owner; bh=msTo68KlwDvsmRfirAtXc0jRFPxbii2QR5+VaJMAtIw=; b=1wWC70p+b+EAuvszn7gxn4S+PZ KLcFW8ZD/itEr069NCC7hRkP2zeJ5a1zjEjOZnOvXzxNeY5ky1QiyG9Xt6xYVPi2bM9hk0xZDhgg8 S8WOiDx4PlSWStjXrXrE3fH7kb7ZW1X4uwHG9TiqAJrJcSEn+9Q7rfSWxkeHOHPPLt4veL+zQ5Oa4 rnRnpXud3XlKkTWDcLkCrzhRFLAuCtSZt4FgSZTgKmKGycxRvbn2urqzQ1zohACaXE7otCWulWKqb OrGggpZqp7JcFFuBd6PnunDjz4GRwjoNYly+4F27csMclIY+IMWJT6kvbV4g0DjN6M5m27jNc0EoD 7I0Rx6ww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tVhO4-0000000AJfh-2xwC; Thu, 09 Jan 2025 01:31:05 +0000 Received: from mail-vi1eur05on2060f.outbound.protection.outlook.com ([2a01:111:f403:2613::60f] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tVhLh-0000000AJ0a-3TV0 for linux-arm-kernel@lists.infradead.org; Thu, 09 Jan 2025 01:28:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=i9SPXP1x3oPpyJbf6r2jwXT+7J4Hpl8Bws6u9HB0vw/eHYYf68uVWmNYo64nh421L5FofxFp0SX8qJ0DqmTCBtpYHtQ3kck9LOVx+xivVz/VcJM/nfAwJ/cwuKzZRA7/QwITiRI3BXlp3Yl62f6aceUhDdNK3LJE1ry2fAEurST1tTdgfL1dpEujFCgKSt+EccVi4n0jLeCBBTTYuUlt6SAd/387tfwCmXT/Gs2qc1w4P/bI55lT3pc2pZzWnHCuDvY/GwwYeEwz0VZkKcOnUNNK8Y5vldHC8NZLcK3nFd1DVHL7nD3bnBkhHlezTngA0HortUKTjEOsrr+NNKzErA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=msTo68KlwDvsmRfirAtXc0jRFPxbii2QR5+VaJMAtIw=; b=GXbSCaiIqUb6fNBlVmbiJKT+ryDx4iyHugXQ8gp6VR6KbWOuCAzlnzvXSJasSQJYkpyk7ieX1hnU+rtsGH0hujX4MRIpIYoGhog8pMTTLp5INF3tOlPJ6M+K4sr53U8iurK3Boisb6fg911fnPnjhhN287nbxAntyD2sdhLiJY3exqZjIA9qFiYNYbb21NlTFEHcuQIkKFaatGJAYVREEXKJX1JxKE1G4zfuLl0y9BVQdtkB6RIv4tGTu1AU/YJgnLwoC5z0SzA3Q9Qv2DVFUMOprJLyT9B3quqccCqr2fHWdpwbvSWP7dzIuBJ6dIoZ0iRID8EHGB5KGJd6JVrVEw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=msTo68KlwDvsmRfirAtXc0jRFPxbii2QR5+VaJMAtIw=; b=FZPKrfTck4vNAGdJflkuW9jWnF1F0t9oK4J08dgK9qmG3CCR8qofyCd0MQYWvDcVKXeGWxthmsogMbfe5xA5PnH8lH/ofVqqNd5Q353OkILIJWMdvy373BETvWgJLxyu4EtVY4DR7Z9dLNgHTn7cGN/nkTBedKJM9KcFugZP+bf4w5zSD2n4GHAlBTWUYUj2DOWuMIJ0eT8Gk2EdyzKkya6lZHqjXq6E6hDQ3OfdpgXPrv0fqXMp9irQ2wcFRfde/Kp5IW7U3iqLf6HxSQj0gp9KOA4tTOFJ6/wDrecU5YJ6jpqgXV9ZQ076Mcyye7xYP6Oyrv1IQkiH21F4rWLZ6g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB9498.eurprd04.prod.outlook.com (2603:10a6:10:360::21) by AM9PR04MB7668.eurprd04.prod.outlook.com (2603:10a6:20b:2dd::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.12; Thu, 9 Jan 2025 01:27:52 +0000 Received: from DB9PR04MB9498.eurprd04.prod.outlook.com ([fe80::24fa:6f9:8247:c5dc]) by DB9PR04MB9498.eurprd04.prod.outlook.com ([fe80::24fa:6f9:8247:c5dc%4]) with mapi id 15.20.8314.015; Thu, 9 Jan 2025 01:27:52 +0000 From: Chancel Liu To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: shengjiu.wang@gmail.com Subject: [PATCH 3/6] arm64: dts: imx8qm-mek: Complete WM8960 power supplies Date: Thu, 9 Jan 2025 10:27:15 +0900 Message-ID: <20250109012718.328692-4-chancel.liu@nxp.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250109012718.328692-1-chancel.liu@nxp.com> References: <20250109012718.328692-1-chancel.liu@nxp.com> X-ClientProxiedBy: SI2PR01CA0046.apcprd01.prod.exchangelabs.com (2603:1096:4:193::18) To DB9PR04MB9498.eurprd04.prod.outlook.com (2603:10a6:10:360::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9498:EE_|AM9PR04MB7668:EE_ X-MS-Office365-Filtering-Correlation-Id: 578c94af-3f6b-4784-c027-08dd304cd5c0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: ckRmRee6nsxy2qvdJP8d1HWJDNEp0LfD+Ttj1T4y/WDoMQzTQQ+UWF7nOXwbnbpmwniMbXB2AFCNWEvsm36FxN6IwJC0WsJ02DPXTgnU+/Sl0eE7v6nY5/bopi4WVeFkGz5n1hX6TWD2TksQYq65ebSy8muZojVI5hq+sZZuS+FBXbr4pP01X3oLylNYAMzfKlUydyk3ZJTcuyIjLPGbps1a4LNSulnT19Pl2hWzdlNNcYgOw+FAT/RHk1RQqDgXmUwE3HmBuATsT7Qm/FUrCcCxVxwEQQ3IAKE50ROpqAO6/ARkJV1l5MLl9NwZobR762gzb08ixlsRO7LC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b1p3HsI7/cMqBlJgxoIUaorAHKAcFbaMsuSwPHfyhPkZBTt3pD61UfZdbQHBWr9IsLwig== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB9498.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(52116014)(7416014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sjsZBWew2OykKokV0EXzVqgIzQWZQ/wZ2h+9xxEBJtkmxXBPndaYeMAy1JlzXLNVME6sYdOp1K+xVk2S2QyIb68C09q9F22lhA46X0mAjYdo4xjzcHfavbpiuJJLQHLI+UtBUBOZ8uggkJQX4fZNVn30QfchfWSN0AK/JQ1PHSi73pBMpngWIyuMBUWfA21MNmli7lzpzYOD42VCB2iQKCytq8m7V5Gfhc4ooxuRVOp3xRhzvg49aCfdol7fXctTqhVyqtfgw/fno8djuoekGc8XvL2hS0d8NibDQB8JNfXjf6mQGmq2q/s31MWtbdgKnXNg5o3DytJ8KSc0RzTukHSUjJUvQegZKfpCQNLSSnJgrH46bBUDl69rzIIpgy0+BNBSJ4Oao/kvzove0RkwMQCwuQZtW69vP5Rke0OzmjD4IaUe0Ij2SBR/735e27rjHtA0vdbRhyndqTOOj+91MkjmRaHItYaNwYro+pLBTk1lWL6GyoGEoQXWgTqeJiyqv/tuq2V+8rjOzua1KZA4DxLbEANGFXQ8Wq6kiABk5lDA0kPyShU5WH2lSLNNpKrVq5+unc/u20tyfnv1XNAnaph8NP+huFQHPfCxTcFnPugZU+i99m56Sg4W4v0A7uOMw2n4YFpgurdkI+MM/nGdnHwO9IqmQSim3//mPyDJbRb5YCBJz2G5r06s+Rf17hDLObV9jI3FvRKhCLGtv9PXlzL41mz2Ea8dzpeXEmJ6Pe+a+D1kqzXDlVQEFOyGfAHDBj/QN4HywdOpAnjln/Dl+XM6W7zwM6Y/oaR6/hXbOdzn15b9NCwY5+5FSfeHCh0CbOGxO3OOwVuZkluPSJJrb4wjhVcmQr4rUoeRvwaEULJYVqvKHk84koQjSpEug7y7kqmC12ow2/0Ee9mbP0RiWg2fQb+LgDcbi7wISCg26l10N0nwkpPPDoT+8hhDvjt87Q8kbpVk+Omqpeh7KAOc1SAWlTl0+i1qih0Th+Ts7VLOjiOyk9ih5yCJnQED9YnvTXHlQFXfIZUrBar4K9DlE7h5o9yFa+QXN3cr8NNps+dK6Kmh6OOA5Ti9Xa4P08z7W0mlRjs71rV83UhXY2wlEIxyWjE6NyijZ5yYaMdMHm3BhUQePeDDa8TqneEAqy+kb2FiK55y5HSQXzGjl9vKZJx4vqFMlQ1uqezXZpsZgk5gw0y4wtLt+++/q9QroEOXmGkz3FODfGZOsXcMCIiCB7ek7HGu7mNg2JCoKNGv2WpO/4RMGv6kb7RJDHhs9S4Rd8gp9bLOfix4YzkvNRKdiG7qGBfpqcWE67BY0i2azAwscEZJlt7VVObke8Q1UkiVzDYzFTMbGLxzqiGJlfGVyVi43Mn1XeiSBJXeOUX+JGzi1/wO9Mi2TIE2+Ibh3gHBuz5Q87ZIz+7U2OMzrEtyc+eU+BiVK7md6UBRVi1Zs1GrY8XSNSreBP7BUkV1D3WU3VnK7XYyB8g8QwIxKpVTdmPSTW4GWLp7eDn83InotDp1XXmV3/S91phvNS7MimnL5t39bFJFtPtosC6xjVoasheX+F+3ncWSOSci4s7NGziZoGr6I6365/8pLclnK/zV X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 578c94af-3f6b-4784-c027-08dd304cd5c0 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9498.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2025 01:27:52.0082 (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: neTJoNzf0O+8fYCU+xhla96BYZ8Ns90MVvdJgksGziJWWKX2apzflAbXJ6njd+ZAfriqORWox1mgs7yntRYgkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7668 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250108_172837_866365_2EA9CDEB X-CRM114-Status: GOOD ( 10.66 ) 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 WM8960 has the following power supplies: - AVDD - DBVDD - DCVDD - SPKVDD1 - SPKVDD2 Add new audio regulators to reflect the schematic and complete missed power supplies. Signed-off-by: Chancel Liu --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 50fd3370f7dc..dedbc6a22773 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -220,6 +220,33 @@ reg_vref_1v8: regulator-adc-vref { regulator-max-microvolt = <1800000>; }; + reg_audio_5v: regulator-audio-pwr { + compatible = "regulator-fixed"; + regulator-name = "audio-5v"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_audio_3v3: regulator-audio-3v3 { + compatible = "regulator-fixed"; + regulator-name = "audio-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_audio_1v8: regulator-audio-1v8 { + compatible = "regulator-fixed"; + regulator-name = "audio-1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + bt_sco_codec: audio-codec-bt { compatible = "linux,bt-sco"; #sound-dai-cells = <1>; @@ -439,6 +466,11 @@ wm8960: audio-codec@1a { wlf,shared-lrclk; wlf,hp-cfg = <2 2 3>; wlf,gpio-cfg = <1 3>; + AVDD-supply = <®_audio_3v3>; + DBVDD-supply = <®_audio_1v8>; + DCVDD-supply = <®_audio_1v8>; + SPKVDD1-supply = <®_audio_5v>; + SPKVDD2-supply = <®_audio_5v>; }; };