Marek Vasut
badeb7fe24
ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2
...
[ Upstream commit e3f2778b1b6ced649bffdc7cbb05b80bb92f2108 ]
The audio routing flow is not correct, the flow should be from source
(second element in the pair) to sink (first element in the pair). The
flow now is from "HP_OUT" to "Playback", where "Playback" is source
and "HP_OUT" is sink, i.e. the direction is swapped and there is no
direct link between the two either.
Fill in the correct routing, where "HP_OUT" supplies the "Headphone Jack",
"Line In Jack" supplies "LINE_IN" input, "Microphone Jack" supplies "MIC_IN"
input and "Mic Bias" supplies "Microphone Jack".
Fixes: 34e0c7847d
("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
Signed-off-by: Marek Vasut <marex@denx.de >
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2023-07-27 08:43:51 +02:00
Marek Vasut
37437a60a9
ARM: dts: stm32: Set {bitclock,frame}-master phandles on DHCOM SoM
...
[ Upstream commit a79e78c391dc074742c855dc0108a88f781d56a3 ]
Fix the following dtbs_check warning:
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: codec@a: port:endpoint@0:frame-master: True is not of type 'array'
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: codec@a: port:endpoint@0:bitclock-master: True is not of type 'array'
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com >
Cc: Patrice Chotard <patrice.chotard@foss.st.com >
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com >
Cc: kernel@dh-electronics.com
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-09-18 13:40:23 +02:00
Marek Vasut
163e6d8721
ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
...
[ Upstream commit 15f68f027ebd961b99a1c420f96ff3838c5e4450 ]
While 7e5f3155dc
("ARM: dts: stm32: Fix LED5 on STM32MP1 DHCOM PDK2")
fixed the LED0 assignment on the PDK2 board, the same commit did not
update the touchscreen IRQ line assignment, which is the same GPIO line,
shared between the LED0 output and touchscreen IRQ input. To make this
more convoluted, the same EXTI input (not the same GPIO line) is shared
between Button B which is Active-Low IRQ, and touchscreen IRQ which is
Edge-Falling IRQ, which cannot be used at the same time. In case the LCD
board with touchscreen is in use, which is the case here, LED0 must be
disabled, Button B must be polled, so the touchscreen interrupt works as
it should.
Update the touchscreen IRQ line assignment, disable LED0 and use polled
GPIO button driver for Button B, since the DT here describes baseboard
with LCD board.
Fixes: 7e5f3155dc
("ARM: dts: stm32: Fix LED5 on STM32MP1 DHCOM PDK2")
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com >
Cc: Patrice Chotard <patrice.chotard@foss.st.com >
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com >
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-08-12 13:22:05 +02:00
Marek Vasut
26cd441c52
ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM
...
[ Upstream commit 5247a50c8b53ca214a488da648e1bb35c35c2597 ]
Fix the following dtbs_check warning:
touchscreen@38: 'linux,wakeup' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com >
Cc: Patrice Chotard <patrice.chotard@foss.st.com >
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com >
Cc: kernel@dh-electronics.com
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-07-25 14:36:15 +02:00
Marek Vasut
44f4e344f4
ARM: dts: stm32: Fix touchscreen node on dhcom-pdk2
...
[ Upstream commit 4b5fadef3fc2ab8863ffdf31eed6a745b1bf6e61 ]
Fix make dtbs_check warning:
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml:0:0: /soc/i2c@40015000/polytouch@38: failed to match any schema with compatible: ['edt,edt-ft5x06']
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@st.com >
Cc: Patrice Chotard <patrice.chotard@st.com >
Cc: Patrick Delaunay <patrick.delaunay@st.com >
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-07-25 14:36:13 +02:00
Marek Vasut
3534a4b2d0
ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2
...
[ Upstream commit 28b9a4679d8074512f12967497c161b992eb3b75 ]
Fix make dtbs_check warning:
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: gpio-keys-polled: '#address-cells' is a dependency of '#size-cells'
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: gpio-keys: '#address-cells' is a dependency of '#size-cells'
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@st.com >
Cc: Patrice Chotard <patrice.chotard@st.com >
Cc: Patrick Delaunay <patrick.delaunay@st.com >
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Marek Vasut <marex@denx.de >
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-07-25 14:36:13 +02:00
Marek Vasut
7e5f3155dc
ARM: dts: stm32: Fix LED5 on STM32MP1 DHCOM PDK2
...
On the prototype DHCOM, the LED5 was connected to pin PG2 of the
STM32MP15xx, however on the production SoM this was changed to pin
PC6. Update the connection in the DT.
Fixes: 81d5fc7197
("ARM: dts: stm32: Add GPIO LEDs for STM32MP1 DHCOM PDK2")
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@st.com >
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com >
Cc: Patrice Chotard <patrice.chotard@st.com >
Cc: Patrick Delaunay <patrick.delaunay@st.com >
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com >
2020-11-09 14:04:52 +01:00
Marek Vasut
52d9edbe6e
ARM: dts: stm32: Fix TA3-GPIO-C key on STM32MP1 DHCOM PDK2
...
On the prototype DHCOM, the TA3-GPIO-C button was connected to pin PI11 of
the STM32MP15xx, however on the production SoM this was changed to pin PG0
to free up the IRQ line 11 for LAN8710i PHY IRQ. Update the connection in
the DT. Since the IRQ line 0 is used for PMIC as well and cannot be shared
with the button, make the button polled.
Fixes: 87cabf9405
("ARM: dts: stm32: Add GPIO keys for STM32MP1 DHCOM PDK2")
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@st.com >
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com >
Cc: Patrice Chotard <patrice.chotard@st.com >
Cc: Patrick Delaunay <patrick.delaunay@st.com >
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com >
2020-11-09 13:50:20 +01:00
Marek Vasut
57592d2a98
ARM: dts: stm32: Fix DH PDK2 display PWM channel
...
The display PWM channel is number 3 (PWM2 CH4), make it so.
Fixes: 34e0c7847d
("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@st.com >
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com >
Cc: Patrice Chotard <patrice.chotard@st.com >
Cc: Patrick Delaunay <patrick.delaunay@st.com >
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com >
2020-09-23 18:37:02 +02:00
Marek Vasut
d0ce6f1be3
ARM: dts: stm32: Enable RTS/CTS for DH PDK2 UART8
...
The DH PDK2 has RTS/CTS lines available on UART8, describe them in DT.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@st.com >
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com >
Cc: Patrice Chotard <patrice.chotard@st.com >
Cc: Patrick Delaunay <patrick.delaunay@st.com >
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com >
2020-09-23 18:37:02 +02:00
Marek Vasut
4e0ec51f8b
ARM: dts: stm32: Add USB OTG support to DH PDK2
...
The DH PDK2 board is capable of USB OTG on the X14 USB Mini-AB connector,
fill in the missing bits to make USB OTG possible instead of peripheral.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@st.com >
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com >
Cc: Patrice Chotard <patrice.chotard@st.com >
Cc: Patrick Delaunay <patrick.delaunay@st.com >
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com >
2020-09-23 18:37:02 +02:00
Marek Vasut
b0a07f6096
ARM: dts: stm32: Move ethernet PHY into DH SoM DT
...
The PHY and the VIO regulator is populated on the SoM, move it
into the SoM DT.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@st.com >
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com >
Cc: Patrice Chotard <patrice.chotard@st.com >
Cc: Patrick Delaunay <patrick.delaunay@st.com >
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com >
2020-09-23 18:37:02 +02:00
Marek Vasut
604536dc58
ARM: dts: stm32: Split SoC-independent parts of DHCOM SOM and PDK2
...
The DH Electronics PDK2 can be populated with SoM with any STM32MP15xx
variant. Split the SoC-independent parts of the SoM and PDK2 into the
stm32mp15xx-dhcom-*.dtsi and reduce stm32mp157c-dhcom-*dts* to example
of adding STM32MP157C variant of the SoM into a PDK2 carrier board.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Alexandre Torgue <alexandre.torgue@st.com >
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com >
Cc: Patrice Chotard <patrice.chotard@st.com >
Cc: Patrick Delaunay <patrick.delaunay@st.com >
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com >
2020-05-14 16:22:40 +02:00