From: Dave Stevenson
The Raspberry Pi 7" 800x480 panel uses a Toshiba TC358762 DSI
to DPI bridge chip, so there is a requirement for the timings
to be specified for the end panel. Add such a definition.
Signed-off-by: Dave Stevenson
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/
/172441646605.877570.807594226105.b4...@sntech.de/
Detlev.
Detlev Casanova (12):
dt-bindings: arm: rockchip: Add ArmSoM Sige 5
dt-bindings: arm: rockchip: Add rk3576 compatible string to pmu.yaml
dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible
dt-bindings: iio: adc: Add rockchip,rk3576-saradc string
dt
Add devicetree binding for the ArmSoM Sige 5 board.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml
b/Documentation
Add the compatible for the pmu mfd on rk3576.
Signed-off-by: Detlev Casanova
Reviewed-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml
b
Just like RK356x and RK3588, RK3576 is compatible to the existing
rk3399 binding.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
Acked-by: Heiko Stuebner
---
Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation
Add rockchip,rk3576-saradc compatible string.
The saradc on RK3576 is compatible with the one on RK3588, so they are
used together in an arm of the oneOf.
Signed-off-by: Detlev Casanova
Reviewed-by: Krzysztof Kozlowski
Acked-by: Heiko Stuebner
---
Documentation/devicetree/bindings/iio/adc
Document rk3576 compatible for QoS registers.
Signed-off-by: Detlev Casanova
Reviewed-by: Krzysztof Kozlowski
Acked-by: Heiko Stuebner
---
Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml
Add a Rockchip RK3576 compatible.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
Acked-by: Heiko Stuebner
---
Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb
The device is compatible with rk3588, so add an entry for the 2
compatibles together.
The rk3576 device has a power-domain that needs to be on for the eMMC to
be used. Add it as a requirement.
Signed-off-by: Detlev Casanova
---
.../bindings/mmc/snps,dwcmshc-sdhci.yaml | 32
Add the rockchip,rk3576-mali in arm,mali-bifrost.yaml
Signed-off-by: Detlev Casanova
---
Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
b/Documentation/devicetree
It is compatible with the other rockchip SoCs.
Signed-off-by: Detlev Casanova
---
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
b/Documentation/devicetree/bindings
It is compatible with the rockchip,rk3066-spi SPI core.
Signed-off-by: Detlev Casanova
---
Documentation/devicetree/bindings/spi/spi-rockchip.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml b/
Documentation/devicetree/bindings/spi
.
Signed-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/Makefile | 1 +
.../boot/dts/rockchip/rk3576-armsom-sige5.dts | 651 ++
2 files changed, 652 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
diff --git a/arch/arm64
On Sunday, 25 August 2024 10:08:24 EDT Chukun Pan wrote:
> Hi,
>
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> > ...
> > + opp-141600 {
> > + opp-hz = /bits/ 64 <141600>;
> > + opp-microvolt = <725000 725000 95>;
>
Hi Chukun,
On Sunday, 25 August 2024 10:25:09 EDT Chukun Pan wrote:
> Hi,
>
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
> > ...
> > + leds: leds {
> > + compatible = "gpio-leds";
>
> Maybe there should be a blank line.
>
> > + work_led:
It is compatible with the other rockchip SoCs.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
Acked-by: Guenter Roeck
---
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/watchdog
The device is compatible with rk3588, so add an entry for the 2
compatibles together.
The rk3576 device has a power-domain that needs to be on for the eMMC to
be used. Add it as a requirement.
Signed-off-by: Detlev Casanova
Reviewed-by: Krzysztof Kozlowski
---
.../bindings/mmc/snps,dwcmshc
Just like RK356x and RK3588, RK3576 is compatible to the existing
rk3399 binding.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
Acked-by: Heiko Stuebner
---
Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation
Add devicetree binding for the ArmSoM Sige 5 board.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml
b/Documentation
Add the compatible for the pmu mfd on rk3576.
Signed-off-by: Detlev Casanova
Reviewed-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml
b
to match prior generations
- Reorder fields consistently in nodes
- Use correct #power-domain-cells values
[0]:
https://lore.kernel.org/all/918bb9e4-02d9-4dca-bed2-28bb123bd...@linaro.org/
[1]:
https://lore.kernel.org/all/172441646605.877570.807594226105.b4...@sntech.de/
Detlev.
Detlev
It is compatible with the rockchip,rk3066-spi SPI core.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/spi/spi-rockchip.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
b
Add a Rockchip RK3576 compatible.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
Acked-by: Heiko Stuebner
---
Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb
The rk3576 SoC has an ARM Mali G52 MC3 GPU, that is compatible with
arm,mali-bifrost.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree
Add board file for the rk3576 based ArmSoM Sige5 board. While the hardware
offers plenty of peripherals and connectivity this basic implementation
just handles things required to successfully boot Linux from SD card and
connect via UART or Ethernet.
Signed-off-by: Detlev Casanova
---
arch/arm64
Document rk3576 compatible for QoS registers.
Signed-off-by: Detlev Casanova
Reviewed-by: Krzysztof Kozlowski
Acked-by: Heiko Stuebner
---
Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml
The rk3576 SoC has an ARM Mali G52 MC3 GPU, that is compatible with
arm,mali-bifrost.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree
...@kernel.org/
Detlev.
Detlev Casanova (9):
dt-bindings: arm: rockchip: Add ArmSoM Sige 5
dt-bindings: arm: rockchip: Add rk3576 compatible string to pmu.yaml
dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible
dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576
dt-bindings: gpu
It is compatible with the other rockchip SoCs.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
Acked-by: Guenter Roeck
---
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/watchdog
Add a Rockchip RK3576 compatible.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
Acked-by: Heiko Stuebner
---
Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb
Add the compatible for the pmu mfd on rk3576.
Signed-off-by: Detlev Casanova
Reviewed-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml
b
Add devicetree binding for the ArmSoM Sige 5 board.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml
b/Documentation
It is compatible with the rockchip,rk3066-spi SPI core.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/spi/spi-rockchip.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
b
Add board file for the rk3576 based ArmSoM Sige5 board. While the hardware
offers plenty of peripherals and connectivity this basic implementation
just handles things required to successfully boot Linux from SD card and
connect via UART or Ethernet.
Signed-off-by: Detlev Casanova
---
arch/arm64
Just like RK356x and RK3588, RK3576 is compatible to the existing
rk3399 binding.
Signed-off-by: Detlev Casanova
Acked-by: Krzysztof Kozlowski
Acked-by: Heiko Stuebner
---
Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation
Hello,
On Tuesday, 3 September 2024 11:46:00 EDT Andi Shyti wrote:
> Hi,
>
> On Tue, Sep 03, 2024 at 11:22:33AM GMT, Detlev Casanova wrote:
> > Just like RK356x and RK3588, RK3576 is compatible to the existing
> > rk3399 binding.
> >
> > Signed-off-by: Detlev
The clock reset must be used when the VOP is configured. Skipping it can
put the VOP in an unknown state where the HDMI signal is either lost or
not matching the selected mode.
This adds support for rk3588(s) based SoCs.
Detlev Casanova (3):
drm/rockchip: vop2: Add clock resets support
arm64
At the end of initialization, each VP clock needs to be reset before
they can be used.
Failing to do so can put the VOP in an undefined state where the
generated HDMI signal is either lost or not matching the selected mode.
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/rockchip
This adds the needed clock resets for all rk3588(s) based SOCs.
Signed-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
index
Add the documentation for VOP2 video ports reset clocks.
One reset can be set per video port.
Signed-off-by: Detlev Casanova
---
.../display/rockchip/rockchip-vop2.yaml | 27 +++
1 file changed, 27 insertions(+)
diff --git
a/Documentation/devicetree/bindings/display
On Wednesday, May 15, 2024 12:33:22 P.M. EDT Heiko Stübner wrote:
> Am Mittwoch, 15. Mai 2024, 18:19:29 CEST schrieb Conor Dooley:
> > On Tue, May 14, 2024 at 11:19:47AM -0400, Detlev Casanova wrote:
> > > Add the documentation for VOP2 video ports reset clocks.
> > &g
On Tuesday, May 21, 2024 2:31:51 P.M. EDT Conor Dooley wrote:
> On Tue, May 21, 2024 at 01:15:46PM -0400, Detlev Casanova wrote:
> > On Wednesday, May 15, 2024 12:33:22 P.M. EDT Heiko Stübner wrote:
> > > Am Mittwoch, 15. Mai 2024, 18:19:29 CEST schrieb Conor Dooley:
> >
in vop2 bindings
Detlev Casanova (3):
vop2: Add clock resets support
arm64: dts: rockchip: Add VOP clock resets for rk3588s
dt-bindings: display: vop2: Add VP clock resets
.../display/rockchip/rockchip-vop2.yaml | 40 +++
arch/arm64/boot/dts/rockchip/rk3588s.dtsi
At the end of initialization, each VP clock needs to be reset before
they can be used.
Failing to do so can put the VOP in an undefined state where the
generated HDMI signal is either lost or not matching the selected mode.
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/rockchip
This adds the needed clock resets for all rk3588(s) based SOCs.
Signed-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
Add the documentation for VOP2 video ports reset clocks.
One reset can be set per video port.
Signed-off-by: Detlev Casanova
---
.../display/rockchip/rockchip-vop2.yaml | 40 +++
1 file changed, 40 insertions(+)
diff --git
a/Documentation/devicetree/bindings/display
when down scaling to
1080 pixels from 2160.
Signed-off-by: Detlev Casanova
Fixes: 604be85547ce ("drm/rockchip: Add VOP2 driver")
---
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 22 +++-
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/dr
On Thursday, 23 May 2024 23:09:26 EST Andy Yan wrote:
> Hi Detlev,
>
> At 2024-05-23 02:57:48, "Detlev Casanova"
wrote:
> >At the end of initialization, each VP clock needs to be reset before
> >they can be used.
> >
> >Failing to do so can
On Friday, 8 November 2024 11:39:57 EST Detlev Casanova wrote:
> On Thursday, 23 May 2024 23:09:26 EST Andy Yan wrote:
> > Hi Detlev,
> >
> > At 2024-05-23 02:57:48, "Detlev Casanova"
>
> wrote:
> > >At the end of initialization, each VP clock
.
Depending on the setup, after about 10 mode switches, the signal will be
lost and the value in register 0x890 (VSYNCWIDTH + VFRONT) will take the value
`0x018c`.
That makes VSYNCWIDTH=0, which is wrong.
Adding the clock resets after the VOP configuration fixes the issue.
Signed-off-by: Detlev Casanova
This adds the needed clock resets for all rk3588(s) based SOCs.
Signed-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588
Add the documentation for VOP2 video ports reset clocks.
One reset can be set per video port.
Reviewed-by: Conor Dooley
Signed-off-by: Detlev Casanova
---
.../display/rockchip/rockchip-vop2.yaml | 40 +++
1 file changed, 40 insertions(+)
diff --git
a/Documentation
reproduce the issue
Changes since v1:
- Add AXI and AHB clock resets
- Set maxItems for !rk3588 in vop2 bindings
Detlev Casanova (3):
vop2: Add clock resets support
arm64: dts: rockchip: Add VOP clock resets for rk3588s
dt-bindings: display: vop2: Add VP clock resets
.../display/rockchip/rockchip
Hi Andy,
I tested these on the RK3576 Armsom Sige 5 board:
Tested-by: Detlev Casanova
Regards,
Detlev.
On Friday, 20 September 2024 04:16:24 EDT Andy Yan wrote:
> From: Andy Yan
>
>
> Thanks for the basic work from Collabora, I can bringup a HDMI
> display out on rk3576.
&g
llo Detlev,
>
> At 2024-11-16 00:20:39, "Detlev Casanova"
wrote:
> >The clock reset must be used when the VOP is configured. Skipping it can
> >put the VOP in an unknown state where the HDMI signal is either lost or
> >not matching the selected mode.
>
&g
Add the documentation for VOP2 video ports reset clocks.
One reset can be set per video port.
Reviewed-by: Conor Dooley
Signed-off-by: Detlev Casanova
---
.../display/rockchip/rockchip-vop2.yaml | 40 +++
1 file changed, 40 insertions(+)
diff --git
a/Documentation
.
Depending on the setup, after about 10 mode switches, the signal will be
lost and the value in register 0x890 (VSYNCWIDTH + VFRONT) will take the value
`0x018c`.
That makes VSYNCWIDTH=0, which is wrong.
Adding the clock resets after the VOP configuration fixes the issue.
Signed-off-by: Detlev Casanova
This adds the needed clock resets for all rk3588(s) based SOCs.
Signed-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588
- Reorder commits for different trees
Changes since v2:
- Rebase on latest master
- Add details on how to reproduce the issue
Changes since v1:
- Add AXI and AHB clock resets
- Set maxItems for !rk3588 in vop2 bindings
Detlev Casanova (3):
dt-bindings: display: vop2: Add VP clock resets
drm
-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
index 8cfa30837ce72..767bdfc06b7ec 100644
--- a/arch/arm64
HDMI audio is available on the Rock 5B HDMI TX port.
Enable it.
Signed-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
b/arch/arm64/boot/dts/rockchip/rk3588
support.
Signed-off-by: Sugar Zhang
Reviewed-by: Dmitry Baryshkov
Tested-by: Quentin Schulz
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 497 +++
1 file changed, 497 insertions(+)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
rames
- Only access audio registers when connector is connected
- Rebased on master branch
Detlev Casanova (2):
arm64: dts: rockchip: Add HDMI0 audio output for rk3588 SoC
arm64: dts: rockchip: Enable HDMI0 audio output for Rock 5B
Sugar Zhang (1):
drm/bridge: synopsys: Add audio support f
Hi Quentin,
On Tuesday, 4 February 2025 04:59:12 EST Quentin Schulz wrote:
> Hi Detlev,
>
> Just some drive-by comment inline.
>
> On 2/3/25 6:16 PM, Detlev Casanova wrote:
> > From: Sugar Zhang
> >
> > Register the dw-hdmi-qp bridge driver as an HDMI audio co
On Tuesday, 4 February 2025 05:14:37 EST Quentin Schulz wrote:
> Hi Detlev,
>
> On 2/3/25 6:16 PM, Detlev Casanova wrote:
> > Use the simple-audio-card driver with the hdmi0 QP node as CODEC and
> > the i2s5 device as CPU.
> >
> > The simple-audio-card,mclk-fs
support.
Signed-off-by: Sugar Zhang
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 497 +++
1 file changed, 497 insertions(+)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
index
mutex (was used downstream for multiple drivers access
to audio functions)
- Let hdmi_codec build and setup audio infoframes
- Only access audio registers when connector is connected
- Rebased on master branch
Detlev Casanova (1):
arm64: dts: rockchip: Add HDMI0 audio output on rock-5b
-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 1 +
.../boot/dts/rockchip/rk3588-rock-5b.dts | 19 +++
2 files changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
support.
Signed-off-by: Sugar Zhang
Reviewed-by: Dmitry Baryshkov
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 497 +++
1 file changed, 497 insertions(+)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
b/drivers/gpu/drm/bridge
t use connector_state duplicates
Changes since v1:
- Remove useless audio_mutex (was used downstream for multiple drivers access
to audio functions)
- Let hdmi_codec build and setup audio infoframes
- Only access audio registers when connector is connected
- Rebased on master branch
Detlev Casano
-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 1 +
.../boot/dts/rockchip/rk3588-rock-5b.dts | 19 +++
2 files changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
Hi Quentin,
On Friday, 31 January 2025 11:38:34 EST Quentin Schulz wrote:
> Hi Detlev,
>
> On 1/30/25 5:45 PM, Detlev Casanova wrote:
> > Use the simple-audio-card driver with the hdmi0 QP node as CODEC and
> > the i2s5 device as CPU.
> >
> > The simple-audio-ca
On Wednesday, 11 December 2024 01:34:34 EST Andy Yan wrote:
> Hi Detlev,
>
> At 2024-12-11 02:40:14, "Detlev Casanova"
wrote:
> >Hi Andy,
> >
> >On Monday, 9 December 2024 07:29:18 EST Andy Yan wrote:
> >> From: Andy Yan
> >>
> >
Hi Andy,
On Monday, 9 December 2024 07:29:18 EST Andy Yan wrote:
> From: Andy Yan
>
> There are two AXI bus in vop2, windows attached on the same bus must
> have a unique channel YUV and RGB channel ID.
>
> The default IDs will conflict with each other on the rk3588, so they
> need to be reassi
On Thursday, 12 December 2024 02:52:34 EST Andy Yan wrote:
> Hi Detlev,
>
> At 2024-12-11 23:45:01, "Detlev Casanova"
wrote:
> >On Wednesday, 11 December 2024 01:34:34 EST Andy Yan wrote:
> >> Hi Detlev,
> >>
> >> At 2024-12-11 02:4
support.
Signed-off-by: Sugar Zhang
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 424 +++
1 file changed, 424 insertions(+)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
index
-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 1 +
.../boot/dts/rockchip/rk3588-rock-5b.dts | 19 +++
2 files changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
ranch.
Changes since v1:
- Remove useless audio_mutex (was used downstream for multiple drivers access
to audio functions)
- Let hdmi_codec build and setup audio infoframes
- Only access audio registers when connector is connected
- Rebased on master branch
Detlev Casanova (1):
arm64
On Friday, 24 January 2025 00:01:38 EST Dmitry Baryshkov wrote:
> On Thu, Jan 23, 2025 at 05:28:06PM -0500, Detlev Casanova wrote:
> > From: Sugar Zhang
> >
> > Register the dw-hdmi-qp bridge driver as an HDMI audio codec.
> >
> > The register values computati
(tag: drm-misc-next-fixes-2025-01-16)
[1]:
https://lore.kernel.org/all/20241224-drm-bridge-hdmi-connector-v10-0-dc89577cd...@linaro.org/
Detlev Casanova (1):
arm64: dts: rockchip: Add HDMI0 audio output on rock-5b
Sugar Zhang (1):
drm/bridge: synopsys: Add audio support for dw-hdmi-qp
arch
support.
Signed-off-by: Sugar Zhang
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 472 +++
1 file changed, 472 insertions(+)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
index
-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 1 +
.../boot/dts/rockchip/rk3588-rock-5b.dts | 19 +++
2 files changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
(was used downstream for multiple drivers access
to audio functions)
- Let hdmi_codec build and setup audio infoframes
- Only access audio registers when connector is connected
- Rebased on master branch
Detlev Casanova (2):
arm64: dts: rockchip: Add HDMI0 audio output for rk3588 SoC
versions of the SoC.
The simple-audio-card,mclk-fs value is set to 128 as it is done in
the downstream driver.
The #sound-dai-cells value is set to 0 in the hdmi0 and hdmi1 nodes so
that they can be used as audio codec nodes.
Tested-by: Quentin Schulz # RK3588 Tiger Haikou
Signed-off-by: Detlev
udio_mutex (was used downstream for multiple drivers access
to audio functions)
- Let hdmi_codec build and setup audio infoframes
- Only access audio registers when connector is connected
- Rebased on master branch
Detlev Casanova (2):
arm64: dts: rockchip: Add HDMI audio outputs for rk3
support.
Signed-off-by: Sugar Zhang
Reviewed-by: Dmitry Baryshkov
Tested-by: Quentin Schulz
Reviewed-by: Robert Foss
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 489 +++
1 file changed, 489 insertions(+)
diff --git a/drivers/gpu/drm
HDMI audio is available on the Rock 5B HDMI TX ports.
Enable it for both ports.
Reviewed-by: Quentin Schulz
Signed-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip
support.
Signed-off-by: Sugar Zhang
Reviewed-by: Dmitry Baryshkov
Tested-by: Quentin Schulz
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 489 +++
1 file changed, 489 insertions(+)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
-by: Quentin Schulz # RK3588 Tiger Haikou
Signed-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
index
HDMI audio is available on the Rock 5B HDMI TX port.
Enable it.
Reviewed-by: Quentin Schulz
Signed-off-by: Detlev Casanova
---
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
b/arch
state duplicates
Changes since v1:
- Remove useless audio_mutex (was used downstream for multiple drivers access
to audio functions)
- Let hdmi_codec build and setup audio infoframes
- Only access audio registers when connector is connected
- Rebased on master branch
Detlev Casanova (2):
On Friday, 21 February 2025 06:42:31 EST Piotr Oniszczuk wrote:
> Small data point: on rock5b switching in dts analog audio: from
> audio-graph-card to simple-audio-card (so dts is:
> https://gist.github.com/warpme/349b27e49bc6f617ef1041047e75adab ) makes
> kernel oops go away with analog audio sti
Hi Piotr,
On Thursday, 20 February 2025 06:16:20 EST Piotr Oniszczuk wrote:
> > Wiadomość napisana przez Detlev Casanova w
> > dniu 17 lut 2025, o godz. 22:47:
> >
> > To support HDMI audio on the rk3588 based devices, the generic HDMI
> > Codec framework is use
Hi Morimoto-san,
On Tuesday, 25 February 2025 01:16:50 EST Kuninori Morimoto wrote:
> Hi Detlev, again
>
> > > Especially those commits:
> > > ASoC: audio-graph-card2: use __free(device_node) for device node
> > > ASoC: audio-graph-card: use __free(device_node) for device node
> > >
lk_vp2";
> + "dclk_vp2",
> + "pll_hdmiphy0";
> iommus = <&vop_mmu>;
> power-domains = <&power RK3576_PD_VOP>;
> rockchip,grf = <&sys_grf>;
I tested this on the ROCK 4D and can confirm that:
- New modes like 2K are now working
- Mode changes is now correctly supported
So,
Tested-By: Detlev Casanova
Regards,
Detlev.
There is no need to warn about non pre-computed values, just change it to
dbg.
Signed-off-by: Detlev Casanova
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
b/drivers/gpu/drm
eally make sense.
Using a cached regmap to be dumped when a cable is connected won't work
because writing order is important and some data needs to be retrieved
from registers to write others.
Returning 0 to silently fail sounds like the best and simplest solution.
Signed-off-by: Detlev Casanov
/pcm_drm_eld.c
This avoids printing multiple messages like:
HDMI: Unknown ELD version 0
in the kernel log when userspace tries to open the sound device.
Signed-off-by: Detlev Casanova
---
sound/soc/codecs/hdac_hdmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound
HDMI audio is showing lots of logs, particularly when HDMI is
disconnected.
It doubled on RK3588 with the addition of the second HDMI TX port, so
clean it up to avoid missing important log lines.
Detlev Casanova (3):
drm/bridge: dw-hdmi-qp: Return 0 in audio prepare when disconnected
ASoC
Hi Mark,
On Wednesday, 23 July 2025 06:40:13 EDT Mark Brown wrote:
> On Tue, Jul 22, 2025 at 03:54:36PM -0400, Detlev Casanova wrote:
> > When disconnected, the ELD data cannot be read by the display driver, so
> > it just sets the data to 0.
>
> Please don't put patche
1 - 100 of 105 matches
Mail list logo