From nobody Wed Dec 24 18:03:04 2025 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.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 86A812941C for ; Sat, 27 Jan 2024 15:28:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369341; cv=none; b=Cq7aDegUUleGGktvBJOxm6jvrrXXSVGZ8PwgXR97a1MA/Q9OwkjYGqLmYH/7I0q7CALmoU/QYBuLVgjVcmsYHvfM1pEEOvTcP5UBDc5ATVJG9EgiewSJEC2p18mX4kQlJcfWXX86SVNlD3je0o2NuSkMkUxvML+J9nFIQQr3dyY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369341; c=relaxed/simple; bh=mKwz34BORUmdPjSPJxH7WkuOGdXYEYf5RmYQkE+fz3U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kuGpRekiQmaqD8NES0cFgkQZl94IOdqV1qqKuksijO8W52QuyM2OsoQsc/PTyl9jDclQxGLF7+aOaz6hh5M20jPzljXSKAKbvGEz+lkYqiiAhUgHJChheGvs+YOZqWdgUWgfbUXXcgmXV3T+Qk76YPBQO/pYDWHN38ftTwYBEZw= 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=oN1qDEuG; arc=none smtp.client-ip=209.85.208.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="oN1qDEuG" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-55c33773c0aso995802a12.1 for ; Sat, 27 Jan 2024 07:28:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706369337; x=1706974137; 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=oN1qDEuG3LoGoHCfOA2weJKTs8ZkI2iw4YMMJH5IejGisBRSwGevOgK3HEd7CAlbeg V5TkZzyXdUCM8qHn2DfPEuLyaq+4meyR1a6di0ePQqj0UXBJ8WU6XO7WFC/FfjIFSPW/ xArv7yEPjBUYotYbexKtQeWmVo6HoJ0pLdHas= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706369337; x=1706974137; 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=IEaYu5rsKPEdCxmZjEsKqpRBJqHoT60bwDQ2Sx5YvEzMO1N4tCSfO7G8gQAs7g3QF5 mzOPZ3b2G8Ec+1HD+2vp5jwpvj3WGUtS1qsD+No74loog3YFZ/e1Gntq9o1JFyB6NuJj UF9RfoFG43SLE876DvqMoHiLJinr569fq1V78K2IDuxQqmP/cJjApPSFQpuiBU9QDN5u 3KI55RXtBhK02J04UZ+3yePpMSO5JpscByVrqhm4v3qVd9eiECwmttocrXfI9IfYv440 s06kNAodPhOGMpCIZAOQfSVlyqoC2WFzYY5cF73rzgV931/r3/qAVESt4Ss3iSAOb3lB Z8/A== X-Gm-Message-State: AOJu0Yxpg1uHrrHhNGlItvqGtncfquXRnha3IA58lN5Pzm+fiDdD4Y4e KVLbgUWXPl6D4xY8Bbszeq1fm6yqBUvfCSRiqKij1A+uyfqoFHYuEW9NXRa38NUi39S9JfR/p08 o X-Google-Smtp-Source: AGHT+IFok2DS1I2uZ0WZjZt30o3ToZii3URXONkgx9zDXYEfhMksN5xbCHBviWnSywDeom/HxchUmA== X-Received: by 2002:a05:6402:26ce:b0:55d:eaaf:847d with SMTP id x14-20020a05640226ce00b0055deaaf847dmr1292495edd.6.1706369337636; Sat, 27 Jan 2024 07:28:57 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-21-103-141.retail.telecomitalia.it. [79.21.103.141]) by smtp.gmail.com with ESMTPSA id l5-20020a056402344500b0055974a2a2d4sm1745220edc.39.2024.01.27.07.28.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:28:57 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Raphael Gallais-Pou , Lee Jones , 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 v10 1/5] dt-bindings: mfd: stm32f7: Add binding definition for DSI Date: Sat, 27 Jan 2024 16:28:45 +0100 Message-ID: <20240127152853.65937-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240127152853.65937-1-dario.binacchi@amarulasolutions.com> References: <20240127152853.65937-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:03:04 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 27E4328E23 for ; Sat, 27 Jan 2024 15:29:00 +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=1706369342; cv=none; b=qSCxPv7Is4Sb7P6bZ4rBTxBXzw1+g+pheda/hLYbhjTZ/JSWykMQP3JcHVWzNgGoP7LlJHI4WywXJhhiPV9ur3tVLJ01X+JZ9ok2oMTIQ7aJ9uS36jwwzL9GB3EYTEZ1IYV2P1mPedxZ6vglRr343fltY1KGnqec73cUMl5yfVI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369342; c=relaxed/simple; bh=BNljMDJC9qq78LNjNNRvP7DZ6KpCM61Cbml959I/oI8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jQEdHFKpIZnQfGlFf06HBC3oaJvn7L4RVCABLFn3gNF6C8y7VAp/x8PSoNuwH3T3oisGn8ZEi4iGQluguU8Mjxl492FlyJqERffE1PdkRCOsxZyztGblKfKQ3v9ANmVoPCGma1gXdru0EVy7kcv1VfIrPEdJONk/hqx51yGPMUs= 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=Q9vqVDeD; 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="Q9vqVDeD" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-40eac352733so22822315e9.0 for ; Sat, 27 Jan 2024 07:29:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706369339; x=1706974139; 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=WWGir7ANRRzan3PNYs2175lzxrtc4JGbJP3xn7orKtg=; b=Q9vqVDeD3Tkvp9Dv3APsu7MDlFKkNXVQc4tV5NlmsjZSnzEinxnKv+yxbPL69ucIFa g8DijGIMTTzckVjZ1qzdsCaOitrm23h2lHqFB+3nKRoYpzy5C1f+LphIo77epfqbYiNj i6Wrs9xB/dNcz/OaBa7it2FhSH8F1mbICo+60= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706369339; x=1706974139; 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=WWGir7ANRRzan3PNYs2175lzxrtc4JGbJP3xn7orKtg=; b=OmaoV02d42CPf7kFn5ZK2NNb5GpmIfi64Hl/mj7kVfFTIJdDl7ayX4IFnxpaWuv3ar M3zEd6iEypq5zYfqzONNWBfVR9qu/RXUvXOHj9aEJ8E/hmYHOr+bPyH/TIWrVzb5r5IT AFsCmzzpBve5bNzoci9uG9/43hqkIiDQqOfc5RD8xpVdFMeSPDlmqYZuI+uR9dE+OQjD 5eigl+l/zm41OeCD3NxhiNOfToADLHxSFcf5tu3kgLt98S4txmb1TTE0vpB6XCG7lQ2x hBM/MK8Rga/cbMqvzzKLevuaIFlRURT6M+Qc35bZSBN/nW1nXLtLqiCMkb9GbI9gJP1r 4Izg== X-Gm-Message-State: AOJu0YySzTZRJZ5TJYRrUUoGu2XIbIVedD27dvGNF47Sx6ZbTE4zAIUL V9ij9hSzOs9jMW879hEUIMquJwEsY8iq+79PfCXQq6X5PByuPpslxWLwRVowYzwSvgWYRwfmI91 P X-Google-Smtp-Source: AGHT+IFC372BKheBeXMj863trBVVfHb/6SG4pMxYK1ABLSugVKm+fNOV5q7r0Ots4+TbgYP++AxqIQ== X-Received: by 2002:adf:f1cf:0:b0:337:c845:aae9 with SMTP id z15-20020adff1cf000000b00337c845aae9mr1143677wro.62.1706369338825; Sat, 27 Jan 2024 07:28:58 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-21-103-141.retail.telecomitalia.it. [79.21.103.141]) by smtp.gmail.com with ESMTPSA id l5-20020a056402344500b0055974a2a2d4sm1745220edc.39.2024.01.27.07.28.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:28:58 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Raphael Gallais-Pou , Lee Jones , 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 v10 2/5] ARM: dts: stm32: add DSI support on stm32f769 Date: Sat, 27 Jan 2024 16:28:46 +0100 Message-ID: <20240127152853.65937-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240127152853.65937-1-dario.binacchi@amarulasolutions.com> References: <20240127152853.65937-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 --- (no changes since v9) 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:03:04 2025 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 D27552942C for ; Sat, 27 Jan 2024 15:29:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369343; cv=none; b=Rby+UUEl/PwEpGGxFMAaes4R7O4SRnSg6coiVGQTkCm9YLHC86UVbh8OSVb2Gvf0WgnGJekSOjfFvI6JlKgbTiayT/kVWZPGrzMYrkmBdhvD+G3HVXUw1DmEEyMvD/jZis+1YUCaaoIN58fuHoWBWRTmSAJMHeTIrq4drEKin8Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369343; c=relaxed/simple; bh=B454OCbFIbnyb4Iz9u5vn7cdyXWJOxFIO+A+Qqrw/5k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MI5Bxm/k+guPOM/hX/avNhv7uWRcpg6wsc6HFQpmYnJh/I/uNGB8/XFrqswXUA8WImcCpHdc5IFKl9m391RQMF98Ga6kYb+PoPkZHmMY8as8XIaQBJmmj7zRNTEnGvW0Qh3RoyCJRddz8SiSNrbYUKjR9YBIsYdgus4b55Ab5Ko= 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=E6aPN9Ib; arc=none smtp.client-ip=209.85.208.51 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="E6aPN9Ib" Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-55a50649ff6so912407a12.3 for ; Sat, 27 Jan 2024 07:29:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706369340; x=1706974140; 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=6KiKuozUcISQEJW2rOZI/i2DyGSQ+9yO5T+hEH7AHSM=; b=E6aPN9IbYev3eAGH3GR7kDf8iSdYnU/0HK44IDBtNUkPQ7PfYcOaIspCICB8qHKhUn mWaxQTefPwfHm0NRWwjqlQd+IheEAaKT0/ZPkfJFXH+LiQ+T7Mmnh21yjjNvlvhvw3mu i7KOYaILRhbpjtKRIUpBbL7jZwUV+x3KpD4pY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706369340; x=1706974140; 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=6KiKuozUcISQEJW2rOZI/i2DyGSQ+9yO5T+hEH7AHSM=; b=ql/0QXCnuEaeUqhZwBh17XycigAB39UtezcghEZ/LoRanGUtVApV26YuiqCAvbTCbP l1XB90tKNypVBSsRfbSQl8c+FyI5c4eaZn+0OBdtqrr0efcm+dyejiBiC+qdtZ/eD2I8 0fqaAZIcxCIpZJTFnHvMBGTuZ3UcOeNy/jPwhlLyT5dPrR9vBJuigQxggKf+MJ0XkPwK Ir0UDbwlqGDAavfVCggLrcsItgSg9s0KDM3ngzM2zrDO0Q41NQ2D4Geywv/kgujyZ8N1 69kBZCHwSoJt5nz5oy9Iz61tkWTfS/+ALbxlamdtB403ppZDGK+nRfmsqBYa5jqJ6Qv9 hR2w== X-Gm-Message-State: AOJu0Yyl02FS+umVI5QFJEGwLc2gmebXBR5C85p1BaevQQCOEL+2PfSx fzYzyW0rHs2fmCaBXVcQ01wB0gjbdcYBsIza4QQd3whxwqMqFL1Az0D9x1g4+soIydOia/XaKAv Y X-Google-Smtp-Source: AGHT+IHYGT/EsWMOJvw8h0S7Y3X/sGKFYomtz3ewPFsQwcBQzIL4gC/HgECQbyWQfrr5bGKL+KloFQ== X-Received: by 2002:a05:6402:6d6:b0:55c:fe2b:9973 with SMTP id n22-20020a05640206d600b0055cfe2b9973mr1188891edy.13.1706369340021; Sat, 27 Jan 2024 07:29:00 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-21-103-141.retail.telecomitalia.it. [79.21.103.141]) by smtp.gmail.com with ESMTPSA id l5-20020a056402344500b0055974a2a2d4sm1745220edc.39.2024.01.27.07.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:28:59 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Raphael Gallais-Pou , Lee Jones , 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 v10 3/5] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco Date: Sat, 27 Jan 2024 16:28:47 +0100 Message-ID: <20240127152853.65937-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240127152853.65937-1-dario.binacchi@amarulasolutions.com> References: <20240127152853.65937-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 --- (no changes since v9) 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:03:04 2025 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 C005E2C6A4 for ; Sat, 27 Jan 2024 15:29:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369345; cv=none; b=cbnUIbcjCqna29yLipi19cLIUWdBP7Vj6MGSlL1OlFj1rmV4C4SA0+ySMquI9k0B5nhA7kNroKP9IRzP8cZsEPW/7Q0YLjPc2JLwtCbfuzSyjNA0g7tKTHkgDikWPw/KpPJ9k0skw+CWlw/Szk6fSNN+wIYKrab904gpE9Bt43c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369345; c=relaxed/simple; bh=GHo5Uu0Of2iBtObC3ZLX7wSpejqKaAA4OKsTcwbixqQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RVVUkvxNc/xHsFge9GJvJQLO06brlUxyI9Xq8XaE5PdbYveC6QXAST0GY9rXJZpyvA1gFTCc0/WX0RSRcW6avrzwUQjiZYFEe6pKXiZNP2ERQpCsqQH8PGnbPTnvADHZJkfV3Y5NBnpv85/1o7yvLl/Li/JBxIa9X06MZdyEPZQ= 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=kT3PWrM4; arc=none smtp.client-ip=209.85.208.173 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="kT3PWrM4" Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2d03fde0bd9so591341fa.0 for ; Sat, 27 Jan 2024 07:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706369341; x=1706974141; 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=rQ9PYTfLUcfjyRJqgcRWuTdkFl4CeqFScaddJa4Lyi0=; b=kT3PWrM4aw5y98DV3dubCPWShsP1BOb7ro/FGA7CD5KwF/TEZpfIvENWGd7sTzwfwD kO3kJ/s3xjRFkclm+O5rLOlaLXytdbOQ8gZ2t2iplJg5Y6UU6sGTainoswB3QOWmG4/+ vQFUgsC5PHfFUI6i3dYMRESpF4lUzObVCMnlg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706369341; x=1706974141; 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=rQ9PYTfLUcfjyRJqgcRWuTdkFl4CeqFScaddJa4Lyi0=; b=oiLKyCBZUyP8k88I/Rgv9elR66PeTD9vc2q5gwPiAXgohr9b8JdR8Kj2nCxHzaY35g 17VLscNDpPHoXRG+S2L93JBzB56xziDarzo9i3ljf1Nor3gJ94kN0tUhoXcGmbrCYNbp JQXwN4dTQLaZKO6qbxtZZFRyKc1KlhvDkIVbT8cz8zju++hguRDV27HSNXtC1GiwGtHn xT45swIENgdhMfbQFXIEwohMrqQt6nsHciphl3OJKvLgVxVt4R+0BMFWBVqSDFSxHBxk lmz1dCfUQ8t2w1/rGkQnbGW0Dnte31LOBDZfHtvJteViZm2UuCxAOVLJzxrhuKJDZIG1 B3JA== X-Gm-Message-State: AOJu0YypZ7mLO/TUovZtcHsbBowupH9pqMDKm32a8iICJCfxL3J2E2Qz nUL4+jO5I0TKHpEMT8M/Nr3vJkyygf+BcNCu463eUuhk155qkWNjAOEtxPh37VW5twxz743tH2+ 9 X-Google-Smtp-Source: AGHT+IFbqC5mI6d85g/WTmEICTQPFRXc2Q3MZ26rVAnIhbQylAq8FLk78zQxkd8AP9QrJIUphT0u1g== X-Received: by 2002:a2e:965a:0:b0:2cd:143c:9283 with SMTP id z26-20020a2e965a000000b002cd143c9283mr1436284ljh.27.1706369341158; Sat, 27 Jan 2024 07:29:01 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-21-103-141.retail.telecomitalia.it. [79.21.103.141]) by smtp.gmail.com with ESMTPSA id l5-20020a056402344500b0055974a2a2d4sm1745220edc.39.2024.01.27.07.29.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:29:00 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Raphael Gallais-Pou , Lee Jones , 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 v10 4/5] ARM: dts: stm32: add display support on stm32f769-disco Date: Sat, 27 Jan 2024 16:28:48 +0100 Message-ID: <20240127152853.65937-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240127152853.65937-1-dario.binacchi@amarulasolutions.com> References: <20240127152853.65937-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 v10: - Drop backlight. From a closer analysis of the schematics en.MB1225-F769I-B01_Schematic.pdf and en.mb1166-default-a09-schematic.pdf, it is noticed that the GPIO I14 is connected to an unmounted resistor (n/a), making the backlight functionality via GPIO unusable. 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 | 64 +++++++++++++++++++++++- 1 file changed, 63 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..52c5baf58ab9 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; }; @@ -114,6 +127,45 @@ &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>; + 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 +174,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:03:04 2025 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 7402F2C84C for ; Sat, 27 Jan 2024 15:29:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369345; cv=none; b=M9d37cHLQY1FiPCd5bv2bN6tKRq4Argi1SjQjTIK/6VWVRPZGHqYpMA5WeHT/EhW8y5d7BFitJA/mpm0fkrp9YaGNltQ6OS6oe2fgih7As5Cfb7XkqfUQutZGLvyx9h2UgO084G5CkmgXed4mllHAmmnQTReO+DNYE4qJCVfj2E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369345; c=relaxed/simple; bh=6/Y7z9KwYjfa4Sd9CyzInb+l3G4aYLUZmzfjXeJF/s8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lKnd6wBF7ns06ZFcGUeHGg84g9Ub2UMDYli6c8yKVAg171Zu5vq1X3fRYeWpIZKwe1cyoWZNhqKHfwQczjlFTntrY8j6psDbvRC4nXSVup66lHriEqXrtmIcQ3bJW4udXuadOTIoHW6Noo49FW2G1QWZ26lO4U1op4MIc3sLrUo= 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=hWbf0GPv; arc=none smtp.client-ip=209.85.221.53 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="hWbf0GPv" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-33ae3cc8a6aso486795f8f.2 for ; Sat, 27 Jan 2024 07:29:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706369342; x=1706974142; 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=jr5hMNUd1x8YCEgCqvY7QTv9IEyl6KU3Ejyn2wYPqRg=; b=hWbf0GPvfRKC34na3dFWVRAJxTMzNUvrzde4rIqx5eGK1pm1u4ixm4uUngthBJ3qPJ /0kDZcsHlEVVwRM0V8wW8bf3WGRFiQw0jwdGrlBD022+dDQGpm8xfbgHoZ+U1g/rZE0c fgvA8kFwtV9bv8w0+4Xn/y26QJ/B2b7N8oDas= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706369342; x=1706974142; 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=jr5hMNUd1x8YCEgCqvY7QTv9IEyl6KU3Ejyn2wYPqRg=; b=pPaT/FzOYQGuhbIPx/YQuDs5hXbRL5IVJjpksRv3BllQhxxwz9sGJ2sJ2cvvK3Oc05 pRlibkljkC/c5IFaBc8HS6QpwO1TPhE9TEwygkEsKKt7gaLGMSRIssrxlcRlnOwx+xnJ cvHHTvXtYbaW9Sw56uPgVNylKa29SgjWT9FG96Wr2pV1zRYwBXXkPAn0XgtzycOfVW70 vNNhxJQhcJOY3HnpxtSRUSwOU/+YgX6YvZAx1e0blFHUJPcCZi8DGKmqOjK9UZuCKrII FIVn9W9ETsp+vFcEvCqCru2nDMaAIhxXMPgFmdkiaAkdN4w0JTZUzINFA7H2y6/G33Oe fl/Q== X-Gm-Message-State: AOJu0YwUG5Kv7vGmS6YYQ9GRs/Jgwn3DhwZnCaTdfIozzVrCgSmOu0CD tZ19YWKr2yoy/P1wTjh8CPK1FDPyBny+iiqJUnRMjq0ohewwWsUg8EjNHzCXdM0Dm/jVzONM+di u X-Google-Smtp-Source: AGHT+IFOp9OP4FcMBTo00Ve4mfOu7PZh6QSfp8vwCqTlsNUh8pHjMhtyqQLLFLD21GtKlIfVpbbfgg== X-Received: by 2002:adf:ef0f:0:b0:339:38c2:14c8 with SMTP id e15-20020adfef0f000000b0033938c214c8mr1378646wro.81.1706369342516; Sat, 27 Jan 2024 07:29:02 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-21-103-141.retail.telecomitalia.it. [79.21.103.141]) by smtp.gmail.com with ESMTPSA id l5-20020a056402344500b0055974a2a2d4sm1745220edc.39.2024.01.27.07.29.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:29:02 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Raphael Gallais-Pou , Lee Jones , Alexandre Torgue , Dario Binacchi , Linus Walleij , Andre Przywara , Conor Dooley , 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 v10 5/5] ARM: dts: add stm32f769-disco-mb1166-reva09 Date: Sat, 27 Jan 2024 16:28:49 +0100 Message-ID: <20240127152853.65937-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240127152853.65937-1-dario.binacchi@amarulasolutions.com> References: <20240127152853.65937-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 v10: - Drop backlight references 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 + .../boot/dts/st/stm32f769-disco-mb1166-reva09.dts | 13 +++++++++++++ 2 files changed, 14 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..ff7ff32371d0 --- /dev/null +++ b/arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023 Dario Binacchi + */ + +#include "stm32f769-disco.dts" + +&panel0 { + compatible =3D "frida,frd400b25025", "novatek,nt35510"; + vddi-supply =3D <&vcc_3v3>; + vdd-supply =3D <&vcc_3v3>; + /delete-property/power-supply; +}; --=20 2.43.0