[RFC PATCH 3/5] Trigger Module.ksymb generation in Makefile

2016-08-17 Thread Cristina Moraru
developers. Further, this information will be used by a hardware interogation tool to extract build information about the existing devices. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- Makefile | 4 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 3

[RFC PATCH 1/5] Add generation of Module.symb in streamline_config

2016-08-17 Thread Cristina Moraru
will be used by a hardware interogation tool to extract build information about the existing devices. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- scripts/kconfig/streamline_config.pl | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-)

[RFC PATCH 3/5] Trigger Module.ksymb generation in Makefile

2016-08-17 Thread Cristina Moraru
developers. Further, this information will be used by a hardware interogation tool to extract build information about the existing devices. Signed-off-by: Cristina Moraru --- Makefile | 4 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 393b615..286b949 100644 --- a/Makefile

[RFC PATCH 1/5] Add generation of Module.symb in streamline_config

2016-08-17 Thread Cristina Moraru
will be used by a hardware interogation tool to extract build information about the existing devices. Signed-off-by: Cristina Moraru --- scripts/kconfig/streamline_config.pl | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/scripts/kconfig

[RFC PATCH 0/5] Add CONFIG symbol as module attribute

2016-08-17 Thread Cristina Moraru
xtract build information about the existing devices. Cristina Moraru (5): Add generation of Module.symb in streamline_config Add CONFIG symbol to module as compilation parameter Trigger Module.ksymb generation in Makefile Set KCONFIG_KSYMB as value for kconfig_ksymb module attribute Add kcon

[RFC PATCH 4/5] Set KCONFIG_KSYMB as value for kconfig_ksymb module attribute

2016-08-17 Thread Cristina Moraru
the existing devices. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- scripts/mod/modpost.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 48958d3..a105916 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/mod

[RFC PATCH 5/5] Add kconf_symb as kernel module attribute

2016-08-17 Thread Cristina Moraru
will be dynamically pegged by modpost without requiring extra work from the driver developers. Further, this information will be used by a hardware interogation tool to extract build information about the existing devices. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- include

[RFC PATCH 4/5] Set KCONFIG_KSYMB as value for kconfig_ksymb module attribute

2016-08-17 Thread Cristina Moraru
the existing devices. Signed-off-by: Cristina Moraru --- scripts/mod/modpost.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 48958d3..a105916 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -2245,6 +2245,12 @@ static

[RFC PATCH 5/5] Add kconf_symb as kernel module attribute

2016-08-17 Thread Cristina Moraru
will be dynamically pegged by modpost without requiring extra work from the driver developers. Further, this information will be used by a hardware interogation tool to extract build information about the existing devices. Signed-off-by: Cristina Moraru --- include/linux/module.h | 1 + kernel

[RFC PATCH 0/5] Add CONFIG symbol as module attribute

2016-08-17 Thread Cristina Moraru
xtract build information about the existing devices. Cristina Moraru (5): Add generation of Module.symb in streamline_config Add CONFIG symbol to module as compilation parameter Trigger Module.ksymb generation in Makefile Set KCONFIG_KSYMB as value for kconfig_ksymb module attribute Add kcon

[RFC PATCH 2/5] Add CONFIG symbol to module as compilation parameter

2016-08-17 Thread Cristina Moraru
nformation will be used by a hardware interogation tool to extract build information about the existing devices. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- scripts/Makefile.lib | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/Makefi

[RFC PATCH 2/5] Add CONFIG symbol to module as compilation parameter

2016-08-17 Thread Cristina Moraru
nformation will be used by a hardware interogation tool to extract build information about the existing devices. Signed-off-by: Cristina Moraru --- scripts/Makefile.lib | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib ind

[RFC PATCH 3/3] Add dynamic pegging of Kconfig symbol

2016-07-31 Thread Cristina Moraru
and does not represent the final version. This patch is part of a research project within Google Summer of Code of porting 'make localmodconfig' for backported drivers. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- scripts/mod/modpost.

[RFC PATCH 1/3] Add kconfig_symbol attribute to struct module

2016-07-31 Thread Cristina Moraru
-by: Cristina Moraru <cristina.morar...@gmail.com> --- include/linux/module.h | 1 + kernel/module.c| 1 + 2 files changed, 2 insertions(+) diff --git a/include/linux/module.h b/include/linux/module.h index 3daf2b3..bef5e44 100644 --- a/include/linux/module.h +++ b/include/linux/mo

