On Tue, Aug 01, 2023 at 06:10:26PM +0800, Keith Zhao wrote:
> Add the dc controller and hdmi node for the Starfive JH7110 SoC.
> 
> Signed-off-by: Keith Zhao <keith.z...@starfivetech.com>
> ---
>  .../jh7110-starfive-visionfive-2.dtsi         | 87 +++++++++++++++++++
>  arch/riscv/boot/dts/starfive/jh7110.dtsi      | 43 +++++++++
>  2 files changed, 130 insertions(+)
> 
> diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi 
> b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
> index de0f40a8b..32e5cc96c 100644
> --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
> +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
> @@ -31,6 +31,21 @@ memory@40000000 {
>               reg = <0x0 0x40000000 0x1 0x0>;
>       };
>  
> +     reserved-memory {
> +             #address-cells = <2>;
> +             #size-cells = <2>;
> +             ranges;
> +
> +             linux,cma {
> +                     compatible = "shared-dma-pool";
> +                     reusable;
> +                     size = <0x0 0x20000000>;
> +                     alignment = <0x0 0x1000>;
> +                     alloc-ranges = <0x0 0x80000000 0x0 0x20000000>;
> +                     linux,cma-default;
> +             };
> +     };
> +

You should explain why you need this, either in a comment or in the
commit log.
>

Attachment: signature.asc
Description: PGP signature

Reply via email to