Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp1710129pxt; Sat, 7 Aug 2021 22:12:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuiQ8CpIz4qudnPTbNWz5+x0ArC1MRBhEKUosPKK+xVL2UZYyI7sRqFE+Pd0coDvZXcLFy X-Received: by 2002:a02:384c:: with SMTP id v12mr10197531jae.3.1628399524215; Sat, 07 Aug 2021 22:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628399524; cv=none; d=google.com; s=arc-20160816; b=0PLKMeamtViVk4qMXodpqhm5NotF4ys7irUj24xtmFxnwWh4JaJbKtwZpnVPgIh+92 9qoLP8+n179Mt37tqJm1AbfcjJifxTGhWVXq1jPybKtf3RfDcLvP8Ynu7kpHcD354Q4p zePgnuMAmfVRGK4DOqOgem6YP2NliBE1/5A5t3yvTV+5MK74EZooIBuAAZyWK+FM3AKo tkwR/tzXUoRjhAmRyrHs3M4otPMYlABho24WwUtOQf4PY65mUsUdLPAzBikr9i2IF2k+ kXjtrGJx1FIefl/515zVcc7NZwtsmt5nkZtRapR664ICk8JcmGykWAUa1+fV1ItGq+W9 U13A== 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=CIECkD0GrXNC/kX5exe0hD1JNJlextiGGi7cS4Osk+o=; b=yxVLat513bDLn0iGkbPp4b+4NHy1MKhBpCPnrdkoGB1X71jM28gHE5I+XT5pBgRBvf QciTL4pB+CJNt3J5sDscuJ2DIWkTiYnjhVm4cROFOB+PrzBjU55qYb3HNsG/eL3ySSNG 9PlaBUcS3/pPPkBl5IxnoFSi6hq00OMDZvywUHUT3uLH4gKAoOP5dmIJshQIKQ97T3gA /nSfX+QI8Ra7U/Ykybm5xfKJYI2m4acfkeFVEXr/k68yoBWmQghtEUnvvGwLSg3opXRO zVm3EU4/MyVpGKsSvS09oAdq8U81LUEyaEY/aWx9Dc45GEy9StHoTz6U+NhU3i3XR4K2 7qZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=WGMGd3sI; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si6342967ioi.55.2021.08.07.22.11.53; Sat, 07 Aug 2021 22:12:04 -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; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=WGMGd3sI; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229817AbhHHFLX (ORCPT + 99 others); Sun, 8 Aug 2021 01:11:23 -0400 Received: from mo4-p03-ob.smtp.rzone.de ([81.169.146.175]:22146 "EHLO mo4-p03-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbhHHFLW (ORCPT ); Sun, 8 Aug 2021 01:11:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1628399444; s=strato-dkim-0002; d=goldelico.com; h=Message-Id:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=CIECkD0GrXNC/kX5exe0hD1JNJlextiGGi7cS4Osk+o=; b=WGMGd3sIBjidEfF06ORFpouaOFCWhElBT3mSki82PNau+bHHhjG+fr6biK3ITdgRMo THb5TYBvtA43UTAqWbH4pDaiCDPWA7IMBjFVXvhV9xGJB9BBzD+LipYcG4rpqi/uwm+9 IYObL4LtkYJWaEulejgXqeWQxTXMrD7LgWglnwE+Nufp8tFbdtR8bAdD0YC/JAbPze3w s2ffbaCj6/eTwjKHoJBmYrcdldwFQj4QfKDP5h0dnxzhf7e2Z83qzFGSjDjoBrbZvOuc yer7iQC2mSiVgwR/LVO4sGy2R9tfdqu5WvErJ+RTTDeVWCIhZ00CVMSRkz5DT0LLKikS TsHQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o12DNOsPj0lByOdcKVX0" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 47.31.0 DYNA|AUTH) with ESMTPSA id Q02727x785AhEyb (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sun, 8 Aug 2021 07:10:43 +0200 (CEST) From: "H. Nikolaus Schaller" To: Paul Cercueil , Rob Herring , Mark Rutland , Thomas Bogendoerfer , "H. Nikolaus Schaller" , Geert Uytterhoeven , Kees Cook , "Eric W. Biederman" , Miquel Raynal , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jernej Skrabec , Ezequiel Garcia , Harry Wentland , Sam Ravnborg , Maxime Ripard , Hans Verkuil Cc: devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, Paul Boddie , Jonas Karlman , dri-devel@lists.freedesktop.org Subject: [PATCH v3 0/9] MIPS: JZ4780 and CI20 HDMI Date: Sun, 8 Aug 2021 07:10:34 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds HDMI support for JZ4780 and CI20 board (and fixes one IPU related issue in registration error path) - [patch 1/8] switched from mode_fixup to atomic_check (suggested by robert.foss@linaro.org) - the call to the dw-hdmi specialization is still called mode_fixup - [patch 3/8] diverse fixes for ingenic-drm-drv (suggested by paul@crapouillou.net) - factor out some non-HDMI features of the jz4780 into a separate patch - multiple fixes around max height - do not change regmap config but a copy on stack - define some constants - factor out fixing of drm_init error path for IPU into separate patch - use FIELD_PREP() - [patch 8/8] conversion to component framework dropped (suggested by Laurent.pinchart@ideasonboard.com and paul@crapouillou.net) PATCH V2 2021-08-05 16:08:05: This series adds HDMI support for JZ4780 and CI20 board V2: - code and commit messages revisited for checkpatch warnings - rebased on v5.14-rc4 - include (failed, hence RFC 8/8) attempt to convert to component framework (was suggested by Paul Cercueil a while ago) H. Nikolaus Schaller (1): MIPS: CI20: defconfig: configure for DRM_DW_HDMI_JZ4780 Paul Boddie (7): drm/ingenic: fix drm_init error path if IPU was registered drm/bridge: synopsis: Add mode_fixup and bridge timings support drm/ingenic: Add jz4780 Synopsys HDMI driver drm/ingenic: Add support for JZ4780 and HDMI output MIPS: DTS: jz4780: account for Synopsys HDMI driver and LCD controllers MIPS: DTS: CI20: add HDMI setup drm/ingenic: add some jz4780 specific features Sam Ravnborg (1): dt-bindings: display: Add ingenic-jz4780-hdmi DT Schema .../bindings/display/ingenic-jz4780-hdmi.yaml | 82 +++++++++ arch/mips/boot/dts/ingenic/ci20.dts | 64 +++++++ arch/mips/boot/dts/ingenic/jz4780.dtsi | 45 +++++ arch/mips/configs/ci20_defconfig | 7 + drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 7 + drivers/gpu/drm/ingenic/Kconfig | 9 + drivers/gpu/drm/ingenic/Makefile | 1 + drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 169 ++++++++++++++++-- drivers/gpu/drm/ingenic/ingenic-drm.h | 42 +++++ drivers/gpu/drm/ingenic/ingenic-dw-hdmi.c | 121 +++++++++++++ include/drm/bridge/dw_hdmi.h | 5 + 11 files changed, 538 insertions(+), 14 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/ingenic-jz4780-hdmi.yaml create mode 100644 drivers/gpu/drm/ingenic/ingenic-dw-hdmi.c -- 2.31.1