From patchwork Sat Aug 5 09:31:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2951 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id BB6613F1DB for ; Sat, 5 Aug 2023 11:32:09 +0200 (CEST) Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-99cb1b83eacsf140336566b.1 for ; Sat, 05 Aug 2023 02:32:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691227929; cv=pass; d=google.com; s=arc-20160816; b=CTTLgROCu8KrcEAfd//mJiUdvG6MVa/g0MYw54Qr0eoMOdWDXWlf7d2EiWi3hb+LwQ dGlOWrMKIv/7OX/uEBMn3yJ1XWivPl+BX1GU6RFPGD9HYRPpcz1bBW2HYfso2B72MSaI Cbs0GfYQVbgnbXzf7taOj19JcQENKRq8ae0lYTmYndhrg4MR0EXoTtL11/c70brTvR4B EV2K8buc95LvQh4cxObzkHAafQq4PuMlQ5gJwTdDnuvxy7vVYWvdKYZd+76BmfJjr5jM SZ92AJqvs3xykyAsCipKMb/8CzDokLuE+LxoWJVc4sHvZsMC7RA7E18XhJ0cpgMd1xwV /oUw== 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=YLES3aeWEK18CipodlHild6LhTdXAwAiU0sQnXMusXw=; fh=udvsXXrkdZja9IfBtj9HtpLbSf0mks1St2GLmolGRnw=; b=LsIrrGX2zBHcCA+GX03xtBxsatgiV6LlXjXA+kk5+dpEb+9wXe/has+M8eUhdyZ3X9 h5cOLthU6DdIf9AZTUUw7VJW4L3YteOfoOV7iDPNwST34G4DHDxRxEGAXIuVNBO5ScAI pjmpmS0hjJyW2eMGQcZt5fXseKwbGqYvP37hC6cnEbmswHI6pgCUcwt7/hlenOQtMjNH NBzAq/YNCaf1Bi9smxSDO/C2dHoqUr5FFKNAc8KM3uxeMHFfQAaJSgWE9vo/P/m8RX7j SBj7PEQ3ApUTJGT7fA4u9r8vqSnaN79CO1qfPxeRhkOrmS0Sye2zpjip6X7Q1ZDh8hjH Dv/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=b8vVOFsi; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 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=1691227929; x=1691832729; 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=YLES3aeWEK18CipodlHild6LhTdXAwAiU0sQnXMusXw=; b=piw/vZcjWd3Df4JmOfO8J1wKAQx9GuwCO2ItoQq6yEAUG/3TOg1B3qo/e6eNSHFPdn yQKpnBpHvbmvHeyFYAbfkZNVsxr67oj+wkGOSp7ieuItz1ftabl62Q/hxjy9o8xw1gB3 le78QrtOIKAlphOfBBrDNvybDJBNdp70Ik2vU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691227929; x=1691832729; 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=YLES3aeWEK18CipodlHild6LhTdXAwAiU0sQnXMusXw=; b=QQWyvpNpzhvZ9VoU2Y9PLDAP9Ld3TMWbonSw26LsDzintOnFmLUlE5h53Ru4b/yJkt qRDEmO+LRg8WvhA/7pYvAs6AN/MX7yq5ttoGZr85npP0LENR9SMH0UWC4hu+kGqn+0ko vmVOiXvsB9VeLhxKv2fd/ZZZxsy63Ptq5wj3XpgWnHXIZXCwZ4Kkv6Cx3rPrbjUsArEm udx8l8UJcQPHdMDgL6Kday1cPaklE00L/rqggthxCHDa4T8oHkqxlnlIfd1radDcKq6Q S2IQEWfL8zwGdsFOrOItNwXcK0hm9/OtThgXR1mLQqClyalahBzo5+l/Q92SMfjJJlz+ EK8A== X-Gm-Message-State: AOJu0YzCKZpp0MFtGpwjf4OlcH2OQP46e4ImRbWXcHxQhj6BRawR69iJ QNxfsaXE4FPEFMc+iqeZQIXdI5GH X-Google-Smtp-Source: AGHT+IE1s/+ZPpmFFtrRd1ep6o6M2NsMGTxsh83fdeElxuMimnyk4wtpFJRXPo7sCWCPZFNQ3jy+NQ== X-Received: by 2002:a17:907:9620:b0:99b:56d4:82bb with SMTP id gb32-20020a170907962000b0099b56d482bbmr2350823ejc.6.1691227929207; Sat, 05 Aug 2023 02:32:09 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1a24:b0:523:10be:e7f9 with SMTP id be4-20020a0564021a2400b0052310bee7f9ls1171255edb.0.-pod-prod-00-eu; Sat, 05 Aug 2023 02:32:08 -0700 (PDT) X-Received: by 2002:a17:907:c23:b0:99b:af5a:fc2c with SMTP id ga35-20020a1709070c2300b0099baf5afc2cmr2471888ejc.26.1691227927472; Sat, 05 Aug 2023 02:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691227927; cv=none; d=google.com; s=arc-20160816; b=t5FySvGLPPI31upY6BIyW6dUiGs1/LCLNjpfahJHCvUgYzPiK1zAkAHSFLcLadr7Pv f0bG3uN5PryjfmTaxjc7DFMqk+cfIhXakXglOhB3es8obcEQbrNP0AIi0P3ItARDzXs2 CRnpGL6PBgkvYebJtwqKSVQLQ0AyFdHItuG9xz3Ilu2leSUYyacdpAxEfHXF9Lev0bIw 9n55SNrpCFSYfWP2grESD18BGSOdmJYmByJs7bShMQMEnlr0X13NoxQD+4k3zAzmVm3T l+dj0+jgBtdcbaFpKnxZsrw0Ffe4jFx9XknPaBZITajdbWY8rES3M+bGgMhoZ3T2LXgR Mikw== 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=aF25RsasGUB1aNRKgB20J0I6Xsy/3huYOi47Fd6Xv1k=; fh=udvsXXrkdZja9IfBtj9HtpLbSf0mks1St2GLmolGRnw=; b=PzXzps2kBbrEoe1XP4bCXdcglum30QIQCKnDga1YHkjn9ypIeT5J2cUE3MlmgGL4V9 BtDR095XdEwjEJ3Qe7X6d+oQSdGrIn1/qDsfzzpUWoxuHQ4qKAAPEZxBV6Ffrlvq9Fhy n4lRoapLxe2aq/EF2crm6ZjT3Da3XrCy/4Xvav3eKn5L7rTC/MQs6Zx5/TpqQhooCIW5 n7VLS0NcMluwtfeLg549LqlNX70T3rDC2U5Z9i+Nw7gF40/PGY/uOu/zl4ryMj0krqh0 BsVT6JKLlm0HxCVGT7EwP8tiU6pzeCksTc02Yu+Xs1xLJdaVAikF9TblCVUv6bmBJd4P hUTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=b8vVOFsi; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 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-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id fx16-20020a1709069e9000b0098e13d3c6f0sor3702734ejc.7.2023.08.05.02.32.07 for (Google Transport Security); Sat, 05 Aug 2023 02:32:07 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:907:760a:b0:99b:4bab:2841 with SMTP id jx10-20020a170907760a00b0099b4bab2841mr2313337ejc.26.1691227927131; Sat, 05 Aug 2023 02:32:07 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-52-12-96.retail.telecomitalia.it. [82.52.12.96]) by smtp.gmail.com with ESMTPSA id j15-20020a170906430f00b0099b76c3041csm2491083ejm.7.2023.08.05.02.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Aug 2023 02:32:06 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , Philippe Cornu , Raphael Gallais-Pou , michael@amarulasolutions.com, 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: [RESEND PATCH v7 0/3] Add display support on the stm32f746-disco board Date: Sat, 5 Aug 2023 11:31:59 +0200 Message-Id: <20230805093203.3988194-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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=b8vVOFsi; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com 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. Changes in v7: - Add 'Reviewed-by' tags I forgot in v6. https://lore.kernel.org/linux-arm-kernel/20230629083726.84910-1-dario.binacchi@amarulasolutions.com/T/ Changes in v6: - Remove dma nodes from stm32f746-disco.dts, they are not used by LTDC, so there is no need to enable them. Changes in v5: I am confident that framebuffer sizing is a real requirement for STM32 boards, but I need some time to understand if and how to introduce this functionality. Therefore, I drop the following patches to allow the series to be fully merged: - [4/6] dt-bindings: display: stm32-ltdc: add optional st,fb-bpp property - [5/6] ARM: dts: stm32: set framebuffer bit depth on stm32f746-disco - [6/6] drm/stm: set framebuffer bit depth through DTS property Changes in v4: - Use DTS property instead of module parameter to set the framebuffer bit depth. Changes in v3: - rename ltdc-pins-a-0 to ltdc-0. - drop [4/6] dt-bindings: display: simple: add Rocktech RK043FN48H Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next): https://cgit.freedesktop.org/drm/drm-misc/commit/?id=c42a37a27c777d63961dd634a30f7c887949491a - drop [5/6] drm/panel: simple: add support for Rocktech RK043FN48H panel Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) https://cgit.freedesktop.org/drm/drm-misc/commit/?id=13cdd12a9f934158f4ec817cf048fcb4384aa9dc Dario Binacchi (3): 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 arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi | 35 ++++++++++++++++++ arch/arm/boot/dts/st/stm32f746-disco.dts | 43 +++++++++++++++++++++++ arch/arm/boot/dts/st/stm32f746.dtsi | 10 ++++++ 3 files changed, 88 insertions(+)