From patchwork Thu Jan 9 01:27:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13931770 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 53556E77188 for ; Thu, 9 Jan 2025 01:37:18 +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=j/A4PLWYAR0PqOpwd8CDIBSRSgZBZoAevtPKqvLBUtk=; b=Xb1Pxfy2khhnpSjzhXNXGZQn1T YsfeAhzcskJZOtA1ct1wVTBfZB3Nmx+wvOCEXRQ+160xUl0/IGbKBQOvDu23hka6j3GaEcQiFpGBm FM+9ZMgG+Wz6+fKami8dnS5jLlgJH1kNtAfkkixgJUKfb9/ouOcHzZNsT3vuci7jOsze+IVwyz5H5 eX8R/+YvUh6pKPXudi0M0ybLvUUbpwc+KLXjmwGEUQKgV7bzUw35iDaoK/7e79H/wySWhWpZ9l4GT 8oAfou2jpC+C7N4ElEqK0U1w7XLQtqbiEaF0CYOdDhPoc2CC/fXyyedSr2Zrrp5CY823U7iJhnyMs SqKKsCYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tVhTw-0000000AKZE-01Z0; Thu, 09 Jan 2025 01:37:08 +0000 Received: from mail-vi1eur05on20618.outbound.protection.outlook.com ([2a01:111:f403:2613::618] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tVhMV-0000000AJ9t-3Cg2 for linux-arm-kernel@lists.infradead.org; Thu, 09 Jan 2025 01:29:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DDymyBOt80mbPRx5AhufKuV3ojZMqSUwMziAaVpu6tKhdnM3iOqR335AFapFTNmYhVvOVXlai8lAJ37LMLM9PRxVfg8k6gL+osddAH3KF2Yoj+OJ9/bgeRN9t5FWoH1Td0VcI23t7Mv61EfX1s8ZG1kJSqsketbDm56e/7LRS/hiIgkMJIgXd5i9+pDUOtPoB81xhPRcf00Qi84qexHtddbbMpJNawBRP9dCVQlDEpaRxjuzaUwMEFe2B2RwhaNDVCcuULlNjEooNYRngt8NTg0LR0sVAVgOdYQhZzCMoFg1UqqtHDvzaHqe9PNiuxCtaV7rCo29//I2DkIDFXKVow== 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=j/A4PLWYAR0PqOpwd8CDIBSRSgZBZoAevtPKqvLBUtk=; b=dd9CMBLY4v3cStwmZXguG3yw2e0m9nQbk4aqD+vrhEuwGeeXOe5Gs3MTUhzIrQDE3W9E6lTOd30TDemSJ9NYp5NLj2q1QVTN+wgNroybQC22ZFovY9y2lxTv+CppIcMM1nHnuTcumLn1OkTcZeeQMBQNp9SRBT6WQ2pztlaPFA9MCOjdn2MQMmkgPM1lvG/zeOEdfb5qwfq/Hb7zdR2PP1B8ryOj410+7Vdo+M/aj9kKaAOCOAQA7JekiPawnIPJdk3+8mQoFjm2DjJrvnWC0xNpoJ25nuerQLKO720LL+fSLgzisX+dFjgN2ykcAQ4VCUmCtJRCMRrJw2jA9M86+w== 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=j/A4PLWYAR0PqOpwd8CDIBSRSgZBZoAevtPKqvLBUtk=; b=YZi73yNKzQQKoEjaUOB+fbpIi4IJp8U/1qfFQsjCaL4P7vPvkPPkFexW5I0DlkEfJzug5hNY1bszSmjv5U5ireTA1V4eq5xxgzMcFOZxnar5NBZFyv6FUsaVrR19ZNL1svP01k7ngBveZS8uCoGQ7r9aeb+a+XBV8B1j80XLf9/DlVrymN5Tst6imH2DPtIbccPKo/lOF3zGRpx/Nvmk4V+TIYCBQjrs1Oepeqze3k8esA4b5dq1wMlmBkVinF+9qiW3NW1GxikGf1BsuxnkmlVVi3KeAwRiYdjwlCOg3ySSJufndNOZUycpr1Dq0gxdYd25esd6W7K0H21MHaFnAw== 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:48 +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:48 +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 2/6] arm64: dts: imx8dxl-evk: Complete WM8960 power supplies Date: Thu, 9 Jan 2025 10:27:14 +0900 Message-ID: <20250109012718.328692-3-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: 800ce667-4c09-4a73-ae4d-08dd304cd386 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: xykc7A/OZtysllduicXwXG/n7z0DFG0WzOvO13tH0fFaUNqKgQXSOWh/iTa5S4twxveziOPLfho8NtYIIwwUcTkU4mIPV4pAgoPSQkDVlIlqL528RfMMtZXOBzsC5jyjA8/PKX+HpENclGyqshYYQLfVfI7y3MS93/TwcZmukSLyT5geDkNztUtvvEafkMJptVkSHgbULXfF0BzIJ0SLUBuLJzPBfxVdX/jyhtMaY3RwKkx34VcdsZUFzoDMgQAcNY0yrnmsNdXRZjPh6qVfk4OXNHNxETLRmIIcdjou7Y8xqU4k7QTa8tmCnyg7BG8Fo9rEWvLtqWA7f/YTpaE4xgClb45gVDFcknfye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C3duBUntHpiIf3noAT4S9Z/luzQoluU2wK3hKqyUua3tOBmYSAijuLzQwMazxQ== 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: bKquPgCfilFmO4Fzos1jQjHZe0F22x+T0Fc3xis8QYNN6EEe5zt5huOcDtmMsA/LZbjW100KerkdnbXs0lnUrcMIlJEaDlh8avoK+MUT10VRAIl2STT27ez/SEu5x6bKnD6iIlblCHD+3YwPwRHgrl3edUOJcPzUkBEFyKpRLU8+RUgZocHE+u1R5EhYnXNDIADEFNxBZ6vl/d7WqpP3wunO30BeD3d8k8RlYDzQoQJS/E3kGBwFuwoJu1g26wiDMqVvB4G10eP9i2GMVKl4bDJYXb5fJ6IQb3zhU2mTObzgm38xe44b1rNh6s3vW7jiibX2uzjCaCzYYrlWOs0vnaJircHm8LiOAV42AHZlfqA1Ao82npE85XmXgCzexflSKXbMWcnX1qee7Wg4sD+dDsmgzZIS/Elto+0e1S8RYRU6KHuAG89Cu9maSiWgadZriSTqe7NFz6YkafW4pvnzxMdHKnHg1RUjc8k2Eo5DcB1UWSpbM4wiTXK8FxyXMZGaibX+iTucdX6rTZAIOCp/LfqxCxiiezcn+HPFhW3yDgpHqYEvyk/3tmMqEhzCRS3apehy+E7FsfikIN4jb7BJ20yAwwK7GWTQtcbGqdoBgorYVAZe8/Q6vRYWpIe+3cu4tgYKCf4pzIbWtJyKZK3FSova1mwhk5nkhmyKPCEfOUw9AfguhaLLy0QdRDKGj3yNUNSc7LAVx2qLNWDf/v0fYqStUOIYoTz62N8f0uUM8hn9rdwHWbF13+GyTqZiv2yKbKr9DvyF2mRo5156raQp5uO+zDEMr63XYE2rgRvnNQj7reiHWILoPkiGuqBDDsOPlFHEWToMm3oWlG/v2ZG2PUEQbMCHEP20aRH7upXDs7R0f099iB3Lr2lhiT3BpH+eDN8yIb4CV7zh625yCB6G7VING3qc7Gfjvk3M7w7HKWixHh9QofzfqbsbSipuILsxdRWQf3XSkp7sAP1Z3hBNSleI6y9Ep1iDEEPzycQJqWy9s0i2CQpZnzVL/ZTgUWsCYYrYzpx/ge7/5GJC/G0nYtwVFYiTBXqcNqitKSFvCBaQGu6IWos+eConcRgTtjE1p4LG8ENgkemknix76bsuRAUlHwU1TiPNGXY3xmgO+zMGn19M1WZV/4p3L4h/u+l0THWt2wUwDXFR8/0gfcXl7uoVAx02oQW/aK9VnMAalCwQoHZbh0ImZIVjqwSVIrNqLtg2N1KdXN5hBniiI/Qb7qXNbECRAEoJD9ZeTQ+mxkmP0G+NWMBY0lrEzV2T0I56KjaQFI9yvfA8Dj0O9KE1HWopXyd3fMU6g6/Jbpb8TScZEnPXcddCOJV21+g6BJHv5uoESDWB6VwnI7pnZbyDE5DlEipytJHd1rT+A5db9W4q2Gg74JNg+6Um6fz+pnnEGV97Px0GA6VrzcVhpv2rp/4ardYN5VAm53pxPxIfb/YroOtQq6N2yJ44xolpCiLGYFjFfKtR+CMTsExYaeY8SmDK+5j4WF38dZb17IvVbO+7189261xZWoNhh3B18THlGZDtp6I3wMcM29j7+LDIUZG45ZHLXMeoHC90Xp29JcXjjREXTZlo+v+Jrmc9TMdL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 800ce667-4c09-4a73-ae4d-08dd304cd386 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:48.2621 (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: ZXO+Z02kPXrIgCIO2192XSh5iaH7ojCYQ5iezrKOAJWYleBkHjhVV7Tlf2wm9dPLeXZl0Nuylb/HGYrkZdhmdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7668 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250108_172927_794202_D9FB618B X-CRM114-Status: GOOD ( 10.75 ) 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/imx8dxl-evk.dts | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index 6259186cd4d9..5f3b4014e152 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -191,6 +191,33 @@ reg_pcieb: regulator-pcieb { enable-active-high; }; + 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>; @@ -420,6 +447,11 @@ wm8960_1: 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>; }; }; @@ -444,6 +476,11 @@ wm8960_2: 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>; }; }; @@ -468,6 +505,11 @@ wm8960_3: 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>; }; };