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: 15017 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp342817vqo; Fri, 6 Oct 2023 06:47:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0F9qLtexLpQnNLOo1WXnfeTefEWzO9cUe5ol33mgNRq6KwyoyGyYzDoLWlqZOw5X44uxY X-Received: by 2002:a17:90a:cf01:b0:26d:19bb:8638 with SMTP id h1-20020a17090acf0100b0026d19bb8638mr7928982pju.10.1696600052721; Fri, 06 Oct 2023 06:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696600052; cv=none; d=google.com; s=arc-20160816; b=O6GXDTYBk2mX9GfKfE3w+47/He92DINI3/pFQRGZ6eC/M/bzlBBiXP8ZoZ/6yN3oS7 SELwEpYAdvbs7FwLdYgSYnG+ekPLYFACJJJVGbrt3tmjXvlik5GE3dMtopWvWRnzIKbt kt65j4dbdqguuE0KzYqk6Njvh4UJy6UxBiRqrWhr0xGs47t5sZoUwiyLIW0qnuYxEbfN ESXcOwRX9AZzmYRtHhQ6CRFD/Qs0pKibPUUoOk2LuyPQFc+8L4nxQlp74bgcQysi3Njt lYXsnk2bHnKk6vxXGoVfr6eYwCi2VG7GkbxF66hfFIPDywn6eFVVZRP7wrS7g70tPlql yVkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=iyIWSI35ioF9P5y4BP7rlGwfh5ltYmHyWesLeZ41VQA=; fh=9EmQy3nV+j7AYsabaDMwbPlRU7+uz1cdK9KYarw9f+c=; b=BtHl99tVlGDoCnjgwFWnRmjo8pGqX51yzPP6f+6dvNTXozk8TITERzb4AgsXOhTrtP UOzulVpBvBP9S6aDuiXC4Ex0qSLodHrfX61c344NfaqDiTnnEt6GcvqU7TuOsv3uMEE4 mGr/QY7Htr3LDE3q5Ef67RMWhOAl8RvuuwDnChaadh8AWuupJpRwINiMYCb3K6XfUVMv SA7GKMP36/HfAlNGrNwoE6OvfKe7xn9HAy5XJw8TEDDnRen0Hk0fSUrw5411GegQae5k KMV99872pJbjNdCl7NIrSlNtmvUyum+FLOBkiRCHSRG/dSuchZUbvECtVJNYg9ZC0o8h jAfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BHSf1B50; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id z3-20020a17090ad78300b00274d1a584dfsi3710884pju.107.2023.10.06.06.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:47:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BHSf1B50; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id DC6B18051AAF; Fri, 6 Oct 2023 06:47:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232644AbjJFNrU (ORCPT + 18 others); Fri, 6 Oct 2023 09:47:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232589AbjJFNrA (ORCPT ); Fri, 6 Oct 2023 09:47:00 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 381A6D60 for ; Fri, 6 Oct 2023 06:46:28 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2bff936e10fso38982291fa.1 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=vger.kernel.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=BHSf1B50RJ5iN2Rr0Rq5gJgfP7HqsJMZO8+S+Brs0LrwXBndT7k6vNalyV3C68mC/Z OGZCO006+QjRcgBvs0r9MO+UQUhIjVGm9ya0WAnaUw2gM974zw3iLjtCGD/rv+ezRjIB rz4IvTHWNekybxFz7JFvouhRMEibhKoJvWySIq2cnGGar57S3nbaAlNosJ2zsNFof5I5 oy+rI6KaWtmGqgYresyGCDptrMDXmfmapz1yjIBqzSttY21weNEJvOj4HmFwx8HC+UPH Pn/FoIXw4MzDTILZfHx7nq1jHvUI3naA++aV8CiKDs7rTPi699INAksqAWnXO3E9I/rb HPvw== 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=HH4l+czzl2trsVmxWG7TNz7cdv9Tj36C112xvGCyHbXdM/nBHxFdXZ6aFSqJHuZ73M lAYQctsNLq8sZq1xj8VtYdvY9z0v1NlNQ0FYBR1VEU2TaMeX3vxlCcAgCgVvW1O53Pc9 +wjxHPbM8yQbjYAbadrJuWgWo2UNAKZxPlQqHt8OoGTffFGmueXJtxaxOSZJLbautvE+ R9FcFtL5Z3cQkB8f6FShb6P7VYmLHGs42V4s2gEBPwqCpjyjDbWTPmsWW6uCrHXFbj9b RIEU/8o0y3pODdPs5nhRHWrTAA4arkUPYg1AKoR8Odh65LZwsYIqOS15LuMq4uKjvw5S 5TWw== X-Gm-Message-State: AOJu0Yx+RsNfqJUtbFn5BIcmwZSuQEhsQ2sljCMYKo617s03HRLXIi8S 7P/aZrtWRi2OeoOVB8UZJisiEg== 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-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 06 Oct 2023 06:47:29 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779014096768555845 X-GMAIL-MSGID: 1779014096768555845 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,