From patchwork Thu Jan 9 01:27:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13931766 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 8D3A7E77188 for ; Thu, 9 Jan 2025 01:32:27 +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=0q2YYu+C9oBQ1aN41+o2WhQsJKPipnIgCCW6LOXgizE=; b=1fOKnReeXPBRMe1YiJXxQlV3D3 Jr+chyCL18u4n3UElf6yGCtpfqPQa0pxhA5Iww/jpDO9UwbQhI0QnzNxxnVPed+vdwp/es/594KLx oT40O596m5xLsbEC8jUrfT6304xkAzmM/Lh0csFJelM+c/Y75ayaIUMAReJTgRwd5PMFK8EhkA3Kl JcxT6LqKbDCdHudAKXC+Rtbde1Aew5XtX+Z+qHYMGiYNYvHwcQIo/QeoIWDAbFyR2fDxORUwlG/8m GC3fLd7xnCutdvc7SuN8ZVR2B+Kqpb5Yq7E2kWUgIBCSR5LUsDtzezCta/vO+eOhwR21n1/P+2AHF hP7wDqAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tVhPF-0000000AJp7-1GcU; Thu, 09 Jan 2025 01:32:17 +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 1tVhLj-0000000AJ0a-1A2O for linux-arm-kernel@lists.infradead.org; Thu, 09 Jan 2025 01:28:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Cl77T61L9ZgkknuDykc/z14Y42q0OhuOrQSCIrgCVQ38Z9fWtz8L5KmDTfJSvM6J3FMeygxZtFmK7OXtB4ghXTt9U23upXmLEjJl+wIgJN2zsQk1a+ROmFmMW0Pwfml9c8ncvoJgvUDFotsvN1WilxxWM1UoLToE3vxmnAfQBrT2X+olIuwQkCj69ySGCY0bJRC+zCKo3rTn1DcuMD30LF/C/5+ZbNQyeCbq+koEYTgflE8oImW2XRUy3iJ7OQQDIMaYUlRm8DJLuS+OyXrP02t7XJtTYGQP4mjiIV+6Yr+Bur8nhQYfeL4j4zQcfotN5oiAHol2F7TxU6nfI0K1Sw== 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=0q2YYu+C9oBQ1aN41+o2WhQsJKPipnIgCCW6LOXgizE=; b=vdRcRN2xc4xdM9cVoWYhGJyO8FlchMsZb50N1GxYh1W//j3hCR8KZhXXo5/I0ZGmqAFajkauuvBjzdB/PaVThMpx0oqGYJDvnw2JnYh8mxfCbUv0u7YCS63VIJ1ETsacZUe7pSfqHJ4km+2n76K7kh7eLny8HlvQ6GflRKUBvVIoIniqbISI1DF+32W/7PX9YCnreHVL8ws8Fxtl63Fr1ueu3sH7ZqGLuq74I4NGpGJ1GaTSyT7oVuxLtvUehR/BSsypGO6ksAP1Bj7NJnCjzoCNuRVoye7IFe5U6tOQgb4GSaP2W028kSyN28reET0GNADi7vKRLaxFCXIcHm/xvg== 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=0q2YYu+C9oBQ1aN41+o2WhQsJKPipnIgCCW6LOXgizE=; b=Dq8Bq/OqNO3Yw0xTOAEJX0Hs/+3J+PN/BS8aWZZEvQLtp/NyKUvTpbjqM+v5hiv9oPz9aLm/xk9WkEUX9x1Rys48JSR3MkQPh8mWq4A4eTs/5w5YPQ7YRmmNjBJNONJjvMquz7VeM9BgNJgAsQ3fgkh+tC6d1s3Q9/nZM1IxleD2zwkWXoUyh1XgOtc207N9xlvzvAf2QPxpWSTn2cRjwikHLZZHB2/kEivfqKI2lNskAJysp3mm/KWDMjJANP0sVK8zNHTogD9BFa6qFLiie32aL7fytfvaFM74sJYHJwUTTmzhI9n53TVxvEYTFQYMGRj60TkxLFnn4bCpfr+2HA== 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:56 +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:56 +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 4/6] arm64: dts: imx8qxp-mek: Complete WM8960 power supplies Date: Thu, 9 Jan 2025 10:27:16 +0900 Message-ID: <20250109012718.328692-5-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: 0ffedc30-93bd-4b66-0eb7-08dd304cd82e 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: DltkrnfHHtL0T/FOj8D8COLJq69b7SFygzYyzelpszDulQr5LFJmU+aeomy9fm9t9hrmpeJW+0XXT+RJHoUKLNMwno8snxZfz/IK91ZDOw9//knrvw14xrYNlMkYy9fmWFCtoJDOGkHcoIAIoJS1AaIgAxFWFJpl5nICE77ymb3j0JOsIWQBFGL4VeadshEpdmDY644D+3d+XYrQZujzUGpjqoHapqEWhdPreXSa/FVPYI6kHOfiFFjMKYrR7PMpNxB1ReILVAGB1zcesdZraXJ31WPVvLAkBID4UNr7AEsLN970m7j6mx8WU8jKuPlOqFPRMvKbXwVbBf97CIIfqLYvRODkIMihyN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6tqhZdelqpnryUlh2lCrU7PQGJspudW1ugmzW/XLvu6gNaVnkSeaGQWMiA== 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: 8wsnLC1DFFKCCoLWqNlkcWxNUtpzMxJ5A6ZApo4VjIWlv0LbU8Gxdir2OCihG6Iz1BW43q+/6t9PSO+4PUvcDYzIaSNTeutGRE+kP0deeZBU2W3kmu1tTP0B1auDemN/qFvmgTXxvtfaPPtfQU61ck1o/4rUEHU87dvOsnTiN57PGttuuw2Xiwh9YIesVV5ifzTffG0B8sGe3muAKDtr5XXtabqWSqXTt9XJ4kHTJ0alvEOuerGBV33AKHDIW9orU+4WwIIWB3geykovyAL0E6mHdOzWT6yWIZ6dQdAR77sPwXz8aLt5b+NtBxrY77o4bpAkhU6QVDQ2/p7cz2y8e9Xp+P+HVg1zUjiBRwsiwMooxvFdzOM3atnkkV59Ak/N7CLKCTskKt7xv7TiWBvptr6y/IpXAsIxy0/uXosKvO3oz3RoerG36iun7AQXoRRvcZfIMVoQmIonxUXqi9bxvBdnhfziVXfOSUltpEN0IOEBsLbbqZStOs4UFrS1cxqmEVRzNr436Ji36g6t3MsFkOFWfLw3zUyDiM8DcqfuaVoPYMbN4UF891o+LgrLyHcVBjqH39BiE7IbxfYYWPgO0MhoWTt6N80OEdYIPFYQLaD0C3d/JXSD1vtKCzNxBrR80MJ4+hf0FsmrfHQJkbt8tOMp9u4e+vbxpAeVDIqtkhSGT+Uh2OrpMT37Q0sjhVsjM40aWS0dfMQzonUQ9FXaf73HU7+ZcOBdE/6GWbZFaDdEe3t6SmH0Jmw+OkP7wdb+f2JhVVKgA0jlJitSz1CHcSTbLWmTuKmNaD0JFnnO2+m6uOFchzAcSawqzA4rI8kxRp5J9W6qA24HEnMOV43PqjrDKMH3ztOCdOXULEJBsDQchlDBsRBtEGLRZtEnIAl9rJtEZ2Naznl9rv2HvEcK8S6vE+xnohv6MDNpGja2GwKbfiq8dJwqzEhFdEOW7KW5Va5072XrJPjOiheMoNuKo6e2FRhOZj85GqOiyHRVH/WqFDRHNhVKsj32mxbBKf65IInCCipUomStF2dWWDYOswO0RgHxBuZM95NA9BJppUNmDnThaGLOHdiBknBQeOrUiQGhMST/YRZBNjXTyzTkLCCdrT1wIjDn4GgsZx4apVCQVKcDNtd6KLSIilVenU0quUi7Q5tE3n9ofAMAzKadm8oTqs9zp/fmsQaOHxLmNJsgjFZ9ZH/fSUroWs8VgpMl51h77q8FXjPihEDoO9J0Ky8N7FSsNziaoPiH0PcXIDrWVj4FimPuuwJ3p+m56B/J0oh34Xhk0dDAsF6rIUDv4SgRtQbJ7GVH13kX6e537zwJsRt4iWMzc5/llWPhG3+QPyEyUxxUdt4+RZZIxhEDKnlXwjrBqc3Tb10a0rjAKSfK5snvkHxP44B0NX2IFsXdfHCIrQCfVayOpyeltJ11qRusc87tzcAABONStWJo46dhN7ho3TR2MwCNaQAgPW41/3Xfustga82mfcJSr9a8wJdHbbRi4aAXMoSaSoEQw67uck+bWSCw55XNNnumu13u3OPqwRVAuD9XAILQB5QyURwcG3Kg2pVpwT9C1FlpHk4Ubxx/46dKRIWEVEnl04vp X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ffedc30-93bd-4b66-0eb7-08dd304cd82e 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:56.0545 (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: B06zuZZHAmhm56T72SP3icEA2hlgqyhCTIxFLm6aXmsURQ0K9pATeY2G/oXrhBkXYXB53yynFjB6+6/Ot3OAfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7668 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250108_172839_315131_2FA4E77B X-CRM114-Status: GOOD ( 10.46 ) 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/imx8qxp-mek.dts | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index be79c793213a..a669a5d500d3 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -98,6 +98,33 @@ reg_audio: regulator-audio { regulator-name = "cs42888_supply"; }; + 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; + }; + reg_can_en: regulator-can-en { compatible = "regulator-fixed"; regulator-max-microvolt = <3300000>; @@ -418,6 +445,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>; }; pca6416: gpio@20 {