From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 541A8EB64D9 for ; Thu, 15 Jun 2023 06:30:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237867AbjFOGap (ORCPT ); Thu, 15 Jun 2023 02:30:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjFOGal (ORCPT ); Thu, 15 Jun 2023 02:30:41 -0400 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A49B7C7; Wed, 14 Jun 2023 23:30:38 -0700 (PDT) Received: from francesco-nb.int.toradex.com (31-10-206-125.static.upc.ch [31.10.206.125]) by mail11.truemail.it (Postfix) with ESMTPA id 6060D207A7; Thu, 15 Jun 2023 08:30:32 +0200 (CEST) Date: Thu, 15 Jun 2023 08:30:27 +0200 From: Francesco Dolcini To: Vignesh Raghavendra Cc: Francesco Dolcini , Nishanth Menon , Francesco Dolcini , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/5] arm64: dts: ti: add verdin am62 dahlia Message-ID: References: <20230601131332.26877-1-francesco@dolcini.it> <20230601131332.26877-5-francesco@dolcini.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 15, 2023 at 11:52:22AM +0530, Vignesh Raghavendra wrote: > > > On 01/06/23 18:43, Francesco Dolcini wrote: > > [...] > > > +/* Verdin I2C_1 */ > > +&main_i2c1 { > > + status = "okay"; > > + > > + /* Audio Codec */ > > + wm8904_1a: audio-codec@1a { > > + compatible = "wlf,wm8904"; > > This node doesn't have YAML bindings :( Correct. I do not see a problem with that for this specific patch. > > + AVDD-supply = <®_1v8_sw>; > > + CPVDD-supply = <®_1v8_sw>; > > + DBVDD-supply = <®_1v8_sw>; > > + DCVDD-supply = <®_1v8_sw>; > > + MICVDD-supply = <®_1v8_sw>; > > I dont see these properties in .txt bindings either. Yes, the .txt file is not correct. See here for more details https://lore.kernel.org/all/20230405200341.4911-1-danascape@gmail.com/ With that said they are required $ grep -A5 wm8904_supply_names sound/soc/codecs/wm8904.c static const char *wm8904_supply_names[WM8904_NUM_SUPPLIES] = { "DCVDD", "DBVDD", "AVDD", "CPVDD", "MICVDD", -- wm8904->supplies[i].supply = wm8904_supply_names[i]; ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8904->supplies), wm8904->supplies); if (ret != 0) { dev_err(&i2c->dev, "Failed to request supplies: %d\n", ret); Francesco