From patchwork Thu Oct 29 13:40:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 314766 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3DE51C2D0A3 for ; Thu, 29 Oct 2020 13:40:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 77E0C20EDD for ; Thu, 29 Oct 2020 13:40:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725787AbgJ2Nk2 (ORCPT ); Thu, 29 Oct 2020 09:40:28 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:50261 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727298AbgJ2NkY (ORCPT ); Thu, 29 Oct 2020 09:40:24 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 13AC5580772; Thu, 29 Oct 2020 09:40:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 29 Oct 2020 09:40:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=ZeDUvu21mMYclA/i2bPU8P34/7 Q4E9HnZacDqNRNt/A=; b=NMYo1qcthaXkC6Wj2i2aNfDV9G8l82+XaojIp/23w/ 6vMRNIk4aV3DzE8aadi50rHkalL1AIl4p+TtAXWreLg7qQMPwu0m/xxXv3U0Nrly 140jOyfZCqisToMMB/o69LAWIpdEA/i05/ty1FiNCD9B3a4ZuGs99YTujo2dxY6X yU0CAiLt8taMhLeG0BV2dy8WiNoyCdOIjePzg//dSte1q/gbPbaunTxKgfDSyhLN EFeBCtBhPz/NfBaHYXeeLyV2PbBA39q1DpEjCn/t6moLz1h/6WlpQEYgLZzK5kuD NzNhkZo9qivDWU7bJlbdpUDfLYUM6M+np3Pc+iXNQQBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ZeDUvu21mMYclA/i2 bPU8P34/7Q4E9HnZacDqNRNt/A=; b=brWiO1RoVI3pye6pcb8nuLW+HhQ87uZgK oyFSz2t06XrgEotJyWawoyVONdQmCAUEe81v17HOjudbk2Dh5RyFMMJHLW56IYx4 H6Y8uFPvKCXLNWpgNa0DECDOOooF6N/Lb0SmwkH/E/XLweFMmtx6KXYqivHxse+W 4Nx5IBNys7Bl5y118JNcbZ8Sf0XSaLgN+X8/h1C5W0TaWIe77i85BYocStX8X0lh 1S0BvA+zKDPZVtyuwM7pawkJ71FONCoQIM3t2F6DBf/nNJj+xY0WFBlmoOQYHA7Y KRZAFw6AcI1q2I9rGuSpL4lmKuwY1T5thzqpXyZhDgI+UJrfsKi/Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleefgdehgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepofgrgihimhgvucft ihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtthgvrh hnpeejffehuddvvddvlefhgeelleffgfeijedvhefgieejtdeiueetjeetfeeukeejgeen ucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 16F013280059; Thu, 29 Oct 2020 09:40:21 -0400 (EDT) From: Maxime Ripard To: Mark Rutland , Rob Herring , Frank Rowand , Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Eric Anholt Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, Dave Stevenson , Tim Gover , Phil Elwell , Nicolas Saenz Julienne Subject: [PATCH v2 1/3] dt-bindings: display: Add a property to deal with WiFi coexistence Date: Thu, 29 Oct 2020 14:40:16 +0100 Message-Id: <20201029134018.1948636-1-maxime@cerno.tech> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The RaspberryPi4 has both a WiFi chip and HDMI outputs capable of doing 4k. Unfortunately, the 1440p resolution at 60Hz has a TMDS rate on the HDMI cable right in the middle of the first Wifi channel. Add a property to our HDMI controller, that could be reused by other similar HDMI controllers, to allow the OS to take whatever measure is necessary to avoid that crosstalk. Signed-off-by: Maxime Ripard Reviewed-by: Nicolas Saenz Julienne Reviewed-by: Rob Herring --- Changes from v1: - Renamed the property - Split it into a separate patch --- .../devicetree/bindings/display/brcm,bcm2711-hdmi.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml index 03a76729d26c..7ce06f9f9f8e 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml @@ -76,6 +76,12 @@ properties: resets: maxItems: 1 + wifi-2.4ghz-coexistence: + type: boolean + description: > + Should the pixel frequencies in the WiFi frequencies range be + avoided? + required: - compatible - reg