public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: ABI: document in_temp_input file
@ 2024-04-06 15:31 Luca Weiss
  2024-04-06 16:45 ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Luca Weiss @ 2024-04-06 15:31 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, phone-devel, Jonathan Cameron,
	Lars-Peter Clausen
  Cc: linux-iio, linux-kernel, Luca Weiss

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(-)

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 <luca@z3ntu.xyz>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: ABI: document in_temp_input file
  2024-04-06 15:31 [PATCH] Documentation: ABI: document in_temp_input file Luca Weiss
@ 2024-04-06 16:45 ` Jonathan Cameron
  2024-04-06 17:47   ` Luca Weiss
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2024-04-06 16:45 UTC (permalink / raw)
  To: Luca Weiss
  Cc: ~postmarketos/upstreaming, phone-devel, Lars-Peter Clausen,
	linux-iio, linux-kernel

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,


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: ABI: document in_temp_input file
  2024-04-06 16:45 ` Jonathan Cameron
@ 2024-04-06 17:47   ` Luca Weiss
  0 siblings, 0 replies; 3+ messages in thread
From: Luca Weiss @ 2024-04-06 17:47 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: ~postmarketos/upstreaming, phone-devel, Lars-Peter Clausen,
	linux-iio, linux-kernel

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,
> 
> 





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-06 17:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-06 15:31 [PATCH] Documentation: ABI: document in_temp_input file Luca Weiss
2024-04-06 16:45 ` Jonathan Cameron
2024-04-06 17:47   ` Luca Weiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox