From patchwork Fri Oct 6 13:46:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13411602 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 CB297E81DFD for ; Fri, 6 Oct 2023 13:47:08 +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=1mEzFIWtsW8Z94ykTAAdmHxh6Md1xDV/HEGVJhwb/dg=; b=uxmSYkOzSFTOJq lq8/itd+Ht/9i9m0IpJZqejqkNjR2vW0FK7KaD6xEtsgcdV0huuGFC4hAi66uT69C0hxOHhumhVtu +HxyusXRhAw2WpR6axaoBM2hGYy03aIylahCt7qgm+rSi4LqmBCpYtjdD6eyT7qt135J3N/EigG5N SOfDG5ntrOGOzZc5hq34aMYzFy5wlnWA+PuBWVGQbIC6FJOEVox6FSuqiSV2R0iOwfMiez1KBzxer wKvwh8ttqOWAYlXi/BqOIYr0LeiT8244OKlv+1UWqEonDO9w/b5Q4BiIQINdFM+10UNDZ5LFKP3HS eMZKEr2iYF76e3wPhauw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qolA7-005vBv-0G; Fri, 06 Oct 2023 13:46:39 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qolA5-005vA9-0i for linux-arm-kernel@bombadil.infradead.org; Fri, 06 Oct 2023 13:46:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=iyIWSI35ioF9P5y4BP7rlGwfh5ltYmHyWesLeZ41VQA=; b=AwVLc8Ca0sPOQwxpWFoK1HZJLc giLuJovokDE07r9ydqJUvdU8UBWmimoiMLq6LhF29WbjvH49IQ+29h8HlHHTtZNzABUfAoksgQorT z4wkvdDg7vtHx+Pb9diVaR9AgZkBlHryNWhfBAKEUUBrpM8cFqC2CGXo5vr+qnA2aXlzcDK1D63ty cXGggAnv79s0n6Io0tj9sNM1JjhtItIcL+uMbw/HS9xeaHEz/+C+VhDvpxXRwX3F5e0gi/PVF1zM0 GdkuJjIWOjSOwhPZ78umtTH9BMaXLLShaMWFYEoliANipBLHJ0rHbQLmgjok6qyB+RbYkU0V/PPBa MS7cfnQA==; Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qol9w-00CfUR-34 for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 13:46:35 +0000 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2c27d653856so39272711fa.0 for ; Fri, 06 Oct 2023 06:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599987; x=1697204787; 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=iyIWSI35ioF9P5y4BP7rlGwfh5ltYmHyWesLeZ41VQA=; b=es58k5ePf/xKp9N06utIZpi1msYBrNTJKaQ3hqJ8tLwV95EUzbt3KVDHRsFgfOT2nr V3Bp8AKR4S93NSNgx0DqaJYD50qNVfy6iKeVu/jL7/RVMbpWAxB4iE7DDa8qdEmUm3c9 R+OUQb9fmTrjJMD8s9MgCFcIFHnhCmCWp4l5SAKNyAPOZKe6JWoJnbcjhJB3QmSq5D01 TAwiOp0zbOPHdXLlYrB+hg/1F7puy6jLF9nVdnjk1zGtht9mPbpFN0kM1Z0EZ9xKoYRL Q37z3XsNhOvogBv1DH23ImUA3exzEqxTAmg+hmiXApoye7LAknaFX6k/l/rwn+LRdUsz RCog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696599987; x=1697204787; 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=iyIWSI35ioF9P5y4BP7rlGwfh5ltYmHyWesLeZ41VQA=; b=Daqu+3fIHl3uxY5/c5QoR7PWOq3TNmTXtfDjM/rqvXutfre5IaT0wjzrlDq6llxsy/ 13u7EddMxOjBRN8ytgbdn0VGVchLJvjO1vF5emMFsH7Kvm7BC75rQq19p3Ep0GuNW4WW ka2NcC3dMJzjmL0yxUTPbb3QwozEo48FW2df3PZFwgGjlzqMX7/z6Lp+2EPUZq6Tdsdj EC4g+W2uZ05BfqNezQUgM6TKJBkPp0VsU1YGHOKUHDA8y08wwF45DGSaSk61bMSZ4Szh xwXfsEPwth4/UCNB/Qcte5tB/7kuoQhVD+82s2Vjel0ZED3/e2tMMYWLcH5AqkVY9OV1 RsRQ== X-Gm-Message-State: AOJu0YzFh9cw9Db+el2J2CZoTdTbRtPRB54MOnGF08UswWTfT25OavlP EEqrWra4eXIjgQU7Hx8FRpR1WQ== X-Google-Smtp-Source: AGHT+IHGZbYm5OyG87d6TAKeG9ICFcG1L5jBwIGzi+m4DbZK7DRyNC9xmJcbHkphJg8oT5Yn4KFEDw== X-Received: by 2002:a05:6512:313c:b0:500:96dd:f95a with SMTP id p28-20020a056512313c00b0050096ddf95amr4307682lfd.24.1696599987078; Fri, 06 Oct 2023 06:46:27 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004fe37199b87sm308733lfe.156.2023.10.06.06.46.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:46:26 -0700 (PDT) From: Linus Walleij Subject: [PATCH 0/8] Convert Mediatek ASoC codecs to use GPIO descriptors Date: Fri, 06 Oct 2023 15:46:23 +0200 Message-Id: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAK8PIGUC/x3MTQqEMAxA4atI1gZS/xZzlcFFbVMNopVEhgHx7 haX3+K9C4xV2OBTXaD8E5O8F7i6grD4fWaUWAwNNa0jGjCyBZXjzGroLQfcOIo/eUVyoU2pI+r jBKU/lJP83/d3vO8Hdr86wWsAAAA= To: Bartosz Golaszewski , Andy Shevchenko , Matthias Brugger , AngeloGioacchino Del Regno , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, Linus Walleij X-Mailer: b4 0.12.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_144631_366466_4BE97047 X-CRM114-Status: GOOD ( 10.54 ) 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 Convert over the Mediatek codecs to use GPIO descriptors. One few-liner affects gpiolib-of.h, I don't think there will be conflicts so I suggest that all of this can be merged through ASoC after review. Signed-off-by: Linus Walleij --- Linus Walleij (8): gpiolib: of: Add quirk for mt2701-cs42448 ASoC sound ASoC: mediatek: mt2701-cs42448: Convert to GPIO descriptors ASoC: mt8173-max98090: Drop unused include ASoC: mt8173-rt5650-rt5514: Drop unused includes ASoC: mt8173-rt5650-rt5676: Drop unused includes ASoC: mt8173-rt5650: Drop unused includes ASoC: mt8186-mt6366-rt1019-rt5682s: Drop unused include ASoC: mt8192-afe-gpio: Drop unused include drivers/gpio/gpiolib-of.c | 4 ++ sound/soc/mediatek/mt2701/mt2701-cs42448.c | 54 +++++++++------------- sound/soc/mediatek/mt8173/mt8173-max98090.c | 1 - sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c | 2 - sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c | 2 - sound/soc/mediatek/mt8173/mt8173-rt5650.c | 2 - sound/soc/mediatek/mt8186/mt8186-afe-gpio.c | 1 - .../mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 1 - sound/soc/mediatek/mt8192/mt8192-afe-gpio.c | 1 - 9 files changed, 26 insertions(+), 42 deletions(-) --- base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d change-id: 20231006-descriptors-asoc-mediatek-01c3ff4005db Best regards,