Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp333893rdb; Tue, 23 Jan 2024 00:36:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMAqTFr+h2RPB8oM8h/cc+NcxplAlRftLBrV+Z0oHiYD2bMZWunk58XGvan2kjpN/jX6LO X-Received: by 2002:a05:6a00:1c86:b0:6dd:80d0:438d with SMTP id y6-20020a056a001c8600b006dd80d0438dmr166240pfw.69.1705998964548; Tue, 23 Jan 2024 00:36:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705998964; cv=pass; d=google.com; s=arc-20160816; b=l70klDcUKCQMDUoa+HSLKKYoSrk26ONISlF4V2vJw37w/vrbNS8u5ShC57oXTUoPc4 pUcQ36eiPt25HTcQwX84Xk4m4mGXKzXo1deIlEOX0zD3tC6P29eIeACTF+z0S8gW5bXi KbnStl+1VsKizbN5VDKnbpoaszUKKPq25i4LT5GgqOnkdH4htfDF23+ngmukQkcxaaUb h8G8ZLG7uz46HpNDrBx6iseJ/xztmBGIDC9fxeXZx3I2QBqMKtVOQeMDmJVKlCAqThiH iv8hNA+t5FG/IstDGqHY+HYymBr87vpIVWvowq0F+fNOiZUfPwhUW1uvvemAuvOIJFuL nmFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iQUqVMgymdDBQGabzgwEKHL7ZUOSL63/Pci7h0jEzng=; fh=mjYfJ6zExzr1XPswLAutcfxNmumqF1otMNBxTIIZ4Kw=; b=B4Tdn0fDEMM/9xbvZymHg5IE2leOFPqUuR3XXG/W/qhIJ7kRV4gkaOEo7y7YyBsSy7 3hWgQd/+9vPlcASejNZMmr9o58qKSySSKwtRPaRh8UQIsyT7kA4eL6UWQYCGqvLhUt7R 4Z30VRHaFR41iynWyVxpwTI2KK/OZI3oec4A9V9OSVTCcLUZqhabRNBEJkzYMKWjsmUi Y7tD9wjD2W61ZnAL9uUc3oiYLxcIa2QgbqRc1daWS/hnr9eQ+nVTihFYQ+k4aLCaJcaq SmRWeuzWRIfUkcYG0QHC53peAcbmMjqM8Dx0XqwbEp2pTdxN7DFMllDgj9TJBt3Zn2io Xzsw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TAdoutgQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-34910-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34910-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id lw6-20020a056a00750600b006db7041fbd2si11579617pfb.303.2024.01.23.00.36.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 00:36:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34910-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TAdoutgQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-34910-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34910-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D7B8D28E90E for ; Tue, 23 Jan 2024 08:36:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D22D858123; Tue, 23 Jan 2024 08:34:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TAdoutgQ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 002C856B92; Tue, 23 Jan 2024 08:34:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705998849; cv=none; b=p6dHGwRCojm9dyQsyD7ACepBJXkz80Wms+HmjaV7TpGmsN6clpms62HOl/oQdflrmlW5ZZqMwb2UO1FKuctq/oC8YYAHPyJoHJvXDrE6vBVKG0tNyDiAyCUF2La9yXJxPetqnOo92focZNHCEHFUwHBfLxKaFplei6mAKe1aDYs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705998849; c=relaxed/simple; bh=uu/UrPYghNR4U5sRW6Qlp+lVme52+r5hsD7sS1eyNRA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WGy4wvMFQnr0U1Yfmv7qoQv289SWmvMpWmAVMnZL+eLx0IwwBurYJjPvSxIC+u2DFwWdqa2Js6Z7LS4s/720cFNfN2oMp20dv14oJTuxia/JjPSrgV+EtQS3XuJAsJvq2+8hQF06uNrbU6t6ohzGd7WIjne59KEApotZ6Y3QaYM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TAdoutgQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C1C1C433C7; Tue, 23 Jan 2024 08:34:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705998848; bh=uu/UrPYghNR4U5sRW6Qlp+lVme52+r5hsD7sS1eyNRA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TAdoutgQDyyKKbpsGXwgTTHcBPw+6PWfLQjVdyq0E1gUsEirKQQ4A0nfyTVk/ESzQ 3ChB6nqC+n0tExtnfEF4Ttz+qpuUDSmbL09JQkO93O74bBUHrE7S/K5HxT/pHoW3Ab +44/wMQehcrbTaaiqvX1U+1iRpBXUP+ZCj8wCrleJWoWtSTBCmPuz5q1yLhJy4xY+Y LiLItGt3vVIIuu8apfU6OXS8aT3G82I3zZabZhSrWfoYlAGsZf2jXB+hmYchU6PlsK Hm+GApDiFlX1uLA8HU2DU2ZBSfGjmsPZSl3fFmB7gdnkY3MNuV+FvL1YnXHCRwQM0V Zft539LpYjPOg== Date: Tue, 23 Jan 2024 08:34:03 +0000 From: Conor Dooley To: Mark Brown Cc: Seven Lee , lgirdwood@gmail.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, conor+dt@kernel.org, YHCHuang@nuvoton.com, KCHSU0@nuvoton.com, CTLIN0@nuvoton.com, SJLIN0@nuvoton.com, scott6986@gmail.com, supercraig0719@gmail.com, dardar923@gmail.com Subject: Re: [PATCH 1/2] ASoC: dt-bindings: Added schema for "nuvoton,nau8325" Message-ID: <20240123-bottle-elevating-9fbba5424014@spud> References: <20240122095650.60523-1-wtli@nuvoton.com> <20240122-daunting-woof-19fac5689bb2@spud> <04945799-eded-42f9-b8fa-8907be44c400@sirena.org.uk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="K+axl3EeoQm3ZSCb" Content-Disposition: inline In-Reply-To: <04945799-eded-42f9-b8fa-8907be44c400@sirena.org.uk> --K+axl3EeoQm3ZSCb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 22, 2024 at 07:40:51PM +0000, Mark Brown wrote: > On Mon, Jan 22, 2024 at 06:00:14PM +0000, Conor Dooley wrote: > > On Mon, Jan 22, 2024 at 05:56:49PM +0800, Seven Lee wrote: >=20 > > > + enum: > > > + - 0 # VDDA > > > + - 1 # VDDA*1.5/1.8V > > > + - 2 # VDDA*1.6/1.8V > > > + - 3 # VDDA*1.7/1.8V >=20 > > I would also rather than this enum was used to have sensible values for > > the enum itself (which I suppose means strings here), rather than the > > register values. Seeing "nuvoton,dac-vref =3D <2>" in a devicetree is n= ot > > very meaningful IMO. >=20 > Do you have a concrete suggestion for how to more clearly write these > directly? I would use what's been given as the explanation comments for each of the current enum values in the patch. --K+axl3EeoQm3ZSCb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZa959wAKCRB4tDGHoIJi 0irOAQDRL7yl6C/+n2xvB8NKEx9GHhK0OMyyTPuFK8pZ7FzO0wEAh+Kw6TfejHXO fxYlVmNXWliNfWXXjY1AtBaOaIKg3Qo= =wpIP -----END PGP SIGNATURE----- --K+axl3EeoQm3ZSCb--