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: 13528963 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6380AC46CD2 for ; Wed, 24 Jan 2024 11:34:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9K5hAwVj5x3thkNeN6xnRB9+JsC0LCqBICV8cOqcKSc=; b=KKjKYSdckyfUiW OtDVoqd6qxS2+cy6/XjpNHeJU34rz992cFJkrtTdfHCE2cL+GksjVvVKMyLQYpetTvvd5rVNncQ42 mQLF1//cljmXZ1SC1U4eP7/4y1wlH1hQC+gP1Qbilw0oK1/zpBvidhCNHsgyvkp1C4n2Y8xXQ7fG7 9NgJBLJGvEuzdCUWqjK0wyFMCBRWPWRLP0tTgnvVhgFsVHHG3BSWwXkfEeCZjL75IL/j69oR1blgw xZ0AtjQ4dThAgE5/cWJ/8moSxY0XS+NEUGCEBq2+mkqwaD6YLwrOQuBvEKv/23h/qvyC63uHv2L7H SzF8Ym61nPnxAEp29Y4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rSbVt-002nDu-26; Wed, 24 Jan 2024 11:33:49 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSbVs-002nCw-1o for linux-arm-kernel@bombadil.infradead.org; Wed, 24 Jan 2024 11:33:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=a87Eb/9UHW4xhpeCgDcrODCTwbLMJ8A3Dzblk+B1akM=; b=A85uIDaigQyss4/ODWmh2mVCjC xlmSUdOv0FWGuUiaFtH9nUk6T+SZ0i6+4X2zvYi6qEuH7dzVE8aC2DB98iww0rv911A+CgJ9QzS1U 9PBu+ynrw4JFDI+Ybe/0WlkL5jq0/NNgZyYEZ0lfggX6epUMeyaotgOFTi8IjkjRCJsaHufg70nl4 AL8HJEqG/JH+UF7+EtDxq6AkODA9Ek6qUswQQ2Kz4OLzFKOL1uq6aoMCNi8nz+XBqGWsnd8eSR1g1 2yIFheMgIZVpxhaXDOFKDi4IFiDiFvnAkQB0cITQ4ExmPYLWOl9QWg5ZcT4ZOdKFvRK362Iow8FBH BWRn8F/Q==; Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rSbVp-00000004R1T-23uM for linux-arm-kernel@lists.infradead.org; Wed, 24 Jan 2024 11:33:47 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40e913e3f03so66995475e9.3 for ; Wed, 24 Jan 2024 03:33:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706096022; x=1706700822; darn=lists.infradead.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=pqLuueTb9acYXVYeyuhzRN3NiOdzFzEG8sPDlSH8ipoovBXxjFUZFZ3pYKavFbte+Q 7aZ6tpg51KFEwA3x2QjJcA0lilyNDzTd6cCAZmMM1tfn3SJQW64goy4GLhpTbeqwgAxh oBW/Y1RtHlLTUNBhPCAd43zbxjn+RrUvaj94E= 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=mdRGHaRxydmRrv+3fvGApinSoJf3OpX8qfDjf0O92GA7Ua9kCq/y65aK9Fdl0MVst9 hWp5/dTTE9OatfvTxf3bpBOJRbKhV3cZPMLm6CSP0nD9FiVsWGxsiTAkfREvir6COM/0 vaVthy3gqNHxstXIhtVHhpOpYODGxRuOTXIV7K+K/uZX1oAFRis2p9Aa+tb2DzGy7xAg x/3aLKAHJbH56HowgVU5E8MRaqVX72OiJl9e0x0JV4HWJE9NTRExjUq5L12LheOXdU8h QmMcJaRfS2e+IrHHHisuvZfjhBLJyOHGbofthsOK9NQO76J7+4YNMKX5Tw/vWLgovOe/ XB3g== X-Gm-Message-State: AOJu0Yz2CWja9F18F8ccuf1UHwJYb1i2BosG39xUyreK51sq8b3H293g UbIK6tBy6wVPZRyG69EJkVHMBiniY5YYprMaxzW17n5SLqkvuJQl7lwIhN0YVVw= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240124_113345_711739_C4ACA7E2 X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13528964 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 74D3EC47DDF for ; Wed, 24 Jan 2024 11:34:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2W1kS6hnSZfdKl8cZ10McPjVb2u/HVBSJNyrcIZD8tE=; b=5GXGnScPct9qZv 71HexU57OwTcYbgbGYrcqEUQqVKTUtAshLNJVRtPaZNOAMVPhA9UwzRX5dc0CCe4HM5RRvWczxbRZ 541I9cuB1aTBI1upqgva8hb//LxqhEbpaJEvtuBbRdxeMcclz20EIFcFkhptopJD3+Tr+vl8Dk2t/ 6cKKHyGQJbMJCkAEQtUAkpLxR20puOF2lqe5PEsu4qRfkGRwCdlk0J38PjKX1RAMrplCPZWp+ChIa ZCJRi5C8Rmy+X9YEcYK4J+MwneThG7CIaZW0bGrAgy+0utO3v32jeBhRIkmzmQJhQSnjpgHt2hErc Ngqvk4lVkrSm7GF6DEoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rSbW5-002nJ1-2K; Wed, 24 Jan 2024 11:34:01 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSbVt-002nDD-10 for linux-arm-kernel@bombadil.infradead.org; Wed, 24 Jan 2024 11:33:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=WphLFokV77snya9flF2ShSJ6MCXN7QDFds6UuGxFul8=; b=FS0GKJIqTZTmkwbrN+R7TtIHCM yaLm8gRAmtIr1n5P9ERUgL1UBnTIVdRjCurkhF2pN85OLh4uGr2pQCSzHvjlZTBc8dMhxX6ms9lSO d9DVfecuQYNyAM1VcAqvdBvS1brk4UMto7hulPMErAxpJfYFKZY8PkvEyCYtOGj91haisoEnFMCBa rNoWJx2pckUV9YZ8muyItpOYMC/7euE8ivg77aDDFs072KtP79iwVy+y808eFEmC4nBeS5PQoOCPv nGu+dTIGQAwxVHSD6hpW2+i639rM+KOhRE12rCeuFbh4lLxBj/QFrCtiijU5VNmC7YW3ynsdLJHFO izUnNJOQ==; Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rSbVp-00000004R1W-3jKj for linux-arm-kernel@lists.infradead.org; Wed, 24 Jan 2024 11:33:48 +0000 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40e76626170so59062895e9.2 for ; Wed, 24 Jan 2024 03:33:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706096024; x=1706700824; darn=lists.infradead.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=L1DIRr3U2GDOYkI01aOZW55RkKrxFqm1agL6UCQePhvm/P+2GcC+TwF3aV5E1Tv3SZ li/8X+L4QzwdhRCVpzGqR7wqj1w31/L2Jce4UCdFDUoh8Aym/FqxsI/DU5Wzs8Hyti2+ KtenfEWgEN+jNutLbPhHBFQKuLIQohOr498SQ= 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=Jf3B9AjbsvIcUbvZ/nG5C07gp3WidzBdiijDD+fSiRqM36gWdTOPAy75sKlkOipsM/ wumlS3rNnZ/+lx++N5pU6bPPk1bDYyM7EPBVF53WtAaZFX2bEIc87b+01BhatRizKnVO y73rRRJog2orkZ/M1JmBEtmasvt0oemHEKrAC9W5j7CVDh3CeW8tPTgXi33sWgW7rfFJ 44qgMXvuu69tksOW/LVRHHDFMP8p6nzno3MZHy3f9B16fPDx1oQyix2/k6FllbrtXAYR pwytYzd+u5g82p+MEi3V4WKgUffTvJ0oFQqaGsvwjW8c+YOKKsus5Ke5+L+gKp/W60dx Dn3w== X-Gm-Message-State: AOJu0YxgaiHlMZr0krAVuGw58xNvbN4ri7ZF0TA0Q4iHtsSzx9dJ42sK jJJ9eVaJxLkirZkLjYPajAPbIZJDcnnRv+76uhRYYHTYZ0MKYKk/wfcjyV7LDCE= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240124_113346_025621_8E6D73D1 X-CRM114-Status: GOOD ( 14.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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/stm32f769.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 = "st,stm32-dsi"; + reg = <0x40016c00 0x800>; + clocks = <&rcc 1 CLK_F769_DSI>, <&clk_hse>; + clock-names = "pclk", "ref"; + resets = <&rcc STM32F7_APB2_RESET(DSI)>; + reset-names = "apb"; + status = "disabled"; + }; + }; +}; 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: 13529214 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E706DC47DDF for ; Wed, 24 Jan 2024 12:46:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xgB1Hj7PdB1ND8sjjXZWVAf1vC8S9vn+lIJRT0TGnis=; b=U/nYv9rljFjTkO 4FKYBjwoxP5/5LLxMuxnh3FeVnMXSu5wdbwcD3ByV/tSfYw3tKm7gys8tG9ARbC5o7FF35pHvfgo1 7gA8GldG+cGfcCASJH1tRcAyduwh+qnTEgSJMhwpin2DREfark/NGnFtWrHBJTxH3+9dSccWsXsWg P8d5bKvtdkismwJpgG4ph38x+pDo0yFHjYXLs71udAsMc4nAaUNGl3CfC8sE+OOgIsSdTyKhCMSSj qXlD1vNhGrvfxSqVBTVaAKL3A2DSlRW/3JEvwKM+XmmHg7Is/eKr8zzUscIgAT5IFLvzXcfPlQwB7 xY5gtlB98VuiqLgW1xOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rScdT-003Irr-2c; Wed, 24 Jan 2024 12:45:43 +0000 Received: from mail-wm1-f48.google.com ([209.85.128.48]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSbVs-002nCP-1u for linux-arm-kernel@lists.infradead.org; Wed, 24 Jan 2024 11:33:49 +0000 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-40eacb4bfa0so33772525e9.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=lists.infradead.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=JGEI6w8dJcGUeS1++QiwihBGsTxFzMwgzrt8JyyNnmSlMgOoJoG01vA4HXWGKzE9AR XWXN1q+odw9N20jk5cJdbyQh4KEWl8ZX/zEFSjd6HY9DPNpk6l0C6Tuu2K5UiOys9Y6E hUbcsQHhOvZ1O6Eh5j0HMSGTJ+w+8cMRMXBpI= 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=aXa38IzQAM2hsUZEXlWKE4gJYz0e0pgSypNsGcsYR37cs17IAnkbYBqr+B9k2Oiv3c yeKfu585h8Ly4t3J/pdyl4YWi5Dua09aSruqA04S3e8+p5dTfq2YjFPV4LOZdgrxVNnX HlvdMREaRzs7AGf9OmZjNnHfcTjeFyvMZhQGmRfL5Bjs3y8TLoIzoHZpJnjEJbQEJ5DT Ko+cwINhY/xcQMTwC+b+ni7/pDxVMxXd6/Wa1gf4MP8jO6V9y+elKeRnNLVYLKvEZR+s zHImjzrksYTAM8WV4bmwNGZFQ6dkQJbfGFjjXznblv/ki9aFeNTOo4SFi9bVLIQZAB/S 0k7A== X-Gm-Message-State: AOJu0YxR3sFECgRrnn6GDDnepkh95A3NXRLgRXxi4srecqRb61mWofcV HaQQXNNlV3i3pNyveoHGUDWv4kdoyZyX9CD1ArFcwYRJtDMYSiGTPMM7JTAg6C4= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240124_033348_626615_9DE6A54E X-CRM114-Status: GOOD ( 14.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13529215 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AAF4AC48285 for ; Wed, 24 Jan 2024 12:46:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dRqbc7QVjlGptdpSgIQQZqtoc84WcB35shwXI/t4RNg=; b=iAH4n838d0nich rThJoadUJccPEZHheFdtfCr+x53ygrIksz5xvmFpja5V/Wv6Rnx86YavJj8L5zdjaaqVwmwsFJTJS EMexvosi8JL+MDk8yH+KlAsg+OqdrJLbntskfYWBFCuFDct+Rzn9urr4DcTdX5k4PkWUtXX3BKDay DIJ7xxO2GVeDAIbw1IV/8aZYHgjnKuTPh+tGb9s2fjiyKSu9qy79UK6cGN1MgyammMsK3GtbtS2bQ sKTTykbrrnPsKOoem7dZ9dEfLWHFRRjzLkB+TtV/4CyDsw2xfE6qqPAvv6JPywo9yRZfCQL3Lqmnr hRvN+ZejRTRtj+zeA9LQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rScdU-003Ish-1k; Wed, 24 Jan 2024 12:45:44 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSbVw-002nF0-0p for linux-arm-kernel@bombadil.infradead.org; Wed, 24 Jan 2024 11:33:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=n4WZCMaxTTTK5Kb267g6Dn7+KP5+NrOJpg31LGj1mtM=; b=I1mDViU+KjYjxj2R1Zu3Fl0DXr n2BtOkDv6gEVO9vfZ+zaLzI7dTyt3PUB+rjKVspBH1IDD+ALKWgoI6a7/d38EmWNUttGkasZdGohu cwOR4XZJ4RzyK9dE2MOC7MAUqbBedumP9HHYMFAgHtgE3IKsJPRRdRc5gZKeY5S1PhgWqmFbz4vjN ubDEv4PmJ40M9ihovzLPH2Y73RTcCd7GLGqT7z9gFUsl3Dc/rtBQZkkDlQIFgq5ZwvvvrVbRkV4YL EMP1Vq/e08Yfvk40n7unLBOiDzRKx1Kv9lI8bNyusPCSmV2QOAvJQjj0X34J5Cq2b4qc90rsM1SyU +zSKKCCQ==; Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rSbVt-00000004R22-1DtM for linux-arm-kernel@lists.infradead.org; Wed, 24 Jan 2024 11:33:51 +0000 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-3394b892691so476592f8f.1 for ; Wed, 24 Jan 2024 03:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706096027; x=1706700827; darn=lists.infradead.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=ngHe4YyY7sfO580SJhw3W6bOnSZE0jEWcsrZPkltj9f3P02GMnksM/bS284Pt2bS5Z LlKAVUkTWOtgxMJZKCYcNvYIBBRNG2oQM2HvqTCvpLH4Cgd9z2jl9dpsATzPbmOUbx2+ ODlxq7mnIgxfN/uuj3Rdm36V4ta5IvTYAZwzU= 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=hg1UOeHfqrbK/i+oqvn1jHMmldQRX9Td6fYrvkzo3l9WDIwIAsNcrXIgZ+S+m2W1xx gNzQSXJwpoXArisV8tSuz3QFInnjqSo3/Z6S1rw3UDP2ektl5Sa37BTaT7XwnricZbp5 /iYZ8i0uFvf6XQ9jqqrRqPRKeoEn+1PuBZNH12pQGlJzhCV53qSCen8DH/WjvVoWKkyO 1Sq820axullNQjoOmMvVEQJjasRxU93N0Y09AMZwblr7AMBE58e4gpUIWKGgubBkhf+P gyNtPCUWmZoAsLwA/maw5d+FnmkPE81BhabBmGSYRG3kZVEyZDJF50yj87N+ZtK/V7pQ WBhA== X-Gm-Message-State: AOJu0YxuBdUqlD2zMrsBFrC6rgAEVP1MtGDoahrXbNubNWni0u4ZTDnk yWNgJOL2ieyavLztjQx2uPIe7lbwuBc/1HaEX0chDLOz9188vniyaU5PfluSBaU= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240124_113349_420535_6C34F71F X-CRM114-Status: GOOD ( 13.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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/st/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 @@ */ /dts-v1/; -#include "stm32f746.dtsi" +#include "stm32f769.dtsi" #include "stm32f769-pinctrl.dtsi" #include #include @@ -60,6 +60,19 @@ memory@c0000000 { reg = <0xC0000000 0x1000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + linux,dma { + compatible = "shared-dma-pool"; + linux,dma-default; + no-map; + size = <0x100000>; + }; + }; + aliases { serial0 = &usart1; }; @@ -85,6 +98,13 @@ button-0 { }; }; + panel_backlight: panel-backlight { + compatible = "gpio-backlight"; + gpios = <&gpioi 14 GPIO_ACTIVE_HIGH>; + default-on; + status = "okay"; + }; + usbotg_hs_phy: usb-phy { #phy-cells = <0>; compatible = "usb-nop-xceiv"; @@ -114,6 +134,46 @@ &clk_hse { clock-frequency = <25000000>; }; +&dsi { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dsi_in: endpoint { + remote-endpoint = <<dc_out_dsi>; + }; + }; + + port@1 { + reg = <1>; + dsi_out: endpoint { + remote-endpoint = <&dsi_panel_in>; + }; + }; + }; + + panel0: panel@0 { + compatible = "orisetech,otm8009a"; + reg = <0>; /* dsi virtual channel (0..3) */ + reset-gpios = <&gpioj 15 GPIO_ACTIVE_LOW>; + power-supply = <&vcc_3v3>; + backlight = <&panel_backlight>; + status = "okay"; + + port { + dsi_panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; +}; + &i2c1 { pinctrl-0 = <&i2c1_pins_b>; pinctrl-names = "default"; @@ -122,6 +182,16 @@ &i2c1 { status = "okay"; }; +<dc { + status = "okay"; + + port { + ltdc_out_dsi: endpoint { + remote-endpoint = <&dsi_in>; + }; + }; +}; + &rtc { status = "okay"; }; 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: 13529216 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D777C48286 for ; Wed, 24 Jan 2024 12:46:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aL2I2D0jBdtifLm52TbaMUlH/eEUUnb0iB+FxzaXjZs=; b=5FL6+E0Xink70I mLs3D0N5vHckNxioi02Z/FkWw/UEKD2ebKgZbeEsaZ+LrtMc/HrpsY4+GB0zwW7TrjEUSBPEyZ85X lvksnGBoW+SnQyYCBTgEwI+QbCsPX/EuW4yczwha6J/uS6CLbDwU3dTmBvFBMF0e94u4LFTmJq/3B yZSZMGsh52DWW3LbtE+c9D9n9MDIlvkFVV73wxLPJ694Ryv25WmHQe5DashdTz5bEjmb4tFHItJjP eW8+78HtTSVLu7yhtjNbz9krXDmqyQ7kk5AG8D57856Ccs5A87hwTgFN8zmx9NKLtd+DgBrmDGI7r KPUHV4Qg8owSib+wZNOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rScdV-003ItF-0Q; Wed, 24 Jan 2024 12:45:45 +0000 Received: from mail-wm1-f51.google.com ([209.85.128.51]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSbVx-002nEW-1V for linux-arm-kernel@lists.infradead.org; Wed, 24 Jan 2024 11:33:54 +0000 Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-40e80046264so67209355e9.0 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=lists.infradead.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=Km++2clwzxzIUtlE/pPwdpiVurbRhTpLAgXuKgwlR3DUDLE8Ug7zEgQRC/1VtPKvXH 2qHfwMY2EolgPsf4LHLp3h8kfHLVUrcU5r7xFs+zr9v+h9B/aYwn/Qnt7hl8RrrlSqQH B+nfYnIEYLIWFxBC4vgn/kKgTrhuiytugSeG4= 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=l7k1ev2/Fbsk2qR/wbosJVw9hiHC8mC3E3WG11X23BHSPbgMV7z/RN5+GfwYqnQ0wy PIDjxva8COfUE2S8yLxgWmStvPOlqWBu/bIlPgU2ANffvtW9uN4yCjaoRC+fundkIcsU a0PZx/K/p/SSi63jdyQg8dxJpamhltUUNRUa+DDF6k2Irm6SOqeaq9b22pKCtvkZy/Fx XkWnEVngF8E2JlVss2M9Q+KGXLKR7RULC0k4+lG7J/ViFFHez45jAvryqAlOb/5q/ioj 3vcTpVaWp59u07mj0O6EGaFBxvpvkAdJRVtXTHFf1BkBcnwhzb/uJyQNbm4Ldunhab4a w6Qw== X-Gm-Message-State: AOJu0YzPEgGLTrC7vfucMqX2oisaRuOBne3XIOspTh5kXJSyAi69Z0mY DUIt3fidD/JOqgRgkE2DaEIEtJqjk7Mkmm+28ZvlQUzFbGUaiSbTPHyaT+4bxRo= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240124_033353_506154_25805A06 X-CRM114-Status: GOOD ( 19.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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; +};