-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 332176 b: refs/heads/master c: a31ebc3 h: refs/heads/master v: v3
- Loading branch information
Daniel Mack
authored and
Mark Brown
committed
Sep 28, 2012
1 parent
0522b7e
commit 5f0851b
Showing
3 changed files
with
58 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: eb4d5fc1f0ce89e3d5b072c594a1e213a0e05881 | ||
refs/heads/master: a31ebc349dade4e6a7a27e88669f20dbc6f8a3b8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Cirrus Logic CS4271 DT bindings | ||
|
||
This driver supports both the I2C and the SPI bus. | ||
|
||
Required properties: | ||
|
||
- compatible: "cirrus,cs4271" | ||
|
||
For required properties on SPI, please consult | ||
Documentation/devicetree/bindings/spi/spi-bus.txt | ||
|
||
Required properties on I2C: | ||
|
||
- reg: the i2c address | ||
|
||
|
||
Optional properties: | ||
|
||
- reset-gpio: a GPIO spec to define which pin is connected to the chip's | ||
!RESET pin | ||
|
||
Examples: | ||
|
||
codec_i2c: cs4271@10 { | ||
compatible = "cirrus,cs4271"; | ||
reg = <0x10>; | ||
reset-gpio = <&gpio 23 0>; | ||
}; | ||
|
||
codec_spi: cs4271@0 { | ||
compatible = "cirrus,cs4271"; | ||
reg = <0x0>; | ||
reset-gpio = <&gpio 23 0>; | ||
spi-max-frequency = <6000000>; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters