48 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/gpio/qcom,wcd934x-gpio.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: WCD9340/WCD9341 GPIO controller8 9maintainers:10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>11 12description: |13 Qualcomm Technologies Inc WCD9340/WCD9341 Audio Codec has integrated14 gpio controller to control 5 gpios on the chip.15 16properties:17 compatible:18 enum:19 - qcom,wcd9340-gpio20 - qcom,wcd9341-gpio21 22 reg:23 maxItems: 124 25 gpio-controller: true26 27 '#gpio-cells':28 const: 229 30required:31 - compatible32 - reg33 - gpio-controller34 - "#gpio-cells"35 36additionalProperties: false37 38examples:39 - |40 wcdgpio: gpio@42 {41 compatible = "qcom,wcd9340-gpio";42 reg = <0x042 0x2>;43 gpio-controller;44 #gpio-cells = <2>;45 };46 47...48