Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2560377imm; Sat, 15 Sep 2018 21:35:18 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYovvAaKgN0bBEzOocjzk1UHrWlj9d4AC7JFN0J9fJXikjG4zAyQpwemjjG/PuEQ/T0duXp X-Received: by 2002:a62:8ad1:: with SMTP id o78-v6mr19732626pfk.17.1537072518713; Sat, 15 Sep 2018 21:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537072518; cv=none; d=google.com; s=arc-20160816; b=vlpqk/yVOg773Ug7KA1tXGJxDs3vIKntW3CQujHm500GFm/p1YI40zj3c2IcN19pVD rxZ+F8lbhIiKBjkToxibL4uZLemaUrTUuC3cl5HJZTIloMYuHeL+wh8pnKhd6grJsb1e JLG+JmPhGQ5y9UkMuVzaqsSV1FuJm5hwjzjKuaKeo+L2XAFE+Z62ypJA//NQmxNBb4fH x18FMfjbIcY4qAToGg/6Lr5tzEcYj322TavqMB3Z2Wh2LzIshDDG9RLcM7+NkKzeKFOd uTuQM03/P7KW7jstYIpygdYBwQksItgwCS+eg7h6oJCveHxRseRkK5WIPIblTD6kFC5b uzFQ== 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; bh=VROZKLdvulMUj4KmuLpPJLjxKce89+EckGi50+CWVxA=; b=hC3+WXwigjEy4E3CixsEMqfDEGL8ul2oL31/cSXYOUeenjeB/uYqkqM9y8qXkj8/j4 cocqJb+fzWVHLpCUntRFGIyPnmUPxJ9LZUAQailuSsXCfix6u16WRG3WaSPDH0Rgq07V Ky1/G8Ak0NMU3vDc2MTmISNxABN+cwlqBGXBTYE4TaO4L7D9RygDaJhBLwRdIL9RXuWF nwN1oQKEoOhSMogxs55zdZa9vfNx5uQp1JJVRkONcCj5XM7KLM827kO4Il4u/aKUW5L3 GJqruCbvzhHn4siesvKGS+UuIQxV1nQPmZMrPgNCMpKXWGgpzvWW6Z0LFulTARlsr8Nk Z+qA== 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 t79-v6si12317299pfa.170.2018.09.15.21.34.57; Sat, 15 Sep 2018 21:35:18 -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 S1727172AbeIPJ41 (ORCPT + 99 others); Sun, 16 Sep 2018 05:56:27 -0400 Received: from hermes.aosc.io ([199.195.250.187]:56508 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726995AbeIPJ41 (ORCPT ); Sun, 16 Sep 2018 05:56:27 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id D310A663B5; Sun, 16 Sep 2018 04:34:48 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Rob Herring Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH v2 0/4] Fix A64/R40 HDMI PHY device tree binding Date: Sun, 16 Sep 2018 12:34:05 +0800 Message-Id: <20180916043409.62374-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When adding support for A64 HDMI PHY in 4.19, we assumed that the two PLL-VIDEOs can both feed the HDMI PHY clock. However experiments show that the mux bit discovered in R40 blob is not applicable on A64. This is not discovered, as normally with a single display pipeline only PLL-VIDEO0 will be used. In this patchset the second PLL is dropped, and a binding specially for R40 HDMI PHY is added (which seems to have the mux). PATCH 1 is dropping second PLL for A64 HDMI PHY, and PATCH 2 to 4 are adding R40 HDMI PHY binding, as R40 behaves differently with A64 with this. This patchset targets v4.19 fixes tree, because the binding is introduced in v4.19, and if we don't fix it there a wrong binding will be left in a stable version released. A64 display pipeline support is not yet in v4.19, but R40 support is in it. Icenowy Zheng (4): drm: sun4i: drop second PLL from A64 HDMI PHY dt-bindings: sun4i-drm: add compatible for R40 HDMI PHY drm/sun4i: add support for R40 HDMI PHY ARM: sun8i: dts: drop A64 HDMI PHY fallback compatible from R40 DT .../devicetree/bindings/display/sunxi/sun4i-drm.txt | 5 +++-- arch/arm/boot/dts/sun8i-r40.dtsi | 3 +-- drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 13 ++++++++++++- 3 files changed, 16 insertions(+), 5 deletions(-) -- 2.18.0