Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319723
b: refs/heads/master
c: bcc1dd4
h: refs/heads/master
i:
  319721: c0eaf68
  319719: 81062a0
v: v3
  • Loading branch information
Johan Hovold authored and Samuel Ortiz committed Jul 8, 2012
1 parent e256107 commit 94adb80
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 712db99df155eeef7bbab8677d8a02d0eff50d11
refs/heads/master: bcc1dd4cd77ec168894ea325b4e89b15a8b5b4f6
4 changes: 3 additions & 1 deletion trunk/Documentation/devicetree/bindings/mfd/tps65910.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Optional properties:
comparator. (see VMBCH_VSEL in TPS65910 datasheet)
- ti,vmbch2-threshold: (tps65911) main battery discharged threshold
comparator. (see VMBCH_VSEL in TPS65910 datasheet)
- ti,en-ck32k-xtal: enable external 32-kHz crystal oscillator (see CK32K_CTRL
in TPS6591X datasheet)
- ti,en-gpio-sleep: enable sleep control for gpios
There should be 9 entries here, one for each gpio.

Expand All @@ -53,7 +55,7 @@ Example:

ti,vmbch-threshold = 0;
ti,vmbch2-threshold = 0;

ti,en-ck32k-xtal;
ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;

regulators {
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/mfd/tps65910.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
else if (*chip_id == TPS65911)
dev_warn(&client->dev, "VMBCH2-Threshold not specified");

prop = of_property_read_bool(np, "ti,en-ck32k-xtal");
board_info->en_ck32k_xtal = prop;

board_info->irq = client->irq;
board_info->irq_base = -1;

Expand Down

0 comments on commit 94adb80

Please sign in to comment.