[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+4Vgc+vXQYQubVs4eFJj+WuMKEJziZh44J_pXDxrmo_DXiWpg@mail.gmail.com>
Date: Mon, 2 Dec 2024 11:57:33 +0800
From: Yu-Hsian Yang <j2anfernee@...il.com>
To: David Lechner <dlechner@...libre.com>
Cc: Jonathan Cameron <jic23@...nel.org>, Chanh Nguyen <chanh@...eremail.onmicrosoft.com>,
avifishman70@...il.com, tmaimon77@...il.com, tali.perry1@...il.com,
venture@...gle.com, yuenn@...gle.com, benjaminfair@...gle.com,
lars@...afoo.de, robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
nuno.sa@...log.com, javier.carrasco.cruz@...il.com, andy@...nel.org,
marcelo.schmitt@...log.com, olivier.moysan@...s.st.com,
mitrutzceclan@...il.com, matteomartelli3@...il.com, alisadariana@...il.com,
joao.goncalves@...adex.com, marius.cristea@...rochip.com,
mike.looijmans@...ic.nl, chanh@...amperecomputing.com, KWLIU@...oton.com,
yhyang2@...oton.com, openbmc@...ts.ozlabs.org, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/2] dt-bindings: iio: adc: Add binding for Nuvoton
NCT720x ADCs
Dear David Lechner,
Thank you your comment.
David Lechner <dlechner@...libre.com> 於 2024年11月29日 週五 下午10:50寫道:
>
> On 11/27/24 8:14 PM, Yu-Hsian Yang wrote:
> > Dear Jonathan Cameron,
> >
> > Thank you for your advice.
> >
> > I would remove the "nvuoton,read-vin-data-size" property.
> >
> > Read VIN info can use word read or byte read, and other registers
> > should use byte read.
> > If I use word read for VIN info and byte read for other registers,
> > I encounter an issue when I use regmap instead of i2c smbus API.
> >
> > I need two regmap configs with val_bits 8/16.
> > After I call devm_regmap_init_i2c these two configs,
> > the error message:
> > "debugfs: Directory '5-001d' with parent 'regmap' already present!"
> >
> > Do you have any suggestions?
> >
> Give each regmap a unique name, like "5-001d-8bit" and "5-001d-16bit".
It worked fine to add each regmap a unique name.
Powered by blists - more mailing lists