From patchwork Fri Dec 1 13:20:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13475821 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 E3AF8C10F05 for ; Fri, 1 Dec 2023 13:31:49 +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: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=6NGu3u6x8XwTi0A/9M1Z+OK84Llhmv/KqlcWiq/IDsU=; b=Yljil6YQH8CFWM pcxCmphqwHw931pGIkiuLDc/Rfk3jx0tDCmb27AAwkO6Ckc7wBvdbijHyagDjAMARaoPK7L/+BF/s Rtz0IxcEycfFFn7uhDj9nNxSl7m/FN3TlsmE/ULWk7UYg2KGKjYoZFvTL9ZpXepnGxI13xNea7PIc 4XFoX/5yHVEvdiZpY4KZoidrZFJUYJdkWqPHOp53pH0U9pPuDx92sTFvZTNSXj+0DU2qeP5bAhflh 049qKvoAKcWfI/BKm5+dMnC5J1c4b2X+8JdRj1l8Kul1zzCKVHggJZtsLASuoGnrCx6NhwYYNTbFe rbS4yEcU/83aV9msOSJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r93bz-00DoJx-20; Fri, 01 Dec 2023 13:31:19 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r93Rc-00DjPz-0H for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2023 13:20:37 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50bc36725bbso3078216e87.2 for ; Fri, 01 Dec 2023 05:20:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436832; x=1702041632; 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=3WxPktasKkZEej0sqgFg3/J9Uo7JHJmWFpjxeLxWfYc=; b=mlJUJres2MEIVqIfqnmnZSxV5appG2zAb1geZ2xWjBjNzknbIJboU0+dD/3oGAgfT/ cdAP8SLez5uhD+1vr/LQb9v1IwVdLPYKMsw3RM8wJxlQu9NxX11rpcRtHyhGIPK7x7za V4wLw7F+WJK2Dnmcd6PDMWIbDSqJ9kSPBvvuDi4jSoeGVbjitwMPkJHJGDSNSApek2pH IRBizw3KRCYVGKUNG6MHL+FoyplXIG5pHL5T9eUWsvl7SsYaI+bH1xsAB8USspjeFRJz o4bdXjzUyIkSfb10TMWixTaEmk0sYsW1KP5c1y5VC6H1qVMEKVsPjWsQdIEANCPI3Lfp RMnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436832; x=1702041632; 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=3WxPktasKkZEej0sqgFg3/J9Uo7JHJmWFpjxeLxWfYc=; b=sJhd3xi4JEanGkFaHdXXz+5uR63JatDA/b1x+/0SyDPBKLfKYzE7Q4RLzpWA8gj25n 2mOTufYxmsaj/URC074A22K1VndbfwHaklLE9vrTnc/e/mb7a9xKG9ttgtlcmo8ByeYW mpY9td57Z72+k0RVvInCO1Uvr67WJbugXQcuQ+MwC5SPrPb42AQOQ3H+RysGnUOgC+iy FulKhdQf1WoI9oi5Uh0UX/+BRrhcvtvJb/QOsMrZP8IJhoCN5YQ2j9+Lj/kCy0mF+89l 7bOaaR8L6qBbf+LEpflMPioKi214dpXkXUhhMyAI2Q0I/kj1VAo6C3xUZexw/XR31YeF 29uQ== X-Gm-Message-State: AOJu0Yx8X0M1+NwlRYBieeKrtNR8ZPBl5Qt+QlQptPPPjRAtOAnhTd5y r3VLWLiWuPaw08IEMO92Rmpn4vacg1esyWBV+FU= X-Google-Smtp-Source: AGHT+IHnkI/nqzO/GyNwmeS7iBCAivqXeSYuwkz4bEKNd4hhmJw/EAoXBhuD7RcEBSZRCHCeEWL6mw== X-Received: by 2002:a05:6512:239f:b0:50b:c2f4:ad44 with SMTP id c31-20020a056512239f00b0050bc2f4ad44mr1028147lfv.29.1701436831756; Fri, 01 Dec 2023 05:20:31 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:31 -0800 (PST) From: Linus Walleij Subject: [PATCH v2 00/10] ASoC: Convert Cirrus codecs to GPIO descriptors Date: Fri, 01 Dec 2023 14:20:29 +0100 Message-Id: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAJ3daWUC/42NQQ6CMBBFr0JmbU07gIIr72FYNHSASUxLZoRoC He3cgKX7yfv/Q2UhEnhVmwgtLJyihnwVEA/+TiS4ZAZ0GLpHLYmkPbC8yuJGk1LDKZnkUVNjRh ae3GNbQiyPgsN/D7Sjy7zxJqlz/G0ut/6R3R1xprSeX+tKqyHobk/OXpJ5yQjdPu+fwGdVkqIw QAAAA== To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij , Charles Keepax X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231201_052036_129119_9FF33C70 X-CRM114-Status: GOOD ( 13.39 ) 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 series walks over the Cirrus Logic ASoC drivers and clean out the use of legacy GPIO numbers and legacy GPIO APIs. The CS4271 affects an ASoC driver for EP93xx which Nikita is actively working on moving over to device tree, so I don't know about that patch specifically, but I think the collision would be max "the file was deleted". Signed-off-by: Linus Walleij --- Changes in v2: - Add explicit include in the cs35l36 driver, apparently the driver useeed this implicitly through the include. - Fix commit messages "gpios" -> "reset" on two patches. - Test builds OK - Link to v1: https://lore.kernel.org/r/20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org --- Linus Walleij (10): ASoC: cs35l32: Drop legacy include ASoC: cs35l33: Fix GPIO name and drop legacy include ASoC: cs35l34: Fix GPIO name and drop legacy include ASoC: cs35l35: Drop legacy includes ASoC: cs35l36: Drop legacy includes ASoC: cs4271: Convert to GPIO descriptors ASoC: cirrus: edb93xx: Drop legacy include ASoC: cs42l42: Drop legacy include ASoC: cs43130: Drop legacy includes ASoC: cs4349: Drop legacy include arch/arm/mach-ep93xx/edb93xx.c | 32 +++++++++++++++++++++++++---- arch/arm/mach-ep93xx/vision_ep9307.c | 12 ++++++++++- include/sound/cs4271.h | 1 - sound/soc/cirrus/edb93xx.c | 1 - sound/soc/codecs/cs35l32.c | 1 - sound/soc/codecs/cs35l33.c | 4 +--- sound/soc/codecs/cs35l34.c | 4 +--- sound/soc/codecs/cs35l35.c | 2 -- sound/soc/codecs/cs35l36.c | 3 +-- sound/soc/codecs/cs4271.c | 39 ++++++++++++------------------------ sound/soc/codecs/cs42l42.c | 1 - sound/soc/codecs/cs42l42.h | 2 +- sound/soc/codecs/cs43130.c | 2 -- sound/soc/codecs/cs4349.c | 1 - 14 files changed, 56 insertions(+), 49 deletions(-) --- base-commit: 267aea213ae042f779a8054401a8a5f301518605 change-id: 20231129-descriptors-sound-cirrus-522d9061808e Best regards,