diff mbox series

Documentation: ABI: document in_temp_input file

Message ID 20240406-in_temp_input-v1-1-a1744a4a49e3@z3ntu.xyz (mailing list archive)
State Accepted
Headers show
Series Documentation: ABI: document in_temp_input file | expand

Commit Message

Luca Weiss April 6, 2024, 3:31 p.m. UTC
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 <luca@z3ntu.xyz>
---
 Documentation/ABI/testing/sysfs-bus-iio | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


---
base-commit: 8568bb2ccc278f344e6ac44af6ed010a90aa88dc
change-id: 20240406-in_temp_input-4505d7fafff8

Best regards,

Comments

Jonathan Cameron April 6, 2024, 4:45 p.m. UTC | #1
On Sat, 06 Apr 2024 17:31:04 +0200
Luca Weiss <luca@z3ntu.xyz> 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 <luca@z3ntu.xyz>

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:	linux-iio@vger.kernel.org
>  Description:
> 
> ---
> base-commit: 8568bb2ccc278f344e6ac44af6ed010a90aa88dc
> change-id: 20240406-in_temp_input-4505d7fafff8
> 
> Best regards,
Luca Weiss April 6, 2024, 5:47 p.m. UTC | #2
On Samstag, 6. April 2024 18:45:21 CEST Jonathan Cameron wrote:
> On Sat, 06 Apr 2024 17:31:04 +0200
> Luca Weiss <luca@z3ntu.xyz> 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 <luca@z3ntu.xyz>
> 
> 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:	linux-iio@vger.kernel.org
> >  Description:
> > 
> > ---
> > base-commit: 8568bb2ccc278f344e6ac44af6ed010a90aa88dc
> > change-id: 20240406-in_temp_input-4505d7fafff8
> > 
> > Best regards,
> 
>
diff mbox series

Patch

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:	linux-iio@vger.kernel.org
 Description: