From patchwork Wed Dec 6 14:41:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 17627 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4151512vqy; Wed, 6 Dec 2023 06:44:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IG17Wsg/M+C9a5zmCOJHok1ZEmWfxogzP+ogeOk4NNoQz6Ruuu5ndvoTBLzdtmVGwo6JFeb X-Received: by 2002:a05:6a20:be03:b0:186:bd68:facc with SMTP id ge3-20020a056a20be0300b00186bd68faccmr803986pzb.28.1701873878497; Wed, 06 Dec 2023 06:44:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701873878; cv=none; d=google.com; s=arc-20160816; b=WFqDCC0bTYTuUnkEf6pt+EBD5ottIRpMVCRCuSKz2FAI7b9k4rNZ9cynZSwpTM6qcC Ge1CvySZrf/XnwwWauBBpst2n2ht522CxgTeogNN1iEq8EwJ+7gs0yhUpzRmxtw0ga/x fYpE/+nwp7bceEgp4j4FVWcVxtm3fkodQdFrJJ7yuMLYxQcoM6m7HQyftA1SkH4HcoMH Ylj5bB7H/yVRZSeLy6BEhLFFBpFshtbaEddeJwp5qwmRCsAIvItn6wQpFcyA/jzFWs3+ au5p8wOIETUtCo+rXAbhV8hGuLBXAIabIKBtO1QALO1lG4K1VStbX9u+Vk+hdoCNZ7n9 k3tw== 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=DYC2UmLyDBy1YqTJMJhvOKy08hLxAorwAG3jaQhODF4=; fh=GepdLOFuBuEYk+zCVZ8zeKxezqsaITl2656F1qISnTY=; b=mCuCeljlX0FRUjT+YhoLB4FeHjGAb+5mqFteUnb/KJHXYlBfUmNJFEqtM7Ml6uNHbO mScF/cuYutBArgciwTEtUaV+oy6hz5r0xpPOMd2vkmqYWctBuJ0tq22oExtTm2aD0o6D zuQQMzD0teqELPR0eMs5UqdZMUSf3/2L9a/H3zM1/iHIH+Doix7nSs92FSqOwmBj46vq rMWD+VS+fe4peH6vChfhX15DeeambeX9/1VNYNOBrHmOb+fTz++Addx2iQISk+dQ3BtP P9uuq13+p6bCGWMh3W9AXITg5X3ztm6N7ULlO51G8iIN2GvEnhyMlxW+y6WSY6wRocAH mEpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=FVAUO6iK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id g22-20020a056a000b9600b006ce7c7570c6si47923pfj.288.2023.12.06.06.44.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:44:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=FVAUO6iK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 7DE198029853; Wed, 6 Dec 2023 06:44:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379007AbjLFOoW (ORCPT + 99 others); Wed, 6 Dec 2023 09:44:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378966AbjLFOoV (ORCPT ); Wed, 6 Dec 2023 09:44:21 -0500 Received: from mail.fris.de (unknown [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6071D49; Wed, 6 Dec 2023 06:44:25 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 29CE4C00E1; Wed, 6 Dec 2023 15:44:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1701873862; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=DYC2UmLyDBy1YqTJMJhvOKy08hLxAorwAG3jaQhODF4=; b=FVAUO6iKJOwB02zav5uP8jaYJK7ImmJMJV2nDoaPnFsfw+c+idtL7ci8o4FpP4XmPURreB gjzt9E+Qug5f5WmPdGCudwftTpOQWQaoE4urwjGML6TTY6VYh08Gb8ztTJ3mP39K8mMZvn 1W8X1LRCwBbs1QynCNz9CmTO706Dt3daEBaSQZszgR9iW6TbjSss4nTtUgjGg8LujgVjRT EV9M13vP9Cu9naapg7EjboZ1UeO1w6dQ6N+5aUa8YL8x9qd8XidcvoI4zkhaRMa9z+Fb/c YkDlaVmIys7H9TCF1i0OwJy7rrDyDkJOLhVW3qeEKEaRHjygnfrvUE3yjavaLw== From: Frieder Schrempf To: Conor Dooley , devicetree@vger.kernel.org, Frieder Schrempf , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Shawn Guo Cc: Alexander Stein , Fabio Estevam , Gregor Herburger , Krzysztof Kozlowski , Marcel Ziswiler , Marek Vasut , NXP Linux Team , Pengutronix Kernel Team , Philippe Schenker , Tim Harvey Subject: [PATCH v3 00/14] arm64: dts: imx8mm-kontron: DT updates Date: Wed, 6 Dec 2023 15:41:03 +0100 Message-ID: <20231206144201.46911-1-frieder@fris.de> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:44:31 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784544103549776437 X-GMAIL-MSGID: 1784544103549776437 From: Frieder Schrempf This patchset contains several improvements and updates for the devicetrees for the i.MX8MM modules and boards by Kontron Electronics GmbH. * HDMI/LVDS support for the BL/DL i.MX8MM * Misc cleanups and small fixes * OSM-S i.MX8MM module refactoring and update to latest HW revision Changes in v3: * Address Shawn's review comments for patch 1, 2 and 14 (thanks!) Changes in v2: * Rework DSI mux GPIO logic to be compatible with overlay * Switch from 4 to 2 DSI lanes for LVDS bridge to fix non-working display Frieder Schrempf (14): arm64: dts: imx8mm-kontron: Add support for display bridges on BL i.MX8MM arm64: dts: imx8mm-kontron: Add DL (Display-Line) overlay with LVDS support arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on OSM-S i.MX8MM arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on SL/BL i.MX8MM arm64: dts: imx8mm-kontron: Disable pullups for onboard UART signals on BL OSM-S board arm64: dts: imx8mm-kontron: Disable pullups for onboard UART signals on BL board arm64: dts: imx8mm-kontron: Disable pull resistors for SD card signals on BL OSM-S board arm64: dts: imx8mm-kontron: Disable pull resistors for SD card signals on BL board arm64: dts: imx8mm-kontron: Fix interrupt for RTC on OSM-S i.MX8MM module arm64: dts: imx8mm-kontron: Fix OSM-S devicetrees to match latest hardware arm64: dts: imx8mm-kontron: Disable uneffective PUE bit in SDIO IOMUX arm64: dts: imx8mm-kontron: Remove useless trickle-diode-disable from RTC node arm64: dts: imx8mm-kontron: Add I2C EEPROM on OSM-S Kontron i.MX8MM arm64: dts: imx8mm-kontron: Refactor devicetree for OSM-S module and board arch/arm64/boot/dts/freescale/Makefile | 4 + .../dts/freescale/imx8mm-kontron-bl-osm-s.dts | 295 +++------ .../boot/dts/freescale/imx8mm-kontron-bl.dts | 198 +++++- .../boot/dts/freescale/imx8mm-kontron-dl.dtso | 201 +++++++ .../dts/freescale/imx8mm-kontron-osm-s.dtsi | 567 +++++++++++++++++- .../boot/dts/freescale/imx8mm-kontron-sl.dtsi | 4 +- 6 files changed, 1035 insertions(+), 234 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-kontron-dl.dtso