Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2311539rdb; Tue, 3 Oct 2023 18:12:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3C9uNnAHbHFeuoDV7i9EObl4IFWFSP68F7g1iAOo/xOi3GDws3idbXq/YTAMXPIaKiPTv X-Received: by 2002:a81:9190:0:b0:59f:5614:ebe8 with SMTP id i138-20020a819190000000b0059f5614ebe8mr1266990ywg.9.1696381956622; Tue, 03 Oct 2023 18:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696381956; cv=none; d=google.com; s=arc-20160816; b=WedMbLffn0qn6R8UHQiUSSBXfPi6AomB84gVaXUE4r+X9t4ISRaeXDSchEpIv8AMnI YLsREypWGpnQVxuLfI38URRWaDBHMrdMWt51jcowFIF5QTkltEee7KKYGKCWkJLGLUuD OFjdMCfCggrQs9u3uLMzHn4BKlJrLj7CNY2wJobkKxfWgO0MiQWWncAEpFbIDZGAcQrP hYjfeNNfRnrFiKKn1hgHxV0283O7lhRZWOWaPA+r6tKzR7sTk/H754CeAvDKv5QUfd7e DL/8jGfBNlxd3IVfz3/pV0eUcnqZHWl0ZnvQeCKdotptiCi4DdpWOC8sDVlkT/v6qoIH u/1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=fas0XW9KdFPhCRYKtIjUyg9fUjXrDBEyScssVvJXH/A=; fh=GB4KVeBhUras4GvILow3WQTJvrtxNADSZkPzUgnyCL4=; b=KNQliA5RP2YrY/6KobVk7Ma/qpFWo1sc5keOWM0IEozXLw4i+9BsFzL1FcOLQodgSl QTSK3V6QykHDpRiu/g2RQMQpejwn9b3ZJd1rw5ErUT6uCoXysHj1mu53aXjal3abknJJ VS3M88fcZTh6E4p9gC7TPd+bG+N0Qml5/2E9pLtvcSuW3u0WclFG3bO5RTwaQLlxlryG v02jwOrqJWeNnnulCquBJOfIBqyeisdNeisl0IqufzWsHNublCymAt4ZlZMP6LCPZ3dp tlSLusvOEKfEwKXIeKlDhclNc7Dhtx6jdRhqvXRKHBnJ+ixsnd2oIuO4Q+J6p5cxmim2 sycw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UqVyN9se; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id t18-20020a634452000000b005855e5e2f98si2701490pgk.75.2023.10.03.18.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 18:12:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UqVyN9se; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B722D812A951; Tue, 3 Oct 2023 18:12:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239265AbjJDBMg (ORCPT + 99 others); Tue, 3 Oct 2023 21:12:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232316AbjJDBMf (ORCPT ); Tue, 3 Oct 2023 21:12:35 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E458AB; Tue, 3 Oct 2023 18:12:32 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-58949a142bfso60456a12.1; Tue, 03 Oct 2023 18:12:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696381952; x=1696986752; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fas0XW9KdFPhCRYKtIjUyg9fUjXrDBEyScssVvJXH/A=; b=UqVyN9seF/pKtvdft4Eo0V+0P0hWx5L8c2TUqMA/z6WeEtwSrNjlb2aoAY8bwYKEvC BQPCRGlQmvPaw6k1YYRd+z+U1+SQEtsHyQ84DBQu+eiuQqqQf+wSCxHnsf0KWlXQMPql qkRz1wPvYgj/dV7Fpa56KKYNzLzQD0t3iSmYXabYbw5Df7iGEN30n87XnGUNryPbniBv CJhq/SefBb+C/QORiPbhtNlBYTTCgld4CzkSVr+h4aV27lCWovSmNyrfWL/oC83j6Foc xi6qHyOH2XEoHv1tDPZMfzwLLrUh7DUdWvXjni0YyB3AVu6wVG2yoDv6O2xdYQCuAStc Asfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696381952; x=1696986752; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fas0XW9KdFPhCRYKtIjUyg9fUjXrDBEyScssVvJXH/A=; b=PIcfljMI9KMIlKYBhUvToctU2OfbbUs0u81hXV4KD3GXdHNidipdoXbA0R6qXyf/w7 3IM5O9nS6sCCB5qqPsVRV1k2SQRwt57rnvxN/SKwVLPwfpwdMBRYypgu8erYykIa/dk9 CJin+irIheZFMhjLoiAeBTlNggEF/xUvuLUDnbVV/KXD0ZV1O33XLn91+8ql9PwNYxev SmAb/XnRWqDkxzTeJxjfrYvwzmY/vd4tlhtLWwVDz7hqFEg3StcD2JJ8RDx02sjBCO5M c3RweDJvIzgS5NFBdk30DLn4LZnaAP2cEhtlKvcPRAJrRHUAzCNXuMD/TXXh2qXFzPU2 DNjg== X-Gm-Message-State: AOJu0YzLZF6MfxvYgfDxftyf6rxbLxpdrEkRKnMyqhfs93iDTkrzSali JP3DNVA5mvf/8T5AR6helEDSnXpBq909TW/03gE= X-Received: by 2002:a05:6a00:10c2:b0:68f:c9f6:f366 with SMTP id d2-20020a056a0010c200b0068fc9f6f366mr1240061pfu.0.1696381951815; Tue, 03 Oct 2023 18:12:31 -0700 (PDT) MIME-Version: 1.0 References: <20230831044431.250338-1-aford173@gmail.com> <20230831044431.250338-2-aford173@gmail.com> In-Reply-To: <20230831044431.250338-2-aford173@gmail.com> From: Fabio Estevam Date: Tue, 3 Oct 2023 22:12:20 -0300 Message-ID: Subject: Re: [PATCH V3 2/3] arm64: dts: imx8mp: Add micfil node To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, marex@denx.de, aford@beaconembedded.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 03 Oct 2023 18:12:35 -0700 (PDT) Hi Adam and devicetree folks, On Thu, Aug 31, 2023 at 1:44=E2=80=AFAM Adam Ford wrot= e: > > The i.MX8MP has a micfil controller which is used for interfacing > with a pulse density microphone. Add the node and mark it as > disabled by default. > > Signed-off-by: Adam Ford > --- > V3: The AUDIOMIX_PDM_ROOT doesn't exist and the real clock is > called IMX8MP_CLK_AUDIOMIX_PDM_SEL, so swap it out. > > V2: No change > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/= dts/freescale/imx8mp.dtsi > index 3167706d81e1..341fd0369ce9 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -1479,6 +1479,27 @@ easrc: easrc@30c90000 { > fsl,asrc-format =3D <2>; > status =3D "disabled"; > }; > + > + micfil: audio-controller@30ca0000 { > + compatible =3D "fsl,imx8mp-micfil= "; > + reg =3D <0x30ca0000 0x10000>; > + #sound-dai-cells =3D <0>; After this patch, the following schema warning is seen: imx8mp-beacon-kit.dtb: audio-controller@30ca0000: '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/sound/fsl,micfil.yaml# What is the correct way to solve this? - Document #sound-dai-cells in fsl,micfil.yaml as an optional property - Remove #sound-dai-cells from imx8mp.dtsi - Document #sound-dai-cells in fsl,micfil.yaml as a required property and pass #sound-dai-cells to imx8mm/imx8mn/imx83.dtsi?