For example the BMP280 barometric pressure sensor on Qualcomm
MSM8974-based Nexus 5 smartphone exposes such file in sysfs.
Document it.
Signed-off-by: Luca Weiss <[email protected]>
---
Documentation/ABI/testing/sysfs-bus-iio | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 2e6d5ebfd3c7..7cee78ad4108 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -243,7 +243,8 @@ Description:
less measurements. Units after application of scale and offset
are milli degrees Celsius.
-What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
+What: /sys/bus/iio/devices/iio:deviceX/in_tempY_input
+What: /sys/bus/iio/devices/iio:deviceX/in_temp_input
KernelVersion: 2.6.38
Contact: [email protected]
Description:
---
base-commit: 8568bb2ccc278f344e6ac44af6ed010a90aa88dc
change-id: 20240406-in_temp_input-4505d7fafff8
Best regards,
--
Luca Weiss <[email protected]>
On Sat, 06 Apr 2024 17:31:04 +0200
Luca Weiss <[email protected]> wrote:
> For example the BMP280 barometric pressure sensor on Qualcomm
> MSM8974-based Nexus 5 smartphone exposes such file in sysfs.
> Document it.
>
> Signed-off-by: Luca Weiss <[email protected]>
Hi Luca,
Applied with a note added on fixing the line above to not reuse X.
A good additional thing but needs mentioning in the commit message.
Thanks,
Jonathan
> ---
> Documentation/ABI/testing/sysfs-bus-iio | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index 2e6d5ebfd3c7..7cee78ad4108 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -243,7 +243,8 @@ Description:
> less measurements. Units after application of scale and offset
> are milli degrees Celsius.
>
> -What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
> +What: /sys/bus/iio/devices/iio:deviceX/in_tempY_input
> +What: /sys/bus/iio/devices/iio:deviceX/in_temp_input
> KernelVersion: 2.6.38
> Contact: [email protected]
> Description:
>
> ---
> base-commit: 8568bb2ccc278f344e6ac44af6ed010a90aa88dc
> change-id: 20240406-in_temp_input-4505d7fafff8
>
> Best regards,
On Samstag, 6. April 2024 18:45:21 CEST Jonathan Cameron wrote:
> On Sat, 06 Apr 2024 17:31:04 +0200
> Luca Weiss <[email protected]> wrote:
>
> > For example the BMP280 barometric pressure sensor on Qualcomm
> > MSM8974-based Nexus 5 smartphone exposes such file in sysfs.
> > Document it.
> >
> > Signed-off-by: Luca Weiss <[email protected]>
>
> Hi Luca,
>
> Applied with a note added on fixing the line above to not reuse X.
> A good additional thing but needs mentioning in the commit message.
Good point! I wrote the patch in Feb 2021 without any description so
I had to retroactively make something up ;)
Thanks for amending and applying!
Regards
Luca
>
> Thanks,
>
> Jonathan
>
> > ---
> > Documentation/ABI/testing/sysfs-bus-iio | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> > index 2e6d5ebfd3c7..7cee78ad4108 100644
> > --- a/Documentation/ABI/testing/sysfs-bus-iio
> > +++ b/Documentation/ABI/testing/sysfs-bus-iio
> > @@ -243,7 +243,8 @@ Description:
> > less measurements. Units after application of scale and offset
> > are milli degrees Celsius.
> >
> > -What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
> > +What: /sys/bus/iio/devices/iio:deviceX/in_tempY_input
> > +What: /sys/bus/iio/devices/iio:deviceX/in_temp_input
> > KernelVersion: 2.6.38
> > Contact: [email protected]
> > Description:
> >
> > ---
> > base-commit: 8568bb2ccc278f344e6ac44af6ed010a90aa88dc
> > change-id: 20240406-in_temp_input-4505d7fafff8
> >
> > Best regards,
>
>