From patchwork Wed Jan 24 11:33:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 765723 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 7B6BC1B7E4 for ; Wed, 24 Jan 2024 11:33:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096026; cv=none; b=YKcSHGGCLxS/pqDNMqMQDlz8S1DpPyGuK9NBIDe4WsHQNxd7aivbbmp5+CEZfDXcwIjOrsZD4Bn/8vPJ6cD+6PQ3xXcMZgnD0hBozI2sFKQ8bdmHFs2d9TkSiJMtCdz8rI9gonyAAQCoGQuwpEoR/N69eOIjEOkPqiiQ7ebIj4k= 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=oWJmGi+G; arc=none smtp.client-ip=209.85.128.44 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="oWJmGi+G" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-40e80046264so67207915e9.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=1706096022; x=1706700822; 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=oWJmGi+G7MGq4ht2p0gHeELQoKiqFJRh0oG/xszBkiDDz8NvX/EhPoLwOO/Drlh+55 KE7P7pWukxWHshNVTN/nfqHMVNITp7CGcfkNP1xsla7UHcB0o1/d8dZkgIqmUcCpGEZQ NsWb/48j6yPFqAjtPYssy7ITeUyMgT4KclEdw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706096022; x=1706700822; 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=f+lBmiXSlBNaP7dGPfYkEAMvUjof4QKKj88PlFouBjWwzpIINy1hLZh4hELgz2wsoF IqUTlIA0W8KNvrNwQ/ZHaiydPewycOO+3X0181GI+9Pmwhm6dEnlI5eivu2FazxDFr1J n7w5mMyrKDjnLke/Kv4eloMlyOjGkhREIfKLUMbq9Kb9FpjyU60OD/p/nghsZSos/NYM iQpHmA4AgCV1TSjyAx1C0Tq8GC1sWg1ogkuuAM4kV8BlAvF9WwhS3usvTALfCyrhvCP9 tN58vzlHzNh9bdbjDMdrnKw05aheh57Pokn+sSiNvkXHc7vwbweLm8Hu1kmnpufonY5i /tKQ== X-Gm-Message-State: AOJu0YzRNjXzQ9lWHyh6jr60kYVbRj1iruTMcMHd8bQK1SZDT1Qf7IIn vwUKJ6zXsFNKXioSAh3BU5BEyF/+yfbIm09KeuGT4GO9e4u7ALHFUvBdHmaMpJLXnXh1kHYg6hx V 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: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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/mfd/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 #define STM32F7_APB2_RESET(bit) (STM32F7_RCC_APB2_##bit + (0x24 * 8)) #define STM32F7_APB2_CLOCK(bit) (STM32F7_RCC_APB2_##bit + 0xA0) From patchwork Wed Jan 24 11:33:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 765722 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 AF0C020B27 for ; Wed, 24 Jan 2024 11:33:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096029; cv=none; b=K1uv7E7UQ9/N6WRlpct2LvO6kHt6ITNeo/PgfFC7V2bQM2TpeOgwU0xrhgGBwEw7fSSpNJsDAcOQNkI7PymB+oVCgOka5lzRLtIDDMURYBSBXXNE54gxJx4F8BIjl1zvEFznsEaf1V6zmkjMlhnsg+s0Sl3bpvxsfKJNe7BwqtI= 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.45 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-f45.google.com with SMTP id 5b1f17b1804b1-40eacb4bfa0so33772515e9.1 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=KGerSXqcHf9rak2ENPUYHY4V/4+i+LOdYQwNvbqvhR7uhdYQu3vX1thxzQBsKFVRGi 1H66zEXWZ5EPm83KkByPAFH0tFOqNJT/i3oRZ/6ArXWd+Ca5sySa3wn+jm33z7GohgRV EyX9eM6TpYdNNI2uiYSBguC+rB/XhguVWA7CvYyOJg+O2JEDo7OW9y+JG50szLVeKeoh UlcSpxOnb+KbKX6FUnnlda5+PLn+rnn1SBz6DZhB7tmcDuxBGWpxlWgK5C1DZyeZmxVj zKvrYjiqGM9Vb6Hlq6W3v9Re1dnp0FN7ia2J2RUlqAiwag5QwlYvfKjTkRwGHFSlfH6i 2ykg== X-Gm-Message-State: AOJu0YzFA+GHFrgSYm5CSKZgFN1tHjcGP67282sBVLsdD+1L/pQp9g2h 7IpT8aTZeDKThQtzzdJmim4/u9ScUQtAYpD8BK3QIOwbMaPba9R/fFPS+KbJY34= 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: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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/st/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 = "main_clk"; }; - mmc_vcard: mmc_vcard { + vcc_3v3: vcc-3v3 { compatible = "regulator-fixed"; - regulator-name = "mmc_vcard"; + regulator-name = "vcc_3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; @@ -128,7 +128,7 @@ &rtc { &sdio2 { status = "okay"; - vmmc-supply = <&mmc_vcard>; + vmmc-supply = <&vcc_3v3>; cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>; broken-cd; pinctrl-names = "default", "opendrain", "sleep"; From patchwork Wed Jan 24 11:33:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 765721 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 6EB5F374F5 for ; Wed, 24 Jan 2024 11:33:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096033; cv=none; b=hKi7VHtBcuw4JoX+GJ+ZYG/044nlX6X6K3cn6CxIgzi7xR/2Xm5wPdwqBA/jJpBOTnN67yiB1zi3O451AxPluYX5Y9oVKkDrDCHNdmr3uoEC01uLo+6YBtcsUrdmANBMD+SAuT9/rekZ4T23hY4mPrwy6HEV85rXgsG16fGsWKw= 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.46 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-f46.google.com with SMTP id 5b1f17b1804b1-40e87d07c07so67091285e9.1 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=mOIuKU7bOOyR0ucRjAFklEC3e5xwo88jpVZJ8De1hVDtonQwzSNZzOc4jiGLJWZK/6 jqQCxMKoupjcWBX5uJMACnGs1pj9xuGHqb98gzq+d7/zf0mHfFjcCqG665Kg3mvoELiJ +8+SdcKOtWNtne4pwLrnRHouXzFzudspRLvclS8nxXgVWpMJBD5k46ENkpTE5KanD4S5 S+V3iC0Z9kX5KaCOfGHlMmVWyLfqTSp3iZN3ROFpRg8kW1hsemy8RCtg1RQC7KZ17YYj DH+tfmn3WOGqa2nPQ24pb5nGgQ8fq1vpFADDu/rzbm5NNAa7VyKG6Xkjv3lteOdHgUEY qgCg== X-Gm-Message-State: AOJu0Yzwhg2nXTg/squcbWdOl5S/IKmdAZcOQ9xf8g5eBZcy7rUZRMnN hz9CZiZ0mIN0kZ+p2PGscpbDMxGJKwRcz1Sb94loojTZhYBOqqTQTexi8zajezY= 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_?= =?utf-8?q?G=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: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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_optional(). 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) += \ 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 = "disabled"; +}; + +&panel0 { + compatible = "frida,frd400b25025", "novatek,nt35510"; + vddi-supply = <&vcc_3v3>; + vdd-supply = <&vcc_3v3>; + /delete-property/backlight; + /delete-property/power-supply; +};