[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <66c8f410-6bba-41d2-88e2-46dbe133adaa@baylibre.com>
Date: Mon, 27 Oct 2025 09:59:10 -0500
From: David Lechner <dlechner@...libre.com>
To: Jonathan Cameron <jic23@...nel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-iio@...r.kernel.org, chrome-platform@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, Benson Leung <bleung@...omium.org>,
Guenter Roeck <groeck@...omium.org>, Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
"Daniel W. S. Almeida" <dwlsalmeida@...il.com>
Subject: Re: [PATCH v1 2/6] units: Add value of π * 10⁹
On 10/27/25 9:52 AM, Jonathan Cameron wrote:
> On Mon, 27 Oct 2025 15:34:51 +0100
> Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote:
>
>> There are a few drivers that want to have this value, and at least one
>> known to come soon. Let's define a value for them.
>
> Is there any way we can make the x10^9 bit obvious in the naming? Or do
> something a bit nasty like defining a macro along the lines of
>
> PI(scale)?
> e.g. PI(NANO), PI(10000)
>
This was my first thought when looking at this as well.
Or something like PI_x10(6).
Powered by blists - more mailing lists