Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp198915pxb; Fri, 16 Apr 2021 03:26:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+u33FWatg8YhcydvUpwvc+q+YIxoXU2OfsenFDlw3UIKp4AaqnH8YwIDRY0h8pwK9PvXS X-Received: by 2002:a17:906:a052:: with SMTP id bg18mr7755770ejb.18.1618568777048; Fri, 16 Apr 2021 03:26:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618568777; cv=none; d=google.com; s=arc-20160816; b=vnJPdFu8H0wrkLkJqC7PQsGtRYWxns4she9ZsjqYzkbmIqx2Gr/O4MA5CYW8/jkuo6 h7gIygnHBbCX4zqfoDW6SOsGNpD+RYCeNd9dpLpZojRY2gXbB/bxWf94UieHNsNyHEo5 GPFAaII+ouKusOdQlWdyL56R+28c83K3LY3WNNIUQqR0yStOKSUQU7keeB8e0TdkLX2j YA0f42wv/2ICgiLV7Vg+5g0UhpXcJjXxmKrRli+QgMHGqns3+Ix90dKk4JEuBhhfZSz4 w6J/wNa+MkcMt65zlggoGRGLuedi2Fc67nEqgm6ykh1qTp2ZXXGS824uZuaW1sgZX6dL 4bqg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UW+b9Omz02QYLN6IJYLDRcym09SpomRowE67Td03hF0=; b=KUjt7dGDDphmwQz9/kfjMqexNggig2BBeSlNXuPbUPbe2slOaidd0Z4TjNF0Pbw35U Xu3lBUdc8J1VEcWeRku2PcUhXQsXa1iN3XAtgrVulM+4yv/sw56kJfao3SYSjR5E6SjU PhzwA++kHrHOUEc8OlvO2kCPoL/Jj9z3fVX4pxP8GGOsAu0LzQTMvMx/vlMLnmwe8HKC 8H2s16nj8/WCI67fwKBwyTtOxgJZN3WnjX/KdaGNZE9DHfbXQ3xxvnnCdNl7/x/nsP56 CxtmjjnLe3PFkcbF02+MZgudmHMdXVGSLtL2+ZUK73L/jRVseam4snBVfGreJeBXh9VA iWrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=2SXyPTN0; 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 pj26si4193435ejb.390.2021.04.16.03.25.53; Fri, 16 Apr 2021 03:26:17 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=2SXyPTN0; 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 S239326AbhDPJ2K (ORCPT + 99 others); Fri, 16 Apr 2021 05:28:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231666AbhDPJ2J (ORCPT ); Fri, 16 Apr 2021 05:28:09 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9DD4C061756 for ; Fri, 16 Apr 2021 02:27:44 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id p6so19290824wrn.9 for ; Fri, 16 Apr 2021 02:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UW+b9Omz02QYLN6IJYLDRcym09SpomRowE67Td03hF0=; b=2SXyPTN09paaUUHLMYjUPiOreOsjYnlSmKr4JE96Aqe9W8aFmXg4hr1bj4bxzB2QSt 75zILaiFt03bYFsKYqUldY0Tm2nfLT/pccj6fgbGcl1UbvoC+gmoOQwx0g+dwPf5xbfC QZB9N4nRgbd1LDpB8yHSfk+qjLjKkc6WDst9Iny4KDpA1HO+2Bs7iBYurZH6LqcDGQ5+ ZDXtn6Y33TdB7Pqszd1cQzxJske76wXleM1nsl26M5yhNsEzYyyRvoYE2QmX6hHKTSGw hqLfeB624/Bdl6OMWA8cRGtDlOBjx9VPYF/L6I6QT90YNFOyey68YNxO7hAeOOH4NEQW LFTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UW+b9Omz02QYLN6IJYLDRcym09SpomRowE67Td03hF0=; b=QwNgpEq1BHgPituF8ycMO+LtwepB5i1Fa/S+q491vs5ZvLZpb78GNRk2D0gVh6qgeN 621UgmJ6IilvU394wZCksUSPJ/OHK+T7fmxslAd6/Yi7o7+67J0whwPMuGd1wf53NLVz bugHENweQpCcaLEHKRKxQhlbBbhlWHB1QgPoBzHFeh4tzifY6OG2Gffbzj5pMsAcGBLn wOogRtoj2oBTi2Hz1/4cdP7vtFxjgXpr8P905cew7ZznUmQ6jVJ3QEG7EKIT4ttF2PRl S5hKu3T5dv858cOYfFLypJRa3r19tC/JQ2BrbDrbFE2dVTQShqrRHoJDuk+d/cNk09ju CP8A== X-Gm-Message-State: AOAM531aKgl9ZVp6VFLvGkxSO4QGwh1LLwvoj3n8Q5b//VUMOIOMWmxz KdHkoh7z1BE0FvAIVghWaSz7tQ== X-Received: by 2002:a5d:4251:: with SMTP id s17mr7986834wrr.174.1618565263540; Fri, 16 Apr 2021 02:27:43 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:90c:e290:6e70:fd4e:dfdb:68d7]) by smtp.gmail.com with ESMTPSA id h8sm8805156wrt.94.2021.04.16.02.27.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 02:27:43 -0700 (PDT) From: Neil Armstrong To: jonas@kwiboo.se, jernej.skrabec@siol.net, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com Cc: dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH 2/2] drm/meson: dw-hdmi: disable DW-HDMI CEC sub-driver Date: Fri, 16 Apr 2021 11:27:37 +0200 Message-Id: <20210416092737.1971876-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210416092737.1971876-1-narmstrong@baylibre.com> References: <20210416092737.1971876-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-Patch-Hashes: v=1; h=sha256; i=AIXqGHKTvAxrfKSlg1n3zbWJ5IG5DkS6Kb91/enRWC0=; m=2JvXyHbVOdgr08yx3xTtTb2RALrmH6WvCQut165FoNE=; p=ALx7NrZjStGjkcT7P2hXJBXnDsBMqDSSAFEUG8wpqV4=; g=4e6918702c99f2fd53451a77865692eeb1ce6f11 X-Patch-Sig: m=pgp; i=narmstrong@baylibre.com; s=0xA4CFF8AE; b=iQIzBAABCgAdFiEEPVPGJshWBf4d9CyLd9zb2sjISdEFAmB5WDsACgkQd9zb2sjISdEMNg//eHW wLuyr89JyKh095fVg/U17vGXWCLJ4CoUOcvalJ7GqQfF094VlAnboFML2V1x97mGiXL9dEWzIXIU7 njtgfXlKA0lczx6uhZMbkD6YoCRHxvLZ4I3oWcCl1hZnKlhUgysO7Kp5RPAGRVQgNxkopRLK5LBYo DqmIEfvh976jxGsRdydHIgt3xKSGYV9JLj57+PP6WbnD0MHOm5EJLRettmjVJl39NzW6kbvlZJxrz n/vbP1ydH7Mf11NeHGkzi24eCx79FuAbCKIFdfIoZREybjXGjoE9guX4LKHbrzznFx1H12emkMucS cZ6EDw8V0rEtZJBQnib6MllzAp2cSEsA07NTn8/m6SlDxFPh/ZyHKfgJisY2bclJAzgJAWyj+/oxl 1aliLRovtOP6qej39sYRMp8S9RBADFdmqamr+B2CbqH23odahkg2MbuSfm5X5tKeqOVlwsMnNMi+C NV9df8kcJvjTx/A7ypWeZdZNa4Lp84bRYKMXE1kGpBCz2HaWN6qQmEOaODqGyY/w/RADuPRcc6Yxc 8pqefJFUx7qK7YiV+gHcw7xI2z2FNcR+D+VTpSVHJNsOYMn2Up7wjyySgCZzOBGTgAwqkIBDeyccR brk9G1Fu3JQMrQqOlguW82Xz+kpfjxjAVsuszHdttk/bhsHqpvgjO+ka4JHEWzSE= Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On the Amlogic SoCs, the DW-HDMI HW support is here but the DW-HDMI CEC signal is not connected to a physical pin, leading to confusion when the dw-hdmi cec controller can't communicate on the bus. Disable it to avoid exposing a non-functinal bus. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_dw_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/meson/meson_dw_hdmi.c b/drivers/gpu/drm/meson/meson_dw_hdmi.c index aad75a22dc33..2ed87cfdd735 100644 --- a/drivers/gpu/drm/meson/meson_dw_hdmi.c +++ b/drivers/gpu/drm/meson/meson_dw_hdmi.c @@ -1103,6 +1103,7 @@ static int meson_dw_hdmi_bind(struct device *dev, struct device *master, dw_plat_data->phy_data = meson_dw_hdmi; dw_plat_data->input_bus_encoding = V4L2_YCBCR_ENC_709; dw_plat_data->ycbcr_420_allowed = true; + dw_plat_data->disable_cec = true; if (dw_hdmi_is_compatible(meson_dw_hdmi, "amlogic,meson-gxl-dw-hdmi") || dw_hdmi_is_compatible(meson_dw_hdmi, "amlogic,meson-gxm-dw-hdmi") || -- 2.25.1