Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1723024pxb; Mon, 22 Feb 2021 09:15:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgFE1zP1MEQCwu/qV010g2prpnVuNSM+IsuuUUJP0lv9hhcYAumu5xFV997/r9GH1LWQb5 X-Received: by 2002:a05:6402:1a51:: with SMTP id bf17mr21862700edb.25.1614014138182; Mon, 22 Feb 2021 09:15:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614014138; cv=none; d=google.com; s=arc-20160816; b=R6h1j+xBCidlaysKNOXBvHUp6L1zOydy/D1M5qS1QMVM2F6+ydxz5q2Zn9N0eHt6RW tUl3lVh9OrnxputFd+zKPRb86luNRJw5HjTYcApKty9VmdWs6ENE1rZbVT2+0TBwimOD Hk2dEvOLcThMWMcv5rXrKnK+2Jk0EXfSIztwS9icYFqLVVUWsZ2RDHxK54++xZyPICjq 0+LsOIRIy+zGHR3S6UgNfGweBZW1g+Q5rxSug44sNKuZFEtJm7vDA0WGU26fIfxNn7yv mjZdih5MGkYWQKL6V9NWCKk1h86EJC+IQXQpSgWZBB/kXAAxBCgoWke6WrL57wGBqQMB gglg== 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=41mVzQgl8KM5inbgRyCVu/EcchrvoNjUaBwxtPxvD0M=; b=RgWb/Vnxyhu+2UOaujX/dXA5Velog7ie8fcOqWrkkvP/pBdheR9bp7P2d0VCbM1Dkv qT9FG+qq4WmyDQkJo0+gPGCJ4xjj/vEkVAoVA9KXvmoFhXTzcKavxTZ8+iufrz9wX4UG 1Hp1YCcCpnXnrDIu4iVNJvbU6i/qErexYmU8a4KcAzGYHUw9TFMgc6HcT/ZqMaPQZ+8o AcLoUfSSTKccqr+isQewlIMwNJTgajJzYoCXicxzLW8IdnrA9atxRQ7ToLKaKWcYmEXh u8PyF57ErxoKqisdGgA8yuMC9tLU27uTaVLsyjpk2Xi6FyPwhQ1+i0jGRzYR/XckUIwK CZfw== 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 c20si4772380edw.234.2021.02.22.09.15.13; Mon, 22 Feb 2021 09:15:38 -0800 (PST) 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 S230447AbhBVRNi (ORCPT + 99 others); Mon, 22 Feb 2021 12:13:38 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60058 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230212AbhBVRNh (ORCPT ); Mon, 22 Feb 2021 12:13:37 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id BB2A91F44325 Received: by jupiter.universe (Postfix, from userid 1000) id 4BBAD4800C3; Mon, 22 Feb 2021 18:12:51 +0100 (CET) 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 , 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: [PATCHv1 0/6] Support for GE B1x5v2 Date: Mon, 22 Feb 2021 18:12:41 +0100 Message-Id: <20210222171247.97609-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.30.0 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 missing sst25vf032b to spi-nor bindings. Checkpatch still complains, since the binding lists all chips without vendor prefix. This probably should be fixed when the files is moved to YAML, but is non-trivial since those chips are manufactured by multiple vendors. E.g. sst25vf032b can be sourced from at least sst and microchip. Finally patch 6 adds the board files. 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 (6): rtc: m41t80: add support for protected clock drm/imx: Add 8 pixel alignment fix dt-bindings: vendor-prefixes: add congatec dt-bindings: arm: fsl: add GE B1x5pv2 boards dt-bindings: mtd: jedec,spi-nor: add sst25vf032b ARM: dts: imx6: Add GE B1x5v2 .../devicetree/bindings/arm/fsl.yaml | 11 + .../devicetree/bindings/mtd/jedec,spi-nor.txt | 1 + .../devicetree/bindings/rtc/rtc-m41t80.txt | 1 + .../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 | 623 ++++++++++++++++++ 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 | 3 + 20 files changed, 1373 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.0