[RFC PATCH 3/3] Add dynamic pegging of Kconfig symbol

2016-07-31 Thread Cristina Moraru
and does not represent the final version. This patch is part of a research project within Google Summer of Code of porting 'make localmodconfig' for backported drivers. Signed-off-by: Cristina Moraru --- scripts/mod/modpost.c | 47 +++ scripts/mod

[RFC PATCH 1/3] Add kconfig_symbol attribute to struct module

2016-07-31 Thread Cristina Moraru
-by: Cristina Moraru --- include/linux/module.h | 1 + kernel/module.c| 1 + 2 files changed, 2 insertions(+) diff --git a/include/linux/module.h b/include/linux/module.h index 3daf2b3..bef5e44 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -353,6 +353,7 @@ struct

[RFC PATCH 2/3] Add generation of Module.ksymb file in streamline_config.pl

2016-07-31 Thread Cristina Moraru
-by: Cristina Moraru <cristina.morar...@gmail.com> --- scripts/kconfig/streamline_config.pl | 20 1 file changed, 20 insertions(+) diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index b8c7b29..4833ede 100755 --- a/scripts/k

[RFC PATCH 0/3] Add kconfig symbol as module attribute

2016-07-31 Thread Cristina Moraru
the .config file and Module.ksymb file with the associations. Then compile the kernel. In the machine booted with this kernel kconfig_symbol attributes should appear in /sys instances of the modules. Thanks, Cristina Cristina Moraru (3): Add kconfig_symbol attribute to struct module Add

[RFC PATCH 2/3] Add generation of Module.ksymb file in streamline_config.pl

2016-07-31 Thread Cristina Moraru
-by: Cristina Moraru --- scripts/kconfig/streamline_config.pl | 20 1 file changed, 20 insertions(+) diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index b8c7b29..4833ede 100755 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig

[RFC PATCH 0/3] Add kconfig symbol as module attribute

2016-07-31 Thread Cristina Moraru
the .config file and Module.ksymb file with the associations. Then compile the kernel. In the machine booted with this kernel kconfig_symbol attributes should appear in /sys instances of the modules. Thanks, Cristina Cristina Moraru (3): Add kconfig_symbol attribute to struct module Add

[PATCH v5] iio: max5487: Add support for Maxim digital potentiometers

2016-05-18 Thread Cristina Moraru
Add implementation for Maxim MAX5487, MAX5488, MAX5489 digital potentiometers. Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> CC: Daniel Baluta <daniel.bal...@intel.com> --- Changes since v4:

[PATCH v5] iio: max5487: Add support for Maxim digital potentiometers

2016-05-18 Thread Cristina Moraru
Add implementation for Maxim MAX5487, MAX5488, MAX5489 digital potentiometers. Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf Signed-off-by: Cristina Moraru CC: Daniel Baluta --- Changes since v4: Add year for copyright Changes since v3: Fix size

[PATCH v4] iio: max5487: Add support for Maxim digital potentiometers

2016-05-18 Thread Cristina Moraru
Add implementation for Maxim MAX5487, MAX5488, MAX5489 digital potentiometers. Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> CC: Daniel Baluta <daniel.bal...@intel.com> --- Changes since v3:

[PATCH v4] iio: max5487: Add support for Maxim digital potentiometers

2016-05-18 Thread Cristina Moraru
Add implementation for Maxim MAX5487, MAX5488, MAX5489 digital potentiometers. Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf Signed-off-by: Cristina Moraru CC: Daniel Baluta --- Changes since v3: Fix size issue in max5487_write_cmd Fix typo Changes

[PATCH v3] iio: max5487: Add support for Maxim digital potentiometers

2016-05-17 Thread Cristina Moraru
Add implementation for Maxim MAX5487, MAX5488, MAX5489 digital potentiometers. Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> CC: Daniel Baluta <daniel.bal...@intel.com> --- Changes since v2:

[PATCH v3] iio: max5487: Add support for Maxim digital potentiometers

2016-05-17 Thread Cristina Moraru
Add implementation for Maxim MAX5487, MAX5488, MAX5489 digital potentiometers. Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf Signed-off-by: Cristina Moraru CC: Daniel Baluta --- Changes since v2: Change switch statement in max5487_write_raw

