[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7f649d79666a175da7c9d9fd9377a687@manjaro.org>
Date: Sun, 16 Jun 2024 13:55:19 +0200
From: Dragan Simic <dsimic@...jaro.org>
To: Jonas Karlman <jonas@...boo.se>
Cc: Detlev Casanova <detlev.casanova@...labora.com>,
linux-kernel@...r.kernel.org, Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Heiko Stuebner <heiko@...ech.de>, Greg
Kroah-Hartman <gregkh@...uxfoundation.org>, Sebastian Reichel
<sebastian.reichel@...labora.com>, Alexey Charkov <alchark@...il.com>,
Cristian Ciocaltea <cristian.ciocaltea@...labora.com>, Diederik de Haas
<didi.debian@...ow.org>, Andy Yan <andy.yan@...k-chips.com>,
linux-media@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-rockchip@...ts.infradead.org,
linux-staging@...ts.linux.dev
Subject: Re: [PATCH 3/3] arm64: dts: rockchip: Add rkvdec2 Video Decoder on
rk3588(s)
Hello all,
On 2024-06-16 11:17, Jonas Karlman wrote:
> On 2024-06-15 21:55, Detlev Casanova wrote:
>> On Saturday, June 15, 2024 4:25:27 A.M. EDT Jonas Karlman wrote:
>>> On 2024-06-15 03:56, Detlev Casanova wrote:
>>>> Add the rkvdec2 Video Decoder to the RK3588s devicetree.
>>>>
>>>> Signed-off-by: Detlev Casanova <detlev.casanova@...labora.com>
>>>> ---
>>>>
>>>> .../boot/dts/rockchip/rk3588-rock-5b.dts | 4 ++++
>>>> .../boot/dts/rockchip/rk3588s-orangepi-5.dts | 4 ++++
>>>> arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 19
>>>> +++++++++++++++++++
>>>> 3 files changed, 27 insertions(+)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
>>>> b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index
>>>> c551b676860c..965322c24a65 100644
>>>> --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
>>>> +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
>>>> @@ -503,6 +503,10 @@ &pwm1 {
>>>>
>>>> status = "okay";
>>>>
>>>> };
>>>>
>>>> +&rkvdec0 {
>>>> + status = "okay";
>>>> +};
>>>
>>> Enable of rkvdec0 should probably be split out from the patch that
>>> adds
>>> the rkvdec0 node to soc dtsi.
>>
>> Ack
>>
>>> Also why is rkvdec0 only enabled on rock-5b and orangepi-5?
>>
>> I only could test on those two but I can enable it on all rk3588
>> devices.
>
> Because the decoder is an integrated part of the SoC the default should
> probably be that the IP is enabled, i.e. no status prop required for
> the
> vdec and related mmu nodes in rk3588s.dtsi.
Agreed, the decoder is a SoC feature. As such, it should be enabled on
the SoC level, instead of having it enabled on the board level.
Powered by blists - more mailing lists