^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Palmas GPIO controller bindings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - "ti,palams-gpio" for palma series of the GPIO controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - "ti,tps80036-gpio" for Palma series device TPS80036.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - "ti,tps65913-gpio" for palma series device TPS65913.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - "ti,tps65914-gpio" for palma series device TPS65914.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - #gpio-cells : Should be two.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - first cell is the gpio pin number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - second cell is used to specify the gpio polarity:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 0 = active high
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 1 = active low
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - gpio-controller : Marks the device node as a GPIO controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Note: This gpio node will be sub node of palmas node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) palmas: tps65913@58 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) :::::::::::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) palmas_gpio: palmas_gpio {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) compatible = "ti,palmas-gpio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) :::::::::::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) };