Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
867fe7c3
Commit
867fe7c3
authored
Feb 25, 2015
by
Sebastian Reichel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'da9150-charger-fuelgauge' into next
parents
4bf828cf
adcf30bf
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
433 additions
and
0 deletions
+433
-0
Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
+16
-0
drivers/iio/adc/Kconfig
drivers/iio/adc/Kconfig
+9
-0
drivers/iio/adc/Makefile
drivers/iio/adc/Makefile
+1
-0
drivers/iio/adc/da9150-gpadc.c
drivers/iio/adc/da9150-gpadc.c
+407
-0
No files found.
Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
0 → 100644
View file @
867fe7c3
Dialog Semiconductor DA9150 IIO GPADC bindings
Required properties:
- compatible: "dlg,da9150-gpadc" for DA9150 IIO GPADC
- #io-channel-cells: Should be set to <1>
(See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info)
For further information on GPADC channels, see device datasheet.
Example:
gpadc: da9150-gpadc {
compatible = "dlg,da9150-gpadc";
#io-channel-cells = <1>;
};
drivers/iio/adc/Kconfig
View file @
867fe7c3
...
...
@@ -135,6 +135,15 @@ config AXP288_ADC
device. Depending on platform configuration, this general purpose ADC can
be used for sampling sensors such as thermal resistors.
config DA9150_GPADC
tristate "Dialog DA9150 GPADC driver support"
depends on MFD_DA9150
help
Say yes here to build support for Dialog DA9150 GPADC.
This driver can also be built as a module. If chosen, the module name
will be da9150-gpadc.
config CC10001_ADC
tristate "Cosmic Circuits 10001 ADC driver"
depends on HAS_IOMEM || HAVE_CLK || REGULATOR
...
...
drivers/iio/adc/Makefile
View file @
867fe7c3
...
...
@@ -15,6 +15,7 @@ obj-$(CONFIG_AD7887) += ad7887.o
obj-$(CONFIG_AD799X)
+=
ad799x.o
obj-$(CONFIG_AT91_ADC)
+=
at91_adc.o
obj-$(CONFIG_AXP288_ADC)
+=
axp288_adc.o
obj-$(CONFIG_DA9150_GPADC)
+=
da9150-gpadc.o
obj-$(CONFIG_CC10001_ADC)
+=
cc10001_adc.o
obj-$(CONFIG_EXYNOS_ADC)
+=
exynos_adc.o
obj-$(CONFIG_LP8788_ADC)
+=
lp8788_adc.o
...
...
drivers/iio/adc/da9150-gpadc.c
0 → 100644
View file @
867fe7c3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment