From patchwork Fri Aug 16 07:50:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artur Weber X-Patchwork-Id: 13765649 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 3C9A3C3DA4A for ; Fri, 16 Aug 2024 07:53:48 +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: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=KYCkaTEvTDSyuZcCjBDH4ThgdC9LaZkN69s/l2hUZCI=; b=zB+iSvpnkx4dxQ 7AKrrvqbsRNkI4kwV16Cl1nm5Np4ZN1p8byMMhfIe9DQHN3tFOZWWJKCPLZRsitbq8BTIncsKkqtE wlTb+bH79uFqPOrvT18u8B3a0xzvsAq2DztVkIzo9HVNF86vWeOvHltsSedXy6/59/9SLAVyG/7cq ra//2nFmZb+L/X6/QJxF4HtBHZ213LHTSKzLu1DSBdhGwr69BdbViubjWlN+27vm0UKZ/1ptk+mut JGa/g+AApdpkWwDwpPA7wjD/DL+gff8aUW3lLQZ3jhcfuSJWWp8ssd09qEtOo6hm/ACH/GhhjfZZP wd4Ryh0Y0fMxaoC3Jmwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1serm9-0000000CBDn-31OR; Fri, 16 Aug 2024 07:53:33 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1serjq-0000000CAX1-077j for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2024 07:51:11 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-368440b073bso899558f8f.0 for ; Fri, 16 Aug 2024 00:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723794666; x=1724399466; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=KYCkaTEvTDSyuZcCjBDH4ThgdC9LaZkN69s/l2hUZCI=; b=Ngf16fwuiQpl7BddLzvgdyIRb0rK06hL7V7CS9YXmME8sq8A9qJt/eWVssdMtIOyGY +J/77jY8DI6VKOmpd+QWbNcYeNfMblJXNOyrFrfNtLdR3GvNn2tqHgkQyDW/EkgCUS8Y lw3zp4ZkKIbbzAB0k+YTvwFHqME/pi+2dBGNFgBmZAxx9r+ariN33vWkw2AfPD4xzhOV 5C/DWHDuePGZzyWTQ6qSMDeMLeBILldA9VtjVZ4rQrDyC8GhYu70uMGKZlq1hE7eV3UM jpZG1viAYmeOI8c+l0Ae0lKADgPHgy874Ltxefsko8br0NtkFBNzjqUCpNdWigNsh71D u4zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723794666; x=1724399466; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KYCkaTEvTDSyuZcCjBDH4ThgdC9LaZkN69s/l2hUZCI=; b=M2wUHQLzvalxm0n+NwZIwqNdjt5vVTygEnKACGKeYy/yYSUZQSI6tVXhvhQ44v06iN 5sbzUDSTlrrcYIeV/kqf1oGJNzSW7VPh8mNAEhZqZxVKo/CtRm7VI0HXlxSpftDTUu3G hhA1baHnMHO3/LySNWzaa4LKluQM0okouAJC6zNvLY+3rLJ9YteH4kNS/WEBig+b4YeW D5K/bbeGWxoKaww67hU6tuAQ2xugtQrxBXJxycQAkQteFjyMAxzVb2DCuwaVVti/eGja uQNx0IhqCUyk7HKM5kZI9jRjHeeT3mOxUK14p9TN/LsprmmGsojfnBiQ+6AKBZs/pyWk nJnQ== X-Forwarded-Encrypted: i=1; AJvYcCVPNe5Q6hETWW2E2/BJmDAtNkM1IOfA6+tZsiz4V2Ak3KHQD+4qJNXLZO/2gyu3+FpLXVXAa997fIOeTrPSNbgdOjrNWQb6t7cQj+7extQnqyuqlXQ= X-Gm-Message-State: AOJu0Yx2GsUD7VC4zB4tUqqwJZXnOOIbxK9ajKUumjEZ89RIaHjhYIvx CEjG3AKRsJv4SDHlwsh1e/U6m0m+mtN4wo7XinVg6U44hPpjMh/u X-Google-Smtp-Source: AGHT+IGf8FprKiceTcAmoHl4lyE4EQQ5TlVhvUvXojybRS2uhW7KNViG04Z0+gGZmusIfvKr8HVIYw== X-Received: by 2002:a5d:4151:0:b0:360:70e3:ef2b with SMTP id ffacd0b85a97d-37194c33ecfmr904375f8f.26.1723794665665; Fri, 16 Aug 2024 00:51:05 -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.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2024 00:51:05 -0700 (PDT) From: Artur Weber Subject: [PATCH RESEND v2 0/6] ASoC: samsung: midas_wm1811: Separate compatible for tab3 + fixes Date: Fri, 16 Aug 2024 09:50:57 +0200 Message-Id: <20240816-midas-audio-tab3-v2-0-48ee7f2293b3@gmail.com> MIME-Version: 1.0 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 , Krzysztof Kozlowski X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1970; i=aweber.kernel@gmail.com; h=from:subject:message-id; bh=m21UR2Li9R6gN31puzH6uj0MqV+URXqK3uxeXiT+fVU=; b=owEBbQKS/ZANAwAKAbO7+KEToFFoAcsmYgBmvwTmCdk8f9QXetNRmS+DG/W5SUNNJGTL4k2sv P//UEJ6zN+JAjMEAAEKAB0WIQTmYwAOrB3szWrSiQ2zu/ihE6BRaAUCZr8E5gAKCRCzu/ihE6BR aJEyEACCwIk5Qyci+QC6bXuRGQT/mjI7xtBXvRACaTqc43qhT6lf8C9FgmG4kgTchsOdwR0P8wf Aez9MLZkD3YQmzgbDfzcKvl2DSMBHHlT/PAIw8nSvVjYkwSGgmwi+v0J/DB+w/AEdB+GO4Gq926 3IaUKbjKTWXqTa3/815ioWSfLyppiadRvPKXKylQk6tiDwtWdN9xts6EDZ5mdsJA9S0XruRoehP EQGwCRXa3vmSIcWNVqhuADwUdVVoiY/SudJ8NIzxmvexmYmHxp14wSR/uZTj46JzAcHifYxm2zr fZ2e69+/II9TsKd++yrYQpfSJaO0UyvspXFETTZy2XvPoOxEXTijnO1MJ6O2Bpv4VpUvc3KqxJk 0ZI5U0Q9ueWC04crIK+/X1vPyo9CYPy1GizA2dRCY6xgrM6X+xdE1ARvV2Uvsgh/hulYfpPB0G4 TF1z23ew0Ig5olC6Lo6/x75POsHUD0u3gm3pt5Q99cTqszJp7DjUIZEroQMa9kvMl1NIIhzEnyQ MUX+lGfMeY2MnlCBekpd0m2UajOWbywd29aAdcj8VeqCHanzTmkwCorWS3ik5s82x5Ggfe3QGlh v7P3FFjyyWo8KB4mxjwXqsRWxT7NzX0BaNGcm6nAp29R9xJr9QXyunkJQy/DDd3aGXy6rBym9yY AS25eQBdyZLouTA== 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_005110_111891_E662D4CA X-CRM114-Status: GOOD ( 10.61 ) 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 This is a follow-up to "ASoC: samsung: midas-audio: Add GPIO-based headset jack detection"[1]; it appears to have been silently merged except for the DTS parts, this patchset is a resend of the DTS patches. Besides the DTS changes necessary to enable headset jack detection for the Samsung Galaxy Tab 3 8.0, it also adds a new compatible for the Tab 3 (samsung,tab3-audio). This is done so that we can set up different requirements in DT binding (Tab 3 does not have main/sub bias regulators), and drop the main/sub mic bias dummy regulators from the Tab 3 DTSI. [1] https://lore.kernel.org/all/20240525-midas-wm1811-gpio-jack-v4-0-f488e03bd8c7@gmail.com/ Signed-off-by: Artur Weber --- Changes in v2: - Addressed review comments from Krzysztof (anyOf instead of oneOf in if: statement, fixed earmic_bias_reg node name to correct number, reorganized patches to move headset-mic-bias-supply property next to other headset properties in DTS) - Link to v1: https://lore.kernel.org/r/20240716-midas-audio-tab3-v1-0-a53ea075af5a@gmail.com --- Artur Weber (6): ASoC: dt-bindings: midas-audio: Declare required properties for GPIO jack det ASoC: dt-bindings: midas-audio: Add separate compatible for tab3 audio ARM: dts: samsung: exynos4212-tab3: Fix headset mic, add jack detection ARM: dts: samsung: exynos4212-tab3: Add MCLK2 clock to WM1811 codec config ARM: dts: samsung: exynos4212-tab3: Drop interrupt from WM1811 codec ARM: dts: samsung: exynos4212-tab3: Drop dummy mic bias regulators .../bindings/sound/samsung,midas-audio.yaml | 59 +++++++++++++++++++--- arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi | 39 ++++++++------ 2 files changed, 76 insertions(+), 22 deletions(-) --- base-commit: 91e3b24eb7d297d9d99030800ed96944b8652eaf change-id: 20240715-midas-audio-tab3-174716e45618 Best regards,