[PATCH v2] iio: max5487: Add support for Maxim digital potentiometers

2016-04-09 Thread Cristina Moraru
Add implementation for Maxim MAX5487, MAX5488, MAX5489 digital potentiometers. Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> CC: Daniel Baluta <daniel.bal...@intel.com> --- Changes since v1:

[PATCH v2] iio: max5487: Add support for Maxim digital potentiometers

2016-04-09 Thread Cristina Moraru
Add implementation for Maxim MAX5487, MAX5488, MAX5489 digital potentiometers. Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdf Signed-off-by: Cristina Moraru CC: Daniel Baluta --- Changes since v1: Fix spacing Eliminate max5487_cfg struct Add

[PATCH] iio: max5487: Add support for Maxim digital potentiometers

2016-03-24 Thread Cristina Moraru
Add implementation for Maxim MAX5487, MAX5488, MAX5489 digital potentiometers. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> CC: Daniel Baluta <daniel.bal...@intel.com> --- drivers/iio/potentiometer/Kconfig | 11 +++ drivers/iio/potentiometer/Makefile | 1 +

[PATCH] iio: max5487: Add support for Maxim digital potentiometers

2016-03-24 Thread Cristina Moraru
Add implementation for Maxim MAX5487, MAX5488, MAX5489 digital potentiometers. Signed-off-by: Cristina Moraru CC: Daniel Baluta --- drivers/iio/potentiometer/Kconfig | 11 +++ drivers/iio/potentiometer/Makefile | 1 + drivers/iio/potentiometer/max5487.c | 185

[PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843

2016-02-14 Thread Cristina Moraru
Add ABI file documenting hmc5843 non-standard attributes meas_conf and meas_conf_available for bias current configuration. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> Cc: Daniel Baluta <daniel.bal...@intel.com> --- Changes since v1: Changed API from in

[PATCH v2 2/3] iio: hmc5843: Add ABI documentation file for hmc5843

2016-02-14 Thread Cristina Moraru
Add ABI file documenting hmc5843 non-standard attributes meas_conf and meas_conf_available for bias current configuration. Signed-off-by: Cristina Moraru Cc: Daniel Baluta --- Changes since v1: Changed API from integer values to string values .../ABI/testing/sysfs-bus-iio-magnetometer

[PATCH v2 0/3] iio: hmc5843: Fix issues and move out of staging

2016-02-14 Thread Cristina Moraru
to drivers/iio/magnetometer updating corresponding Makefile and Kconfig files. Cristina Moraru (3): iio: hmc5843: Add attributes for measurement config of bias current iio: hmc5843: Add ABI documentation file for hmc5843 iio: hmc5843: Move hmc5843 out of staging .../ABI/testing/sysfs-bus-iio

[PATCH v2 0/3] iio: hmc5843: Fix issues and move out of staging

2016-02-14 Thread Cristina Moraru
to drivers/iio/magnetometer updating corresponding Makefile and Kconfig files. Cristina Moraru (3): iio: hmc5843: Add attributes for measurement config of bias current iio: hmc5843: Add ABI documentation file for hmc5843 iio: hmc5843: Move hmc5843 out of staging .../ABI/testing/sysfs-bus-iio

[PATCH v2 3/3] iio: hmc5843: Move hmc5843 out of staging

2016-02-14 Thread Cristina Moraru
This patch moves hmc5843 driver from staging/iio/magnetometer to iio/magnetometer, updates the corresponding Makefiles and moves the hmc5843* entries to the 'Industrial I/O support -> Magnetometer sensors' menu. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> Cc: Dani

[PATCH v2 3/3] iio: hmc5843: Move hmc5843 out of staging

2016-02-14 Thread Cristina Moraru
This patch moves hmc5843 driver from staging/iio/magnetometer to iio/magnetometer, updates the corresponding Makefiles and moves the hmc5843* entries to the 'Industrial I/O support -> Magnetometer sensors' menu. Signed-off-by: Cristina Moraru Cc: Daniel Baluta --- Changes since

[PATCH v2 1/3] iio: hmc5843: Add attributes for measurement config of bias current

2016-02-14 Thread Cristina Moraru
led. Temperature sensor is enabled. Signed-off-by: Cristina Moraru Cc: Daniel Baluta --- Changes since v1: Changed user interface for bias configuration from integer values to string values in order to make it more suggestive. Used iio_enum from implementat

[PATCH v2 1/3] iio: hmc5843: Add attributes for measurement config of bias current

2016-02-14 Thread Cristina Moraru
led. Temperature sensor is enabled. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> Cc: Daniel Baluta <daniel.bal...@intel.com> --- Changes since v1: Changed user interface for bias configuration from integer values to string values in order to make

[PATCH 1/5] iio: hmc5843: Add attribute for available measurement config

2016-02-07 Thread Cristina Moraru
the resistive load on pins BP and BN. 3 - Only available on HMC5983. Magnetic sensor is disabled. Temperature sensor is enabled. Signed-off-by: Cristina Moraru --- drivers/staging/iio/magnetometer/hmc5843_core.c | 83 +++-- 1 file changed, 65 insertions(+), 18 deletions

[PATCH 3/5] iio: hmc5843: Add ABI documentation file for hmc5843

2016-02-07 Thread Cristina Moraru
Add ABI file documenting hmc5843 non-standard attributes meas_conf and meas_conf_available for bias current configuration. Signed-off-by: Cristina Moraru --- .../ABI/testing/sysfs-bus-iio-magnetometer-hmc5843| 15 +++ 1 file changed, 15 insertions(+) create mode 100644

[PATCH 2/5] iio: hmc5843: Swap suspend and resume implementations

2016-02-07 Thread Cristina Moraru
Swap implementations of hmc5843_common_suspend and hmc5843_common_resume functions for they have been inversed. Device should go on SLEEP mode on suspend and on CONTINUOUS mode on resume. Signed-off-by: Cristina Moraru --- drivers/staging/iio/magnetometer/hmc5843_core.c | 4 ++-- 1 file changed

[PATCH 5/5] iio: hmc5843: Move hmc5843 out of staging

2016-02-07 Thread Cristina Moraru
This patch moves hmc5843 driver from staging/iio/magnetometer to iio/magnetometer, updates the corresponding Makefiles and moves the hmc5843* entries to the 'Industrial I/O support -> Magnetometer sensors' menu. Signed-off-by: Cristina Moraru --- drivers/iio/magnetometer/Kcon

[PATCH 0/5] iio: hmc5843: Fix issues and move out of staging

2016-02-07 Thread Cristina Moraru
to drivers/iio/magnetometer updating corresponding Makefile and Kconfig files. Cristina Moraru (5): iio: hmc5843: Add attribute for available measurement config iio: hmc5843: Swap suspend and resume implementations iio: hmc5843: Add ABI documentation file for hmc5843 iio: hmc5843: Fix comment

[PATCH 4/5] iio: hmc5843: Fix comment style warnings

2016-02-07 Thread Cristina Moraru
Fix comment style warnings in order to comply with Coding Style standard provided by Documentation/CodingStyle. This patch solves following issue found with checkpatch: WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Cristina Moraru --- drivers/staging/iio

[PATCH 5/5] iio: hmc5843: Move hmc5843 out of staging

2016-02-07 Thread Cristina Moraru
This patch moves hmc5843 driver from staging/iio/magnetometer to iio/magnetometer, updates the corresponding Makefiles and moves the hmc5843* entries to the 'Industrial I/O support -> Magnetometer sensors' menu. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- dr

[PATCH 0/5] iio: hmc5843: Fix issues and move out of staging

2016-02-07 Thread Cristina Moraru
to drivers/iio/magnetometer updating corresponding Makefile and Kconfig files. Cristina Moraru (5): iio: hmc5843: Add attribute for available measurement config iio: hmc5843: Swap suspend and resume implementations iio: hmc5843: Add ABI documentation file for hmc5843 iio: hmc5843: Fix comment

[PATCH 4/5] iio: hmc5843: Fix comment style warnings

2016-02-07 Thread Cristina Moraru
Fix comment style warnings in order to comply with Coding Style standard provided by Documentation/CodingStyle. This patch solves following issue found with checkpatch: WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Cristina Moraru <cristina.morar...@gmail.

[PATCH 3/5] iio: hmc5843: Add ABI documentation file for hmc5843

2016-02-07 Thread Cristina Moraru
Add ABI file documenting hmc5843 non-standard attributes meas_conf and meas_conf_available for bias current configuration. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- .../ABI/testing/sysfs-bus-iio-magnetometer-hmc5843| 15 +++ 1 file chang

[PATCH 2/5] iio: hmc5843: Swap suspend and resume implementations

2016-02-07 Thread Cristina Moraru
Swap implementations of hmc5843_common_suspend and hmc5843_common_resume functions for they have been inversed. Device should go on SLEEP mode on suspend and on CONTINUOUS mode on resume. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- drivers/staging/iio/magnet

[PATCH 1/5] iio: hmc5843: Add attribute for available measurement config

2016-02-07 Thread Cristina Moraru
the resistive load on pins BP and BN. 3 - Only available on HMC5983. Magnetic sensor is disabled. Temperature sensor is enabled. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- drivers/staging/iio/magnetometer/hmc5843_core.c | 83 +++-- 1 file chang

[RFC PATCH 1/2] iio: hmc5843 Add channel attribute for bias configuration

2016-02-04 Thread Cristina Moraru
on pins BP and BN. 3 - Only available on HMC5983. Magnetic sensor is disabled. Temperature sensor is enabled. With this in place, we can think of moving this driver out of staging. Signed-off-by: Cristina Moraru --- drivers/staging/iio/magnetometer/hmc5843_core.c | 62

[RFC PATCH 2/2] iio: hmc5843: Add attribute for available bias values

2016-02-04 Thread Cristina Moraru
the resistive load on pins BP and BN. 3 - Only available on HMC5983. Magnetic sensor is disabled. Temperature sensor is enabled. Signed-off-by: Cristina Moraru --- drivers/staging/iio/magnetometer/hmc5843_core.c | 83 +++-- 1 file changed, 65 insertions(+), 18 deletions

[RFC PATCH 1/2] iio: hmc5843 Add channel attribute for bias configuration

2016-02-04 Thread Cristina Moraru
on pins BP and BN. 3 - Only available on HMC5983. Magnetic sensor is disabled. Temperature sensor is enabled. With this in place, we can think of moving this driver out of staging. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- drivers/staging/iio/magnet

[RFC PATCH 2/2] iio: hmc5843: Add attribute for available bias values

2016-02-04 Thread Cristina Moraru
the resistive load on pins BP and BN. 3 - Only available on HMC5983. Magnetic sensor is disabled. Temperature sensor is enabled. Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- drivers/staging/iio/magnetometer/hmc5843_core.c | 83 +++-- 1 file chang

[PATCH 2/2] iio: si7005: add support for Hoperf th02

2016-01-26 Thread Cristina Moraru
This patch adds support for Hoperf th02 humidity and temperature sensor as it uses same register definitions as si7005 th02 Datasheet: http://www.anglia-live.com/netalogue/pdfs/hrf/datasheets/TH02_V1.1.pdf Signed-off-by: Cristina Moraru --- drivers/iio/humidity/Kconfig | 3 ++- drivers/iio

[PATCH 1/2] iio: si7020: add support for Hoperf th06

2016-01-26 Thread Cristina Moraru
This patch adds support for Hoperf th06 humidity and temperature sensor as it uses same register definitions as si7020 th06 Datasheet: http://www.hoperf.com/upload/sensor/TH06.pdf Signed-off-by: Cristina Moraru --- Previously sent: http://marc.info/?l=linux-iio=145255305514311=2 drivers/iio

[PATCH 1/2] iio: si7020: add support for Hoperf th06

2016-01-26 Thread Cristina Moraru
This patch adds support for Hoperf th06 humidity and temperature sensor as it uses same register definitions as si7020 th06 Datasheet: http://www.hoperf.com/upload/sensor/TH06.pdf Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- Previously sent: http://marc.info/?l=lin

[PATCH 2/2] iio: si7005: add support for Hoperf th02

2016-01-26 Thread Cristina Moraru
This patch adds support for Hoperf th02 humidity and temperature sensor as it uses same register definitions as si7005 th02 Datasheet: http://www.anglia-live.com/netalogue/pdfs/hrf/datasheets/TH02_V1.1.pdf Signed-off-by: Cristina Moraru <cristina.morar...@gmail.com> --- drivers/iio/hu