Cover Letter Detail
Show a cover letter.
GET /api/covers/818483/?format=api
{ "id": 818483, "url": "http://patchwork.ozlabs.org/api/covers/818483/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/cover/20170926065919.24446-1-wens@csie.org/", "project": { "id": 37, "url": "http://patchwork.ozlabs.org/api/projects/37/?format=api", "name": "Devicetree Bindings", "link_name": "devicetree-bindings", "list_id": "devicetree.vger.kernel.org", "list_email": "devicetree@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170926065919.24446-1-wens@csie.org>", "list_archive_url": null, "date": "2017-09-26T06:59:06", "name": "[v2,00/13] drm/sun4i: hdmi: Support HDMI controller on A31", "submitter": { "id": 47154, "url": "http://patchwork.ozlabs.org/api/people/47154/?format=api", "name": "Chen-Yu Tsai", "email": "wens@csie.org" }, "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/cover/20170926065919.24446-1-wens@csie.org/mbox/", "series": [ { "id": 5072, "url": "http://patchwork.ozlabs.org/api/series/5072/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=5072", "date": "2017-09-26T06:59:13", "name": "drm/sun4i: hdmi: Support HDMI controller on A31", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/5072/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/818483/comments/", "headers": { "Return-Path": "<devicetree-owner@vger.kernel.org>", "X-Original-To": "incoming-dt@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming-dt@bilbo.ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y1X3M52JTz9tXH\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tTue, 26 Sep 2017 17:03:11 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S966262AbdIZHCx (ORCPT <rfc822; incoming-dt@patchwork.ozlabs.org>);\n\tTue, 26 Sep 2017 03:02:53 -0400", "from mirror2.csie.ntu.edu.tw ([140.112.30.76]:52688 \"EHLO\n\twens.csie.org\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S965840AbdIZG73 (ORCPT <rfc822;devicetree@vger.kernel.org>);\n\tTue, 26 Sep 2017 02:59:29 -0400", "by wens.csie.org (Postfix, from userid 1000)\n\tid 4F7EE5FECA; Tue, 26 Sep 2017 14:59:25 +0800 (CST)" ], "From": "Chen-Yu Tsai <wens@csie.org>", "To": "Mark Brown <broonie@kernel.org>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tDavid Airlie <airlied@linux.ie>,\n\tMichael Turquette <mturquette@baylibre.com>,\n\tStephen Boyd <sboyd@codeaurora.org>, Rob Herring <robh+dt@kernel.org>,\n\tMark Rutland <mark.rutland@arm.com>", "Cc": "Chen-Yu Tsai <wens@csie.org>, dri-devel@lists.freedesktop.org,\n\tlinux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tlinux-sunxi@googlegroups.com", "Subject": "[PATCH v2 00/13] drm/sun4i: hdmi: Support HDMI controller on A31", "Date": "Tue, 26 Sep 2017 14:59:06 +0800", "Message-Id": "<20170926065919.24446-1-wens@csie.org>", "X-Mailer": "git-send-email 2.14.1", "Sender": "devicetree-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<devicetree.vger.kernel.org>", "X-Mailing-List": "devicetree@vger.kernel.org" }, "content": "Hi everyone,\n\nThis is v2 of my A31 HDMI support series. As it's been some time\nsince the first version and I've rebased my series a couple times\nto merge newer changes done by others, the changelog might not be\ncomplete.\n\nChanges since v1:\n\n - Core changes to sun4i-drm to support two display pipelines\n have been merged into drm-misc and thus dropped from this\n version\n\n - Reworked DDC variant support onto new exposed I2C interface bits.\n\n - Reworked DDC variant support to use regmap_fields.\n\n - Patches to add variant support to various (TMDS, DDC, HDMI\n controller) sub-blocks have been merged into one patch.\n\nThis series adds support for the HDMI controller found on Allwinner\nA31/A31s SoCs. It builds upon Maxime's work that added support for\nthe HDMI controller on the Allwinner A10s SoC.\n\nThe HDMI controllers in the older generation Allwinner SoCs is very\nsimilar. The A10/A10s/A20 all have the same hardware block, with the\nA10 having slightly different initial configuration values. The A31's\nvariant splits out the DDC parent clock, has different formulas for\nthe DDC and TMDS clocks, and a different register layout for the DDC\nblock. Also, it does not expose the CEC pins outside of the SoC, which\nis unfortunate.\n\nPatch 1 exports the 2x outputs of the two video PLLs. These feed the\nTMDS clock directly.\n\nPatch 2 renames the A31 CCU's DDC clock, so that it doesn't conflict\nwith the DDC clock in the HDMI block.\n\nPatch 3 adds support for the TCON demuxing feature on the A31. This is\nneeded if the user wants to output through HDMI from the second display\npipeline.\n\nPatch 4 adds proper error path cleanup to the HDMI driver.\n\nPatch 5 adds a regmap for the HDMI driver, to be used in a subsequent\npatch.\n\nPatch 6 allows the HDMI TMDS clock to use the second PLL as its parent,\nin case the first PLL is driving an incompatible dot clock.\n\nPatch 7 adds the A31 HDMI controller variant to the device tree binding.\n\nPatch 8 adds an iopoll-like polling macro for regmap_field. This is used\nin the next patch within the DDC part to poll for reset and I/O\ncompletion.\n\nPatch 9 adds support for different variants of the HDMI controller\nhardware, with the differences mentioned in the beginning of this\nletter.\n\nPatch 10 adds defines for the A31 specific DDC register offsets.\n\nPatch 11 adds support for the A31's HDMI controller variant.\n\nPatch 12 adds a device node for the HDMI controller on the A31.\n\nPatch 13 enable HDMI video output on three boards that I have.\n\n\nI also had simultaneous output on both display pipelines on the SinA31s,\none with an LCD panel and the other using HDMI. After boot, both screens\nshowed a proper console. The HDMI screen had higher resolution, so the\nconsole was limited to the upper left corner.\n\nNote that this series does not deal with conflicting pixel clocks.\n\nAssuming everyone is happy with the patches, I propose the following:\n\n 1. We sunxi maintainers will take the clk and dts patches through\n our tree with minimal but proper cross references.\n\n 2. Mark can either take the regmap patch on an immutable branch,\n which we then merge into drm-misc before applying the drm/sun4i\n patches, or give his Ack for us to merge that patch through\n drm-misc.\n\n\nRegards\nChenYu\n\nChen-Yu Tsai (13):\n clk: sunxi-ng: sun6i: Export video PLLs\n clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision\n drm/sun4i: tcon: Add support for demuxing TCON output on A31\n drm/sun4i: hdmi: Disable clks in bind function error path and unbind\n function\n drm/sun4i: hdmi: create a regmap for later use\n drm/sun4i: hdmi: Allow using second PLL as TMDS clk parent\n dt-bindings: display: sun4i: Add binding for A31 HDMI controller\n regmap: add iopoll-like polling macro for regmap_field\n drm/sun4i: hdmi: Add support for controller hardware variants\n drm/sun4i: hdmi: Add A31 specific DDC register definitions\n drm/sun4i: hdmi: Add support for A31's HDMI controller\n ARM: dts: sun6i: Add device node for HDMI controller\n ARM: dts: sun6i: Enable HDMI support on some A31/A31s devices\n\n .../bindings/display/sunxi/sun4i-drm.txt | 3 +\n arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 21 ++\n arch/arm/boot/dts/sun6i-a31.dtsi | 55 +++++\n arch/arm/boot/dts/sun6i-a31s-primo81.dts | 25 +++\n arch/arm/boot/dts/sun6i-a31s-sina31s.dts | 25 +++\n drivers/clk/sunxi-ng/ccu-sun6i-a31.c | 3 +-\n drivers/clk/sunxi-ng/ccu-sun6i-a31.h | 8 +-\n drivers/gpu/drm/sun4i/sun4i_hdmi.h | 107 ++++++++++\n drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c | 38 +++-\n drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 204 +++++++++++++++---\n drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c | 227 +++++++++++++++------\n drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c | 68 +++---\n drivers/gpu/drm/sun4i/sun4i_tcon.c | 61 ++++++\n include/dt-bindings/clock/sun6i-a31-ccu.h | 4 +\n include/linux/regmap.h | 39 ++++\n 15 files changed, 760 insertions(+), 128 deletions(-)" }