From patchwork Thu Jan 9 01:27:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13931769 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 A7F3CE77188 for ; Thu, 9 Jan 2025 01:36:07 +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=10GAoZA6DevOzdhYIsL5PE3obO9fM3DQhmoKP+BPGkc=; b=tZaTyZROfRaJZN31dw4dGgQ2OW /Q//QlXnVrcOUrw8HPF1wYjv537A+w970gpnAZ5r62vJg3Yz1KsAhCqWYhxK2+KYgOjuU99haxMG+ r2Gxx2TePCXkG1U+QikeOm+H2w8FRyxtDRt+wd8rzlWzJHea8QcA95ma7QHGTZOGGFsZKdhGvv2Lk NJyUlew8fOhK3GqojBbYfYvidA0PpWzAGAxuRoyqq2K9rO/1IEvS4IhjudZbeYKgtAD3E84xqQsUA 325Rnrrii10xJ6yjbpDSwH7r2eh0qBF5kGQx+1mGT/Iy5AWp3ipaG5TWWUHr4lpzo44i9UhqUC8UB 9ecGWi8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tVhSl-0000000AKSP-1IZG; Thu, 09 Jan 2025 01:35:55 +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.98 #2 (Red Hat Linux)) id 1tVhLy-0000000AJ4J-0S3e for linux-arm-kernel@lists.infradead.org; Thu, 09 Jan 2025 01:28:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YHlVXirF7xZg3qxQN+SICeQK43Q+CZnjNAnMT9QnpQxtfliJELzymYE20nKV1iIlroolZLiLEfUlWjKWt+W5zIeAUqgyPVW2I/wmFiKKwQsgHDfn2+X2zShHgMLuO6Djbi6fHnK9/Z6g5RaFwH4oCr1zB9Z6b4MhDfdvQbag+HH9cZumBdrYhx4HKDiaER+KKhrUDc41L1jBxhgAO8CFH86/zjXW8jKC5NgTEWoeCgihR5As5yDYyQRvAjXvsx3iKYstKXhA2/YdnkmTKi8+x8Vv+UqXlkBRCebXt8NFxhdqNH7hQc/jegDPxTf4Kng7TeXLohSWzSZL6qRHujSMZQ== 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=10GAoZA6DevOzdhYIsL5PE3obO9fM3DQhmoKP+BPGkc=; b=ovbg08UPGAmhysXowfwo0CGCwVbjzllOh70m+2022xup/qVqWNKKQ2tlo+IPeDFylYsGDKd+ipBhDs8sbRWXiAFZDNPy04AbOHzhzfQzyKedATAZbf0b6+l4FS1MZilC9moQw3i2p0sIA/eC5iV8Qukgpo4wBmQ+j5H3eW70njwzU5l/Ng+MgN1QlwP+iRcKp/Vh0ET4V1Lf5cPIiFGbNY4dVUThCWkrBvofXPyiukQmHcmyrvsDJkVERgHDWZLJh6VIYz26pn1LmaniU6xSd9MH4cGrnrxZFJn6sbJ2F5BbPs7qe4JsYtsLKdLsYP5gyi+CGbnvzI7vJYHIcAn6hw== 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=10GAoZA6DevOzdhYIsL5PE3obO9fM3DQhmoKP+BPGkc=; b=J9md0xNsTi14NIBUjW4bDoieq1Gr7MGyNhsMHELxDjxa6XD9pwsIHvnFDuOymhdMSUsGXc+JmTwmLwHKzJAkxDiMmu8SgZFfiTNK9M0j8EMKORgyLoBiD1EykKls+TPEwc8nNqBrYAeOoIyA/KdIxiuOq88sTw5B+3DK/qELfyZYsqHejD4T4RcByImMk09WQ2trrhjpPWIA01mO0h1wPYTjYeAvKE0MZMcmRmsG5eVc05jZjntFp18jeD1NOUf4VxBaK6oHa3VTsLoO+YAwdfFr9Z49Xmq1SrBfheVtLN1ORMesohDEDNhvr2LNCyVojUcPBXdNq1e1ktjpPfwTWg== 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:44 +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:44 +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 1/6] arm64: dts: imx8mp-evk: Complete WM8960 power supplies Date: Thu, 9 Jan 2025 10:27:13 +0900 Message-ID: <20250109012718.328692-2-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: 60de79a6-5009-4fba-9109-08dd304cd151 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: KF+t73ep3+owoFZMySc40Bv+f/WBYoCcAwfbaEpRMWhh6jRlqo44juTBbCDLyc2vriGaMgqFx71Oc+cZ4nORrGPcZa1/+VMdHRZsXnISIXuEJUaeQnHiF8MXJOBOIqx3scVsriwkw/9wHTQYe5IBT9PxwQaeIsxSbr8i5ToBWNGLSH4XhSjtaB3wQVdaKPjhcNeBrS3EKVpbPR6G+u+ImEU3PK4v9I6EmKnx18BjSG9A9JqNwE3FUsH35J06s8hu0/FgnoV/JfKXey2hgmhPOG1MDo3l4nHgAfYlbrKid6o4QyJLsoc3MsURHLG54MTkXn9z60tsIfvtr3qWeHAA8EW1t7mFZJ5acjMSm9+M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LbkmIGruJCQHQEJObSKB/e43kSrKnQ80VUbtvxhIQNnGd/K3pl6Nve6y+G4w== 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: cbwWts5kv0n2v0WjGZzIuZyw5ft5/bfIScI39DxrjZdfpGLt2z7fVIsuKRhgNPyqs5MP8DPql9kXHN+jb7C3mmyeWORyDgnO1gw0L43Dg4BhwdKoSHccGe9SGAL/jtEOmsDzVR+pWPALR6rqQrkyBQOe2WA9lVjLk5GzIfkajUN+OPhlt0ss8pev8PKPLWLU74DxTZV3xZP2sEFX7agD8lQ7sYlJ69N5FgVFi7vV1whg04wjRvR2OMvfg3INdpli5wGGTQgKcm2NF0ImdqjD29pv1ImblmB41gmN/yixa1pdov2AgNjHyTtlKr9ek2BUSfBfU20P/gvUsoNeWgyK5JQgmckQQ++zFwrBNkinEF5o9cnkL/GQJ8JjAm3t1kvtTrK/x9qHhhnKXAAZjLTclR1nopGauiimFv0RhwlXynEqKUXxZFVMW/BHVSBKYhNnhuy1ZX0trYSymwy6Icky2Ba/O+mjm7hiRstU6RHXwzfy2IK6gpuPkW9zzAs3fqoPXT56dbTNMEvFxU34B3ztBJYzt2Z95F+NTtdv5Nrki+yBJPXoPJL3Pkuq1N72mINfj1AZxN9yEXdIrsK8eCvGVoEvgtzHIEAJkgg2NuIqfuxQsu6CWNO80zX0tYOtc5pcQsLk9UMvF06bnNeAHCpJmnXFv1Tfizry/qqMOOUeJuYdsLK+JUQSzvTmtI4tNZJIsUqUmo89JHPARc/2U9smwmjtekT065BiC0A/AHKjs+H2Ww2DQqmCj4ppe/O+VVhB41AHfgA4/NPFzRUlY3dmHtsgGSsWJNK48MGeRnXev8MU6eksGL6Mt5zFGipMPLOkNDeMjm8Q5m+OFDAVDyFA7LNY5Qz/xADSWRG7xBcCGEEWiyQPz5sLCFR/fpQaKlLB2iMAo+fqhCCnG4Xu4LtihVEVeTrdnUEh9Wso+cHBEbB8+jxKhez98r4jrOQ4NSz96g3cfginHLAb1hUc/Qlkc5FiD/kvy2NsdMgFnPxjHTs86tJTWTWNczk1FaTzmY7R/nNjiR8SUTg31aR4F05vF5ms88MXafQ8Jp7R1Rb+qWi9YC732F6ajPCr8VyeFe2rOFIu4TUOV+MXVGg5hBThPnd+kh05QLexGYceyNx3lOFK4LbI5/WHs077TZQUznhskIZpI2so8BlR4Z89PW8v2FyJjI1Ls0ZQu3RBIiUMC/uF1jhEIk7bq3bjw77BbqMGFqxtZGqRXeg6KYyU/p1so9svZMOhuhrO9mCPAmT7h3H5wXQIwoiTNkRxfdkHHbWDjClzwnAPtIdRbWFemRy1ZFC0S7EXPH/Vd2rVxsPlsBbx1n6ODUPNVvmQFZlxYF0c0CceK3tgJXDhRrFZ2gIhgH4lQQCa9uqKxhxToDGjDMMPMMxF2a9wlCYXWPWA0BxgTBQIXxYoYCFtH8lC9UD5xA4OWptXIxf/ir8jb8syDexJ6L9OQSmzYUT+LDAzdcgdSnDfC+vceYtQG86Ls85F1si3raDOJc0/YHNW3Sw7x+FQoCIq1DJVFrlXacFDAMt/2r/oy1acNoA6hsb2NUikeihqs+r8sFgrvjs0HfZ2uI2dgbbn3O6R9h5iI5PzA4yC X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 60de79a6-5009-4fba-9109-08dd304cd151 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:44.5436 (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: dJEPNPM/6LIA40+Sh7fb7LsouO5SSjdw406i+9AVTijjgSWf+q8RtnWJCIPgNj/C8LWyBsHgnP/1gQIe5TiyBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7668 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250108_172854_139397_0B0D040E X-CRM114-Status: GOOD ( 10.74 ) 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/imx8mp-evk.dts | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 68e12a752edd..c26954e5a605 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -74,6 +74,24 @@ pcie0_refclk: pcie0-refclk { clock-frequency = <100000000>; }; + 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; + }; + reg_audio_pwr: regulator-audio-pwr { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -586,7 +604,11 @@ wm8960: codec@1a { wlf,shared-lrclk; wlf,hp-cfg = <3 2 3>; wlf,gpio-cfg = <1 3>; + AVDD-supply = <®_audio_3v3>; + DBVDD-supply = <®_audio_1v8>; + DCVDD-supply = <®_audio_1v8>; SPKVDD1-supply = <®_audio_pwr>; + SPKVDD2-supply = <®_audio_pwr>; }; pca6416: gpio@20 {