Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp845896pxy; Wed, 28 Apr 2021 15:34:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzR2surL0WQVLr5lcWNfYq730qCxRBAu3dqXVSQX5+OqP7jcUD+UyukX5kh7TL5idHCA8rG X-Received: by 2002:a05:6402:309c:: with SMTP id de28mr14251155edb.191.1619649282004; Wed, 28 Apr 2021 15:34:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619649281; cv=none; d=google.com; s=arc-20160816; b=XGRu0ngddJegGycIswkMbSiucpOGehifzVj6GUNNav2ebFGkvEfbFk4ccWKId9KpI/ sNUAPf8qxHVT2esCoH7YbXi+0JVxf7/ZnQx7XGKE8aWCPWWkKxb64zD/WrvYEVNwN3Yp ygR7bwVhtXKrhBW7fnqBvR+3ZDvq17mmBjbU/oaZ/gqDBHDucHYbU8AD0pMT1GRWjV9X 0EBEhq4cLoKTdEenFoaeGQ4+bAfhdMx2WnOo5N+lZAdkPANlJQAGq3RsNq4kTEPansuH csZgy16MoWw5oJ6W5cX2Bvg9hwmF8zx69P8VFd72L83y0zHKZU/hQHuGEl/DcwjKnPJ2 olkw== 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; bh=TgpU7XeGitLuJquP8RHImYZ5ug4YpancRv5+CJ8csmI=; b=I3f30A9Svj/931qgsqNLBg/GMvLizpPxHto9/bETPxboO3aDXdwDPZMe82Cmc8bYW1 9FU/VCNYloKWJn+O5vW3wGlNI9hyZygii6KuDglKF7F5cwyJD3aqtMaO65jcOGf9p/p3 Zi/ceEXDm513I+0Yw0LvwXWHLcbut4x/hzG3uiTnAPQjz61ASBV+B30sx1h6ZKAp9hYn 3BFuRFx6SkISS1ItkgIvWu2AYJ1rJKeOCyL2424c2o/qC+MHy2/DUaHpmC4tryhEBPdf mL9YDCjdeCPIHbiBrtKG4anAE+lwA1IPMmwlSjr8FJVBmWyM5qU+Iy3b/BS9DMDiQ78Y NQBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c14si991571edr.449.2021.04.28.15.34.17; Wed, 28 Apr 2021 15:34:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240097AbhD1Wax (ORCPT + 99 others); Wed, 28 Apr 2021 18:30:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240035AbhD1Wao (ORCPT ); Wed, 28 Apr 2021 18:30:44 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96142C06138B; Wed, 28 Apr 2021 15:29:58 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id C9C991F42CA8 Received: by jupiter.universe (Postfix, from userid 1000) id A528F4800BA; Thu, 29 Apr 2021 00:29:53 +0200 (CEST) From: Sebastian Reichel To: Sebastian Reichel , Philipp Zabel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Rob Herring , Alexandre Belloni , Alessandro Zummo , David Airlie , Daniel Vetter , Miquel Raynal , Saravana Kannan , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-mtd@lists.infradead.org, kernel@collabora.com Subject: [PATCHv2 0/5] Support for GE B1x5v2 and B1x5Pv2 Date: Thu, 29 Apr 2021 00:29:48 +0200 Message-Id: <20210428222953.235280-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series adds support for another General Electric patient monitor series (similar to existing Bx50v3), which is based on i.MX6DL using Congatec's QMX6 module. The module uses an I2C RTC to provide the i.MX6 32768 Hz clock, so it's important to keep it enabled. Not doing so results in incorrect timings of watchdog and i.MX6 RTC. The bootloader enables the watchdog, so disabling the clock results in system reboot. [0] The second patch is required for B155v2, which uses a 1366x768 G156XTN01 panel. The 1366 width is not supported by the display pipeline and result in boot hanging without the patch. [1] Patches 3+4 are updating DT bindings for the new board compatible values. Patch 5 adds the board files. Changes since PATCHv1: * https://lore.kernel.org/lkml/20210222171247.97609-1-sebastian.reichel@collabora.com/ * drop patch 5 (applied) * instead of using 'protected-clocks' in RTC node, add fixed-clock node as suggested by Saravana Kannan * rebased to current master (68a32ba14177) Thanks, [0] There has been a discussion for the problem on the mailinglists last year. The discussion died off, when I told people their ideas don't work. I hope using protected-clocks is fine for this usecase. https://lore.kernel.org/linux-clk/20191108170135.9053-1-sebastian.reichel@collabora.com/ [1] I've sent this before as a separate patch in September, but nobody seemed to care. This adds full context for the problem. https://lore.kernel.org/dri-devel/20200910162831.321556-1-sebastian.reichel@collabora.com/ -- Sebastian Sebastian Reichel (5): rtc: m41t80: add support for fixed clock drm/imx: Add 8 pixel alignment fix dt-bindings: vendor-prefixes: add congatec dt-bindings: arm: fsl: add GE B1x5pv2 boards ARM: dts: imx6: Add GE B1x5v2 .../devicetree/bindings/arm/fsl.yaml | 11 + .../devicetree/bindings/rtc/rtc-m41t80.txt | 9 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts/Makefile | 5 + arch/arm/boot/dts/imx6dl-b105pv2.dts | 35 + arch/arm/boot/dts/imx6dl-b105v2.dts | 35 + arch/arm/boot/dts/imx6dl-b125pv2.dts | 33 + arch/arm/boot/dts/imx6dl-b125v2.dts | 33 + arch/arm/boot/dts/imx6dl-b155v2.dts | 36 + arch/arm/boot/dts/imx6dl-b1x5pv2.dtsi | 434 ++++++++++++ arch/arm/boot/dts/imx6dl-b1x5v2.dtsi | 61 ++ arch/arm/boot/dts/imx6dl-qmx6.dtsi | 624 ++++++++++++++++++ drivers/gpu/drm/imx/imx-drm-core.c | 19 +- drivers/gpu/drm/imx/imx-ldb.c | 5 + drivers/gpu/drm/imx/ipuv3-crtc.c | 11 +- drivers/gpu/drm/imx/ipuv3-plane.c | 19 +- drivers/gpu/ipu-v3/ipu-dc.c | 5 + drivers/gpu/ipu-v3/ipu-di.c | 7 + drivers/rtc/rtc-m41t80.c | 12 + 19 files changed, 1390 insertions(+), 6 deletions(-) create mode 100644 arch/arm/boot/dts/imx6dl-b105pv2.dts create mode 100644 arch/arm/boot/dts/imx6dl-b105v2.dts create mode 100644 arch/arm/boot/dts/imx6dl-b125pv2.dts create mode 100644 arch/arm/boot/dts/imx6dl-b125v2.dts create mode 100644 arch/arm/boot/dts/imx6dl-b155v2.dts create mode 100644 arch/arm/boot/dts/imx6dl-b1x5pv2.dtsi create mode 100644 arch/arm/boot/dts/imx6dl-b1x5v2.dtsi create mode 100644 arch/arm/boot/dts/imx6dl-qmx6.dtsi -- 2.30.2