From patchwork Thu Jan 9 01:27:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13931763 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 3991714A4FF for ; Thu, 9 Jan 2025 01:28:05 +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=1736386087; cv=fail; b=hyErTBTu/QFmF61bFVZsb9CRMj7I9hvo6lv96uPwGp0vT6ffIMpZnfoDiziwgxQ4pzP5xWchS8olU/WYdKpFpXv2lVJS/eewWQXhKYu4jl/2VFg8fw715PprptpRAdisIO0ftdjsWkVhSPLr9wnOzvS9LFAqU20yg5PUoVA6O2I= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736386087; c=relaxed/simple; bh=MEx8w4Fq0ZkFgqv3G6XeKNZ6xqsAEgdw2VpZeRbSXoU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=d0fN/Wz+AOkE7/dUfdoACylk+JtcpDhMCMiaiY/9/RS2MzoIJoIaO80L3wIwcdXQ7CNDS+Vz8wfrsf0hXltk6obmoqQF+coSQJpdpockbnteeWGoujU0gYZt4++PivLV8lJpNgJpEkYvIMk+GGbtbYqqZAirX7Hd3cCshLQrcEs= 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=j4eSlAli; 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="j4eSlAli" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iaVe/jM4qenJ3HWigiBOnu0RCtVjn86SPS9Yau8axssQoiDT32QYYNfy1VG4GD2GUkxlVcJmybWY3sbl33UAkG/9Nhwa/hLHOs/iJxEyGAFCqX07W2wyrQuiH2WYKsB4avn7TZHHyeiYVIyE1CmdeZ3cIPWQAdbbImHW1UOTLA3lOfExS5MRtkWp4GzfRKgT4OvVKbLCoWhYALBio4d2ZWK63SHkAufCry+awK5dewwZDctNtgyQODZNQ1DGsv2Wn1GNyt2aQLaq8iZw/1HqczyhTBFcWLTVadhELQ/5XizNVCDcc1BaPvdKzXfe//fl2z+8+gnvR+Do2L6SHs9hxQ== 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=3IXxew9Hx8fonLLsOWvbvUJeViQJp77xfZwO12x8+0w=; b=ljhFEvA1KYl4O5AWKz5UGHlVcR1dtduY8DaDQMx9lTvcCm5/NIZAYKUZ14Zylonq5nbntMxcpKRYn4MAr0SJduUDxsEW6lYh2g8IAOIRdlhWjWIakxk2lzXMmHbQ2CYLoAYATDpWuho8OHjMeyBfoREOJbXZtqhU4ecvFU2sVU9o+P/4vsFLY5xsdnREd8tf1kgFgDGvw6aZWg9zVdrlQ/eSzV++pJEaC5Z/4tcr6gcLBK2S2qQGTO6IQTRWujv4PjwOZL+113qxSUkVG/EFXlaLe7WAm3jhwqvnC2FMKKKYyBLyBU+nZMeuHrnksKuImtC6EGtrPOtM0YThCF8xJQ== 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=3IXxew9Hx8fonLLsOWvbvUJeViQJp77xfZwO12x8+0w=; b=j4eSlAliACE8i9HpuNUnwBKZ95bh04PXF7zbmc//bEq6C4mWO4rerMMGwWvCFYPjQP1fM8GsaZc12cZ+OCjkHsGoDnOivrbnaR5tbJP1uU0MaTooohIWpvRPvG8677x9Bb17vfGY7bJvLbvHM+MiSIJbThfcSXd3hMm3M4ZSYIscYxfu4nUIWuFoa6M/6eEa4YAmsjUOvjBrivC8v3yTwEW+xBbBCNJIuc0W/ImY3l4KU4VcjX0u3EWUqTpPiHyuefvBlFaM7N6aZ+yN9vj5iwLpaBV+AXoK6qnIu1eJQkWKufgfbpn9hnQFDGvdJcoNnIk4iwYIFqGhiQieb0cdQA== 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:28:03 +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:28:03 +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 6/6] ARM: dts: imx7d-sdb: Complete WM8960 power supplies Date: Thu, 9 Jan 2025 10:27:18 +0900 Message-ID: <20250109012718.328692-7-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: 1fbac816-176c-4f72-220f-08dd304cdc9f 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: tWqA+vNYtZbVBSoqv4yPi11HsvbYfjxdv0hTs6alZwftxtSOEzDbiZKH2RqfWGqPoX01Ff9nA7nL6SDBF0WLYA7UA03QHe1dba07Dx51Cxj95XZUKZe1TvzGBIGpzPf7eg8EjsJstEIq3Ksj0NoqdD8mvdkrhxGgwCAYgs1hM7RhdmBny4SRsMsWyX5T94nDeGQI8kvww5k0YOcjnehZH7HFvJce8k/IsFlgOiNzYbQh0BtHGtT4EoOKdgoYXB3qQzdYskf2FKH1kYfY8ZFUoMJNsYl8rhUqpBjMFfu39rSmocZi2wztPeXU5dfmKrUhO7tKo9mNTkT/qZJKovrYyOK3SvcqKs0q5dxFt2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yT/EUIEjC7ePbrQCxRxLSzelCNhTRlQBgy3zATUSNwZQrSorU8IiaObQ== 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: HuZ9Tha3XlHHOvNKm769A68B7CXbxl61E2Vlw+aEaWLCXXhGs0/Ve7HT+3C4lItluD3pMLFTW71xQz6ivxwWNIMAqNTDRk3sMrVGZgIhGPxrYDPeAfn9HP0OXooQA/Xes5TVFIU4HRL1PFYFvt/8MwHqR8ECCRLMVcQk8hZ0/tniganhzZiEyYevG1xKxdtbskJYSatu5VJIEZJUfjxwig6pfFaS/qrEquwwyT7u9mJv/xHaNkOPucCTrZYC8KpDUhMW0BFv65Lz0S987qprkF9W9rDbKago0m5HlyMl/DodbXUYUce2/q9Z0d/wrUH/ajpyLEqOcXaabG3ualLNtoyc+GS8jWmTmmXqUd+68+kMcmtIfisJywkwhmS6wKbokq2k62GpRVSVIzi/EnCXTWsU/hKDogFgjvEsvD/iAM/bNFKIvCJZ3Ufx05bfz83xxmVLmC29hqk8dHjCEJIErI72WPbGdyB40eU3jifWTOiY02r8XtHWiJqDrO08ejyLOH/V91DW+jim75YMB7y4OElwAmF/7eOQ9xy4VEO9UKHN4KZtjEDEfEIykXckZCvaKIU0FOp/ze53VRcZpZ7eyCivNU+DgWOipbKt9jcwY5NKHDQ6Wtf0cmkwe4wA7IHMRggSEn+Su9Rtb0SOu49Jrre4ur+6XTWnoDPWnJjJxX9A8/PgVeAPnmONY+UR9XHX7xCPVNUjZUKr/ff3OhKutJsOw6P+dem1jai3993crRB+TpzB1UiS6eqAKJ4zOfKZOIqrm+Ttisn0To0ZSWyehF4SejKkaPfaNjzhjkFJRC84S6qks4VtbrCQdpOKe6r+4HXpFYZv5bUeNna6bGwzCIyydq+xFalb59esvshevHIVTmhH0deEPqcz6lgcQGaBjK8zmMWjcdoekyqazyfiV1A9/lCRse8woGnZYgigEfIZ7zMDgM1eG67sTa4DsFK7XbggKdGaF8OjnruamJjI6VH4ESoMp/WXXRl5ykSgbvVhtmdIDbnHOdWoSU1NUVD4cx/p9hvyfEhE1k9rqaoO0bu+LTnkAiTrgVVvVWSusNm/rNs1tCBKYbDWnLSRy1kecuZHLIiO+AX0ZjWAlaTW5XR7t5LYc4IRaC0AkbwH0FNO7EXCZUoCv+NYRmi01bteqzkL70VPeh/z7sax3rHsSlTFoSYa7ikvVbXJrb1D97HN/JKDbYxAXS3WbbR/p34BfmXKuOz0nfJpTKmcqomx6PasOf1pelrjBdKaq9iMH3/Fnh9/gsnSbfiy6isom2blAtrkzojT4mjTRmQuQxqy8r16mtYHUfRvFTDq+q+pxKFilYdNm7z7CGR1otMkvsTo15Hi6RhtkoqDP4DD8Vz/4ANa1NQPtVHQ9QUmDeNOpS+48m9M2mlXTnsMU2bdww7/L6SihKDX3aXYwPFbH2wXjJL13p5RnxfaPEOiIwm88iQtvMZcwQCVM0CZkY1IhgI7WTEmvKfejQ3nO6YNSvDSjBf54c6ZetlaUrO8YYDKBmpIcGDu0ZPAPcdVE+/4MZ5c05kMfx3K3m/rZyPPfP7B3oYO3+2nxfvqIMR31WUzdixoxtEiAGtY+X0mj4D4nFwb X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1fbac816-176c-4f72-220f-08dd304cdc9f 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:28:03.5246 (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: 7XsBlc5ess/K1/NQc8N9DvfcDFKd3vJ9I1dX9Nno0gDbV4Dth1fuNFiWy4Rr7ptYc9aHof4ZkS3HJDLuahJlHA== 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 --- arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts b/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts index 6cde84636900..17236f90ab33 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts @@ -143,6 +143,33 @@ reg_fec2_3v3: regulator-fec2-3v3 { gpio = <&gpio1 4 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; + }; + backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm1 0 5000000 0>; @@ -406,6 +433,11 @@ codec: wm8960@1a { <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; assigned-clock-rates = <0>, <884736000>, <12288000>; + AVDD-supply = <®_audio_3v3>; + DBVDD-supply = <®_audio_1v8>; + DCVDD-supply = <®_audio_1v8>; + SPKVDD1-supply = <®_audio_5v>; + SPKVDD2-supply = <®_audio_5v>; }; };