Message ID | 20240525-midas-wm1811-gpio-jack-v4-8-f488e03bd8c7@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 CE09CC25B7C for <linux-arm-kernel@archiver.kernel.org>; Sat, 25 May 2024 13:28:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=94WHpMkrRBlbahjbgKImmBVNXuLDUoUOVf/qznRTGjA=; b=QD5WQkSn3/9ITf 4wZe3T/UelA7GUsPMzuQTDXANMfwnyVnPeWPqg5sCZTU3XAG4RpyH6K6zuMUbMHzrkXesth3tkik1 4GGnfjYkv10Wzf0ykXUYH/PlCcVM99xOFsDNvHmoiXJSQZiMXAOtEcCFuOzSuK6DhKHyW2P26rmMp OUV/5ZcQ2V3FqszpNGdHfrFhzT8B/Tme3/1+HgXJ1Vmma+ztLE2E4N7A4kEEce/uVh+bTvxOwxDRh tLAjmTYDJDNd5vRtq31pWzprKXHnrdI3l+kFllC7PSCZn5fNjNlA9CQK48NdXYns92NQ6YZ0UHfJQ h1yhBvfiSYPbpPevKB4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sArRp-0000000B4H6-0H3F; Sat, 25 May 2024 13:28:33 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sArRa-0000000B49T-3avD for linux-arm-kernel@lists.infradead.org; Sat, 25 May 2024 13:28:20 +0000 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5785f861868so1734700a12.2 for <linux-arm-kernel@lists.infradead.org>; Sat, 25 May 2024 06:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716643697; x=1717248497; 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=KVTf+ORIRGYRpXo2GEU5zQOEzBOgFtModBKMJI7KIkI=; b=j8gXANe6aHISkAxlhNC+8/7GB95Wy5LtfeJH2G//x63FmUmwwswhjzqXmVG3DA1Xsr HoEpZXjMGAMvUurGFgdKxw5ef6nh7uNt1b0QtHxmumq0hKADpBuOwwAacxaQdDgNAJYh QpDv6OHrPh4UbBW39iouHSYGO4UMHriNGE8pXJMK1uUbKQgWR7MvO8osw4sSiemy1asc YEAPebq9/QIFf2YGSy/3rhxOPeJrW9BMLGGsM5A3QZbeU3SscOUh+QrNdqRMS3uXcOqI +XM5egxWMij1vvF1PvNBP35aStrUAEghD7zuW+jCDJuHhoL5aSW4PCRluzErJlhn4odv pQ3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716643697; x=1717248497; 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=KVTf+ORIRGYRpXo2GEU5zQOEzBOgFtModBKMJI7KIkI=; b=m+GpGZoU/HGIqwYaNp8e/Vme0dOj3da6kzQJpdFB4Qgu/zEtN/ZuqNha6U/QGJLug4 GmS+26nyvu47SbTXpvjvd0tBc+e4uC84vcxnCI6OkUCgYHmgXT2mLR5RCgoBQ5S/AyWq JTgTZKLrdF0sHQ2E2ZqiIMMLCjFkzZxzL5c2Su62PWbggb7sXi6E+JsVeCXMZveZHByU lOXF3fP5Fma9eZhS/BX9Dt1tkKqB92U9LujML5GWrkFr/7QLuHjUV3Ma/f8Yl3i9EaUt sx7aMJhOPFLkB2un+FdlJb8kGxVg0+h5EnPF/Iboi1nf+PXx2v9pZVgxxBx/3+bu0lS4 9Yyw== X-Forwarded-Encrypted: i=1; AJvYcCXf5V5tA/I6CXsGIwSuuonvsr9U4CwSQ8cbM2YeNl32KX22Mrb5IzJF6Z2Qc8HgMJxrpmEaffirwWokQIJvZaWESgnqZT+HC9o5GvIRWXntK7Gv3dw= X-Gm-Message-State: AOJu0YyxJTTyVVmXa5I9dDp2Gs52dpD05lnAEzlLY4zQ90Q/Pkd09g4G EF/44G9uNdJjHbNLVcqx4lA0w0EitFn2h1+ZgxD1K24SUAyBVTL7 X-Google-Smtp-Source: AGHT+IGKy/nfMumZ+piDk12ki5yLScoDlP3w4SoUDbj6/OPTWDEjPeyHUakIPs5ygv6O1U2HHNXMYg== X-Received: by 2002:a17:906:6d95:b0:a59:bbd6:bb39 with SMTP id a640c23a62f3a-a6264f0ebfamr326678866b.55.1716643697033; Sat, 25 May 2024 06:28:17 -0700 (PDT) Received: from hex.my.domain (83.8.128.191.ipv4.supernova.orange.pl. [83.8.128.191]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cda46e1sm251842566b.196.2024.05.25.06.28.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 May 2024 06:28:16 -0700 (PDT) From: Artur Weber <aweber.kernel@gmail.com> Date: Sat, 25 May 2024 15:28:12 +0200 Subject: [PATCH v4 8/9] ARM: dts: samsung: exynos4212-tab3: Add MCLK2 clock to WM1811 codec config MIME-Version: 1.0 Message-Id: <20240525-midas-wm1811-gpio-jack-v4-8-f488e03bd8c7@gmail.com> References: <20240525-midas-wm1811-gpio-jack-v4-0-f488e03bd8c7@gmail.com> In-Reply-To: <20240525-midas-wm1811-gpio-jack-v4-0-f488e03bd8c7@gmail.com> To: Sylwester Nawrocki <s.nawrocki@samsung.com>, Krzysztof Kozlowski <krzk+dt@kernel.org> Cc: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Alim Akhtar <alim.akhtar@samsung.com>, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Artur Weber <aweber.kernel@gmail.com> X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1716643685; l=1280; i=aweber.kernel@gmail.com; s=20231030; h=from:subject:message-id; bh=9NhvL8rRJ4NpIlfmWPhGyv2x7+JR1l7yy4pYIQI11b4=; b=C0ynPtHNYmis/xfQ/wB1ZfG8JHLYQUqSEjR4rYX7GYbMQmbw4YCAxg/2J5P30kp+52wjTF7+8 rsbM/TdIWdzB7cRXlBvMytyyjCrEOlBBw5psPJJ9C8szKVM66+8pWU4 X-Developer-Key: i=aweber.kernel@gmail.com; a=ed25519; pk=RhDBfWbJEHqDibXbhNEBAnc9FMkyznGxX/hwfhL8bv8= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240525_062818_938492_24E83F91 X-CRM114-Status: GOOD ( 13.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
ASoC: samsung: midas-audio: Add GPIO-based headset jack detection
|
expand
|
diff --git a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi index 8dc81112172c..47e9a230f2e8 100644 --- a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi @@ -529,8 +529,9 @@ &i2c_4 { wm1811: audio-codec@1a { compatible = "wlf,wm1811"; reg = <0x1a>; - clocks = <&pmu_system_controller 0>; - clock-names = "MCLK1"; + clocks = <&pmu_system_controller 0>, + <&s5m8767_osc S2MPS11_CLK_BT>; + clock-names = "MCLK1", "MCLK2"; interrupt-controller; #interrupt-cells = <2>; interrupt-parent = <&gpx3>;
In the schematics, the MCLK2 pin is shown as connected to CODEC_CLK32K, which is derived from the same 32KHZ_PMIC clock as Bluetooth/WiFi and GPS clocks. 32KHZ_PMIC is connected to the BTCLK pin, represented in mainline as S2MPS11_CLK_BT. Add the MCLK2 clock to the WM1811 codec clock property to properly describe the hardware. Signed-off-by: Artur Weber <aweber.kernel@gmail.com> --- Changes in v3: - Split out from "[PATCH v2 7/7] ARM: dts: samsung: exynos4212-tab3: Fix up wm1811 codec config" --- arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)