Commit 9201690
drm/sun4i: dw-hdmi: Fix ddc-en GPIO consumer conflict
commit 6de79dd ("drm/bridge: display-connector: add ddc-en gpio
support") added a consumer for this GPIO in the HDMI connector device.
This new consumer conflicts with the pre-existing GPIO consumer in the
sun8i HDMI controller driver, which prevents the driver from probing:
[ 4.983358] display-connector connector: GPIO lookup for consumer ddc-en
[ 4.983364] display-connector connector: using device tree for GPIO lookup
[ 4.983392] gpio-226 (ddc-en): gpiod_request: status -16
[ 4.983399] sun8i-dw-hdmi 6000000.hdmi: Couldn't get ddc-en gpio
[ 4.983618] sun4i-drm display-engine: failed to bind 6000000.hdmi (ops sun8i_dw_hdmi_ops [sun8i_drm_hdmi]): -16
[ 4.984082] sun4i-drm display-engine: Couldn't bind all pipelines components
[ 4.984171] sun4i-drm display-engine: adev bind failed: -16
[ 4.984179] sun8i-dw-hdmi: probe of 6000000.hdmi failed with error -16
Both drivers have the same behavior: they leave the GPIO active for the
life of the device. Let's take advantage of the new implementation, and
drop the now-obsolete code from the HDMI controller driver.
Fixes: 6de79dd ("drm/bridge: display-connector: add ddc-en gpio support")
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220614073100.11550-1-samuel@sholland.org1 parent 0f9cd1e commit 9201690
2 files changed
Lines changed: 4 additions & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | 96 | | |
121 | 97 | | |
122 | 98 | | |
123 | | - | |
| 99 | + | |
124 | 100 | | |
125 | 101 | | |
126 | 102 | | |
| |||
167 | 143 | | |
168 | 144 | | |
169 | 145 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | 146 | | |
183 | 147 | | |
184 | 148 | | |
185 | | - | |
| 149 | + | |
186 | 150 | | |
187 | 151 | | |
188 | | - | |
189 | | - | |
190 | 152 | | |
191 | 153 | | |
192 | 154 | | |
193 | | - | |
| 155 | + | |
194 | 156 | | |
195 | 157 | | |
196 | 158 | | |
| |||
245 | 207 | | |
246 | 208 | | |
247 | 209 | | |
248 | | - | |
249 | | - | |
| 210 | + | |
250 | 211 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | 212 | | |
255 | 213 | | |
256 | 214 | | |
| |||
264 | 222 | | |
265 | 223 | | |
266 | 224 | | |
267 | | - | |
268 | 225 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | 226 | | |
273 | 227 | | |
274 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
196 | | - | |
197 | 195 | | |
198 | 196 | | |
199 | 197 | | |
| |||
0 commit comments