From patchwork Fri Oct 6 20:09:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 15032 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp570068vqo; Fri, 6 Oct 2023 13:10:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHsE/1szcOPkllUWWxgOhI91B+Bucezh7CiXlrHw8wB/JqYUx9YrknMTInrT7jIjd68f/uo X-Received: by 2002:a05:6a20:8e05:b0:154:bfaf:a710 with SMTP id y5-20020a056a208e0500b00154bfafa710mr10868607pzj.41.1696623006605; Fri, 06 Oct 2023 13:10:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696623006; cv=none; d=google.com; s=arc-20160816; b=UKt8kdjSTpIY8X6/f3+v02Rm65+mPy1phE8ACJ1PwnkB8NDSZ1fBtmydr/hmQJKio4 ktbjhesKFLz8g5yQzunXFw8WQrm9SumjJpxqlkOD92mVuSz+Q2nr0hMJ2vbpqeyifItp dSjpNiFDBvVmeBnN9dKpG4FsyuNadQT/eaQiKdh0MklQlXE9yEbIUcfuW59IHYIMU7cG sJQWhIsWZ2eCHCfSBbN4JOfgr39oVDZ9qA8R4ogtUrQ9xcsy+NWGIXObR6eFcJKrG0nn YvoU/jlinwDNyzX0ioqsHbDnf9rU8qoYRFXO4PLcWT3sJoZ0pFKUZW0VyDYmoyPBI2Mb VP4g== 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; bh=KErA21m5/OQ8AOwXNSwDx2ZPMJkH+bkAlEkK8UsmwXU=; fh=K47+NFGP+XJUUhVlWnvZrwzAuVJVRHKMQtU4kHl8NwM=; b=A1nQO0700T6WDMdYKoRuKG/75gyXrzgCLxSYXFCx2tTXxnPWp/B0kpupROXywC76gG awR78Xckar3vb5/qDFOvOLJYJIZrjmStLInasX0NbhUBkIHeDBS9WFmKF8bEiIgROF7k aM9wfPxDjjM+fp4MOvNW0x1ScTi0gDnR8nnb3vGFZoDRF0115m+WiND5yiWn6UlG0hs1 EPk6QvGNNTzNtAUPML6gjkmngldltZtyxBHeJXZw15e/7zP6fCDoC9gOKAonT/wtEOdy nriKS9A7KUovrCW4iy4X6VDDBVIKCl4rFyZkWeOp/eCBUxRBwLqFZL7rdE1Zskxi4bwb Fnng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id l4-20020a17090a49c400b0027761f79905si4314693pjm.128.2023.10.06.13.10.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 13:10:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 18C18809FA46; Fri, 6 Oct 2023 13:09:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233407AbjJFUJh (ORCPT + 18 others); Fri, 6 Oct 2023 16:09:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233339AbjJFUJg (ORCPT ); Fri, 6 Oct 2023 16:09:36 -0400 Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 040F4C2 for ; Fri, 6 Oct 2023 13:09:34 -0700 (PDT) Received: by mail-oi1-f169.google.com with SMTP id 5614622812f47-3af8b4a557dso1606448b6e.0 for ; Fri, 06 Oct 2023 13:09:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696622973; x=1697227773; 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=KErA21m5/OQ8AOwXNSwDx2ZPMJkH+bkAlEkK8UsmwXU=; b=ubVvzs9mQtsYKI1fx9WiXfqsNcmx+cg1j7m2YUpv1rHYWoILac0SIw1Ob1L9UJGIEA 2OhUyr7vJQhGujcBSP+zDmJ0EZhBlovr1ahc2KCDcDo9bjopXkI1RXtFTS0txeT0B/Es 3bSGlbrhxFPZMMsCwRo4tIicMjlAvEz4PpPTIsTuOCnENlVutTNXpaLnN6CzpwEUWMXz cpiz2AWAKUwXSGl/HDfirTvNLM+G19El5UVWDf+a8FAa/El+LLMuF4kxpYp6F3yW3jHU yqUPwbvHthLe7sb/AJNgO6PJDDp6Sa34IFdDTQ7G3FOIKUkih738hUb3bQkvdGEpLmqk rIoA== X-Gm-Message-State: AOJu0YxAdpa3A0QhCAyUQBgFk2o7bIZ5tezXgYBHfdfIDQWgH7cUKq4z 1Cum5MloDc4xu6PR6O52cw== X-Received: by 2002:a05:6808:2d6:b0:3a7:3988:87ee with SMTP id a22-20020a05680802d600b003a7398887eemr8329079oid.58.1696622973140; Fri, 06 Oct 2023 13:09:33 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id w16-20020a0568080d5000b003a99bb60815sm706613oik.22.2023.10.06.13.09.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 13:09:32 -0700 (PDT) Received: (nullmailer pid 229122 invoked by uid 1000); Fri, 06 Oct 2023 20:09:30 -0000 From: Rob Herring Subject: [PATCH v3 0/5] ASoC: DT matching and header cleanups Date: Fri, 06 Oct 2023 15:09:09 -0500 Message-Id: <20231006-dt-asoc-header-cleanups-v3-0-13a4f0f7fee6@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAGVpIGUC/4WNwQ6CMBAFf8X07Jqllbbx5H8YD6Us0EgKaaHRE P7dwkkPxuO85M0sLFJwFNnlsLBAyUU3+AzieGC2M74lcHVmxpGLAlFAPYGJg4WOTE0BbE/Gz2M ErRpum9JwjiXL78pEgioYb7v893Pf53EM1LjnnrvdM3cuTkN47fVUbOv/UCoAQaCWUmqUQunrg 4Kn/jSElm3SxD9F598inkWklJIlarSV/RKt6/oGJuoHuh0BAAA= To: Mark Brown , Claudiu Beznea , Jaroslav Kysela , Takashi Iwai , Peter Rosin , Lars-Peter Clausen , nuno.sa@analog.com, James Schulman , David Rhodes , Richard Fitzgerald , AngeloGioacchino Del Regno , Shenghao Ding , Kevin Lu , Baojun Xu , Oder Chiou , Fabio Estevam , Kiseok Jo , Kevin Cernekee , Shengjiu Wang , Xiubo Li , Nicolin Chen , Srinivas Kandagatla , Banajit Goswami , Nicolas Frattaroli , Sylwester Nawrocki , Ban Tao , Peter Ujfalusi , Jarkko Nikula , Cezary Rojewski , Pierre-Louis Bossart , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Kai Vehmanen , Olivier Moysan , Arnaud Pouliquen , Maxime Coquelin , Alexandre Torgue Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Jernej Skrabec , Charles Keepax X-Mailer: b4 0.13-dev X-Spam-Status: No, score=2.6 required=5.0 tests=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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 06 Oct 2023 13:09:55 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779038165407912530 X-GMAIL-MSGID: 1779038165407912530 (trimmed the recipient list due to bounces on v1) This is a series is part of ongoing clean-ups related to device matching and DT related implicit includes. Essentially of_device.h has a bunch of implicit includes and generally isn't needed any nore except for of_match_device(). As we also generally want to get rid of of_match_device() as well, I've done that so we're not updating the includes twice. Signed-off-by: Rob Herring --- Changes in v3: - Move some include changes from patch #1 to #5 to fix build with just patch #1 applied. - Link to v2: https://lore.kernel.org/r/20231004-dt-asoc-header-cleanups-v2-0-e77765080cbc@kernel.org Changes in v2: - Add tags - Link to v1: https://lore.kernel.org/r/20231003-dt-asoc-header-cleanups-v1-0-308666806378@kernel.org - Link to v1 resend: https://lore.kernel.org/r/20231003-dt-asoc-header-cleanups-v1-0-05b5d6447e5a@kernel.org/ --- Rob Herring (5): ASoC: Explicitly include correct DT includes ASoC: Drop unnecessary of_match_device() calls ASoC: da7218: Use i2c_get_match_data() ASoC: qcom/lpass: Constify struct lpass_variant ASoC: Use device_get_match_data() sound/soc/atmel/atmel_wm8904.c | 1 - sound/soc/atmel/mchp-i2s-mcc.c | 2 +- sound/soc/atmel/tse850-pcm5142.c | 1 - sound/soc/bcm/cygnus-ssp.c | 2 +- sound/soc/codecs/adau1701.c | 1 - sound/soc/codecs/adau1977-spi.c | 1 - sound/soc/codecs/ak4104.c | 2 +- sound/soc/codecs/ak4118.c | 2 +- sound/soc/codecs/ak4375.c | 2 +- sound/soc/codecs/ak4458.c | 2 +- sound/soc/codecs/ak4613.c | 2 +- sound/soc/codecs/ak4642.c | 2 +- sound/soc/codecs/ak5386.c | 7 +--- sound/soc/codecs/ak5558.c | 2 +- sound/soc/codecs/cs35l32.c | 2 +- sound/soc/codecs/cs35l33.c | 2 - sound/soc/codecs/cs35l34.c | 2 +- sound/soc/codecs/cs35l35.c | 3 +- sound/soc/codecs/cs35l36.c | 3 +- sound/soc/codecs/cs35l41-i2c.c | 2 +- sound/soc/codecs/cs35l41.c | 1 - sound/soc/codecs/cs4270.c | 2 +- sound/soc/codecs/cs4271.c | 22 +++-------- sound/soc/codecs/cs42l42.c | 1 - sound/soc/codecs/cs42l56.c | 2 +- sound/soc/codecs/cs42xx8-i2c.c | 2 +- sound/soc/codecs/cs43130.c | 3 +- sound/soc/codecs/cs4349.c | 2 +- sound/soc/codecs/da7213.c | 2 +- sound/soc/codecs/da7218.c | 29 +-------------- sound/soc/codecs/da7218.h | 2 +- sound/soc/codecs/da7219.c | 2 +- sound/soc/codecs/da9055.c | 1 - sound/soc/codecs/es8328.c | 1 - sound/soc/codecs/gtm601.c | 2 +- sound/soc/codecs/lpass-macro-common.c | 2 +- sound/soc/codecs/mt6351.c | 2 +- sound/soc/codecs/mt6358.c | 2 +- sound/soc/codecs/mt6359-accdet.c | 4 -- sound/soc/codecs/mt6359.c | 2 +- sound/soc/codecs/nau8540.c | 2 +- sound/soc/codecs/pcm1681.c | 2 - sound/soc/codecs/rt715.c | 2 - sound/soc/codecs/sgtl5000.c | 2 +- sound/soc/codecs/sma1303.c | 2 +- sound/soc/codecs/sta32x.c | 3 +- sound/soc/codecs/sta350.c | 3 +- sound/soc/codecs/tas5086.c | 6 +-- sound/soc/codecs/tas571x.c | 2 +- sound/soc/codecs/uda1334.c | 2 +- sound/soc/codecs/wm8510.c | 2 +- sound/soc/codecs/wm8523.c | 2 +- sound/soc/codecs/wm8524.c | 2 +- sound/soc/codecs/wm8580.c | 2 +- sound/soc/codecs/wm8711.c | 2 +- sound/soc/codecs/wm8728.c | 2 +- sound/soc/codecs/wm8731-i2c.c | 2 +- sound/soc/codecs/wm8731-spi.c | 2 +- sound/soc/codecs/wm8737.c | 2 +- sound/soc/codecs/wm8741.c | 2 +- sound/soc/codecs/wm8750.c | 2 +- sound/soc/codecs/wm8753.c | 2 +- sound/soc/codecs/wm8770.c | 2 +- sound/soc/codecs/wm8776.c | 2 +- sound/soc/codecs/wm8804.c | 1 - sound/soc/fsl/efika-audio-fabric.c | 4 +- sound/soc/fsl/fsl_aud2htx.c | 3 +- sound/soc/fsl/fsl_mqs.c | 2 +- sound/soc/fsl/fsl_rpmsg.c | 3 +- sound/soc/fsl/fsl_sai.c | 3 +- sound/soc/fsl/fsl_spdif.c | 4 +- sound/soc/fsl/imx-audmux.c | 1 - sound/soc/fsl/imx-card.c | 3 +- sound/soc/fsl/imx-rpmsg.c | 3 +- sound/soc/fsl/mpc5200_dma.c | 4 +- sound/soc/fsl/mpc5200_psc_ac97.c | 3 +- sound/soc/fsl/mpc5200_psc_i2s.c | 3 +- sound/soc/fsl/mpc8610_hpcd.c | 2 +- sound/soc/fsl/p1022_ds.c | 2 +- sound/soc/fsl/p1022_rdk.c | 2 +- sound/soc/fsl/pcm030-audio-fabric.c | 3 +- sound/soc/generic/audio-graph-card.c | 2 - sound/soc/generic/audio-graph-card2.c | 2 - sound/soc/generic/simple-card.c | 2 +- sound/soc/generic/test-component.c | 2 +- sound/soc/intel/keembay/kmb_platform.c | 13 +------ sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 2 - sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 2 +- .../mt8183/mt8183-mt6358-ts3a227-max98357.c | 2 +- .../mt8186/mt8186-mt6366-da7219-max98357.c | 2 +- .../mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 2 +- sound/soc/mediatek/mt8188/mt8188-mt6359.c | 2 +- .../mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c | 2 +- sound/soc/mediatek/mt8195/mt8195-mt6359.c | 2 +- sound/soc/mxs/mxs-saif.c | 1 - sound/soc/mxs/mxs-sgtl5000.c | 1 - sound/soc/qcom/apq8096.c | 2 +- sound/soc/qcom/lpass-apq8016.c | 6 +-- sound/soc/qcom/lpass-cdc-dma.c | 2 +- sound/soc/qcom/lpass-cpu.c | 43 ++++++++++------------ sound/soc/qcom/lpass-ipq806x.c | 2 +- sound/soc/qcom/lpass-platform.c | 36 +++++++++--------- sound/soc/qcom/lpass-sc7180.c | 6 +-- sound/soc/qcom/lpass-sc7280.c | 6 +-- sound/soc/qcom/lpass.h | 2 +- sound/soc/qcom/qdsp6/q6apm-dai.c | 2 +- sound/soc/qcom/qdsp6/q6asm-dai.c | 2 +- sound/soc/qcom/qdsp6/q6dsp-lpass-clocks.c | 1 - sound/soc/qcom/qdsp6/q6routing.c | 3 +- sound/soc/qcom/sc7180.c | 2 +- sound/soc/qcom/sc7280.c | 2 +- sound/soc/qcom/sc8280xp.c | 2 +- sound/soc/qcom/sdm845.c | 2 +- sound/soc/qcom/sm8250.c | 2 +- sound/soc/rockchip/rockchip_i2s.c | 8 ++-- sound/soc/rockchip/rockchip_i2s_tdm.c | 24 ++++-------- sound/soc/rockchip/rockchip_max98090.c | 3 +- sound/soc/rockchip/rockchip_pdm.c | 7 +--- sound/soc/samsung/aries_wm8994.c | 1 - sound/soc/samsung/arndale.c | 2 +- sound/soc/samsung/i2s.c | 2 - sound/soc/samsung/midas_wm1811.c | 2 - sound/soc/samsung/odroid.c | 1 - sound/soc/samsung/smdk_wm8994.c | 28 ++------------ sound/soc/samsung/snow.c | 1 - sound/soc/sh/fsi.c | 1 - sound/soc/sh/rcar/core.c | 1 + sound/soc/sh/rcar/rsnd.h | 4 +- sound/soc/sh/rcar/src.c | 1 + sound/soc/sh/rcar/ssi.c | 2 + sound/soc/sh/rz-ssi.c | 1 - sound/soc/stm/stm32_i2s.c | 7 +--- sound/soc/stm/stm32_sai.c | 8 ++-- sound/soc/stm/stm32_sai_sub.c | 6 +-- sound/soc/stm/stm32_spdifrx.c | 8 +--- sound/soc/sunxi/sun4i-codec.c | 4 -- sound/soc/sunxi/sun4i-i2s.c | 2 +- sound/soc/sunxi/sun4i-spdif.c | 3 +- sound/soc/sunxi/sun50i-codec-analog.c | 3 +- sound/soc/sunxi/sun50i-dmic.c | 2 +- sound/soc/sunxi/sun8i-codec-analog.c | 1 - sound/soc/sunxi/sun8i-codec.c | 2 +- sound/soc/tegra/tegra186_asrc.c | 3 +- sound/soc/tegra/tegra186_dspk.c | 2 +- sound/soc/tegra/tegra20_spdif.c | 2 +- sound/soc/tegra/tegra210_adx.c | 3 +- sound/soc/tegra/tegra210_amx.c | 10 +---- sound/soc/tegra/tegra210_dmic.c | 2 +- sound/soc/tegra/tegra210_i2s.c | 2 +- sound/soc/tegra/tegra210_mixer.c | 3 +- sound/soc/tegra/tegra210_mvc.c | 3 +- sound/soc/tegra/tegra210_ope.c | 3 +- sound/soc/tegra/tegra210_peq.c | 1 - sound/soc/tegra/tegra210_sfc.c | 1 - sound/soc/tegra/tegra30_i2s.c | 1 - sound/soc/tegra/tegra_asoc_machine.c | 1 - sound/soc/tegra/tegra_audio_graph_card.c | 2 +- sound/soc/ti/davinci-evm.c | 7 +--- sound/soc/ti/davinci-mcasp.c | 9 ++--- sound/soc/ti/omap-dmic.c | 2 +- sound/soc/ti/omap-mcbsp.c | 10 ++--- sound/soc/ti/omap-mcpdm.c | 2 +- 162 files changed, 205 insertions(+), 390 deletions(-) --- base-commit: c9f2baaa18b5ea8f006a2b3a616da9597c71d15e change-id: 20231003-dt-asoc-header-cleanups-87f2cf5a2205 Best regards,