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 9F8F0C433FE for ; Sun, 27 Feb 2022 12:31:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229503AbiB0McE (ORCPT ); Sun, 27 Feb 2022 07:32:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbiB0McE (ORCPT ); Sun, 27 Feb 2022 07:32:04 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 236C15D66C; Sun, 27 Feb 2022 04:31:26 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B346AB80C6E; Sun, 27 Feb 2022 12:31:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF8BFC340E9; Sun, 27 Feb 2022 12:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645965083; bh=NEoxQP7btFmqwLHAz4vA91rqiHkME2xrzGjWQgylmBI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=L+UWhSNd8Je3t6CUiFry7+mPRnfAUnLiUBV8ytOWYuRiqr0IEpqdfGwoWUwUdIbHb 7K9pS+w8zDXoSRMNFuju+bpBuk20GNFY5DMlCu4av2ogASMXiSwqXnJEfksoU+SpdB Tnpi3B71ORH0wLJn3d/DeZjkJKBuBNkd+k05wFh9Ijg0jDO01DdBKGGQvrgk2QIAtf SUwRuPnSKnGCdHpWIXXuudfwuQV49yLbGoQtjnf+vHSarxWjtqMXoXGb3ev3EYn8PD AXLC0scLY31Su0BPFsxuVZhfqrxZOx16fnnv2VgssZt7XgD1LaDTkTC2L0tXC0W2Rc UKiZMwYwiwlag== Date: Sun, 27 Feb 2022 12:38:25 +0000 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Cc: , , Rob Herring , Lars-Peter Clausen , Michael Hennerich Subject: Re: [PATCH v4 1/3] iio: dac: add support for ltc2688 Message-ID: <20220227123825.3555f44f@jic23-huawei> In-Reply-To: <20220225130129.69-2-nuno.sa@analog.com> References: <20220225130129.69-1-nuno.sa@analog.com> <20220225130129.69-2-nuno.sa@analog.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Fri, 25 Feb 2022 14:01:27 +0100 Nuno S=C3=A1 wrote: > The LTC2688 is a 16 channel, 16 bit, +-15V DAC with an integrated > precision reference. It is guaranteed monotonic and has built in > rail-to-rail output buffers that can source or sink up to 20 mA. >=20 > Signed-off-by: Nuno S=C3=A1 Just one comment below - not a suggestion to change anything at this stage though, just something that might come up in future. ... > +static const char * const ltc2688_dither_phase[] =3D { > + "0", "1.5708", "3.14159", "4.71239", > +}; > + It if turns out we have in kernel users for this in the long run we may need to change these over to numeric values, but we can do that without changing the userspace ABI, so this is fine for now. ... Thanks, Jonathan