Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp488848lqh; Tue, 7 May 2024 05:44:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKsPIHd4UWbf+HqSCRwRbaon+1GULNtxK9BWr0Rqnj1K9h9yaeNSNPS0hUTgJQHnNrzbLGo86a/3JCFwcZED11zyxg9szMhbup2xckIg== X-Google-Smtp-Source: AGHT+IGJmmiPP10Qz9WM8ImbNokuSlBl2KaeZ3HlF9A6GcTkFNWz9ahS/IjS4YgooeKONgJBDxBT X-Received: by 2002:a05:6a00:181d:b0:6ea:afdb:6d03 with SMTP id y29-20020a056a00181d00b006eaafdb6d03mr14353511pfa.19.1715085865888; Tue, 07 May 2024 05:44:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715085865; cv=pass; d=google.com; s=arc-20160816; b=Ba6C8E64JS0IFIM3qDZAt7ShaaxRoKiRen0EbDpMPRVlZKoUQ6fEEYRZf22CARslHt j1Uc2wrSzkIwPBzLy6WrJlUZocPXmpTwaShrVtUhSIQ+3VCiZLIEFJ43d3w1Ev7PSa+b LulUaXhWCF65FtXygq8pq3/IpooKKL8AQbInFnsz/zilUAXWbDaSxnF3dM6HHSCecuho N29+aKQ61bZ9PvCbzW59wns+xP9M0LURNvMkNW2fM0dwohnOpDkEXEBZem3veIMH6+Be J6VATf19p+OmXSdDnH9yZfkulR1DRkG38GiFIBWWFo1s/m+aFep8t1R9xp1YT+PvCavp H0RQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=F/oIRhG5AjkWY6V2xiSuojwWNRWmfLxMa4/7v40uDqE=; fh=3UdgHIP9deiHKcvt6szs+EFySNNWED+Z3DF14Oil0Wk=; b=rujqpxiZiQOgJe/rBjpDjZ/ONArMLueulGdtUC4pT2SBW3HVxiEFjedoKeX8/F3d8n IJxidlpm6wrcPbT0uO4YOwY7ykSAR5iPu3xAJwEzQ+/N1BG0Tyq9LIIjfGvjhR1ll/v9 TLvUa5BEqTE8SMSLcFV7IBflYdqKd+BYkEIEVC8C3LyU7j5CvObP7JE8AIlqtIkVd4jG eX7riX38rYV/xNb4a7I/+2VZRTrH57B63acm7buQZYRh1sIFJImlA27beIQ7PnWYinD1 Ypk7z7UhlWBdARg2S74HA52MLhl5AVtBNykU5YWosU2aXDRjWwM0Hemt3we9iKRuJ9kP Sasw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JUBPrksF; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-171303-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171303-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a25-20020a637059000000b0061c6824e118si8599073pgn.273.2024.05.07.05.44.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 05:44:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171303-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JUBPrksF; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-171303-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171303-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1CAB3280FA1 for ; Tue, 7 May 2024 12:44:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8766115B56E; Tue, 7 May 2024 12:44:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JUBPrksF" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C57A158D6D; Tue, 7 May 2024 12:44:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715085845; cv=none; b=YnS/nEOlR78G6JiJD+MIf1n5o1vQqHbG6Td94RuxicTIJF0nnhKUCC0XPl8wH3VmmFvRbGffxRLkrmcMFzfs0Mg+aGuZtVASpGu9JeGmqEnuayxLXTQMMowMwhRHQnebieGtLqMqJg8+2h7pOTMaeDKVy08Fn7M2KQSxo8+LoSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715085845; c=relaxed/simple; bh=KnIVJedJHZe3sxJyLX2GN7WsyXIrdkUeKLWLWsv/Q5w=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=Wv98+nLuKCg/A1YF6zZrSwqQB6FTUXxUjLWRdIyAGutBdJoZdBJPD2ftSXgU+gDluyw/GCmLsIsTjo979Sh9jnhW9CZe9qBzrdYEF+czu6B+26Ezddje4K0cuv/u4YUj7H33W2IBAXJbifWthMNSZFIpM7DPD5rIxRB6tI3fkxI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JUBPrksF; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a59a0e4b773so735686466b.2; Tue, 07 May 2024 05:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715085842; x=1715690642; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=F/oIRhG5AjkWY6V2xiSuojwWNRWmfLxMa4/7v40uDqE=; b=JUBPrksF9DGIlQKXKffGpnOwTILazMKwBaW85OXD6Q5ECOs5WZflFg74eOq3gFI56/ l5AH8OU48RdF1MVLlfhgRwfEenxwak11LX5Fa4jmXRoewLe85/keS+MlwCEThsujKIOn JszboVzfThsZLioAmctGXFJYfmLwc7pTe7JVoDm90pIvAa+/pLXyEFdQpsvZ78syR8Ya SEXD2FAZWrtEAiCsrztej8RbtHI0TnF+RB1sjrYKXTKeTgW+pQcyzbNKlKxDavpIa6hA r6+BnIv4hnCNV3eekUsz9lUEXCcYvJAUN1m/y07TH+t4F3tVJJrqUSb8R/2+RLF3ntGr CR9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715085842; x=1715690642; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=F/oIRhG5AjkWY6V2xiSuojwWNRWmfLxMa4/7v40uDqE=; b=A3SU6gbxgYIj6PqE9IdkSVNEiwZzUNw669gSnMmNrSEmW0kma1Fiut/o9kvuUo3qfy 9pgOpWNal/5DF+NdrRKVKXkzTjsGW6aWtbMjm6ttI5Z/hIfQtXwM6ux+Vs2b2Gy9eGGJ Xs3ti7HKJ2n9bvnA841C444DQLOeZPGy2AA4+O69IzAgy6bhTAvXEbgaHEZQYChexzqw ukxtD7dYzrwvIo6j/73Ad8RPla0tWHRLFmPLh+N7Q6v4aMCyoj01PpLNwPlkw2cQk1Dw oM8vKJCnb0VleSzITvRlGDDYXMrzCClrIweAKZtUXVgZopVziC0jN4eBeTi5K/HO0/hf QtFg== X-Forwarded-Encrypted: i=1; AJvYcCUAMUqQcH/N3Ju0eydv6fl4WUFGuOe1vAVtNtVnJQfJke1DQ2+ruq0AJ5tsuAIj5kbpvWb83/0SRNHkUupfLfR12tYURUYAQjupS2zQeVrlW/F3d0lbVnkziyfakvFvxqJ7ILrV2fDmH5y3c9NusMs4dNXPaI+hSTvlXqsmtdQ5YVSi+rwVNJtawQsVmN/cuqeABMG2+TRKIha7fIBUoq0ba/XUsBjf39Q= X-Gm-Message-State: AOJu0Yy4/l++5IfgeLUvHpEuorSkl55K5burhe1T3mWjFQOsCxkcK81h YzSRWvLOhNdQ/fqKjftt4F5TFUso4xUsVhoPGlhm62Da+X/K5k0V X-Received: by 2002:a17:906:6a1e:b0:a59:b8e2:a0cd with SMTP id qw30-20020a1709066a1e00b00a59b8e2a0cdmr5656811ejc.59.1715085842060; Tue, 07 May 2024 05:44:02 -0700 (PDT) Received: from [192.168.50.244] (83.8.126.253.ipv4.supernova.orange.pl. [83.8.126.253]) by smtp.gmail.com with ESMTPSA id lb14-20020a170906adce00b00a59bc8c01b1sm3321340ejb.82.2024.05.07.05.44.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 May 2024 05:44:01 -0700 (PDT) Message-ID: Date: Tue, 7 May 2024 14:44:00 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Artur Weber Subject: Re: [PATCH 3/3] ARM: dts: samsung: exynos4212-tab3: Fix headset mic, add jack detection To: Krzysztof Kozlowski , Sylwester Nawrocki , Krzysztof Kozlowski Cc: Liam Girdwood , Mark Brown , Rob Herring , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Alim Akhtar , 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 References: <20240503-midas-wm1811-gpio-jack-v1-0-e8cddbd67cbf@gmail.com> <20240503-midas-wm1811-gpio-jack-v1-3-e8cddbd67cbf@gmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6.05.2024 08:31, Krzysztof Kozlowski wrote: > On 03/05/2024 20:55, Artur Weber wrote: >> Add the necessary properties to the samsung,midas-audio node to allow >> for headset jack detection, set up the mic bias regulator GPIO and fix >> some other small issues with the sound setup. >> >> Signed-off-by: Artur Weber > > ... > >> + >> &bus_acp { >> devfreq = <&bus_dmc>; >> status = "okay"; >> @@ -505,12 +521,11 @@ &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>; >> - interrupts = <6 IRQ_TYPE_LEVEL_HIGH>; > > Does not look related at all to the patch. I rolled up two small changes to the wm1811 audio codec config here: - Dropped incorrect interrupt parent - GPX3-6 is the headset key GPIO, and does not seem to be the interrupt parent like on Midas (downstream calls it GPIO_HDMI_CEC on Midas, whereas for Tab 3 it's GPIO_EAR_SEND_END, so they definitely serve different functions). - Added the MCLK2 clock as specified in the schematics, to more accurately describe the hardware. I included them here since the whole patch modifies properties related to audio (this section is what "fix some other small issues with the sound setup" in the commit message refers to), but I can split it up into a separate commit if it's necessary. Best regards Artur