From patchwork Thu Jul 25 10:40:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artur Weber X-Patchwork-Id: 13741755 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 79D11C3DA5D for ; Thu, 25 Jul 2024 10:41:23 +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=ON2ePfhHqmXdot Nn0dpZzHVFtRTB/QPhuDUd0PMH28nsWI8NMvPu1Gg88Kxe1YepiFtDnMPK4kQBwjF6arSVGAOtMQ7 0tqiKDEA0fDsdiEZdcvGWxZWj5TU6HwkJr0PIgm8cys/KVn+b04XgniupYy5m4PaOfDirq2ekLd46 oK7Ew7xvbG4S787Pa1d17ziC1N/pD/mC9LnKdCuiCjl7zddEOnvrool7+HniLgVInGtOX0diKTlq9 WdAPmE0up7LBZRflHVhatmp6+bQ9mcXVzqZd0JZUTIB7GZ3N8j7WiZW0toS39rJswnPDdja/7fuQA 3BgWAWFXPvtdB5jkEmwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWvuH-00000000eZs-3EsS; Thu, 25 Jul 2024 10:41:09 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWvtt-00000000eSw-0J08 for linux-arm-kernel@lists.infradead.org; Thu, 25 Jul 2024 10:40:46 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a7ac469e4c4so69546466b.0 for ; Thu, 25 Jul 2024 03:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721904042; x=1722508842; 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=mnw8jdSSd+VUfCOlVCXdCYfmrmJVTbZ9t1i3rEvhHWNagYaWm+5r2PpW9bpbeyw5nh JSKzXnPJzubKdwfe45q/rX4jZeotiYTKyZlbcFyMQOknV0Iv7KK8CFr+D4XRzudK8YB0 W7ujtr6+/ca1c/qZq/DTlyksR3gHrS50RI0Py6wdIkY6D+eoDVaDkuJnxzgP+C5W6DwW 3aTl8wllHL6H9WrDtCKWQnM+EottPyKtbWv4ak6CGD1c+4UHTKiG096fYYgM68XJotu0 FM5yTUjsrH2tY7/CqLPcUqJvKUp/rSbQDJYs75g9xjrkJhbJDycLwgfW7FrwFhUJTUlN OrIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721904042; x=1722508842; 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=i41iP2OBvuSyZ6kqILcfLXfBgTZ/jecTkLRb26wFoJWrSwglmnwGD5m7+LUvM1m168 +161DoIhbW5dy1h61hY2cdqZsH95ieW0Vxg8/cGieefG6BXuZ0yqj4prQO48JO2jV00v 2fryXsNXjq0LVLa3yQSJ4nL0Bx9SULz314rlXV7rEQAgPl8Sc8WnHLTrweRAbNQmzzDM v9m/1plo2NbkQft7/uO7RPaDbBoAWjhhL+8GS+Un3hsRLYPAZpUQFlk52Zsft1Qhc7WM 1toPOga8qsSiosn1V6mlcpj1D8PqtyPE2dfoY2Y//qH8jGSnzkHMMvNgXHdTtk8Vl5x1 xfqw== X-Forwarded-Encrypted: i=1; AJvYcCWAeeO0QMWVBY8JZ/v6GMfLMs0QX7dpmf7AgA9haBnfzwNzbyQ6P8ZQ/El/ndUxUnvYQOZnnAavbfFvlzIwvbdd4+fIc/kQtfs/Zn29tp5CX0lCrBo= X-Gm-Message-State: AOJu0YxROZzI5NCq9rixYvTrCDxlRmULuQybcp91qqnTAHKS5JoKn1nW 94D8OzTnMcCqtbIyltk7TZ/CsyRXD6sUYISrWMYLr9JxAmiWhrNX X-Google-Smtp-Source: AGHT+IHeoqNjf3cbZ6y+3Vz9f7hsQ+CfAAZqQdxnrSnI8eb+wbnp5LzKkmDTLaDJ3xyL7tjzktERdA== X-Received: by 2002:a17:907:3fa4:b0:a7a:a138:dbc6 with SMTP id a640c23a62f3a-a7ac44dc5acmr292492866b.8.1721904042283; Thu, 25 Jul 2024 03:40:42 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 03:40:41 -0700 (PDT) From: Artur Weber Subject: [PATCH v2 0/6] ASoC: samsung: midas_wm1811: Separate compatible for tab3 + fixes Date: Thu, 25 Jul 2024 12:40:34 +0200 Message-Id: <20240725-midas-audio-tab3-v2-0-dbc055c27879@gmail.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKIromYC/2WNQQ6CMBBFr0Jm7ZgWaGtceQ/DYqQDTCLUtEg0h LtbSVy5fC/576+QOAonOBcrRF4kSZgylIcC2oGmnlF8ZihVWSunDY7iKSE9vQSc6VahdrXTlmt j9Qny7BG5k9eevDaZB0lziO/9YdFf+4vZ/9iiUSGZikk5Q52hSz+S3I9tGKHZtu0DNy//KrAAA AA= 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+KEToFFoAcsmYgBmoiunumjzC2WQrYjAvaAYPWaKTf817wW3d/2Lq u4HjvhbE8uJAjMEAAEKAB0WIQTmYwAOrB3szWrSiQ2zu/ihE6BRaAUCZqIrpwAKCRCzu/ihE6BR aHIBD/9vrOZsdbgdZ+ev3QunNEqonKBSK0FHUVOml/7dHmFg2VU4dK7PneaCIRFXMGSPMFQTvoc S+U6oXR95Qho15XHn9qrG2WB2ox8f/mCD5DXTVqjefJ1m89oo7ZryWPtqjuNL9xJZA64plQceaj y6C7Aa1TCHmfJZGy6gWlWq0CFOU2o3bvOrw6gDH0RBlXL1alsBuw0d52h4iDyw0/Ua5ipZ5HQ+Q 0wu2ltu73otbWVK5SPlGNVHkNgeIEmEw2xuZKLu3hXwSEgs7Qp/4EL898evWqtW6sPgcsezg+N0 a2MqgdAAEm8l4ss2Laq/Tf0/8bbAuWDpWEthE+xyFWvE9QBc4qN2yIoPHW1pV/eS3ASEh6gfcWt eEthrjOmz4kni7NeiSiJuHYeHC1Y6Y89Ax2HrT1o8jK3DucmUin0YgKvtCs+gbkl/pgVfo0G1zb KkDRitbE0DxBKkJPJFTBfsLLnovl1adXV4Ibx5muwlc2QHyyI7uT442TI82px9DL3L4qZM940kj mXGx5ipcTMEhCX6MDBGOVvMgzHU2sKno0p54LyyEn3lMB5+w7BEAL6KJxo5YUxtpokSgFKS5VKR ENtSuvnalWcmIxndf+Vqa4u8wNLneVC3PXlh0Bzoqnz15ojbh1H43uvmsXiJuGkSIrxcvSaiBBO KEyUJ1unfJB5LbQ== 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_034045_150056_9DAB14EE X-CRM114-Status: GOOD ( 11.01 ) 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,