From patchwork Thu Jan 9 01:27:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13931762 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2075.outbound.protection.outlook.com [40.107.20.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3685A143759 for ; Thu, 9 Jan 2025 01:28:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736386085; cv=fail; b=nAsXOUoZJa7z5CeIIm4s9nYdxd1MXcu+IZt6oQbMX81QsFYICpWTwDXYLpqMFQ3NvWrg0z3UBTT0Cl+EqGJFTs0E/N45/9vCEk71XKUMQjer+7l0jRRjmroUdLenWcNxtY4W/R+XYOTOlnPTknnVkTRKj+PFM/FakTZXSkcsSrI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736386085; c=relaxed/simple; bh=GVeytswWj1TcRGFd1wD/C4VU/qZjOvf/UmxWBkvjlCg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=rnbYPp76hOyMaUKhjip7idBkjA/jZAvYVReZJYxrl25lRO/ihvP7M8vUBHO9r+uhOlSrk/atqFuiDOiS7j/EDncEPwxpQJNyhYK6EZZcLCCjaLyiCSekcES5nmzMKgRMsdKd9lEaZ8wKWjg7MZEMboIpDjSpl9gRwMyAqV9m+lo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=RuCCV0Hk; arc=fail smtp.client-ip=40.107.20.75 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="RuCCV0Hk" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gU7pmSF8XebwR7/SPFC72CoAzZBKt1L7kljCxVjNbTzLejuVsAAjgljKtgr/mWvL0MDV1Uk9T41k4Ej2vUCAYYv62a3G3RbCjrVnjs0Tm/qiCBbd6yMtq3coMbyGPX/DfdF9uWAbNxrPxFthelr70pGT1jPoeAsbqjzyN7l0S/TONQAM0Vb9LbdCLlqiCBdqXcoTLZs4A1aQ3dJvxb06TL2yb6IcCCQ2DyN1/+ZCjAnL8b/AIBgazBux5t18NZANQMT/EilwBwrUoPLfl/duQmOt2ZvIDPC2Jw78cTAwv+yJY6sPEYE0/+S4L8ivHYHIVt+7vuymjAGecGZ1BnzpZg== 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=56PZiaJvbdxb4s41m78WkXTwsglpgUEQoaKr2eoxTKU=; b=XlU0JOA4Z+y4Tlhk6xlTy/X4Rj2DSPmrxcMnmBq1FEQQ2SVzsylZsCVL1SvrZO5o15xCpwcH4yOKf1vcSkEI0cu3wFvPXz2Exe5dfv7nIf/4GLgmZ6gs2DzH7ApEmYAKhuQja3GtYrb9+qHbImIaYdGHlgB5exyJvEk3GvpL1GAjy0vVO0Lb6YgIeehPuAHrkY32iAoNF812A/QDNOxAAnVpjTSJI5A8u3EjGVDhP89MQU9H3OXOmGtAv6vMqzibFX61LElwqnljMmalzSK4Zz1BojYo/+il2kJ9UmZ5DwSX93KGxW5UWSeeG5Uu1eGVLXDeU6S0jcg9oXX5PQcKoQ== 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=56PZiaJvbdxb4s41m78WkXTwsglpgUEQoaKr2eoxTKU=; b=RuCCV0Hku86LWKFB+aDbvjf68NPrdpVTZLLw7ODsAFprHTYgAOq//1NfHbxYDUdf2NqEyu8T80h6k7SB3ZsBOrmdi8HODrpaXkrxSTh+hzZHMQUAQDBd2mlH4aYq07HQOHL4HxCxIRhTuGXqQjBzUMrCfUvyYnBGrluRaUU1p/BKoIpadDEkGJY0NfO/Tn+C8Hy/ZMjHq+VWgDh/gHZc1C2LxAOWcAcLKZYDtzLr42Oe6ZbCPv3vbwEn9gredirsFGXN+Q4d0o1i9K0Cig3p2yg0O8/I18iawfFTlQEWG8vVjTv7xvOCW5a+ilbt1uIlbTlll8dxuPDYxc9GUEdc/g== 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:59 +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:59 +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 5/6] ARM: dts: imx6ul-14x14-evk: Complete WM8960 power supplies Date: Thu, 9 Jan 2025 10:27:17 +0900 Message-ID: <20250109012718.328692-6-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) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9498:EE_|AM9PR04MB7668:EE_ X-MS-Office365-Filtering-Correlation-Id: a71f929c-6db5-4a1b-3bbb-08dd304cda66 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: nZmpZJhibh1QLBYq3k/YWgEeg+o/Ms//hDx/0KH1O5zZtTrH2H/9tqVDcynyNmDrE9mqwogZy861GXw+lwpWyOOdOGRNjJkkX5j/o3HMN18/oTHaG/EaD1yVuiD8QkuQAZVxCkXEYanYLJuxNmGX7HWfpi9outYQ8aZRK2TNd86wzDFKbmAlqI8GD3wQ10nIlVHLrfzAAnfyJ/mLqK13Kpycc2JQd5TFx2RgDiXwwMAakQy7AeE/wKicslosFXVG5s42W/oYOs16r2o2YmFl0qj6NAJB9pjTwWyWCov/MXU008r//ANI/bbjI6ySuqbqhF8LB3m/A3o0162Hk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lVSxBDLTmfGE0P74d/k7GHtni6o34uuopZ/ViCuZtjklOuuzSWthELIg== 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: CeAQ0exexHh0BokfgU7wo72zbMl+XWbty/Ip5zH//oiLItzfr/8MriPZTj85qzlDZHAbF95Pt9edLvElTbOIsE1QW13iV3ftlWGUxOFd1hj6qqeJgM0Mp7d7xcLXB2+HFZKcbvez9voW+uL3l3AnqILaASaBQqrasNXAOkHVqP6pa151i3e3cgJXqGhKM588wySANzMAtfKpOXvek5QdjNPXuwnq0ABh+GJc1jszyRGsdnYkhmNLtejoGdjqW4f4tBw1jw1xo4EJ9vMofqwVVlsJPDTn9k0EkfrRECs8DqLY6XnlrrnZXPJ10PNC9GOh31Cm/xgsytAIm9Oqke0xARZePk3cYQOub484kbS2ELqoakwr2iJunRlJqpl1hfhJ65Fxi8LnbHB9sqqozFBLUrP9c5BOSO/1iXhl+6M/PS/gJ+c0O4FTERczGwm4HpYn4vjcOrs5MwuiExeMXK0Rg7lLUd1VaDddJt4IFEjg1zJ/6gd8jgzncZMFJPo4PRNjRyF6wmnHuAK9Iq598vsGO3dj0OoLg6AnxonXumlNvfQEO9gPkJNIJtOlF0/O0PoMo/2XugadOOwN0dvf0aMkBogvedxEQZdAWxiTquONK1j7fY2UMpxfrhdqqyft8YcHE638hgpNnBl/RGCrP+yGGOyIS7fEfZxznXhnR4kUqC/Z6NHO+ltX0v9jxI8Iao38GPWCnt+ZtVnhstvW/z2AYnXyTRhJ4/EhIIC6Fqgo22lso3U5j0HjeROYReYT3y2eMniWPkEDMtub2Q7tiq7bQxvyDh6UHF285HV3UknzFdHbo6K80z0BGpteP6QiQONSud3MQnA3KDm4A9H1R7pTugs2jngAen1QxVqK6+zJAT8YeK1yAYcv1MhbBZHGTKoyVjPUh8K3gyj5oyuymuzj1+sgxI7iAyTSaIICpWJB9VoLSynoFyPysC4OOklxrFCoJc7rMvGJQbm8S+Jft5BBiUZqiFoukuLY6enqM6ueRiTSQ9DE5nOfkeE2lwVh1gzWPHm9/OAdnmy9Dkxht5tKY25I41jFHdFUeBW6ffIsbDO86GUvT6JPitVnaR4jMjiq3XytH5dSoM7pc5Ub1IgX+M81OrIymGrKyJdZ334lwUEtautu/LSnUo4JMrVsZgLkqn8FGKNudzVvsqOcTzaovgHGiq27jGwQXPN77iqwYEuRUQlmGW2yBx/gZzaPOl+33WgCXJXTgkOHAM7Dhniqxtab1FG3pdGROAVi87bHAEsjIrwVO+yXFfygsb0ILCcir+9t+cuhnxecM4g9dBSrpoWPPh93QKsNhhvvpK2oTkoYqCyyWJpyDWkuyNtQCZoMt1cKYZ+ODMn1WEB9qbBvOOmdvBJwahM40T1gedW1s7vPzkr3/FQhHH4HBDu+/8pum+xmFbAnZqrni0SRi2FKpy4zZ9vYzD9DSB+YqUQMaCxrCrecaXdeB/lnGs3zjJ81Ghc6dWyA+iik4EmH22l/TCCDof/FBDLkfIafHPMJQxV12LWyqmd11v3SWeWH4xPJ3Xh0Tmjc8FExZTUL5nav0SnuUjQflvcgzobeMcDYC91HbBKCgzhj5Nk05cc5mWzi X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a71f929c-6db5-4a1b-3bbb-08dd304cda66 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:59.7923 (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: oTFxdT39YQ1HDjvxrtCvl3Z6gIumNqfcmDRRmD/IMxEv1RKLm8W4CnPO0ARbj6EhYwV8JAXp/fpgKh9luopFNQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7668 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 --- .../boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi index 0e839bbfea08..911ccbd132cf 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi @@ -62,6 +62,33 @@ reg_can_3v3: regulator-can-3v3 { gpios = <&gpio_spi 3 GPIO_ACTIVE_LOW>; }; + 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; + }; + sound-wm8960 { compatible = "fsl,imx-audio-wm8960"; model = "wm8960-audio"; @@ -139,6 +166,11 @@ codec: wm8960@1a { wlf,gpio-cfg = <1 3>; clocks = <&clks IMX6UL_CLK_SAI2>; clock-names = "mclk"; + AVDD-supply = <®_audio_3v3>; + DBVDD-supply = <®_audio_1v8>; + DCVDD-supply = <®_audio_1v8>; + SPKVDD1-supply = <®_audio_5v>; + SPKVDD2-supply = <®_audio_5v>; }; camera@3c {