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
78be55af
Commit
78be55af
authored
Aug 06, 2015
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/rt5645' into asoc-linus
parents
74d33293
a094935e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5645.c
+2
-0
sound/soc/codecs/rt5645.h
sound/soc/codecs/rt5645.h
+4
-0
No files found.
sound/soc/codecs/rt5645.c
View file @
78be55af
...
@@ -3341,6 +3341,8 @@ static int rt5645_i2c_probe(struct i2c_client *i2c,
...
@@ -3341,6 +3341,8 @@ static int rt5645_i2c_probe(struct i2c_client *i2c,
break
;
break
;
case
RT5645_DMIC_DATA_GPIO5
:
case
RT5645_DMIC_DATA_GPIO5
:
regmap_update_bits
(
rt5645
->
regmap
,
RT5645_GPIO_CTRL1
,
RT5645_I2S2_DAC_PIN_MASK
,
RT5645_I2S2_DAC_PIN_GPIO
);
regmap_update_bits
(
rt5645
->
regmap
,
RT5645_DMIC_CTRL1
,
regmap_update_bits
(
rt5645
->
regmap
,
RT5645_DMIC_CTRL1
,
RT5645_DMIC_1_DP_MASK
,
RT5645_DMIC_1_DP_GPIO5
);
RT5645_DMIC_1_DP_MASK
,
RT5645_DMIC_1_DP_GPIO5
);
regmap_update_bits
(
rt5645
->
regmap
,
RT5645_GPIO_CTRL1
,
regmap_update_bits
(
rt5645
->
regmap
,
RT5645_GPIO_CTRL1
,
...
...
sound/soc/codecs/rt5645.h
View file @
78be55af
...
@@ -1693,6 +1693,10 @@
...
@@ -1693,6 +1693,10 @@
#define RT5645_GP6_PIN_SFT 6
#define RT5645_GP6_PIN_SFT 6
#define RT5645_GP6_PIN_GPIO6 (0x0 << 6)
#define RT5645_GP6_PIN_GPIO6 (0x0 << 6)
#define RT5645_GP6_PIN_DMIC2_SDA (0x1 << 6)
#define RT5645_GP6_PIN_DMIC2_SDA (0x1 << 6)
#define RT5645_I2S2_DAC_PIN_MASK (0x1 << 4)
#define RT5645_I2S2_DAC_PIN_SFT 4
#define RT5645_I2S2_DAC_PIN_I2S (0x0 << 4)
#define RT5645_I2S2_DAC_PIN_GPIO (0x1 << 4)
#define RT5645_GP8_PIN_MASK (0x1 << 3)
#define RT5645_GP8_PIN_MASK (0x1 << 3)
#define RT5645_GP8_PIN_SFT 3
#define RT5645_GP8_PIN_SFT 3
#define RT5645_GP8_PIN_GPIO8 (0x0 << 3)
#define RT5645_GP8_PIN_GPIO8 (0x0 << 3)
...
...
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