Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1381rdb; Mon, 14 Aug 2023 07:55:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHh1OKyFjgHqe/4YptZlAseiLegoYm3f1A5fjXY4vDOTSyEOnTYSDNQfaletutH0vdZJvi0 X-Received: by 2002:a05:6a00:8c3:b0:687:1aa6:8821 with SMTP id s3-20020a056a0008c300b006871aa68821mr14276886pfu.9.1692024936171; Mon, 14 Aug 2023 07:55:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692024936; cv=none; d=google.com; s=arc-20160816; b=XqRNnHffmPo7fmbb408AhvjOYgqzdGbh7iOAQbQgVUTbgc9KGKhdZtONR7zCZJ/Ztr qRadcYJgBV0fFL1QUM4d6Qj+k/fJrZVvoYUZHblNh0XRy5dy/wUgsmKa+zTI519As9Bw OPTg1XbMVjhbTBjY+rGzKNtmEpcQ8Q1vogiJN6ZSMSNd1LMvUXrUvBJxvNDkVsHutzQU 4MIdghKh9ulOW8E3GzQ7AGhAn5px5XsNy3ahG5AjD0UFe7dnauvO0Xlu1eBueOkmYyiY rcfxWvAK5F1HCiXwNIYNIn13QDDhvsjWnAgBequH7oKKLlctnDAHdVxI/zXfvGgGrRVy GNVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hi+e70M73VVW2/UtI8fzsCmgrtCHD4hmR1usrA9vrWg=; fh=lGztaoOcELqxypiQJUcB4dBxA49nHK4HJFAaABZC21k=; b=zF9FD6lNueeQ0ec4L7YPVQtVvMVoZS8/+/8UoJjHwB1WGH5mRIK3ezQhoV9K2rNuDV ISwnl1O8PVOnGlTNuc1xlcJyPnIDVYP0H/KKP2y3TomHrtoYH0Ue7zA+Ugewkmnfu7HM wZiudWzG25I1YLw2BPY7rYuTNl947e4ZuXfze27WBGHRbhVpIWu6MKXqVni7sCvRBoH8 mZGRHc1KDIYBlrQYVN7ThUQijnnPR1NkxM+m/+HQaFh3bUGUZ6xWemZW7zQu9o0ncQIh eOUYw4SZ2NUUAs0RgAhu9Du7b58lwukzMT9y/MNg+xLaWLU5hSHlg5EZz8v1QzEAKQs4 sPtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hRjTej0q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a636401000000b0056424e3bb74si8427572pgb.203.2023.08.14.07.55.23; Mon, 14 Aug 2023 07:55:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hRjTej0q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231175AbjHNN3P (ORCPT + 99 others); Mon, 14 Aug 2023 09:29:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbjHNN2w (ORCPT ); Mon, 14 Aug 2023 09:28:52 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6750ED for ; Mon, 14 Aug 2023 06:28:51 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id a640c23a62f3a-99bf3f59905so576830066b.3 for ; Mon, 14 Aug 2023 06:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1692019730; x=1692624530; 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=hi+e70M73VVW2/UtI8fzsCmgrtCHD4hmR1usrA9vrWg=; b=hRjTej0q1SmXQ7RxhrPKq8YxYbEMwHfR0pOBtW0MqlX96YJDiK3xC8512YI5hhW9YH G+I4elnqAjpQG7Sf/wlM+p8Mh3ySSN7OoT8aXmXFSy0fZ32DsfVBgrTPesgabKvqxqT0 5v6z9pIF4LORwWFmKVpX4kX+Uh4n9Ejgs5Hdc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692019730; x=1692624530; 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=hi+e70M73VVW2/UtI8fzsCmgrtCHD4hmR1usrA9vrWg=; b=iP3nNDRlmqjYLznF4G7fE+Rbrnc/+Y4jSStgdZAR3svBVAn112HCXEMf9EmAz+YPWB TWxxNVCyRo9uyD47U5zx6IayVb0UrNFsX7QAZgqMYPExBfh1Kt2x9ccGXE/nbmb8Rp92 iMP/vcZMSPFvqoJlf3Hkuo9Z+ufdx++TtlnA2rIyAoGYgNul+vrtlNcHeGP0Lak36KYX CdW+nRmTsFjbKLLEt6SvQytXwYEd6HVVQCbxdctRyDZIjmeq8ZiQ6F0NC0wHveYJhkPV RqXNHBM74VMdGWVMc9c6LJ664AgaUow8D6xnrsVauPy4hfsLTnHc1qKb19X0zJgKs3p8 S9Bw== X-Gm-Message-State: AOJu0YzfhzAXulawYLae2ERvgTcZnIyPXnBZuir6hkoaFpWVOQMeHC9A 3JcuebfzXJVTLhNVtPCUi+CTJ8d8pzgTVqUxtwIJ/cdk X-Received: by 2002:a17:907:2c47:b0:99c:980:d551 with SMTP id hf7-20020a1709072c4700b0099c0980d551mr7499548ejc.50.1692019729998; Mon, 14 Aug 2023 06:28:49 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-180-23-204.pool80180.interbusiness.it. [80.180.23.204]) by smtp.gmail.com with ESMTPSA id e3-20020a170906248300b0099d02ca4327sm5662066ejb.54.2023.08.14.06.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 06:28:49 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , michael@amarulasolutions.com, Amarula patchwork , Raphael Gallais-Pou , Dario Binacchi , Alexandre Torgue , 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 v8 1/4] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Mon, 14 Aug 2023 15:28:41 +0200 Message-Id: <20230814132844.113312-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230814132844.113312-1-dario.binacchi@amarulasolutions.com> References: <20230814132844.113312-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add LTDC (Lcd-tft Display Controller) support. Signed-off-by: Dario Binacchi Reviewed-by: Raphaƫl Gallais-Pou --- (no changes since v7) Changes in v7: - Add 'Reviewed-by' tag I forgot in v6. https://lore.kernel.org/linux-arm-kernel/20230629083726.84910-1-dario.binacchi@amarulasolutions.com/T/ arch/arm/boot/dts/st/stm32f746.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32f746.dtsi b/arch/arm/boot/dts/st/stm32f746.dtsi index d1802efd067c..36eda1562e83 100644 --- a/arch/arm/boot/dts/st/stm32f746.dtsi +++ b/arch/arm/boot/dts/st/stm32f746.dtsi @@ -507,6 +507,16 @@ pwm { }; }; + ltdc: display-controller@40016800 { + compatible = "st,stm32-ltdc"; + reg = <0x40016800 0x200>; + interrupts = <88>, <89>; + resets = <&rcc STM32F7_APB2_RESET(LTDC)>; + clocks = <&rcc 1 CLK_LCD>; + clock-names = "lcd"; + status = "disabled"; + }; + pwrcfg: power-config@40007000 { compatible = "st,stm32-power-config", "syscon"; reg = <0x40007000 0x400>; -- 2.34.1