1#
2# Copyright (c) 2024 SILA Embedded Solutions GmbH
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7description: Infineon TLE9104 4-channel powertrain switch
8
9compatible: "infineon,tle9104"
10
11include: spi-device.yaml
12
13bus: tle9104
14
15properties:
16  en-gpios:
17    type: phandle-array
18    description: "GPIO for enable"
19
20  resn-gpios:
21    type: phandle-array
22    description: "GPIO for reset"
23
24  in1-gpios:
25    type: phandle-array
26    description: "GPIO for controlling OUT1"
27
28  in2-gpios:
29    type: phandle-array
30    description: "GPIO for controlling OUT2"
31
32  in3-gpios:
33    type: phandle-array
34    description: "GPIO for controlling OUT3"
35
36  in4-gpios:
37    type: phandle-array
38    description: "GPIO for controlling OUT4"
39
40  diagnostic-filter-time:
41    type: int
42    default: 500
43    enum:
44      - 200
45      - 500
46      - 1000
47      - 2000
48    description:
49      diagnostic filter time in us,
50      default matches power on reset value
51
52  overcurrent-shutdown-delay-time:
53    type: int
54    default: 60
55    enum:
56      - 60
57      - 120
58      - 500
59      - 1000
60      - 5000
61      - 10000
62      - 20000
63      - 30000
64    description:
65      overcurrent shutdown delay time in us,
66      default matches power on reset value
67
68  overcurrent-shutdown-threshold:
69    type: int
70    default: 2000
71    enum:
72      - 1000
73      - 2000
74      - 3000
75      - 4000
76    description:
77      overcurrent shutdown threshold in mA,
78      default matches power on reset value
79
80  parallel-out12:
81    type: boolean
82    description: Enables parallel mode for OUT1 and OUT2
83
84  parallel-out34:
85    type: boolean
86    description: Enables parallel mode for OUT3 and OUT4
87