From patchwork Sat Nov 11 10:44:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3008 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 239673F057 for ; Sat, 11 Nov 2023 11:44:47 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-543f45ab457sf2213769a12.1 for ; Sat, 11 Nov 2023 02:44:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699699487; cv=pass; d=google.com; s=arc-20160816; b=ZbP6FaQMSLvfJgo5nF7ommO44WZgdbMvecnz1OdhmlHkTW9BluFBtPUla/pw+rOsSE 9DS7QreJ72/VApWB8gIw52eEzh3U2MPj9B0Q0YidQq1Q6K41Rihaw/tMFxJohwSp54Uu cxcFlLgUfAvCyWaCO4v74JZL3JdpebWNzrjRFI0cQfccIWocxE9l0A+ndHnNjZCiXz// m8dLvVYZhp0Ibj+1mCDnekNMon54mu5hbNz8GZ044uiK7Ayb+eo0Ls/WO4HeFmG4w6Md kpVok1CLIMmeWJJDsG6a5GaBZsAK/LpOL7ZWrbmdiLUFbxUuA1gFfdh/hgvsHLA32uFZ 3CqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=5Lu4tIpvJiuV/TkyDmOXjoF6PJg2i69Al/0GgExu7Yc=; fh=G1L7/xxzt+w38Iw9zi+0vBZwn8EvOdRlLFVpqkUuFRY=; b=IN0jt66P4kNTkwMvS5NQQtjNRbo1AcvLlY6CxNsXc38TsyRIWDgqNCA0W7asyB+BKs 5VBEjUeiIvITEVHYs/9Er0FBAVWhC5Pmy4O8WIC7p7fBy5tB6DiPxK0etSsCzt6opi/6 6udDLPxqdYyLIDot6t4PTS+W7ZdAk9IEVEZz6Ool2E+BMok62+AzN8dDdgQ6SQolk0l9 IGv+GjnYsU5FgEh2e73KjHM0XSZqjjM97rX7YFOJ6+AvTyBdb1EMC8lTFf/rJ/oEMr3d BhB12Mj/8hIuVt14aOUkeVBXMlmHL4TAQN6j9GfR0fVZBXQLXjssKxirSjFz5BXaKOE1 ogFw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UmHd7+S6; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1699699487; x=1700304287; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=5Lu4tIpvJiuV/TkyDmOXjoF6PJg2i69Al/0GgExu7Yc=; b=TdxHGVtbYBem+82ZQIGPvgHcLkptK3p9TI0ok0kq+QyO5b6hsd21S172dgzF/CWN7I Lp9v1SRp4EMjsUU+yc3Xk3hfp791eVaL0gyadXA7Ms6foF+3k8fJzCiOIxEriEt6kWXk GWB125nnt0FoZpgaXaQr6zXrzSPJVfC8TDPg0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699699487; x=1700304287; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5Lu4tIpvJiuV/TkyDmOXjoF6PJg2i69Al/0GgExu7Yc=; b=tp1V24cK/08+oQ0Qj7upPIIfBW/6Uu6aN4PwEGPFcvED9fnJJgDmuqDUpsirOM9Ai6 5MGRyAmwfnDlHfy0G+XODSpHpnPeRuUJKk07WzpeFX+EzxiNJ4/CUjV3PmWiUg8hWjym snOGGtvoytL+kw4axNrPWu969WzZTBa8ny6ruvP1j/qdtxdjY51S5zCvKgbD/gnFdQ+g 51FHhmCqovOu09BkUc8rhRkpjZ6DCBYneciPuQ2/QNMvjVrW7KlJUpbHuFikLxI1/K00 fPIe2flm55KOFP/EwYEAt842/1QIulKIj0gTSkEjlRsN8JfCHXKETJeUs9ntiKKv/sAW Ho+A== X-Gm-Message-State: AOJu0YwWnIa8DyfXYaoxKpWBi3/atd/x9mC2GghW+HS2IAejsSGVUgCJ /skghBK6JqzbFnqh/Wb9ddGkqkEY X-Google-Smtp-Source: AGHT+IFvyBgjyd4MEYLf6IfpDrErKGP1DNdkF6rLs6m2+ULBAUcCPlL7nX7YYzvQPRFEAsuzfR6uXg== X-Received: by 2002:aa7:d943:0:b0:540:3a46:cdcd with SMTP id l3-20020aa7d943000000b005403a46cdcdmr1177345eds.29.1699699486796; Sat, 11 Nov 2023 02:44:46 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:c757:0:b0:53d:b3c3:2123 with SMTP id c23-20020aa7c757000000b0053db3c32123ls45388eds.1.-pod-prod-07-eu; Sat, 11 Nov 2023 02:44:45 -0800 (PST) X-Received: by 2002:aa7:c7cf:0:b0:53e:1375:33ce with SMTP id o15-20020aa7c7cf000000b0053e137533cemr1042032eds.30.1699699485155; Sat, 11 Nov 2023 02:44:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699699485; cv=none; d=google.com; s=arc-20160816; b=YTKwDsShaT6pl129HsDgCE9q3SpcRvkYrvcEa7e+8lDjzXRkvAxf6+xsN4dIY76ucr YvhGSUkiOFprmLVXCY+yIxx5Y7WcYqAucuVoqT/jMvOtFJGk/GRdMzMYk1uKH2FxCXlv g1PROBbPBsLF840gVutlAopbWerwC5Wbx0/bU3/ra8INu3vJCcwYwJxuJvhuNO/eKHcQ wKGEg8zv/lbEnC1BrirL+Z5vJXONbEQyd0I7BqJ6qBXZHtAyygPfaIHsGrK2a2fBSAnd Kx3sjskIJTdliIPi27WNeJGR1EBmwmygGXnoWU42zxq+7wGV6v9OP7hPZzhMKRZIvXhY e5hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=e+1GC+qj9BVs+Mg44mGic1I3vxKheAhj9j2BSr5gqbM=; fh=G1L7/xxzt+w38Iw9zi+0vBZwn8EvOdRlLFVpqkUuFRY=; b=TCrPuZC7GlbGxXFxnmGNHze9zY8fB986d/cXVC490ycIj1Bqb+iyKDlkMA0e54DRrx Ir1XyKl3v6UCzJY8ohbqAbXbl+TRK7tBCpcC14X7Ky72s+Q6TpHVTm7h0OoTRx8kzO/x 1cbemGByVxGVNKZubFMHb/doJUYLPayhuP75bv92LfcK3PJAEp+6uwy25iQAQsJKamwL ok2snKE0Z1swi51v3T4XOOpKqjER6C2h8tTqbfP/oEx08rnMAlTf6oT7YlZfHZAjtBSc X39Ui4vDRhoKM1M2KXQ7iqsXLsG53r2wz1AO75URgdQ4W/aAFkQZpHSFac9HCzZtxLMY 57fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UmHd7+S6; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id m29-20020a50931d000000b0054049560fe4sor218140eda.1.2023.11.11.02.44.45 for (Google Transport Security); Sat, 11 Nov 2023 02:44:45 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a50:fc09:0:b0:544:98ad:8e99 with SMTP id i9-20020a50fc09000000b0054498ad8e99mr1044060edr.40.1699699484795; Sat, 11 Nov 2023 02:44:44 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-20-97-182.retail.telecomitalia.it. [79.20.97.182]) by smtp.gmail.com with ESMTPSA id s1-20020a50d481000000b0053e5f67d637sm834078edi.9.2023.11.11.02.44.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 02:44:44 -0800 (PST) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Patrice Chotard , Patrick Delaunay , Simon Glass , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH] ARM: dts: stm32f769-disco: rework ltdc node Date: Sat, 11 Nov 2023 11:44:36 +0100 Message-ID: <20231111104440.137117-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UmHd7+S6; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , With commit f479f5dbb7ac ("ARM: dts: stm32: add ltdc support on stm32f746 MCU"), which adds the 'ltdc' node in stm32f746.dtsi, we can simplify stm32f769-disco-uboot.dtsi and align stm32f769-disco.dtsi with the kernel version. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 23 +++++++++-------------- arch/arm/dts/stm32f769-disco.dts | 4 ++++ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/arch/arm/dts/stm32f769-disco-u-boot.dtsi b/arch/arm/dts/stm32f769-disco-u-boot.dtsi index 2c823cce98b4..add55c96e21f 100644 --- a/arch/arm/dts/stm32f769-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f769-disco-u-boot.dtsi @@ -70,22 +70,17 @@ }; }; }; + }; +}; - ltdc: display-controller@40016800 { - compatible = "st,stm32-ltdc"; - reg = <0x40016800 0x200>; - resets = <&rcc STM32F7_APB2_RESET(LTDC)>; - clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>; - - status = "okay"; - bootph-all; +<dc { + clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>; + bootph-all; - ports { - port@0 { - dp_out: endpoint { - remote-endpoint = <&dsi_in>; - }; - }; + ports { + port@0 { + dp_out: endpoint { + remote-endpoint = <&dsi_in>; }; }; }; diff --git a/arch/arm/dts/stm32f769-disco.dts b/arch/arm/dts/stm32f769-disco.dts index 6f93fc7bcfcd..d63cd2ba7eb4 100644 --- a/arch/arm/dts/stm32f769-disco.dts +++ b/arch/arm/dts/stm32f769-disco.dts @@ -86,6 +86,10 @@ status = "okay"; }; +<dc { + status = "okay"; +}; + &rtc { status = "okay"; };