···11-* Dialog DA9061/62/63 OnKey Module22-33-This module is part of the DA9061/DA9062/DA9063. For more details about entire44-DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt55-For DA9063 see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml66-77-This module provides the KEY_POWER event.88-99-Required properties:1010-1111-- compatible: should be one of the following valid compatible string lines:1212- "dlg,da9061-onkey", "dlg,da9062-onkey"1313- "dlg,da9062-onkey"1414- "dlg,da9063-onkey"1515-1616-Optional properties:1717-1818-- dlg,disable-key-power : Disable power-down using a long key-press. If this1919- entry exists the OnKey driver will remove support for the KEY_POWER key2020- press when triggered using a long press of the OnKey.2121-2222-Example: DA90632323-2424- pmic0: da9063@58 {2525- onkey {2626- compatible = "dlg,da9063-onkey";2727- dlg,disable-key-power;2828- };2929- };3030-3131-Example: DA90623232-3333- pmic0: da9062@58 {3434- onkey {3535- compatible = "dlg,da9062-onkey";3636- dlg,disable-key-power;3737- };3838- };3939-4040-Example: DA9061 using a fall-back compatible for the DA9062 onkey driver4141-4242- pmic0: da9061@58 {4343- onkey {4444- compatible = "dlg,da9061-onkey", "dlg,da9062-onkey";4545- dlg,disable-key-power;4646- };4747- };
···11+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)22+%YAML 1.233+---44+$id: http://devicetree.org/schemas/input/dlg,da9062-onkey.yaml#55+$schema: http://devicetree.org/meta-schemas/core.yaml#66+77+title: Dialog DA9061/62/63 OnKey Module88+99+maintainers:1010+ - Biju Das <biju.das.jz@bp.renesas.com>1111+1212+description: |1313+ This module is part of the DA9061/DA9062/DA9063. For more details about entire1414+ DA906{1,2,3} chips see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml1515+1616+ This module provides the KEY_POWER event.1717+1818+properties:1919+ compatible:2020+ oneOf:2121+ - enum:2222+ - dlg,da9062-onkey2323+ - dlg,da9063-onkey2424+ - items:2525+ - const: dlg,da9061-onkey2626+ - const: dlg,da9062-onkey2727+2828+ dlg,disable-key-power:2929+ type: boolean3030+ description:3131+ Disable power-down using a long key-press. If this entry exists3232+ the OnKey driver will remove support for the KEY_POWER key press3333+ when triggered using a long press of the OnKey.3434+3535+required:3636+ - compatible3737+3838+additionalProperties: false
-124
Documentation/devicetree/bindings/mfd/da9062.txt
···11-* Dialog DA9062 Power Management Integrated Circuit (PMIC)22-33-Product information for the DA9062 and DA9061 devices can be found here:44-- https://www.dialog-semiconductor.com/products/da906255-- https://www.dialog-semiconductor.com/products/da906166-77-The DA9062 PMIC consists of:88-99-Device Supply Names Description1010------- ------------ -----------1111-da9062-regulator : : LDOs & BUCKs1212-da9062-rtc : : Real-Time Clock1313-da9062-onkey : : On Key1414-da9062-watchdog : : Watchdog Timer1515-da9062-thermal : : Thermal1616-da9062-gpio : : GPIOs1717-1818-The DA9061 PMIC consists of:1919-2020-Device Supply Names Description2121------- ------------ -----------2222-da9062-regulator : : LDOs & BUCKs2323-da9062-onkey : : On Key2424-da9062-watchdog : : Watchdog Timer2525-da9062-thermal : : Thermal2626-2727-======2828-2929-Required properties:3030-3131-- compatible : Should be3232- "dlg,da9062" for DA90623333- "dlg,da9061" for DA90613434-- reg : Specifies the I2C slave address (this defaults to 0x58 but it can be3535- modified to match the chip's OTP settings).3636-3737-Optional properties:3838-3939-- gpio-controller : Marks the device as a gpio controller.4040-- #gpio-cells : Should be two. The first cell is the pin number and the4141- second cell is used to specify the gpio polarity.4242-4343-See Documentation/devicetree/bindings/gpio/gpio.txt for further information on4444-GPIO bindings.4545-4646-- interrupts : IRQ line information.4747-- interrupt-controller4848-4949-See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for5050-further information on IRQ bindings.5151-5252-Sub-nodes:5353-5454-- regulators : This node defines the settings for the LDOs and BUCKs.5555- The DA9062 regulators are bound using their names listed below:5656-5757- buck1 : BUCK_15858- buck2 : BUCK_25959- buck3 : BUCK_36060- buck4 : BUCK_46161- ldo1 : LDO_16262- ldo2 : LDO_26363- ldo3 : LDO_36464- ldo4 : LDO_46565-6666- The DA9061 regulators are bound using their names listed below:6767-6868- buck1 : BUCK_16969- buck2 : BUCK_27070- buck3 : BUCK_37171- ldo1 : LDO_17272- ldo2 : LDO_27373- ldo3 : LDO_37474- ldo4 : LDO_47575-7676- The component follows the standard regulator framework and the bindings7777- details of individual regulator device can be found in:7878- Documentation/devicetree/bindings/regulator/regulator.txt7979-8080- regulator-initial-mode may be specified for buck regulators using mode values8181- from include/dt-bindings/regulator/dlg,da9063-regulator.h.8282-8383-- rtc : This node defines settings required for the Real-Time Clock associated8484- with the DA9062. There are currently no entries in this binding, however8585- compatible = "dlg,da9062-rtc" should be added if a node is created.8686-8787-- onkey : See ../input/da9062-onkey.txt8888-8989-- watchdog: See ../watchdog/da9062-wdt.txt9090-9191-- thermal : See ../thermal/da9062-thermal.txt9292-9393-Example:9494-9595- pmic0: da9062@58 {9696- compatible = "dlg,da9062";9797- reg = <0x58>;9898- interrupt-parent = <&gpio6>;9999- interrupts = <11 IRQ_TYPE_LEVEL_LOW>;100100- interrupt-controller;101101-102102- rtc {103103- compatible = "dlg,da9062-rtc";104104- };105105-106106- regulators {107107- DA9062_BUCK1: buck1 {108108- regulator-name = "BUCK1";109109- regulator-min-microvolt = <300000>;110110- regulator-max-microvolt = <1570000>;111111- regulator-min-microamp = <500000>;112112- regulator-max-microamp = <2000000>;113113- regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;114114- regulator-boot-on;115115- };116116- DA9062_LDO1: ldo1 {117117- regulator-name = "LDO_1";118118- regulator-min-microvolt = <900000>;119119- regulator-max-microvolt = <3600000>;120120- regulator-boot-on;121121- };122122- };123123- };124124-
···11-* Dialog DA9062/61 TJUNC Thermal Module22-33-This module is part of the DA9061/DA9062. For more details about entire44-DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt55-66-Junction temperature thermal module uses an interrupt signal to identify77-high THERMAL_TRIP_HOT temperatures for the PMIC device.88-99-Required properties:1010-1111-- compatible: should be one of the following valid compatible string lines:1212- "dlg,da9061-thermal", "dlg,da9062-thermal"1313- "dlg,da9062-thermal"1414-1515-Optional properties:1616-1717-- polling-delay-passive : Specify the polling period, measured in1818- milliseconds, between thermal zone device update checks.1919-2020-Example: DA90622121-2222- pmic0: da9062@58 {2323- thermal {2424- compatible = "dlg,da9062-thermal";2525- polling-delay-passive = <3000>;2626- };2727- };2828-2929-Example: DA9061 using a fall-back compatible for the DA9062 onkey driver3030-3131- pmic0: da9061@58 {3232- thermal {3333- compatible = "dlg,da9061-thermal", "dlg,da9062-thermal";3434- polling-delay-passive = <3000>;3535- };3636- };
···11+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)22+%YAML 1.233+---44+$id: http://devicetree.org/schemas/thermal/dlg,da9062-thermal.yaml#55+$schema: http://devicetree.org/meta-schemas/core.yaml#66+77+title: Dialog DA9062/61 TJUNC Thermal Module88+99+maintainers:1010+ - Biju Das <biju.das.jz@bp.renesas.com>1111+1212+description: |1313+ This module is part of the DA9061/DA9062. For more details about entire1414+ DA906{1,2} chips see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml1515+1616+ Junction temperature thermal module uses an interrupt signal to identify1717+ high THERMAL_TRIP_HOT temperatures for the PMIC device.1818+1919+properties:2020+ compatible:2121+ oneOf:2222+ - const: dlg,da9062-thermal2323+ - items:2424+ - const: dlg,da9061-thermal2525+ - const: dlg,da9062-thermal2626+2727+ polling-delay-passive:2828+ description:2929+ Specify the polling period, measured in milliseconds, between3030+ thermal zone device update checks.3131+3232+required:3333+ - compatible3434+3535+additionalProperties: false