From patchwork Sat Jan 27 15:28:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 193022 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp541883dyb; Sat, 27 Jan 2024 07:29:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEg1ysDDsJx8JJq4sq2/F2fi3L1qjDAceBE8AR9T3I7udDnUxWFT9LVB27TwndGsqjfowL8 X-Received: by 2002:a05:620a:11b4:b0:783:ce3e:5b57 with SMTP id c20-20020a05620a11b400b00783ce3e5b57mr1703915qkk.102.1706369377522; Sat, 27 Jan 2024 07:29:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706369377; cv=pass; d=google.com; s=arc-20160816; b=XiSA+s34uAp6ytjYO3ZPf3WqMqqF05E+VNJdZPSoq18eo6FVcwk//OvUHMneCftSUN fAGljUYgyyP+0taJ36cORXwfoSZAHqLcxKL8nWza6M3fSldAACChaW9etwDSsMDrREpe ftAbqjH4BUZjksBIN0YPJiHoKPRc333f5r3R93Xblpss03YXO8H3yqNvqd9l+j6RKm0i f1Y/U4TUTXLvQzgHCCc7n9/YlwbLKSzev36v7fjuI5zAm+XCyQcbOBJSEOMxxRyH6TVP 9SC+hY7MOJa0ZolhW0O75OAc9uJOlQQRpyiKSbN0MIdL5SYVz5gVefdTHta3IAQgvQJz JqLA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=a87Eb/9UHW4xhpeCgDcrODCTwbLMJ8A3Dzblk+B1akM=; fh=CXzMcHE9WmmLHQ2bJfEXH9mys2ZClFe4wl0PJGGH2x4=; b=Yujx//LNu5bKQkPVf7ABnb9kRRCAbCarJpdMUHcudHE76GJsT8Kf56MXGWfXqRwKpr 9tW+WaTzT7Z2eKYmSJZ35nTFv5PWTsVcqKB1xoKTR0jPJAdQkK+8jvrRGfaNuGlGC3bx GXoFm/fTfZSb0lpmWYxjQ2T0SQTp67nJsjm5ti+S/L9gbQmUVTu95Z4Yia7tDM7Ud2Jd v+DhU1tgehIgsussCz+10vvyCmcYmMd7xA63nk7CouP2wJ3yTYN+ikZ/JGlFnaPE5Lhc 2NTWtg0jF/gxEUYk85SeH/ipC6gFtaUT1HhN1msD7i+BgJcNgN2EiRxxsL575K+ibwhX 88EA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oN1qDEuG; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41245-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41245-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b21-20020a05620a0f9500b0078322459554si3623505qkn.509.2024.01.27.07.29.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:29:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41245-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oN1qDEuG; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41245-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41245-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2C3A41C2150D for ; Sat, 27 Jan 2024 15:29:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA75A2C6A8; Sat, 27 Jan 2024 15:29:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="oN1qDEuG" 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 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-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789257976539554223 X-GMAIL-MSGID: 1789257976539554223 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 Sat Jan 27 15:28:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 193026 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp542512dyb; Sat, 27 Jan 2024 07:30:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7m9kwiIMMGBg8gfYcKsqwA0gWz4dMK5m3o2s8jb5aH5GGMOu3p/anbtshESuESy+FsElj X-Received: by 2002:a05:6a20:94c9:b0:19c:9e83:b5cd with SMTP id ht9-20020a056a2094c900b0019c9e83b5cdmr1225683pzb.61.1706369451778; Sat, 27 Jan 2024 07:30:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706369451; cv=pass; d=google.com; s=arc-20160816; b=dg33oMZspRCja2Tlv4gAYHmIuqE5KGzIvWQWxslaPtmao6dAqUKvxuovypPqiH4cni NJZmpcqB0XtX+ppqVa4dTMH1FtbNhAoCWNi2xxznyWsnHCrNPS3WK4ny+iMJtNxu1HtL Sm+mDWqKu4kH2S5BEfDwI66+VhQs91xT/GQGxJWsySMAAveHZaKW2kW1XXEnpqwX20Tj zyPR24mxLEfdHuPSIPhhDNz7HkFPHum7NWKSo5ztzSKm1bRMAJZGFmWfsuYYEEDEPWaK XO+eFnWW1MaYKluVhs48Pru6jivyruQ9d8FfguAyi3cGJAZ2bhTVN1fCxC/1AzH6DwRD DggQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WWGir7ANRRzan3PNYs2175lzxrtc4JGbJP3xn7orKtg=; fh=VUUiPKwOhVOc3td5+Qx1af3WYLwlJt41c7njUneeXzA=; b=OBnGgokAFPN5q/8IZTzG9xlqUR3IGaicO65U2RxUp4yZI3A4mJehJ2hrEKbH+3HBAu YE9HN0sUzuixXvekDGQDtFgKpMlzl9BBbzesxi008nVZTvqZgYkS6tGWBCj412T5D4wr jpfqDGUc9vfvlPXzAO+vNIxMpVGrU5AepGJfdJHifDDbfQapaasNlAhULMumJTTElxbh FPZUujm7VP05yHGKFdsWx/7GmEENt6W1vzbqbk5j/xk1qI/ePm6cWCtiFC5m7a+GOwV3 GeZBl5YcfeH6Degp/Piyy26BzvzbPmykCDG9ESQ76aa3Eif5twHgKJwmh3FfMcBKL9P2 QiNQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q9vqVDeD; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41246-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41246-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id fa20-20020a056a002d1400b006dbd19a0a0asi3017840pfb.185.2024.01.27.07.30.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:30:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41246-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q9vqVDeD; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41246-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41246-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B2156B229D7 for ; Sat, 27 Jan 2024 15:29:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 862512CCDF; Sat, 27 Jan 2024 15:29:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Q9vqVDeD" 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 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-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789258054296751587 X-GMAIL-MSGID: 1789258054296751587 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/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 Sat Jan 27 15:28:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 193023 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp542089dyb; Sat, 27 Jan 2024 07:30:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFCDHr6Qsog03FVtd5VTJy1OpnqiG02HDZRThI7UkwfxEw8kbQImG7nVJ6SpQmXOtfFmqw X-Received: by 2002:a05:6a00:23cb:b0:6d9:9a36:50dc with SMTP id g11-20020a056a0023cb00b006d99a3650dcmr859060pfc.2.1706369408188; Sat, 27 Jan 2024 07:30:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706369408; cv=pass; d=google.com; s=arc-20160816; b=vZjeoNaMTpHzG1v8eIP0y+Tk6xoc9lEhveB24cIKjPM8lcgtrMf/j7SQB/6SCaJv+R vQzWjsE6A67acuNOc/HG2vxraXNypkYgee0nCCwJOj/ujcujko2luqA6xZzSy7mrWwEw JtB5hWNLW84jZdNzbrp4zOqmgv0bDki8/oQAOL+16sB7f/9qTi2yZw4r9poDxe6B/ZTq oIRCB2fVUn5VijSAiX/LycNQNsgy/wiMW7gREyjTzc8cg7+6+UtGy3d8i0MG7xaHqqN3 dXxGIAhYHZRc9zaW6ZlkYu7122Hz3p6DlfrQVJ9UYvRJ6RHIKjNuBiIs8PtxE3TaI2AO ZcwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=6KiKuozUcISQEJW2rOZI/i2DyGSQ+9yO5T+hEH7AHSM=; fh=VUUiPKwOhVOc3td5+Qx1af3WYLwlJt41c7njUneeXzA=; b=YwAL/utURJHSCb0b49aA8aGo8kisHbvDs4tAi4jGza/Hss8V2H4TeN8Ipz5rbcL4XH Jkf9++420gQywhWQN30vj0/rstAx2nJoa4svZgwrkbWsezllqt8hcBbqjXhiGynGJxMp c0oNuYkni7bchXR0C/hn0uSWTMDEEIDuLQGs2HTiol7PjQ35ig+96x7V9cbdySvkC7Vb T0HIyr1Z11ZaUUiVMggULZCbr6IT6npmbTTw5CyEc3aI34fZjDQT2kCUTV2kzvencU+u stKkrCKJUWAoEcOzwrcK65awb9SvOrKjcIKpmTzcLFcCMjokRt9x8wfgFx7/p6RXiyd6 LHIg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=E6aPN9Ib; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41247-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41247-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k8-20020aa79d08000000b006d99fca81d2si2954003pfp.382.2024.01.27.07.30.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:30:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41247-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=E6aPN9Ib; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41247-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41247-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EF02C283998 for ; Sat, 27 Jan 2024 15:30:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 65B7A2D059; Sat, 27 Jan 2024 15:29:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="E6aPN9Ib" 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 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-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789258008492551180 X-GMAIL-MSGID: 1789258008492551180 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/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 Sat Jan 27 15:28:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 193024 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp542281dyb; Sat, 27 Jan 2024 07:30:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/vqc7FqyFFCwcXvaVfqSK1AEqraIrSfpCD133nA4lM4vUdqWdtEJaSQExvFt3rFv9hlbj X-Received: by 2002:a37:e107:0:b0:783:e148:bdfa with SMTP id c7-20020a37e107000000b00783e148bdfamr1428273qkm.1.1706369427477; Sat, 27 Jan 2024 07:30:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706369427; cv=pass; d=google.com; s=arc-20160816; b=wtX6RZfLhNXRqos77Wf6UTiEFubQMx6RubFm8yPnqwqdkiswVpvnaZGM+NbRPS+qlA zvvAdj3FMXZ5RLDHQd6jy2PdItR1y5cIObDVNjLj24u2jwP/vaXzp7lIzFaljQkb1LeG 1QcarR8Sy9m7C6Qw+5sZqx0D+jvujQDo647hhrXYwKvHz68ilA1BTEKwrr3x2odNRQyO bOjS/v9USWKIYzjTNdx3lMz07xiHZsHvDVZNUxUBGLhQPrKv0fRhHxZdNyZkczwdAJ/E VpFx8msCYEMPlVWBMTjDTFEgxJzntu0zLF/wxvt50naWd3gx04E7i9Im62NuSdoIRiMj UoKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=rQ9PYTfLUcfjyRJqgcRWuTdkFl4CeqFScaddJa4Lyi0=; fh=VUUiPKwOhVOc3td5+Qx1af3WYLwlJt41c7njUneeXzA=; b=VAzEwaGfrT3hRcNYC639T1p7/unc0Lt/qt/ZiEJWktvsTMGAaIA86E4w6V1ZW9YnSo uvyATKQ3CD5785nd/x7dqWHoXpqiIa8lrz0rL5c9IHwRizGV57tqXxo4xFqhAX7iRQtS pHA97JgpPbsaQR6FLGc4Aa+boEyoqtkWVL7HyK+bfKjgJr/mFcVqjA6h+8B9Qn2oifAt boadMuXuR6V86ejDI9KyM42UZDVXfGwekWx8Yd7fFZleVM4VeEF2JcW1S9I3JKUv2F7e +5kddcrfwU8KX/OPcL4Gk7TuVpUlvQVEiu0skp/eKT8mPswnPEdz30TLJjo/Hcaj23Qc dUFQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kT3PWrM4; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41248-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41248-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vr16-20020a05620a55b000b007833d03747esi3663196qkn.591.2024.01.27.07.30.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:30:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41248-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kT3PWrM4; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41248-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41248-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0DF4D1C203B9 for ; Sat, 27 Jan 2024 15:30:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61DF62E40E; Sat, 27 Jan 2024 15:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="kT3PWrM4" 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 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-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789258028941228261 X-GMAIL-MSGID: 1789258028941228261 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/st/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 @@ */ /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; }; @@ -114,6 +127,45 @@ &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>; + status = "okay"; + + port { + dsi_panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; +}; + &i2c1 { pinctrl-0 = <&i2c1_pins_b>; pinctrl-names = "default"; @@ -122,6 +174,16 @@ &i2c1 { status = "okay"; }; +<dc { + status = "okay"; + + port { + ltdc_out_dsi: endpoint { + remote-endpoint = <&dsi_in>; + }; + }; +}; + &rtc { status = "okay"; }; From patchwork Sat Jan 27 15:28:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 193025 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp542322dyb; Sat, 27 Jan 2024 07:30:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTpbjzGjX77OsdDFiYsWKpZRO3b6LWoERiTtwkmqHvDGFAyS6XBB0mTdsX9/089GWXGfOm X-Received: by 2002:ac8:5cd3:0:b0:42a:2cbe:43fa with SMTP id s19-20020ac85cd3000000b0042a2cbe43famr2139974qta.50.1706369431179; Sat, 27 Jan 2024 07:30:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706369431; cv=pass; d=google.com; s=arc-20160816; b=vtE+LUmHTx8TsW8KH7qRbgFQUo512MQzz+4C6epicuow85ZjOlcvqKwDnmMo0WYArd 3Wc57YCmh3sDGqJgC16McTvk/4j1idVdU+OfkTALcrBfiXGqEznwfFKzIaIXfp9pqMhX /iEMJOfIqaXWLilgGIuyErUctkl53V47F0hLb5Y6t5n6R2d+A/+t231b4JGHrrRCwUP/ +NBMBy9qYW00K9RJtBAYnngHh88XWi71kubjPiNSrLxei6xMFRtzwAEXCOD2ke/Q6KGO r/0utgnrILGpo4HcfQtmk7MN43sVY1PmPqQfPmwAdVRW0kPSfmAivAQDi7Oxzw0McgrL ouCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jr5hMNUd1x8YCEgCqvY7QTv9IEyl6KU3Ejyn2wYPqRg=; fh=J16PEf5gTuX3h3ndvcDv2llaCgscJrUn4BozEnmKhXc=; b=Oqcfc9wsQnNydj7lfteGfD7RvoJ2+5IH/h6xfs0y76rg9+kxERr9Fjbb4Z2RjLUnaI smS1AgIYCjUS6pGmRmd84nsY9OhbOGfXR6qrZqPxokghed5DehriWqBK7e8CInNPpNAD KcDJOqkw54ILvmQgzLUqVWa6p/gjZeK4liwR45QPLoz/fiLVxvzzLasPDxJ3qSX6EPyJ xB5/Jj3zAfUxgv6mP6tdZKcxlPSMIUwcuCEG6CYHHbf3yOopDRF4p2CkJPk7NqKVQGyS qzczP233yEW0KfLREyU1wsNO8ktJWDl76MCWe3NiaxLSH2X7VmioSIcNV/eHpMtE0THd 3JeA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hWbf0GPv; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41249-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41249-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d10-20020a05622a15ca00b00429899fdb2esi3674969qty.639.2024.01.27.07.30.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:30:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41249-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hWbf0GPv; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41249-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41249-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DF4D21C20A45 for ; Sat, 27 Jan 2024 15:30:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D95C82E415; Sat, 27 Jan 2024 15:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="hWbf0GPv" 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 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-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_?= =?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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789258032654520759 X-GMAIL-MSGID: 1789258032654520759 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_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 + .../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) += \ 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 = "frida,frd400b25025", "novatek,nt35510"; + vddi-supply = <&vcc_3v3>; + vdd-supply = <&vcc_3v3>; + /delete-property/power-supply; +};