Message ID | 20240519-midas-wm1811-gpio-jack-v3-7-0c1736144c0e@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 82FE4C25B75 for <linux-arm-kernel@archiver.kernel.org>; Sun, 19 May 2024 08:18:52 +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=JOM5AiOoEA6iOwPOefw3q28FOH9cCOw7F1SbaRPzDks=; b=VZkLnQkzPnFiZA DCbf9f9MaUWd5fKZWRB3EAzKQbmi80KHqaASRKCdmL/zjlvFbDrGBFWDf/EWAGH5RlSfR/9XK2hS/ 2fAX5G9JHR+uk1Y17+nQiALCXIeKMJF8TVs4Ew2ppCDo/AiV0VWfi2AFzWRc1aoIuvZCY782YVCWt wcxbYAONa1ES5HGrOZJZYkQTScgmHqXqNmfoeoCZUr4tXWcNvdjCLxALryKfWquBhJG8z4Gb5ifWn 5xagSVyuyavNpm+oeCGDNho4NiTTjg1bQKseWFSx8joa9MGTpZS3iBC9JzCrjgdpXhWbks0wwkRHs r764OcjYEmWXTlgBlTdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8bkc-0000000Bd4t-0U4D; Sun, 19 May 2024 08:18:38 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8bkK-0000000BctJ-0hCb for linux-arm-kernel@lists.infradead.org; Sun, 19 May 2024 08:18:22 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5766cd9ca1bso699192a12.0 for <linux-arm-kernel@lists.infradead.org>; Sun, 19 May 2024 01:18:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716106698; x=1716711498; 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=aoYlKJuAVKS/043JOXevm+O+WyF+DYPGbRh4c0zs6G4=; b=Njdld4vdsZsoWSrjith61n7dEM8DHnETnAxjAlhGg9uIJYwBE/6pLpKvC9EWj/YG1q A5jhGjdsB1bgzlHO0l2OJLprKnPsfF+SEh7x/A1y2W+hmCXzYXTJuuw47UULwUvr8E8n KriikaoyMxlxpVgrFYJIPAjgN0H83LDHlyGNv+qbLiJ5vQvQncUkMywd5aqigEMughU5 SixM1TBTOnKgeV02SSdYnipwNwxMXV3REe1i6gNysCKT6UmMp2GchU4bWcfCjID2xv2J Y1BaYMuoqadGH1UwrDoy61nsznnu2Gku9V51Q/hPWp+n2vanhOeV+G6zBqhOnROA0P9C MiTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716106698; x=1716711498; 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=aoYlKJuAVKS/043JOXevm+O+WyF+DYPGbRh4c0zs6G4=; b=iB/6x1YV8N02dTxh1wiR1roVi98WNQ5/9N/hoT01wSyAPhi/sOHtTZIUwXJQfsgRm4 fXip3rEnHA6KMI9RLb4QV2DGRmI1KdUSnbjWVfmbYyfKifd7EoTJ1+vcQ8/0uLjwzlx/ v6/lTBAXHYd39WQ8hqtWvcJ7i6vA9miHqLUyIajtijkRe4DqtwVXyiuFglZbbQDStCih r9AbjzDhmqPQ6rfzw8wicSw6r6CraNBbTXTQHsaiRUGhm8qMDqbMUd8BF2oW/S5PkZiJ MefmKLgATdPuJRCb83JxKf7x426aF1J6Ni+6LhuZylaPH8TD61/RZqDALR68RWZmyrTJ M7lw== X-Forwarded-Encrypted: i=1; AJvYcCXyRnMVqN8kaI1tMUI212RwaxzhHFHwn5zOFwG3AcFS79PFvp5gofFSgoZMLWj7ajWi2oE9BIiePjDnfDYu0DSOGGftJxCB7I5Z3eAxpeFGS4MFHC0= X-Gm-Message-State: AOJu0YwYcHkWKAvVTz7Cz1L+wy2lq1FV87PtfohNMahEOmH+I00RWgH1 p6KSnuXpZIjCQAW9EY0TkPXdaA9svFgsOxEVU+76AZqI9F9nO38I X-Google-Smtp-Source: AGHT+IF4aVK2RHhsoD2L1FcF//bl60wrCCva82WMUuzqnmun+LZB4T1hbo8EUe/nwWs1BL/H6eqGiA== X-Received: by 2002:aa7:d1d3:0:b0:574:eb26:74a with SMTP id 4fb4d7f45d1cf-574eb260839mr10123048a12.21.1716106698259; Sun, 19 May 2024 01:18:18 -0700 (PDT) Received: from hex.my.domain (83.8.125.62.ipv4.supernova.orange.pl. [83.8.125.62]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733c34e5ccsm13698518a12.95.2024.05.19.01.18.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 01:18:17 -0700 (PDT) From: Artur Weber <aweber.kernel@gmail.com> Date: Sun, 19 May 2024 10:17:53 +0200 Subject: [PATCH v3 7/8] ARM: dts: samsung: exynos4212-tab3: Add MCLK2 clock to WM1811 codec config MIME-Version: 1.0 Message-Id: <20240519-midas-wm1811-gpio-jack-v3-7-0c1736144c0e@gmail.com> References: <20240519-midas-wm1811-gpio-jack-v3-0-0c1736144c0e@gmail.com> In-Reply-To: <20240519-midas-wm1811-gpio-jack-v3-0-0c1736144c0e@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=1716106686; l=1280; i=aweber.kernel@gmail.com; s=20231030; h=from:subject:message-id; bh=/QyKeHFcTD2xub55oeUkv2MeNFIR4VYheZEY658FtbY=; b=uIhQX5gQujMd8bBF2k9b1KLhHd9WhMaSqaCMxb8Np8cIQECgR/UjvobYYub101csayG1sTsUl wFY8L+MWe0dA9Ypafuhq1UhoaBTHpdAku9evW3iE3kLkozY5QxnDDuZ 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-20240519_011820_265741_A5A864F6 X-CRM114-Status: GOOD ( 13.50 ) 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(-)