1 Palmas Pincontrol bindings 2 3 The pins of Palmas device can be set on differ 4 the configuration for Pull UP/DOWN, open drain 5 6 Required properties: 7 - compatible: It must be one of following: 8 - "ti,palmas-pinctrl" for Palma series of th 9 - "ti,tps65913-pinctrl" for Palma series dev 10 - "ti,tps80036-pinctrl" for Palma series dev 11 12 Please refer to pinctrl-bindings.txt in this d 13 common pinctrl bindings used by client devices 14 phrase "pin configuration node". 15 16 Palmas's pin configuration nodes act as a cont 17 subnodes. Each of these subnodes represents so 18 list of pins. This configuration can include t 19 those pin(s), and various pin configuration pa 20 open drain. 21 22 The name of each subnode is not important; all 23 and processed purely based on their content. 24 25 Each subnode only affects those parameters tha 26 other words, a subnode that lists a mux functi 27 parameters implies no information about any pi 28 Similarly, a pin subnode that describes a pull 29 information about e.g. the mux function. 30 31 Optional properties: 32 - ti,palmas-enable-dvfs1: Enable DVFS1. Config 33 Selection primary or secondary functio 34 I2C2_SDA_SDO pin/pad for DVFS1 interfa 35 - ti,palmas-enable-dvfs2: Enable DVFS2. Config 36 Selection primary or secondary functio 37 and SYSEN2 pin/pad for DVFS2 interface 38 - ti,palmas-override-powerhold: This is applic 39 GPIO7 is configured in POWERHOLD mode 40 over DEV_ON bit and keeps the PMIC sup 41 bit is turned off. This property enabl 42 POWERHOLD value to GPIO7 so as to turn 43 scenarios. So for GPIO7 if ti,palmas-o 44 then the GPIO_7 field should never be 45 It should be set to POWERHOLD by defau 46 power off scenarios the driver will ov 47 48 This binding uses the following generic proper 49 pinctrl-bindings.txt: 50 51 Required: pins 52 Options: function, bias-disable, bias-pull-up, 53 drive-open-drain. 54 55 Note that many of these properties are only va 56 See the Palmas device datasheet for complete d 57 support which functionality. 58 59 Valid values for pin names are: 60 gpio0, gpio1, gpio2, gpio3, gpio4, gpi 61 gpio10, gpio11, gpio12, gpio13, gpio14 62 nreswarm, pwrdown, gpadc_start, reset_ 63 int. 64 65 Valid value of function names are: 66 gpio, led, pwm, regen, sysen, clk32kga 67 vac, vacok, powergood, usb_psel, msecu 68 simrsto, simrsti, low_vbat, wireless_c 69 reset_in, nsleep, enable. 70 71 There are 4 special functions: opt0, opt1, opt 72 functions is selected then directly pins regis 73 or 3 respectively if it is valid for that pins 74 75 Example: 76 palmas: tps65913 { 77 .... 78 pinctrl { 79 compatible = "ti,tps65 80 ti,palmas-enable-dvfs1 81 pinctrl-names = "defau 82 pinctrl-0 = <&palmas_p 83 84 palmas_pins_state: pin 85 gpio0 { 86 pins = 87 functi 88 bias-p 89 }; 90 91 vac { 92 pins = 93 functi 94 bias-p 95 }; 96 97 gpio5 { 98 pins = 99 functi 100 drive- 101 }; 102 }; 103 }; 104 .... 105 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.