[PATCH 04/15] drivers: thermal: tsens: Add debugfs support

2019-10-16 Thread Amit Kucheria
Dump some basic version info and sensor details into debugfs. Example from qcs404 below: --(/sys/kernel/debug) $ ls tsens/ 4a9000.thermal-sensor version --(/sys/kernel/debug) $ cat tsens/version 1.4.0 --(/sys/kernel/debug) $ cat tsens/4a9000.thermal-sensor/sensors max: 11 num: 10 idslo

Re: [PATCH 04/15] drivers: thermal: tsens: Add debugfs support

2019-08-26 Thread Stephen Boyd
Quoting Amit Kucheria (2019-08-21 05:55:39) > On Mon, Aug 19, 2019 at 7:57 PM Stephen Boyd wrote: > > > > Quoting Amit Kucheria (2019-08-19 00:58:23) > > > On Sat, Aug 17, 2019 at 9:37 AM Stephen Boyd wrote: > > > > > + > > > > > +static void tsens_debug_init(struct platform_device *pdev) > > > >

Re: [PATCH 04/15] drivers: thermal: tsens: Add debugfs support

2019-08-21 Thread Amit Kucheria
On Mon, Aug 19, 2019 at 7:57 PM Stephen Boyd wrote: > > Quoting Amit Kucheria (2019-08-19 00:58:23) > > On Sat, Aug 17, 2019 at 9:37 AM Stephen Boyd wrote: > > > > + > > > > +static void tsens_debug_init(struct platform_device *pdev) > > > > +{ > > > > + struct tsens_priv *priv = platform_g

Re: [PATCH 04/15] drivers: thermal: tsens: Add debugfs support

2019-08-19 Thread Stephen Boyd
Quoting Amit Kucheria (2019-08-19 00:58:23) > On Sat, Aug 17, 2019 at 9:37 AM Stephen Boyd wrote: > > > + > > > +static void tsens_debug_init(struct platform_device *pdev) > > > +{ > > > + struct tsens_priv *priv = platform_get_drvdata(pdev); > > > + struct dentry *root, *file; > > > +

Re: [PATCH 04/15] drivers: thermal: tsens: Add debugfs support

2019-08-19 Thread Amit Kucheria
On Sat, Aug 17, 2019 at 9:37 AM Stephen Boyd wrote: > > Quoting Amit Kucheria (2019-07-25 15:18:39) > > Dump some basic version info and sensor details into debugfs > > > > Maybe you can put some sample output in the commit text. Will do. > > Signed-off-by: Amit Kucheria > > --- > > drivers/th

Re: [PATCH 04/15] drivers: thermal: tsens: Add debugfs support

2019-08-16 Thread Stephen Boyd
Quoting Amit Kucheria (2019-07-25 15:18:39) > Dump some basic version info and sensor details into debugfs > Maybe you can put some sample output in the commit text. > Signed-off-by: Amit Kucheria > --- > drivers/thermal/qcom/tsens-common.c | 85 + > drivers/thermal

[PATCH 04/15] drivers: thermal: tsens: Add debugfs support

2019-07-25 Thread Amit Kucheria
Dump some basic version info and sensor details into debugfs Signed-off-by: Amit Kucheria --- drivers/thermal/qcom/tsens-common.c | 85 + drivers/thermal/qcom/tsens.c| 2 + drivers/thermal/qcom/tsens.h| 6 ++ 3 files changed, 93 insertions(+) diff -