From patchwork Thu Jul 25 10:40:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artur Weber X-Patchwork-Id: 13741780 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 1319DC3DA5D for ; Thu, 25 Jul 2024 10:43:41 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nf6VPiGgpzV4Bh7OdZ3UQlM8J+Hh+6fmABD4788z7Ds=; b=chnck9fDIbAWjWScmtEUdfzx8i du+grzn/qqii7uNbvZzkExnwaQnnkh+QAdffuEO95FUR/o6J1xtPIBLkEtoZzi93wmi23UW86wdPN ofYHfFxJHJoAPNJ324XpJ6rY4fmpWiRj6oCDRTASsQkvgLm2vra9aQWGedK0tvsHvEeJz30dPODLS VEmeeAl7bogy+Ox8m+9yHZ26dK03z2aUahau4p6qF64/CE89QAiGh0MikxbcHe18sJb2aJhW3Hm+C D0S9tzGfvbCdiXrDD9k1HRnxBQR/1e0urZsHgL9xRhJb06AraFLYN7GpVk6z4Ubza1y4+tPvu5802 GTiJhOuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWvwU-00000000fNk-2S4b; Thu, 25 Jul 2024 10:43:26 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWvu0-00000000eVE-2EQt for linux-arm-kernel@lists.infradead.org; Thu, 25 Jul 2024 10:40:53 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a7aa086b077so36139866b.0 for ; Thu, 25 Jul 2024 03:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721904051; x=1722508851; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=nf6VPiGgpzV4Bh7OdZ3UQlM8J+Hh+6fmABD4788z7Ds=; b=f2MuE0+4zW5O7SlElHT3j4OVj38QISdodKT8rRmJPJgYEFQYBB81e1MvhOUIt3PvHC d6yDntLTj1OJ9OLoavlS+j46JJjyApUBc/fbsAaDw+GSZsPLaMer6/dDLCxgwkypXMVM 9Fs5VaBBbPZ9syTLPV0Fj4kNay+GlsIrIZ1O5+w5/vIGqtRDAF4yIMjkMQk4aYPYWFM8 lcov+TqpZ7BdLG7/pj47GROFsL0mH+u82E6rmLUABnOZxmNLw0TSJLFG3CeCpe1tx5R9 O7lEe7zXzcqyPCigOfhygl2txlvXY1Apd7rWsjUxS3BHNzKv1m9swYbl830VEN2RILZK ENog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721904051; x=1722508851; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nf6VPiGgpzV4Bh7OdZ3UQlM8J+Hh+6fmABD4788z7Ds=; b=OawPMhV7OJpEYfuocwGOIiixzvtEGb9N/ktcNa+NKkACDb2l/UiwOBT4MXw1wUXzXM 49C/4Te0cckLOgrNkS46/lK7xbKOsK3kHkh7l2Jp7/ds9mYQUPHkQJ1ZrbvCa3+g62TT tS/gGJT32Bb1EgDKeRUaMiPMrG3qgibyfTnTl9+djiLp3Nqv9UROtWx8285wNgIhmpPn 84RJF+S9DBa0PlzO1/wSZ7wwSP1InPO13EvCn48S3CW5SZSgd8EH+4Dhr989YGorf311 6F3uQ2PXi5+i1jKPAi/nDWltrAypyZbyfWYk1gjQo/LvPy36xQBGPFKXgiqQDGpgN1eV FlUw== X-Forwarded-Encrypted: i=1; AJvYcCUnNULYYORrbuwUHqxRCubRr4l5FRUyotKk5rnZhCHugvSfZHM4gZ3P9AmR4GWHGecu/Uy0HCbdTctUq7blBvxnMfH7HPYF/FOcc25+djv2+WBcvM8= X-Gm-Message-State: AOJu0Yw7Wb9/vw0dNTE6gaNT98CDjyCUSYPSo+b3Rv5quj3033RJwTdh +VqdPlcXNtt8RchOU01zx1oimgH/Gz69nF5SLkR5Kj26ZBL6/i7i X-Google-Smtp-Source: AGHT+IHFHN1eSuVeoNBYHF2aEjmsl6zUvRBRtaleADXs7+Y8AS7m0pQ7TJ12ZESC7WgwBTmMXOPAkw== X-Received: by 2002:a17:906:7d7:b0:a77:e55a:9e87 with SMTP id a640c23a62f3a-a7ac503afd5mr124692966b.48.1721904051139; Thu, 25 Jul 2024 03:40:51 -0700 (PDT) Received: from tablet.my.domain (83.25.114.69.ipv4.supernova.orange.pl. [83.25.114.69]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7acab23d56sm58342066b.38.2024.07.25.03.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 03:40:50 -0700 (PDT) From: Artur Weber Date: Thu, 25 Jul 2024 12:40:40 +0200 Subject: [PATCH v2 6/6] ARM: dts: samsung: exynos4212-tab3: Drop dummy mic bias regulators MIME-Version: 1.0 Message-Id: <20240725-midas-audio-tab3-v2-6-dbc055c27879@gmail.com> References: <20240725-midas-audio-tab3-v2-0-dbc055c27879@gmail.com> In-Reply-To: <20240725-midas-audio-tab3-v2-0-dbc055c27879@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Artur Weber X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1778; i=aweber.kernel@gmail.com; h=from:subject:message-id; bh=KWNNuFqNb/S25IX+uh0qv+bi86RJdKP7RJ0/PuyXSXs=; b=owEBbQKS/ZANAwAKAbO7+KEToFFoAcsmYgBmoiuo73T/jCYrP6aHYU23aYR987wIqfIeBMOOC hJQMnOR0w+JAjMEAAEKAB0WIQTmYwAOrB3szWrSiQ2zu/ihE6BRaAUCZqIrqAAKCRCzu/ihE6BR aK5rD/9YmUzevnGSNsQKWo7b6UYIap/vF5Ks+XvjbkRyABXZjCQqmDJNf4tZ1hk8z5HG2CJlAsp 4wqetvaNMjlckh1dvtY/5ow7vQ4t0l/FhPQomwabSjSQJ2zoHldeMcI5bpIr+B4yQUkpeh0QgeR f1R+ZvcV3OFkBcFz4UQQ7h18yvW7LATZfxfi2LhNQVx9tl9M3fV1smoaJs1mOijiuMxu5X4TVYs ulA3Hnuc4bNPzpKk/Kt0FrgG8+Cd8qL+Vb3mPK0E5I+zkMdTzj8YsknziktUnXA57w/pvfLEELY sxTIQj6o2SptMltnODm54rcL3pGE/vhFmczWypdGORSSd6wMFBULknd15yqWC1jsf6Mj10czEfk WTjGLe0F2cR4JRIsv9461y6ELZf4D++V8Gii7zggeGdYjp2Av2Mu95QZjwlyhDFoRylmR5HofuF sTGBN24AiXzxR711sm3AeBXaA3gQwmsMBMIUXXtN4u0FtBbiaupV7Cljsm6Iq+Br/duy5fzG02s 2gHszWlqzdzqV3rF5+hHLIr6kgNVS8TIu2OyKQ93sS4pzotT32zA8aQ8BTocD4QvbknTnjDYsUr V+1DVS5TxV7Yr44a4XW+ZU12UBnVWefTyhzc24V9SvPuGo+/zWmIMJEWwo+a7IhDwovRyHhAi6R 0Kn8Id6ffUiAvPw== X-Developer-Key: i=aweber.kernel@gmail.com; a=openpgp; fpr=E663000EAC1DECCD6AD2890DB3BBF8A113A05168 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240725_034052_616032_C339DC06 X-CRM114-Status: GOOD ( 11.07 ) 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 Add the samsung,tab3-audio compatible that makes mic bias regulators non-required, and drop the dummy main/sub mic bias regulators that don't exist in hardware. Signed-off-by: Artur Weber --- Changes in v2: - Rename earmic bias reg node to voltage-regulator-4 --- arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi index 70e3091062f9..553ddc3d42da 100644 --- a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi @@ -286,21 +286,7 @@ display_3v3_supply: voltage-regulator-3 { enable-active-high; }; - mic_bias_reg: voltage-regulator-4 { - compatible = "regulator-fixed"; - regulator-name = "MICBIAS_LDO_2.8V"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - }; - - submic_bias_reg: voltage-regulator-5 { - compatible = "regulator-fixed"; - regulator-name = "SUB_MICBIAS_LDO_2.8V"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - }; - - earmic_bias_reg: voltage-regulator-6 { + earmic_bias_reg: voltage-regulator-4 { compatible = "regulator-fixed"; regulator-name = "EAR_MICBIAS_LDO_2.8V"; regulator-min-microvolt = <2800000>; @@ -310,10 +296,8 @@ earmic_bias_reg: voltage-regulator-6 { }; sound: sound { - compatible = "samsung,midas-audio"; + compatible = "samsung,tab3-audio", "samsung,midas-audio"; model = "TAB3"; - mic-bias-supply = <&mic_bias_reg>; - submic-bias-supply = <&submic_bias_reg>; lineout-sel-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;