Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp310364rwd; Tue, 6 Jun 2023 23:42:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5GfhR2FhE0YnBVpw0XX9swUPEOPW9tJ1Q99B07/YriuaiBcFjT5UAvwxROHGNIS2o1iciq X-Received: by 2002:a05:6358:9f91:b0:125:506d:36db with SMTP id fy17-20020a0563589f9100b00125506d36dbmr2687355rwb.14.1686120151626; Tue, 06 Jun 2023 23:42:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686120151; cv=none; d=google.com; s=arc-20160816; b=wYkNnmcWw63OB4I6eSSWZwVHZySH/8TNQ4AUIfT8YMjAM6LBoufWGuGozvUzNfnPlj MpD5KMocBtEefp1tdsMp13mTJ5Zq4NkDPJkU/YcIGsa11PHUH0HBJA7+FlMzmCtNYwfh XXwzd8foBdDJ7GxPH9Zee/8JQMlrZX8BwVXkM4C7ph4UqHtecEpfjTn5O+lhHX/v2m62 57tFdlOf8ysOuPxFYHgjF6lgzyO6JVD3QYlYu6+2nNWrSAuBaHyihC8stgRgsHNlJzj7 reKzT5fKmv1mkGFBOFbFKFLveMDo6NT18MRU//meKfQeOdy7HfkwYFq/Cex1sSgotbKs gi3w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=3q0SzVmGHZSYA8dRUVFZwmu0+tSDXCd1K6OkYFYtOd8=; b=QSNNIR8+lgpTATkKFA9OtnoRufBXATmktxVrIIGUQc4BN/4CsgMuy1z96RTFhqMZSz Cf66FeDVnW4XGBjxe6z+lJO4+DQJK1NbpMXYDUPP7cqoi2G43RJ5qF/CEF5TUbHmESoM WOikRozAZzsTAxiVE6MnD99GZWcuYFcgivGeop/yxvdQ+g/1YKt5TyHsndQfAQ0xpdBg t99aJVOJB1xC+XL3Zw9XhIqzuBoGl9XDJMk6i8I6THBEJx9jM4Jh07dDE8aTowY7qQNb FKa+a8tV1fwJi18TH7lPlTPF8yNJa+h0hkEYe8I+H9xpw+mMit/rMYs3Gyv85/WH/8Jc IJEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M7Y9qbOg; 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 jx4-20020a17090b46c400b002555b4bbb1asi2258259pjb.1.2023.06.06.23.42.15; Tue, 06 Jun 2023 23:42:31 -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=M7Y9qbOg; 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 S234809AbjFGGbw (ORCPT + 99 others); Wed, 7 Jun 2023 02:31:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235015AbjFGGbu (ORCPT ); Wed, 7 Jun 2023 02:31:50 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B45D1BC6 for ; Tue, 6 Jun 2023 23:31:45 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3090d3e9c92so6839993f8f.2 for ; Tue, 06 Jun 2023 23:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1686119503; x=1688711503; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3q0SzVmGHZSYA8dRUVFZwmu0+tSDXCd1K6OkYFYtOd8=; b=M7Y9qbOgr2mCzPYbaTG2gTTgpe758R7rQlGfASKS5JQv7ihIt9vNrw/L7whQ9Ujgb2 5OsGaVMznTABhT+h2tEiJSyBIK1GlpO7P/n1vVgeBxLFIDtwRjdHE6vLDhT7+BWdpFMj WG7dUZTg9+7/DB9QL5QDyO4hDjtU6LePF3u9k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686119503; x=1688711503; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3q0SzVmGHZSYA8dRUVFZwmu0+tSDXCd1K6OkYFYtOd8=; b=e9Zije0ph0pwC5OQoLkfD1iF9e1ChzzoFHjtvmp6K03Kq+kb4VXKcp6NdJOInSO7og cJtthpN01/o6wUNzt06TnQLrpIRbyDUgeycRe42ryctva/l2fPylnmCrtl6nuEUysEzH qmo5Ks78ROIYGNwFXVJtvLWboV7eS59JiTlVeMRkUDKcjtlqH4gq5IVSHOI0QfEY0lOh zhIJzUYmEicYWg64Su63KmLMhCC7pLc8BJ9y/2Cc4swMZgPM88OyQtAVgQvhA7gtFC09 sydB/A5ttoHZC2n2iPPvYNGVPhBr6i4uOM0IlSZsQBDwI7VgTJww52I68fid5YorSrCx UO3A== X-Gm-Message-State: AC+VfDwKEyd/NiO8z3bkPcRhWrkkOaKJ5chw5txUF+47h/ORNZlDNXBU lXUAHUqMwYvGqAoKZfO20k6sLvylFyLtTBQvdOLMRA== X-Received: by 2002:adf:f0c8:0:b0:30a:dd26:63cd with SMTP id x8-20020adff0c8000000b0030add2663cdmr3825382wro.5.1686119503550; Tue, 06 Jun 2023 23:31:43 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([37.159.114.163]) by smtp.gmail.com with ESMTPSA id m6-20020adff386000000b0030630120e56sm14385127wro.57.2023.06.06.23.31.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 23:31:42 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Raphael Gallais-Pou , linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Philippe Cornu , Amarula patchwork , Maxime Coquelin , michael@amarulasolutions.com, linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , Dario Binacchi , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Neil Armstrong , Rob Herring , Sam Ravnborg , Thierry Reding , Yannick Fertre , devicetree@vger.kernel.org Subject: [RESEND PATCH v2 0/6] Add display support on the stm32f746-disco board Date: Wed, 7 Jun 2023 08:31:33 +0200 Message-Id: <20230607063139.621351-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 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_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 The series adds support for the display on the stm32f746-disco board, along with a generic patch that adds the "bpp" parameter to the stm-drm module. The intention is to allow users to size, within certain limits, the memory footprint required by the framebuffer. Changes in v2: - Add 'Acked-by' tag of Conor Dooley. - Fix build warning reported by kernel test robot. - Add 'Reported-by' tag of kernel test robot. Dario Binacchi (6): ARM: dts: stm32: add ltdc support on stm32f746 MCU ARM: dts: stm32: add pin map for LTDC on stm32f7 ARM: dts: stm32: support display on stm32f746-disco board dt-bindings: display: simple: add Rocktech RK043FN48H drm/panel: simple: add support for Rocktech RK043FN48H panel drm/stm: add an option to change FB bpp .../bindings/display/panel/panel-simple.yaml | 2 + arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 35 +++++++++++++ arch/arm/boot/dts/stm32f746-disco.dts | 51 +++++++++++++++++++ arch/arm/boot/dts/stm32f746.dtsi | 10 ++++ drivers/gpu/drm/panel/panel-simple.c | 29 +++++++++++ drivers/gpu/drm/stm/drv.c | 8 ++- 6 files changed, 134 insertions(+), 1 deletion(-) -- 2.32.0