From nobody Wed Dec 24 18:01:57 2025 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B42C21AAB1 for ; Wed, 24 Jan 2024 11:33:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096026; cv=none; b=pQYDse0fEC1r1olDauJXv8HYcAipIv54ddxdDAwoYCJ8Q97UBUHV1ViIAfo7SR5Ip0tPDLrUtejrP0yagjTpNqnkVhTz3zaP7R9RSFL2k1z+06bTRgeSbVKLjOkRkZ88U46gslRE9w4TFX6fkqwqqCwQUK8xR/gtfN0Xg2cg2IE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096026; c=relaxed/simple; bh=mKwz34BORUmdPjSPJxH7WkuOGdXYEYf5RmYQkE+fz3U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Pns37pvf/JP6ggRZMzIMoZtqjRnoY5DTWteyA1Ln2e+CeOuEnX0I5txVxr9mjUunHW6Oci+w7rjwB7cyEZdsrAHq9UKxFyvlHjZb+8aSjajZBI+XQ0G6WwcFkaKikNTZWcZKAXvjlfdET/QSw/aXibxQ3ppFnHHJOP670Ktx/k4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=mX5yaz8I; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="mX5yaz8I" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-40e80046264so67207985e9.0 for ; Wed, 24 Jan 2024 03:33:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706096023; x=1706700823; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=a87Eb/9UHW4xhpeCgDcrODCTwbLMJ8A3Dzblk+B1akM=; b=mX5yaz8I5UCYa/98Z7sOYCmXg/GxuXTKwIrMVDOgFGQIpdz4ne8b4dE4LUUisEZDav Bxzg/Lj8PtkXdwodRn2eVJ6p6yFX/MtaixsTZ1lDsmrUDf010Uu5O9LI+B+D6MI8ALLq i28YDTcC6XkB7Zjl3O4qS2BK7cS25+OPYUWNY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706096023; x=1706700823; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a87Eb/9UHW4xhpeCgDcrODCTwbLMJ8A3Dzblk+B1akM=; b=B1ADq5pfcUIsKE7f0MjSYJvFR/G85VzfX5YGkqtH9uGEXDJ9NN6dJH5gHMEbuvPEyG h3pTIrtj4pwOGxucHZ3s09xS2RR5Y4NhC/DM0jOxqF/L3FlGUMeM5rfXK/Y6Sg4E2Irn q3YDMNkTM5Z3+R88NbfYZvARIIFL8IVqByhFECG/3mM5cHMV0ZP/E5KRfWbyz1vC4Z+M wt3qsxjcaIlyFBwq3a29ubUQIQ5ahhkw0KF4ViZsqhpiRGMko/cLcGq5QCGEs2VTGEue FKJs15RP8EpNZPMkGxjzLzZ3WO/XnfU2uJQ385uK4Lq+Ij5VMYbHx2AfZ9JWRbUFfnlc RDEA== X-Gm-Message-State: AOJu0YwPW0AsbakaNhFJ8ef9uUgLJQCWqDGYrVr1qWOyuumuPCyXGkx/ 6DxgRDESTX5Oh8arLLjitS5ZHvA4PVFG9gMIguvt/cxIFewWzEswwJyeJDHAHNP6nKZfEmQcxN2 L X-Google-Smtp-Source: AGHT+IHhC7Xk71DCFuIqvgcVaL/Kb8lFavZF3/EWWYo8FxE3kkEBMz4MmfbX/pgqHTKlP0HESOFPUA== X-Received: by 2002:a05:600c:300c:b0:40e:66cf:4d96 with SMTP id j12-20020a05600c300c00b0040e66cf4d96mr1225243wmh.130.1706096022667; Wed, 24 Jan 2024 03:33:42 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (mob-5-90-60-192.net.vodafone.it. [5.90.60.192]) by smtp.gmail.com with ESMTPSA id i18-20020adffdd2000000b003393249d5dbsm8447950wrs.4.2024.01.24.03.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 03:33:42 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Raphael Gallais-Pou , Alexandre Torgue , Dario Binacchi , Conor Dooley , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v9 1/5] dt-bindings: mfd: stm32f7: Add binding definition for DSI Date: Wed, 24 Jan 2024 12:33:10 +0100 Message-ID: <20240124113336.658198-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> References: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add binding definition for MIPI DSI Host controller. Signed-off-by: Dario Binacchi Acked-by: Conor Dooley Acked-by: Lee Jones Reviewed-by: Raphael Gallais-Pou --- (no changes since v8) Changes in v8: - Add Acked-by tag of Lee Jones - Add Reviewed-by tag of Raphael Gallais-Pou Changes in v2: - Add Acked-by tag of Conor Dooley include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/mfd/stm32f7-rcc.h b/include/dt-bindings/mf= d/stm32f7-rcc.h index 8d73a9c51e2b..a4e4f9271395 100644 --- a/include/dt-bindings/mfd/stm32f7-rcc.h +++ b/include/dt-bindings/mfd/stm32f7-rcc.h @@ -108,6 +108,7 @@ #define STM32F7_RCC_APB2_SAI1 22 #define STM32F7_RCC_APB2_SAI2 23 #define STM32F7_RCC_APB2_LTDC 26 +#define STM32F7_RCC_APB2_DSI 27 =20 #define STM32F7_APB2_RESET(bit) (STM32F7_RCC_APB2_##bit + (0x24 * 8)) #define STM32F7_APB2_CLOCK(bit) (STM32F7_RCC_APB2_##bit + 0xA0) --=20 2.43.0 From nobody Wed Dec 24 18:01:57 2025 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 745901B5A0 for ; Wed, 24 Jan 2024 11:33:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096028; cv=none; b=tjn73Z5wOhenVzCt3TJazKq08IfXmZNwE326OrwJA6mFt9YVZ+2lrjlEEvJgq43KxbyQFM/y+ThMCao6r0/Pn7efV8MvVH9HkURNuMnMHwvT6lxUL7kCZpA6He2w+qIOxeoamuo8VSpsTaUy6g+z5ArebIrZwV4DAKRwWSJTgfI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096028; c=relaxed/simple; bh=TrMz+FVqnEFt15pmSJ7C1EniAx32J0Ey1WSwWETsL6Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WHnv1+jZdJSfhAVbvjNxmgxcfTXAQCTGHsdMAjlU/DhD7hujRq4QYdTWXIJgRUjRiQbdpnBufvVSxw1ZBH1u/lhKCUAT2o/CP5HlYIu5YP16w3JKLuOf71bYp6bPTJu+W2kBxnjxVEewf3JAg5G1M+jD6eBuHN/Mwp9bLRgJvmA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=WqeNXJxj; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="WqeNXJxj" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-40eb2f392f0so21444115e9.1 for ; Wed, 24 Jan 2024 03:33:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706096024; x=1706700824; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WphLFokV77snya9flF2ShSJ6MCXN7QDFds6UuGxFul8=; b=WqeNXJxja0z5oh/jUs2Hjp9qL4BVnyX9PSgwBZ2Ra5iL0Kw7jzYpK2QmwRokwFOSKZ EuB3PgEGnNe8yDg4KMdm3X0eI5xOCEl4fsxWD1JcA2K+ip0YXcguV3r3xMGOH8EnudaQ ODRpzcz1vC1jggnOAkQ/dfU6v685Nxi/MDjvg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706096024; x=1706700824; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WphLFokV77snya9flF2ShSJ6MCXN7QDFds6UuGxFul8=; b=grFoDvBSZcNzk6pDxuEwNTr3G9f5CwEa01wHpIDMF93CweS1CO1g89VdtKkQFabQW+ yMOrQRIqIZ0jfd8AgwMCTnljEm4PA/offYbFC5Q33PHfuZD83UUi/Z8fSDsv6w7a4TTs a8S7ZC5Ni2LFFY7lJD5YUCuL17BCnA0pp2VLirrotE2O7Uo9WDcxuh12oxZrX+GziA0m +TJNj0H7ampT+YWJi/ZUsPoYGUxTD9I4Bx8N0Do6VqXlW4ozhbe1onZeUvIEWdhEILsc U3iqYJ3gjUw/4+hA5FJGxXNYTB6iTfgbS1+2RHxg8MPqGUxNuXwNG36rPkrPCfaYvEEI CPKQ== X-Gm-Message-State: AOJu0YzQEDTpgeWSgWACZRFWSJqi+kLgZO0EXl/dC7KzqeGmA/v57OO6 0Erhd2KSyXajUE3o5/iJrKZIXookJDfJbaXcud3pYL/z6PZlJ2BQJ0+VdJCqk3j1M+Nw28R3vWk V X-Google-Smtp-Source: AGHT+IGOUkv5923WUqPQ5SE+T1OnkUB/eAKV+nDxqcTwfy3veeTmgeesBlzUJorJkQ+SmHn5MBZNWw== X-Received: by 2002:a05:600c:993:b0:40e:4b49:51ab with SMTP id w19-20020a05600c099300b0040e4b4951abmr1002281wmp.158.1706096024345; Wed, 24 Jan 2024 03:33:44 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (mob-5-90-60-192.net.vodafone.it. [5.90.60.192]) by smtp.gmail.com with ESMTPSA id i18-20020adffdd2000000b003393249d5dbsm8447950wrs.4.2024.01.24.03.33.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 03:33:44 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Raphael Gallais-Pou , Alexandre Torgue , Dario Binacchi , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v9 2/5] ARM: dts: stm32: add DSI support on stm32f769 Date: Wed, 24 Jan 2024 12:33:11 +0100 Message-ID: <20240124113336.658198-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> References: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add support for MIPI DSI Host controller. Since MIPI DSI is not available on stm32f746, the patch adds the "stm32f769.dtsi" file containing the dsi node inside. Signed-off-by: Dario Binacchi --- Changes in v9: - Drop 'interrupts' property to fix yaml checks arch/arm/boot/dts/st/stm32f769.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 arch/arm/boot/dts/st/stm32f769.dtsi diff --git a/arch/arm/boot/dts/st/stm32f769.dtsi b/arch/arm/boot/dts/st/stm= 32f769.dtsi new file mode 100644 index 000000000000..4e7d9032149c --- /dev/null +++ b/arch/arm/boot/dts/st/stm32f769.dtsi @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023 Dario Binacchi + */ + +#include "stm32f746.dtsi" + +/ { + soc { + dsi: dsi@40016c00 { + compatible =3D "st,stm32-dsi"; + reg =3D <0x40016c00 0x800>; + clocks =3D <&rcc 1 CLK_F769_DSI>, <&clk_hse>; + clock-names =3D "pclk", "ref"; + resets =3D <&rcc STM32F7_APB2_RESET(DSI)>; + reset-names =3D "apb"; + status =3D "disabled"; + }; + }; +}; --=20 2.43.0 From nobody Wed Dec 24 18:01:57 2025 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D858420DF6 for ; Wed, 24 Jan 2024 11:33:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096029; cv=none; b=NXqiYnTDNif+HdUtnhEWpeOn5nufv/+lElwD5SExnoJiG/5ZFQiiw/rq6Bf9T8+mBQ+huxxPVwhoh62Wc4sbTDGQLrOlSODA5ohWsQ2tc0OVC1wh4Jma+EA7Q8LEtFMJxTpPFbGIWOPNfg/SyZ71xr+XmcllvP3mWeCiUsb7LGc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096029; c=relaxed/simple; bh=CyTXYUtTKxxBmAel2fReqcCiLMsMdlaJ1P/5hvL+5P8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CLvOxxKjeEyZ0z2gA/pLXAW+7MSsqtHt+sIdF5INasCme917Al5k7ovb3pfy816npw39mb1jJRej/i+nRxICIQyIsHniVoG3Mq/SZ7CsxCDktHRxW7GSPGVY08jG/q1rr16pb6UUf0W9gQzCYSFhyWlc9v7ofacobRTKODTl+2s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=BSLl9L/z; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="BSLl9L/z" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-40e5afc18f5so58029725e9.3 for ; Wed, 24 Jan 2024 03:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706096026; x=1706700826; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OkfxdmU0fSILmYYOdSztVqfWXPtR0jIGfNt18pCRO9s=; b=BSLl9L/znBPxSkCEoceKSjCe6ddSiafUKv4dYoF0Ax5YrjjDsQJw4unGsB4rjfAlGs E+ONdhLCSge3YZ55lmd2kR0ArsyKU2Zn+d9uj2+cUa94BAkM7KzkIWQoN6sK/hGfZVJu vv9BYTkPfFUcrN7xRVE1l/k2nDjz+4N64AvJA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706096026; x=1706700826; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OkfxdmU0fSILmYYOdSztVqfWXPtR0jIGfNt18pCRO9s=; b=rMWDNijpmxITnLouADjBpCdM5+OEWO3MVF+5GJPme6fp3WWJYRP7kRsVDtz08lf94J qc0UU+4Si82iG4zii9lxBFJhHCVxfjRA4kIViQ48KOvWf67L7FVH1Z+NuEmKPZnrCGET 2rEuIZlTS5HpIFulzUChp4KoR+SZtQitEiQ3uAPl0RiUqfvzTkjbQS9HCdvs7FiD9nkq ngFWkIS0K9iZmHXZKse45ne7sajglIRJGWHUuwCs42AQ215cYdL/xfT455qBN7gYCn4k T+GKzKnzDC03LrAzZtiTQ1QesfG+oXIUAvEB2ZO0zYoO+P2f+RbvunNHoo1yPynt6DUs hi2w== X-Gm-Message-State: AOJu0YztwEL9kbthZh3W7arwoeUHrcx/kZjCG6jI3K0PxhNaA73d45+x GbQRxivsHnZn0Fa85Zsio6+MJKz/Xd16/69b6N9ddEL52h6pseqnUwSxQJLjya1EqmwX/Mhpcyn U X-Google-Smtp-Source: AGHT+IGr/ZW6/8dj9YoCm1u2xarpFK1RUZV23e2EH6+HlGuITJNl1wXSobD3EeAEcvmo6EUmNmsCSQ== X-Received: by 2002:a7b:c4c7:0:b0:40e:47df:3d18 with SMTP id g7-20020a7bc4c7000000b0040e47df3d18mr930101wmk.79.1706096026021; Wed, 24 Jan 2024 03:33:46 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (mob-5-90-60-192.net.vodafone.it. [5.90.60.192]) by smtp.gmail.com with ESMTPSA id i18-20020adffdd2000000b003393249d5dbsm8447950wrs.4.2024.01.24.03.33.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 03:33:45 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Raphael Gallais-Pou , Alexandre Torgue , Dario Binacchi , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v9 3/5] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco Date: Wed, 24 Jan 2024 12:33:12 +0100 Message-ID: <20240124113336.658198-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> References: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" In the schematics of document UM2033, the power supply for the micro SD card is the same 3v3 voltage that is used to power other devices on the board. By generalizing the name of the voltage regulator, it can be referenced by other nodes in the device tree without creating misunderstandings. This patch is preparatory for future developments. Signed-off-by: Dario Binacchi Reviewed-by: Raphael Gallais-Pou --- Changes in v9: - Rename vcc_3v3 to to vcc-3v3 Changes in v8: - Add Reviewed-by tag of Raphael Gallais-Pou arch/arm/boot/dts/st/stm32f769-disco.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/s= t/stm32f769-disco.dts index 5d12ae25b327..660f85984164 100644 --- a/arch/arm/boot/dts/st/stm32f769-disco.dts +++ b/arch/arm/boot/dts/st/stm32f769-disco.dts @@ -92,9 +92,9 @@ usbotg_hs_phy: usb-phy { clock-names =3D "main_clk"; }; =20 - mmc_vcard: mmc_vcard { + vcc_3v3: vcc-3v3 { compatible =3D "regulator-fixed"; - regulator-name =3D "mmc_vcard"; + regulator-name =3D "vcc_3v3"; regulator-min-microvolt =3D <3300000>; regulator-max-microvolt =3D <3300000>; }; @@ -128,7 +128,7 @@ &rtc { =20 &sdio2 { status =3D "okay"; - vmmc-supply =3D <&mmc_vcard>; + vmmc-supply =3D <&vcc_3v3>; cd-gpios =3D <&gpioi 15 GPIO_ACTIVE_LOW>; broken-cd; pinctrl-names =3D "default", "opendrain", "sleep"; --=20 2.43.0 From nobody Wed Dec 24 18:01:57 2025 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD21020B27 for ; Wed, 24 Jan 2024 11:33:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096031; cv=none; b=gYTcAC5xBNbPI8myrEmfzt/+LcsV9ihlXILaA4aMyZa7IoVhZjLP33yuN9qhtB/REBGuxuVuELfR6BtYmp+ov30QRDKympr5TeUhBTYqGEjobTecyhELFIgNbuLU7yf1EpMkCrkTBLPiz2oEKwahaCyFC3GvbYrLlppQ1dEAf1M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096031; c=relaxed/simple; bh=ehzpk2SH4lnyatP6zppqCWCZjaU1XqDFcQhxQUG8cxU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=C7dt3uOogw45D6niHyKIzlEvkcK52lARzRtIWwKJ9VPqgkx5wYct9VmBz61suuxadNxnhzEQnSgYZjEHMa97fWfjw+78PAsNwZBGdmySz1zyi5eWKzr2F68ap6Ecsbq4fU0zMO1bdATXKtd2PaAi4NekJ/5RZY9MTwgz7V4zIF8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=YjYtRE30; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="YjYtRE30" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3394b892691so476595f8f.1 for ; Wed, 24 Jan 2024 03:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706096027; x=1706700827; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n4WZCMaxTTTK5Kb267g6Dn7+KP5+NrOJpg31LGj1mtM=; b=YjYtRE30R8EIrBoHNw+yX1foXrMfGlha5WnJ6gYR9W1fs6HqhWg3+BOEzrBn6n0Svg JLjW7crQZ569HaiWB/g7tT8+VjJJDCPUewxhyRCWhgxVS1cAn0IX/OhnEcSU/0c8NMrr XXeFT5JErTuYMULgPvvKmaoigan9+kqskkHvA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706096027; x=1706700827; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n4WZCMaxTTTK5Kb267g6Dn7+KP5+NrOJpg31LGj1mtM=; b=vLFDslf3k3oinsxl267+9mnQENIrhZ4YwgLMd3jSwJQMdOJGH8B52dfJUqENs04Ybk cMWbFrYlfmPSGsqFQb+mD5hiJ0DJerF7/8XbSfJRUQIGK5w2gtyPfwgJ7MIQF23LI/xl QRBYTznlE+els0Dnwh+ASNXfqeqTCQ773ZnSw+rSyoeFqj6Rqe1J9UW0BWzk0jxXmXTB AE6lLtc4zbWHapaCsR0Z5df5i/rWgfb9jB/Yy8PHa9i5HgQci6nAk7J1S3oXA3uhZz0d mezFNwLfv/xhslSugxyC66EkS39/q4KGuZe9pra1DYZ3pY52aUKPW/u3nBBY1w2N0lg+ zljw== X-Gm-Message-State: AOJu0YwFvSkX0p+cqZtHEeYL0cDxb7Xz9OpAc5HzBngN2Ia6iAGV4Stp 9wh2Mod5ZHH/BWxRITZjkPwMCFnAN7F6MtZWgf4OE+VksAd/AAt4YilLJ2s17sNr9NuPmwWsL5W 9 X-Google-Smtp-Source: AGHT+IHURO/tYhzfPC+IgWh67nNUSW55NggO77fT58jLSJX4dJeQmpyxblqNyMGzgHtbUJl5bEXA3A== X-Received: by 2002:a5d:4c52:0:b0:339:534e:975f with SMTP id n18-20020a5d4c52000000b00339534e975fmr311120wrt.25.1706096027752; Wed, 24 Jan 2024 03:33:47 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (mob-5-90-60-192.net.vodafone.it. [5.90.60.192]) by smtp.gmail.com with ESMTPSA id i18-20020adffdd2000000b003393249d5dbsm8447950wrs.4.2024.01.24.03.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 03:33:47 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Raphael Gallais-Pou , Alexandre Torgue , Dario Binacchi , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v9 4/5] ARM: dts: stm32: add display support on stm32f769-disco Date: Wed, 24 Jan 2024 12:33:13 +0100 Message-ID: <20240124113336.658198-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> References: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The patch adds display support on the stm32f769-disco board. Signed-off-by: Dario Binacchi --- Changes in v9: - Rename panel-dsi@0 to panel@0 to fix yaml warnings Changes in v8: - Remove unit name from 'ltdc/port/endpoint@0' to fix the compiling warning: ../arch/arm/boot/dts/st/stm32f769-disco.dts:189.28-191.5: Warning (unit_address_vs_reg): /soc/display-controller@40016800/port/endpoint@0: = node has a unit name, but no reg or ranges property arch/arm/boot/dts/st/stm32f769-disco.dts | 72 +++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/s= t/stm32f769-disco.dts index 660f85984164..43479b0804c2 100644 --- a/arch/arm/boot/dts/st/stm32f769-disco.dts +++ b/arch/arm/boot/dts/st/stm32f769-disco.dts @@ -41,7 +41,7 @@ */ =20 /dts-v1/; -#include "stm32f746.dtsi" +#include "stm32f769.dtsi" #include "stm32f769-pinctrl.dtsi" #include #include @@ -60,6 +60,19 @@ memory@c0000000 { reg =3D <0xC0000000 0x1000000>; }; =20 + reserved-memory { + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges; + + linux,dma { + compatible =3D "shared-dma-pool"; + linux,dma-default; + no-map; + size =3D <0x100000>; + }; + }; + aliases { serial0 =3D &usart1; }; @@ -85,6 +98,13 @@ button-0 { }; }; =20 + panel_backlight: panel-backlight { + compatible =3D "gpio-backlight"; + gpios =3D <&gpioi 14 GPIO_ACTIVE_HIGH>; + default-on; + status =3D "okay"; + }; + usbotg_hs_phy: usb-phy { #phy-cells =3D <0>; compatible =3D "usb-nop-xceiv"; @@ -114,6 +134,46 @@ &clk_hse { clock-frequency =3D <25000000>; }; =20 +&dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + status =3D "okay"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + dsi_in: endpoint { + remote-endpoint =3D <<dc_out_dsi>; + }; + }; + + port@1 { + reg =3D <1>; + dsi_out: endpoint { + remote-endpoint =3D <&dsi_panel_in>; + }; + }; + }; + + panel0: panel@0 { + compatible =3D "orisetech,otm8009a"; + reg =3D <0>; /* dsi virtual channel (0..3) */ + reset-gpios =3D <&gpioj 15 GPIO_ACTIVE_LOW>; + power-supply =3D <&vcc_3v3>; + backlight =3D <&panel_backlight>; + status =3D "okay"; + + port { + dsi_panel_in: endpoint { + remote-endpoint =3D <&dsi_out>; + }; + }; + }; +}; + &i2c1 { pinctrl-0 =3D <&i2c1_pins_b>; pinctrl-names =3D "default"; @@ -122,6 +182,16 @@ &i2c1 { status =3D "okay"; }; =20 +<dc { + status =3D "okay"; + + port { + ltdc_out_dsi: endpoint { + remote-endpoint =3D <&dsi_in>; + }; + }; +}; + &rtc { status =3D "okay"; }; --=20 2.43.0 From nobody Wed Dec 24 18:01:57 2025 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1BE83B19D for ; Wed, 24 Jan 2024 11:33:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096033; cv=none; b=sitSTo2LcNhyQwASBPGrogM8j6ZKIj0sGiYf4EBLnnrc6OY5hIcYq9VBxVWC2fNC6EJJajqJ2cl2bR1NRh0RX3X1keBhu9V/N34b4KBgLm2JY6KykZM9OmS/PGm7T5QuhGDIuOcj3OVIdYKIVr6JGfjkxE1cVxRf/m5Qd4pHT3M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096033; c=relaxed/simple; bh=dsaLXM6d6VoM5fds1fg66U6p8ESQSb1n2t/G/QC0das=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GvOiKT4Dl/w5Vdjt6x4aA4cLT87JvQYpLd2b5qXpgbhpnXq1TZSK3jVoonnu6S1HTWw0R9T9+tjp9OhcUl3yG4LWcjD+NMYILrZlTHLNxbsNUztkuIfaY8kRHzSLogngUbqtE148H4N8ntoXPKTWKjVDrreck7jdv/yEv1cFqDw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=Z9r59h8G; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Z9r59h8G" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-40e913e3f03so66996895e9.3 for ; Wed, 24 Jan 2024 03:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706096030; x=1706700830; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IOQZaSpXnX8V6pHXUpEolZJOMPm1LbqrSXgyPId9gEI=; b=Z9r59h8Ga+z9CDZbjQBV7X95CDbpZ7dMcIwH+BsRYMI8jCkIZWHFvQMAZ5QgdUbWYJ 1bc45sRoQsi+c+dAwSv91ue7TOZMPEgnIo54FVoi3GYb7J33slSF+ZEtzatrVG05ay3R Rnne3b8bkspZGItsHuz1+pAdm9xBVwdQmjMbU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706096030; x=1706700830; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IOQZaSpXnX8V6pHXUpEolZJOMPm1LbqrSXgyPId9gEI=; b=LvRmwi+SVNd/FFQNKBbWqooAmeb2ChoQwMR1r3W54oP0O/hO1S4POVAqbpscbL2uS0 52lJYIvXdq36Tdw1LSF7ue1w2GC7DVLpXHI9Rlqi2uc2XJvK8P9u672l2t9reA1zFy3X 0P2UcpuzUSEOR+ywGAfQqQxCGzxzf4t8DFClc8Xvrdr1R9xvemV6pJeY3Dk+9kgVuZpl 10qFfKrv+n6ZP+ltkUDqBdL9A/Jm5ePZ2ESIRTfyA6dfF+UC6WOT0Lu+Ha5kAg6b4k5q MFhmhTxJkqH+OW2NI8CiSjfgu2CmfxPofqr8VWA2GAuwR2S2EM/E2/1C2lEU2C9cPTFR sfLw== X-Gm-Message-State: AOJu0YwBWx22BFvixQxSk3uLzjjXLK/XyyYiQzJDOmeXqUt8aZYo6e6w cUGCRUbcW8rw1Dy9Uq8PwjbXWl3xUpKphmonELDODmh0tDdAtHz/7psO+YY8QRNmp6GMk0k9KrJ + X-Google-Smtp-Source: AGHT+IEc2/t24TiypZzLOtZozXe9B31TgvFV2ZIB41NCVDDfBJgbU2Gbg0Bp9YpYhOwZIUcySoBkeQ== X-Received: by 2002:a05:600c:22cf:b0:40d:6c97:edde with SMTP id 15-20020a05600c22cf00b0040d6c97eddemr1061615wmg.156.1706096029843; Wed, 24 Jan 2024 03:33:49 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (mob-5-90-60-192.net.vodafone.it. [5.90.60.192]) by smtp.gmail.com with ESMTPSA id i18-20020adffdd2000000b003393249d5dbsm8447950wrs.4.2024.01.24.03.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 03:33:49 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Raphael Gallais-Pou , Alexandre Torgue , Dario Binacchi , Linus Walleij , Andre Przywara , Conor Dooley , Geert Uytterhoeven , Jesper Nilsson , Krzysztof Kozlowski , =?UTF-8?q?Leonard=20G=C3=B6hrs?= , Maxime Coquelin , Rob Herring , Sean Nyekjaer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v9 5/5] ARM: dts: add stm32f769-disco-mb1166-reva09 Date: Wed, 24 Jan 2024 12:33:14 +0100 Message-ID: <20240124113336.658198-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> References: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" As reported in the section 8.3 (i. e. Board revision history) of document UM2033 (i. e. Discovery kit with STM32F769NI MCU) these are the changes related to the board revision addressed by the patch: - Board MB1166 revision A-09: - LCD FRIDA FRD397B25009-D-CTK replaced by FRIDA FRD400B25025-A-CTK The patch adds the DTS support for the new display which belongs to the the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi Reviewed-by: Linus Walleij Reviewed-by: Raphael Gallais-Pou --- Changes in v9: - Change commit message - Rename stm32f769-disco-mb1225-revb03-mb1166-reva09 to stm32f769-disco-mb1166-reva09 Changes in v8: - Add Reviewed-by tag of Linus Walleij - Add Reviewed-by tag of Raphael Gallais-Pou Changes in v7: - Replace .dts with .dtb in the Makefile Changes in v6: - Drop patches - [5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK - [7/8] drm/panel: nt35510: move hardwired parameters to configuration - [8/8] drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK because applied by the maintainer Linus Walleij Changes in v5: - Replace GPIOD_ASIS with GPIOD_OUT_HIGH in the call to devm_gpiod_get_opti= onal(). Changes in v2: - Change the status of panel_backlight node to "disabled" - Delete backlight property from panel0 node. - Re-write the patch [8/8] "drm/panel: nt35510: support FRIDA FRD400B25025-= A-CTK" in the same style as the original driver. arch/arm/boot/dts/st/Makefile | 1 + .../dts/st/stm32f769-disco-mb1166-reva09.dts | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile index 7892ad69b441..9fedd6776208 100644 --- a/arch/arm/boot/dts/st/Makefile +++ b/arch/arm/boot/dts/st/Makefile @@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_STM32) +=3D \ stm32f469-disco.dtb \ stm32f746-disco.dtb \ stm32f769-disco.dtb \ + stm32f769-disco-mb1166-reva09.dtb \ stm32429i-eval.dtb \ stm32746g-eval.dtb \ stm32h743i-eval.dtb \ diff --git a/arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts b/arch/= arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts new file mode 100644 index 000000000000..014cac192375 --- /dev/null +++ b/arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023 Dario Binacchi + */ + +#include "stm32f769-disco.dts" + +&panel_backlight { + status =3D "disabled"; +}; + +&panel0 { + compatible =3D "frida,frd400b25025", "novatek,nt35510"; + vddi-supply =3D <&vcc_3v3>; + vdd-supply =3D <&vcc_3v3>; + /delete-property/backlight; + /delete-property/power-supply; +}; --=20 2.43.0