From patchwork Fri Aug 16 07:51:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artur Weber X-Patchwork-Id: 13765653 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 A7652C3DA4A for ; Fri, 16 Aug 2024 07:56:25 +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=ftpauJHvJu+xnhEvp7WCn3mWm6mJ6dwVq2EMLSHYt5k=; b=vXQHAvkkKmwOdi/MaJxMiJJeF5 DYj3Slxw+0t0j+hI42Bq16iLUvtY3iWqpd8joy58FX1zf4sB8zx1vGO0fwXDKC4t24shzTy+YFC4d rMS3662h3EPeVqjL3hPMjME9cIh8e4muZ2nTguQHO++3CESdUZdtYo8JTwi3j3DO7QQnEisKOC7E6 oDK++tbjGC4AlV5gyAC70JiA1e7wRGyjXUlXVS1kpKUDZYRrW/1gQ74GmeM1CzH59YS9pBsoQMDfJ A/rYuXh8oxHcoQzrHIHxCjPCUzvD6xsA1fKXf5bmIWmIRmQFmodJoMElSAbB7wVEOIf1gibwiB0dS 51g6Gsnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1seroc-0000000CBuG-4AZT; Fri, 16 Aug 2024 07:56:07 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1serk7-0000000CAcn-0A9m for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2024 07:51:28 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4280bbdad3dso11477495e9.0 for ; Fri, 16 Aug 2024 00:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723794685; x=1724399485; 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=ftpauJHvJu+xnhEvp7WCn3mWm6mJ6dwVq2EMLSHYt5k=; b=f8eTAsrvirDyp5eo26jw0KTK5juR4RQrDduE4XwBFSjLMtpjxJPEkCym5bcHrH69Dz 1nhJaoFJUMIcHxlcDdGZ3jAtdg2wqiTavxdKwpkxJPWC6fc/eXwoINDS1uiWjXCYmgAk rlePWbe6pEJYGNY4ncMBS/zxWetd81xLbkrQXfYu72lGYly6wCo1xJM+EXZYUhRY2OHl 4TaBHlqgl4j3b8sK0um2xm21vRTw6EcSQhDTLhpstdE78A4tn4LVvz8+oWxJXMGJeP7j 6yIs40NdoeDhUIJNeWWOmFS7SSfaAS8OeiF+ntMW7grUPXEzf4qUfIkR8tOImGw+Sjau +7dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723794685; x=1724399485; 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=ftpauJHvJu+xnhEvp7WCn3mWm6mJ6dwVq2EMLSHYt5k=; b=nv8u0axVhZ92ToZm/V60WShZxZEjw7tcDVZb8ea/m37oCqzCs+Jm2zQSJx/IEaESaG grsMjcnlHDaCImN6+7CRShIw+Ptb1fq9j44LUyISA4i3rZR+L3ekZ47rhgjWUjsoayi9 DdrXlVm+0UmUUegryrf3WuZlO9B7YWIOApmqKLF9NPTPQ03sLvn4CQQkQnTysX2gJVvD gfWkVoR1Y6nkW8WQ0ZORV91TeFXM+r51iDrFpwMPhzEV/2E5rkXyg0IKxm+IYPLYXxbY V+p/IzPElZinJ3CC31CCidhFF5RKcgPTcyvfPJWu7J5zle1484qiTQwFW47i56INTzPx L87Q== X-Forwarded-Encrypted: i=1; AJvYcCXFtsnTGbe3Vq1aHPDb/bl+ovBueAaN1T4+1aoEx3pPAUsRfQYNZSgvHCGU4lm7QEhJyZAQ6istT7dQF5N+g71rt1OgqNkLN17FBQ1t5GEKINqqcWU= X-Gm-Message-State: AOJu0YxS8x7SxfmRphrRAdUW1EvhjWOS9DBOW9ctftehlOE58gcJBGRC xCp88cXCnMjzY0ZGm7oky0tzxXs+FJBuBcOZdn8o3eL/TYUzWfTv X-Google-Smtp-Source: AGHT+IFcWSg7R6ZOrgOTbSp4WTq9l/KTHzuMWJwWrtjUMZDFfV6LDRMvpsDKBTTz+8GRTCWba44Jpg== X-Received: by 2002:adf:fa50:0:b0:367:9881:7d5e with SMTP id ffacd0b85a97d-3719431e648mr969068f8f.8.1723794685161; Fri, 16 Aug 2024 00:51:25 -0700 (PDT) Received: from tablet.my.domain ([37.30.8.221]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3718985a6c4sm3026201f8f.52.2024.08.16.00.51.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2024 00:51:24 -0700 (PDT) From: Artur Weber Date: Fri, 16 Aug 2024 09:51:03 +0200 Subject: [PATCH RESEND v2 6/6] ARM: dts: samsung: exynos4212-tab3: Drop dummy mic bias regulators MIME-Version: 1.0 Message-Id: <20240816-midas-audio-tab3-v2-6-48ee7f2293b3@gmail.com> References: <20240816-midas-audio-tab3-v2-0-48ee7f2293b3@gmail.com> In-Reply-To: <20240816-midas-audio-tab3-v2-0-48ee7f2293b3@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=QbDGTrOuqa+9JhAPdZB7MbiB7g0LqwVmKKAqqQeXAR8=; b=owEBbQKS/ZANAwAKAbO7+KEToFFoAcsmYgBmvwTnloZNW8WuZLkNUngAi1UB8gAHT75XHcj2c tku/+yxd1GJAjMEAAEKAB0WIQTmYwAOrB3szWrSiQ2zu/ihE6BRaAUCZr8E5wAKCRCzu/ihE6BR aEYfD/0X5RW1LxXFB1Mj5dXgnFZv0jcjZjmJMmmqXCSEU5pWFlL3B9cgA1TTpj/Uc8goGZE4niC oZXdJJWsLU8pmJ21p5ntE7KeN9cPCezRa2Pvh+Rwaimx1SYyZS4Pv7SVuYcyRq/u8daN7Cyay2y vbVqEzuwd7Vnjq7PjL7hVSRO2uqm55Nhxd2MW/HLVCDH7m6Kkxwcf+9bLuUPtlEgU4G2XNHmWlw 9A3yNFd8Al3As+WBAxkegsxgAzIWeec0J+QZ59lUHipaqx3mcwyINrWXCWqoMe+4XsCKmdqN39h IS2MyC/FDZF7cZq/s18BkOf7rb0CUuA9yfkkqhgiaajxpRftKSWoQgEnIc7SXQ5UfWd9Awni1iX zCoThh47d5DwlLuvqCn6hNin+x10y/ZxPmjl+hab10Hwm5ZyxupCGzgGTfcenFtsCoUVd3Rj7Q8 k6QEjCrzVPgTv+eIv0JqDnMOW8SU96UimCL5C4fnLHEEJ3y4VXY54szWAXWM/2fwvEH4n+WJ9Pz ae8fM3CQKDC+W1S/BrfrIDVON3AduYhpHtjdBGxt8bdYqr3HegtZfMGreIkpTjCogFX7NTtWt5l F66ewVkEvh4O5SU3KHMu4CzwXQ0ZBJMC6x/x832hBc8kJOsEPZeYL/YQ078cMPqFOuAvDiImaKd heg8dTSdgvuuS1Q== 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-20240816_005127_130620_CA4A4A90 X-CRM114-Status: GOOD ( 10.63 ) 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>;