From patchwork Wed Jun 7 06:31:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2909 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 019273F080 for ; Wed, 7 Jun 2023 08:31:45 +0200 (CEST) Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-30c6060eb32sf8215202f8f.1 for ; Tue, 06 Jun 2023 23:31:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686119505; cv=pass; d=google.com; s=arc-20160816; b=qepoKC1El/Ccgu49PTtpGvTvLoNLS/qNJSfK1xFdQ8Ijfv1d8PPf4439E6CAsn3APW adcpblU2XHjhy9JPd/TlFw252xuHx7na/34Lz+AQRnQ9xxxKPuqYP398UjVmla1vAu9q cOGVCPz9xKfLYiowAlkPsmCei/kzFsfjLCvlqnWwQvev5CQMb/kOlMwJZqoSDFzBzeHj JecdVxriJt8NY3AtWgdseZeuucvzESuISjJuSYeDzZqfPVWiVEl92FCpfyYhOzFxK/hJ VU+ljuFb6SBPiOIoOCCV8qqaFpVqpeh8SS9NQbvPl2stm7+lh4O+YqKB3OC/mlHmL56k wvDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=tGQzOEVo30ivngChvbF2/nlr5iSWy3lGw8IRUgQFe9A=; b=MJqub8oqemnod9EtK5kUgIZ6b7EtT1yKun/bQm/2jD62QmtBXOXDT/l0Gt/NyJukUy PbgffIpJR9xGZspGF481qhLu52M5TnKqJBiHbTaIxwtlxnkt9mPMJy1Eb8BcVZRDPvwF SCREZYi/3b6v5PydN/ikOWxhpgmxlWoXsXGt8sKteQAoLQxhr5fF4kGzZUf1Dl9eFjYD cBov0BZILA9IgzKbSLrAqg2Q80rFUgjyRuIiBJMHRzxM+EniC9lg8ViF2ghfDvTugCf5 6YKYtjGj5RQPp87FshiESlFZ7x06eSBLRP/BTfZPux9ZfC00Onja8jy2lr0kaUIzZphZ pViQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M7Y9qbOg; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1686119505; x=1688711505; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=tGQzOEVo30ivngChvbF2/nlr5iSWy3lGw8IRUgQFe9A=; b=QDuGs7y0pnVyChs/7YkpFF6nNowFriieF9M//B4Zql3qCtXJ/i5g/9pcr4AiFVrRCi 8td4JOnD1+VlAjInJ74iCvxaJs3n0RM1VGKhtKGRj0/etgsDupo8tnWCRd+wcE6Kpa9Y Yvx4J0WO8S14KVsxRElR3mt/4dF73XWGhVBug= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686119505; x=1688711505; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tGQzOEVo30ivngChvbF2/nlr5iSWy3lGw8IRUgQFe9A=; b=MM7y3skqxzBTc1II0JQB92VIeVeNdP3G0MU9b8+VJanOHzi3LQPDKXm3ylbAwTnR71 ahYA7gknOY6x6T4LHnbht/mg/tdnYTORpHZQbeyGgEoYPAzmVm1xwmYdFPlau97bblwP /Y/oE2txjJrA62eGCxunhCgNkwuHNm9ZPjyYxZYMMmM2Vr7lKM4j/3xPKfO7fH0fOqdO BWzi2DkZVwQgDYa7gvOgNmrkZCLDfUlBKZqeNPtkMrMJZ/eyYN7rxnYHQ8N52N3D173j LgKqvEvtwF88nYSM6hcMqNTyfnw8pOEtoZ8PKDBuk+yTQPf9fP5270Z8Nb7PcrssXwCY 9q1g== X-Gm-Message-State: AC+VfDzT28Q1X7h6NVHuNc3smEFYsodR59Hwzcvb7WxYCD/zJC8ST+r9 WuTMDyA6uIMkyiA0MJ6mFK3uiOuN X-Google-Smtp-Source: ACHHUZ4zS1GYJR4soKIAbyK7cg7GXcdNKF/NlezDKHGnkAUsLL6vDL9F800Qigp5QOPj5DgG+aiFpg== X-Received: by 2002:a5d:690d:0:b0:306:35d2:c33a with SMTP id t13-20020a5d690d000000b0030635d2c33amr3444920wru.50.1686119505399; Tue, 06 Jun 2023 23:31:45 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6000:38e:b0:30b:3044:3bd8 with SMTP id u14-20020a056000038e00b0030b30443bd8ls406383wrf.0.-pod-prod-09-eu; Tue, 06 Jun 2023 23:31:44 -0700 (PDT) X-Received: by 2002:adf:ff85:0:b0:309:4111:d82c with SMTP id j5-20020adfff85000000b003094111d82cmr3927470wrr.49.1686119503923; Tue, 06 Jun 2023 23:31:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686119503; cv=none; d=google.com; s=arc-20160816; b=C5p5WTfPiHa/5A+gQz8IrFECiJ6KWG3wAQTj959IPSq9wQv0vl61RpM/DxQmENzI7u lYXMKNonwUtvfyDvvtS0pPHcTnZv2w/qZC+Y++lbaV6rxJcAhvyoBaDZeQyzQo4Xakrd GvbPtHFKUi8UP01Ptdr8QYnjiSGIgt9TJvpxWRYysTgSvoiORR2Ub7H9cHHlEmeUHXoZ sGidsiKjYHJsNpzEB6SP8s+YCD26upj5iePUAO571sgRyxGZY/YF2hVIVl45vRDduwhZ PhIJtmFH//sNrUb56PW4kgS+pEfJjsRjtn9cmgHqEruz7zot1P3vCj/DfIXvWEd3u46e 61ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=3q0SzVmGHZSYA8dRUVFZwmu0+tSDXCd1K6OkYFYtOd8=; b=rgSlmoXk05Qx5E0QUK65tSMBtHXVmcv7LlX7Yj4tpS8487fXV2X8AajB38kipENEY0 ZYWxAx4PljDCYjaxtO7xsgKK7npujlfLoFf2QyEBN/fZLJBvuVf7XHi6MyaQr8pATdZ5 qqlOAf0z+xfeJeztfgs9PHlq/gDLJBc1lSKWNfFfeS9+Sf9VLctpoDBLaP/zOez8ej/E 35Kn7epsCLZqEbxqDxttPBM1L47keK4sgzn2Ly35dYjK0ABBIdOt9VcymxZz6RwsmuPm 2FuxukLiPloOrRD3ow8dDwByJHBxE7+jNntKXbdidkeoEzgbPtuOle/+i8oQTr3C1ogJ X6qQ== 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 dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a18-20020a5d4d52000000b0030af02e723fsor1334314wru.8.2023.06.06.23.31.43 for (Google Transport Security); Tue, 06 Jun 2023 23:31:43 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M7Y9qbOg; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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(-)