From patchwork Wed Aug 7 15:02:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 818438 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 6A89BC52D71 for ; Wed, 7 Aug 2024 15:14:00 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5C94C191C; Wed, 7 Aug 2024 17:13:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5C94C191C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1723043638; bh=+wyWa9keKYvJvojA0lUFTGTwanpx4GNfWBttcW1dW/g=; h=From:Subject:Date:To:Cc:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=SW3dyncIrXpXvyh14BxNkxqMgnwxJz1IDwi5R8dyBcwic4g7CNlguT2UmfAsoW5ga yrIqSSvWJ3h21flUuS8glTFtXyHjQX+YYsPamq/yy8CDPnKcj36QYh5h3e6RmlnljR jh43Sm3kwCPP5piq3L/oBa3epLUqstGkDfozUfzk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 48331F805B4; Wed, 7 Aug 2024 17:13:24 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id A998CF805B6; Wed, 7 Aug 2024 17:13:23 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 02F3CF8047C; Wed, 7 Aug 2024 17:06:46 +0200 (CEST) Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 028DFF800BF for ; Wed, 7 Aug 2024 17:02:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 028DFF800BF Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=vw5EmAYF Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5a2a90243c9so1818300a12.0 for ; Wed, 07 Aug 2024 08:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723042958; x=1723647758; darn=alsa-project.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=gboyXAEeXuINog3pkYnMpOO7y/D6nwWKyvX/1H9FuXk=; b=vw5EmAYFsPLfQ38iXfum93k7U3le1LTYp3tUmkxJbvigZQoaejtMuWYi/+akAr9w/q qk1i9IgWTiuXWNuBS+SoZsrfzOhmP54tzNx7eqeXt6AhTZ6XzROF17+tIozsHo1NB3zt dsJuSi7yOt8xLf75Mxqb6kSdSpDGvW0vgzhjos2fujzgijuqcDChH5oiIUlr9OGMB3Ib WANkJTY/VToh9aBtYao8lafm63YhFBUzP0vcRe68rlt6wwLpAxv+9+5PaqrcGxSjzTpo RvfpFvy35NwqgUGrGtdyS9cauJNa8nxyYZ+joWsFPy1c1C0KErz7RRbg95AwVdqzzhQ2 w79A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723042958; x=1723647758; 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=gboyXAEeXuINog3pkYnMpOO7y/D6nwWKyvX/1H9FuXk=; b=e6sCpXRJfSkJzaHOvkL7jdmHYMpIG/JD2aTWPvJttX1RYmriOGTb/hQcNyoC8OxaBr xxAhEIlgx9WsexS52LFIZuhldxhAzMGFp/HcqPmsRF5QLtr2E0g5cZrl/3gfxzN+lJVv 6JOTJwkBBD44X2jusVqV60ohjmG4w9YXSxFRGlPBwMoxn1U0ABe+DOurcIcOCv8DYHRK zgBqKSvElG8/KniKd/TO5JrKKOFEMtgIQUVzPigpkkT654RqMlC4UUzBMhgUVn7EOtEZ BHai4PM04GSiuwX3B8mtj47wJX/wE+Mi9sgtAbYi4KRFExX2Dm6qNqE73DrmUApuIyYh rokA== X-Forwarded-Encrypted: i=1; AJvYcCVH+ujnlaAb/5IHZqomFr+nXeUwsla5yYy/YoAeFiXgjhkNtB0s1Mn9ulGsnp6i/WBiIzupL60MYSQDCNgmYIer/GewFX825so1VeQ= X-Gm-Message-State: AOJu0Ywe9G8ZPVufLeZyRkU6CzOecMp+utfZttfu9yY79IrBCfeAGc5i YZj3oTQWCb4+/coLRN8cZh+2U73uA02yUz1lo+DoIpPdYsCe+jHn17ndgy2Edn4= X-Google-Smtp-Source: AGHT+IFAVMAyBYgyjB17PgBIAsqIPvYIgbKexhMjycc9NMyI226M25xxGJarXKv+Tma4MwJ18ohlaQ== X-Received: by 2002:aa7:dcd9:0:b0:5a1:40d9:6a46 with SMTP id 4fb4d7f45d1cf-5b7f5dc5d68mr12204944a12.36.1723042957750; Wed, 07 Aug 2024 08:02:37 -0700 (PDT) Received: from lino.lan ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5bb90be3a91sm2583047a12.65.2024.08.07.08.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 08:02:37 -0700 (PDT) From: Linus Walleij Subject: [PATCH v2 0/3] ASoC: tas*: Fix up GPIO usage Date: Wed, 07 Aug 2024 17:02:31 +0200 Message-Id: <20240807-asoc-tas-gpios-v2-0-bd0f2705d58b@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAIeMs2YC/3XMywrCMBCF4Vcps3YkifYSV76HdBGS2A5IU2ZKU Ere3di9y//A+XaQyBQFbs0OHDMJpaWGOTXgZ7dMESnUBqPMVfVKo5PkcXOC00pJsPWq1WFQoe8 GqKeV45PeB/gYa88kW+LP4Wf9W/9SWaPC0Nno29Bbe7H3Fy2O0znxBGMp5QsYLWOsrQAAAA== To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Shenghao Ding , Kevin Lu , Baojun Xu Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Shenghao Ding <13916275206@139.com>, alsa-devel@alsa-project.org, Linus Walleij X-Mailer: b4 0.14.0 Message-ID-Hash: EQZHG5S5VRET6WEZWZT2ENEU7EENRU2S X-Message-ID-Hash: EQZHG5S5VRET6WEZWZT2ENEU7EENRU2S X-MailFrom: linus.walleij@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The TI TAS drivers use some legacy GPIO code and headers, this series fixes it up. The TAS2781 is a special case since it adds a handful of lines of deviating code to reconfigure a GPIO line for IRQ mode and then never actually use the IRQ obtained in the code. Is the line used by autonomous hardware? I'm puzzled by this. Anyways the patch suggest how to solve this properly by fixing the parent irqchip and I'm happy to help. Signed-off-by: Linus Walleij --- Changes in v2: - Rebased onto v6.11-rc1 - Link to v1: https://lore.kernel.org/r/20240701-asoc-tas-gpios-v1-0-d69ec5d79939@linaro.org --- Linus Walleij (3): ASoC: tas2781-i2c: Drop weird GPIO code ASoC: tas2781-i2c: Get the right GPIO line ASoC: tas*: Drop unused GPIO includes include/sound/tas2781.h | 7 +------ sound/pci/hda/tas2781_hda_i2c.c | 2 +- sound/soc/codecs/tas2552.c | 1 - sound/soc/codecs/tas2764.c | 1 - sound/soc/codecs/tas2770.c | 1 - sound/soc/codecs/tas2780.c | 1 - sound/soc/codecs/tas2781-comlib.c | 3 --- sound/soc/codecs/tas2781-fmwlib.c | 1 - sound/soc/codecs/tas2781-i2c.c | 26 ++++---------------------- 9 files changed, 6 insertions(+), 37 deletions(-) --- base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b change-id: 20240701-asoc-tas-gpios-5c051d80d768 Best regards,