lkml.org 
[lkml]   [2023]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 17/17] arm64: dts: freescale: apalis-imx8: enable vpu
    Date
    From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

    Enable Video Processing Unit (VPU) decoder and encoder functionality.

    Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

    ---

    Changes in v4:
    - New patch enabling VPU functionality.

    .../boot/dts/freescale/imx8-apalis-v1.1.dtsi | 24 ++++++++++++++++++-
    1 file changed, 23 insertions(+), 1 deletion(-)

    diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
    index 6217e0a48f96..37c5fa20f0a4 100644
    --- a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
    +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
    @@ -781,7 +781,29 @@ &usdhc3 {
    pinctrl-2 = <&pinctrl_usdhc3_200mhz>, <&pinctrl_sd1_cd>;
    };

    -/* TODO: Video Processing Unit (driver upstream but device tree part missing) */
    +/* Video Processing Unit */
    +&vpu {
    + compatible = "nxp,imx8qm-vpu";
    + status = "okay";
    +};
    +
    +&vpu_core0 {
    + memory-region = <&decoder_boot>, <&decoder_rpc>;
    + reg = <0x2d080000 0x10000>;
    + status = "okay";
    +};
    +
    +&vpu_core1 {
    + memory-region = <&encoder1_boot>, <&encoder1_rpc>;
    + reg = <0x2d090000 0x10000>;
    + status = "okay";
    +};
    +
    +&vpu_core2 {
    + memory-region = <&encoder2_boot>, <&encoder2_rpc>;
    + reg = <0x2d0a0000 0x10000>;
    + status = "okay";
    +};

    &iomuxc {
    pinctrl-names = "default";
    --
    2.35.1
    \
     
     \ /
      Last update: 2023-03-26 23:45    [W:9.299 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site