Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2116189imm; Tue, 10 Jul 2018 13:36:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeL7XQA1Sj/DSXH4IOzW7z6YnvRIJQZt1Fb1enujmB9uXueWim8D16+OdRSIZjufP9ZXCE0 X-Received: by 2002:a65:64c6:: with SMTP id t6-v6mr24220900pgv.223.1531254994137; Tue, 10 Jul 2018 13:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531254994; cv=none; d=google.com; s=arc-20160816; b=K+Macj2f1o7uoXrVuxrFxAG7UVGdKsdyGxemNhImlfJ9Nm5uEllwplWCZMe1QKnaiI IkDf22Etb6p07/eIdJQNDUyye6cW291ttwJsXtwyWy/dBpD8yFmh4tXgOhvwlo96Wz5H uz2xZ64HMCXKzGWolFJS23O8VNm57PAtNrMRkCxl2Eyl7amdZcyVQg0zQWs0hDPqFKRH BKKk+M2BXYXDxPvSCrV7ah4EexyRBRmLyIlki+pATeJuUurYK7+TP0TDzJ7dQjtVtGl9 HGba2DxkTdp3rveTjjvGLqzlNUWm/CQ8S1nUgEH3d3KwzPlhZZwb3S43LO+1dkJjDbBh 1usA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=1NkYHxHQJMTegNykAzUuQAxVVLki5T+CuR8VqDoUcWc=; b=UBx3GX2B5oAq8Lb4xljEsMmWv3NvjcubrR8M/OyP2iyhVtoaVdqz8Jxnsx1+f6UuKO iAMeociI/GaS87aYuwaA4cKrROuKgZ7tlzbpehooBx7COFsKUR4AWN0iVOTkEh+Z2S47 hvC4dq4mXnPDJpn6eMYH07eLXPu0EhyRE+49J+u8RxuxNS4wsBPpdHzWysZtOFr2qqL3 DUyAeY2N33YdVZfvp0des10E2Gapohxk/zEkUXhRGG1h4hL+TN5GaYRvKiIo8uB1Ghii XxSBfvHfmOydx5SbjXz+CZ+5JtJfKaFnE3aFyJYbXE9qVecZzjBNYV578WCCdBtvvKL5 M9wA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c38-v6si17180550pgb.489.2018.07.10.13.36.18; Tue, 10 Jul 2018 13:36:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732644AbeGJUgE (ORCPT + 99 others); Tue, 10 Jul 2018 16:36:04 -0400 Received: from mailoutvs16.siol.net ([185.57.226.207]:47201 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732290AbeGJUgE (ORCPT ); Tue, 10 Jul 2018 16:36:04 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTP id D024752271C; Tue, 10 Jul 2018 22:35:19 +0200 (CEST) X-Virus-Scanned: amavisd-new at psrvmta12.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta12.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Jeq8JPSrIt7v; Tue, 10 Jul 2018 22:35:19 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTPS id 44C24520AA8; Tue, 10 Jul 2018 22:35:19 +0200 (CEST) Received: from localhost.localdomain (unknown [194.152.15.144]) (Authenticated sender: 031275009) by mail.siol.net (Zimbra) with ESMTPSA id 3443C52271F; Tue, 10 Jul 2018 22:35:18 +0200 (CEST) From: Jernej Skrabec To: maxime.ripard@bootlin.com, wens@csie.org, robh+dt@kernel.org Cc: airlied@linux.ie, mark.rutland@arm.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v2 00/18] Allwinner R40 HDMI refactoring Date: Tue, 10 Jul 2018 22:34:53 +0200 Message-Id: <20180710203511.18454-1-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fixes several issues found in R40 HDMI patch series after it was applied. Conversation can be found here: http://lists.infradead.org/pipermail/linux-arm-kernel/2018-June/586011.html Patches are based on latest linux-next (next-20180710) and are ordered in such way that they don't break R40 HDMI at any time. Because of that I suggest that whole series goes through drm-misc to preserve that order. I also tested those patches on H3 to make sure it doesn't break other platforms. However, it would be nice to test for regressions also on older SoCs (with DE1). Best regards, Jernej Changes from v1: - added Review-by and Acked-by tags - added a patch which reorders mixer includes alphabetically - reworked function which finds mixer id - dropped register initialization in TCON TOP - reworded some commit messages Jernej Skrabec (18): dt-bindings: display: sun4i-drm: Add R40 display engine compatible drm/sun4i: Add R40 display engine compatible ARM: dts: sun8i: r40: Remove fallback display engine compatible drm/sun4i: tcon-top: Cleanup clock handling drm/sun4i: tcon: Release node when traversing of graph dt-bindings: display: sun4i-drm: Add R40 TV TCON description drm/sun4i: DW HDMI: Release nodes if error happens during CRTC search ARM: dts: sun8i: r40: Add mixer ids to TCON TOP drm/sun4i: mixer: Order includes alphabetically drm/sun4i: mixer: Read id from DT drm/sun4i: tcon-top: Add helpers for mux switching drm/sun4i: tcon: Add another way for matching mixers with tcon drm/sun4i: tcon: Add support for R40 TCON ARM: dts: sun8i: r40: Remove fallback compatible for TCON TV ARM: dts: sun8i: r40: Add missing TCON-TOP - TCON connections ARM: dts: sun8i: r40: Disable TCONs by default. drm/sun4i: tcon-top: Remove mux configuration at probe time dt-bindings: display: sun4i-drm: Fix order of DW HDMI PHY compatibles .../bindings/display/sunxi/sun4i-drm.txt | 6 +- .../boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 20 +- arch/arm/boot/dts/sun8i-r40.dtsi | 65 ++++++- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + drivers/gpu/drm/sun4i/sun4i_tcon.c | 92 ++++++++- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 15 +- drivers/gpu/drm/sun4i/sun8i_mixer.c | 42 ++++- drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 178 ++++++++---------- drivers/gpu/drm/sun4i/sun8i_tcon_top.h | 4 + 9 files changed, 278 insertions(+), 145 deletions(-) -- 2.18.0