From patchwork Sat Apr 15 10:46:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 13212483 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72E43C77B79 for ; Sat, 15 Apr 2023 10:48:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eOGcwwKygo5gGeIlcJsfVSXqxPDW2RroVPzPmryzrRE=; b=nkb0e3jO32P6hH pgfZEFyVFx1ZqYHVRABjQ3KCmfOeQtDtHS8olf3oAnwxiFOA4oCABXHBL3SPBa+ead9p+R4C0YxoU Kx/IBx3pMEqEJzgbuh1HMC0yhT9fqLswK8mWIslTv4/VE+upjo8QelZhFYL2Y1xoeEbWey2LN+bB/ rP2KSGjDhJsqggE06W0wQuHC09q1Cgcq3RpvHSYa3/fsqb1p7lWBvtzEAxovVFUhpYrgZ9NKOIWTj KNnQq5iOP0yhq3BrZQLb4JrA9uonmdwGvKhi7aEfKSfeJOH/DB9wvKcYcaTHzf43zIQc4moUo+Rok OFMljOp+GZD9TIsqqqpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pndR8-00C1d6-1H; Sat, 15 Apr 2023 10:47:18 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pndR0-00C1X6-2A for linux-arm-kernel@lists.infradead.org; Sat, 15 Apr 2023 10:47:11 +0000 Received: by mail-ej1-x62f.google.com with SMTP id dx24so7823198ejb.11 for ; Sat, 15 Apr 2023 03:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681555624; x=1684147624; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9pUd8DFQ/mMGaJuS7CXpgBKGgZF1BMCPB7h8W33HCwg=; b=n5tydzgrJ8BvqSB5++nyIu0SF8/YOb1MSjRmH8/IFtW5mQWsPuRdyIOra6V10T6FZV hGgTYwMF+lx8KLw1plktt251TOYSkKZ9vv5zpyJ8NQF1MJjbBbQA4mpO6bcHTyRnBRMm nS9OooZA+VKqtHhBWUP8wUwCmNH8wJhM/7icFMUGeecgrDfxtMBRJ58l5wAPAU3I3F4v T1xy306yEAhHINS82+ZJAiM9qUo2CN03M4jNl7fH2SsfQN8YfnvNJR4nx2PLNSpX4TUK g1Aeo04jMyInkcrxEsesYnIRVLdVKQOoC8/C5jvr1FocICGeaq03k4eS7wodptjJP17R NSEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681555624; x=1684147624; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9pUd8DFQ/mMGaJuS7CXpgBKGgZF1BMCPB7h8W33HCwg=; b=OT0SVIxP5883gmDHwvs8z8Q2KNuqzDZWZsTYz0M/+Tl18oYEdvgzUCn3n+yKYbLaRx uPfn+NAFl3Jhxh7TX+SrEk2aqGAgD8C7roe5zvl5BqNlEJy3wMYJzYi3478c2QYoy9uw 4bakt3i3yzSQww+pXCeWJUjyU02cJ1JcxrndiiZCDG9RwJPGyXOmxnnZrgMxfZW4n3W4 m0ErGawg5wRzFdF7GCb8sa+R940EP+mDmkhUhj9bbuDguFCm6XttmNma3QtFWE4cntFw n3RBuxyyqmvNsWht2GqLN1deQjTnQSol8LIGHDLMgunS386Hgj27uOZ667+dVzSlz2tH ii6A== X-Gm-Message-State: AAQBX9chWzEJPyNU49poVJtmtzpyC9FkICxhIWAz4yST5XPRSi1xwdsj Nwv+W1BySWGD8cHEkLLPz+g= X-Google-Smtp-Source: AKy350aJNghSC5CfNyPgKkWXs0FMN8fkENsNCl8unVGCaGJStsvyvk7XtDGK5pCnk/0RAbSApiKWog== X-Received: by 2002:a17:906:2a45:b0:94f:1a23:2f1b with SMTP id k5-20020a1709062a4500b0094f1a232f1bmr1247720eje.24.1681555624222; Sat, 15 Apr 2023 03:47:04 -0700 (PDT) Received: from localhost.localdomain (82-149-1-233.dynamic.telemach.net. [82.149.1.233]) by smtp.gmail.com with ESMTPSA id m15-20020a170906720f00b00947ab65d932sm3607034ejk.83.2023.04.15.03.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 03:47:03 -0700 (PDT) From: Jernej Skrabec To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wens@csie.org, samuel@sholland.org Cc: Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-media@vger.kernel.org, hverkuil-cisco@xs4all.nl, Jernej Skrabec Subject: [PATCH 1/3] dt-bindings: display: synopsys,dw-hdmi: Add property for disabling CEC Date: Sat, 15 Apr 2023 12:46:11 +0200 Message-Id: <20230415104613.61224-2-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230415104613.61224-1-jernej.skrabec@gmail.com> References: <20230415104613.61224-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230415_034710_706304_804A262C X-CRM114-Status: GOOD ( 10.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Even though some DW-HDMI controllers have perfectly usable HDMI-CEC implementation, some boards might prefer not to use it or even use software implementation instead. Add property for disabling CEC so driver doesn't expose unused CEC interface, if CEC pin isn't connected anywhere. Signed-off-by: Jernej Skrabec --- .../devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml index 4b7e54a8f037..624d32c024f6 100644 --- a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml @@ -48,6 +48,11 @@ properties: interrupts: maxItems: 1 + snps,disable-cec: + $ref: /schemas/types.yaml#/definitions/flag + description: + Disable HDMI-CEC. + additionalProperties: true ... From patchwork Sat Apr 15 10:46:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 13212480 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9286C7619A for ; Sat, 15 Apr 2023 10:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QdSmJp+V41zroetAESgiXWA5ob83UgnTc6GMIORwhmY=; b=g4HhTG0yFIgux2 mdM35CIJztxgWDVLuAiScir2EsPB6FWQQyY8Bqu4jBEcxtne4+BN9Y1mTyNv2QE9vM0yS1OPUYXjn ryN0Ib0SK8tir+87XV+L3Q7BK+CxDxHy3uvCNAyOpyeQdD4DP0LjQ3VNchnRh8EAwAcqm+fhWVzDk YlaZecXpbTv+WA0fyEcYX9DFJvFgfonTxIGkV94zYhVSx13fjAz0cq85FwcO3Q1mhkgf17XsOm4O6 FbXGpQ26q+rqWusY5Ps3YRh5QgZ9zS58UXzSfX0wmp93cBtcXG7Fkc/Zztsz0zjkPrX3bJWqdm/w5 DcwzLu6Dqm6dx617A+5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pndR1-00C1Ze-2b; Sat, 15 Apr 2023 10:47:11 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pndQx-00C1XO-2E for linux-arm-kernel@lists.infradead.org; Sat, 15 Apr 2023 10:47:09 +0000 Received: by mail-ej1-x632.google.com with SMTP id jg21so51519806ejc.2 for ; Sat, 15 Apr 2023 03:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681555625; x=1684147625; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=O04Ye2MzXp7QKEfSemVWElXkh5JGH4p8WqqP9d/MZSE=; b=QZ2NGevF4bpWez9gHLYQPb3kG98YPHW3Dxiczr4FnG7PJcfpWiPdmDcQOHTbP37dbF groLwOQ9YguDs/v1WdalPZoJz2XFoeEgSuj19V1VKwKqZE5EhYXEWh/zfw1v+9GRAPdj k+AevlVI1t361tdpOE77dqxw2u85ij0tefIDjWbrQimHCWj+Gavslz+V+A+2ZrO2X8Wt G1lY0wYGd8RYOIrCNRim9Ed4DFIVQ0u700KG/MF3AWBQjHH4nhE3GunEcp6emqfckeTy V8aRYSincLppnfKgTfGsBca13Kc07lCZR8nAI/dCyx/zlHxtGjd9iB3X7Foj2yi0sQru kxmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681555625; x=1684147625; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O04Ye2MzXp7QKEfSemVWElXkh5JGH4p8WqqP9d/MZSE=; b=Whq64CjA+nkzZ0MakrlGDMqJ2zVHb6gH5BRucOFtXdPHLFcP/MhnWefydxhSSWaglW BNnT3aHf8AI1c8O+uv6IAWf5IVbcu1u7/Zu5AdXosi3MNNOGO6b5G5xdOFnLHzTNY7TT nKl6yDpJy4ur4g9QqkMsGRJ3IdDUiFA+J6/zTkeQpkR/7hlF0p1/Ss2BJJi83p+yYWI9 0j1iDQnROQ898LFWD/KPfS29IB39BQaw8C4yy0IKNGhI4zaPuQo7ICTIMeX7FNxr3Rle EQsMP6cI8jB/29K9YnAcOFxONkKItGfBRI3DPhZh8lnaa4xfKHVLQfi6vMK1I24V7LFR dsfw== X-Gm-Message-State: AAQBX9dMsTu1133lMcEEWWshAkvxnrtuGtuY0CbGzZh+wfKj6rJFYyv4 AVGbvtrwysdIWIu8fiAJS0I= X-Google-Smtp-Source: AKy350bwZkPIK+M4puxUx9p8YTSxs9X8ypJVNYd5v62q6WmJKob3N+gncOYlcJY70GiMJz9RM8YuZw== X-Received: by 2002:a17:906:ad87:b0:94a:4b7a:9886 with SMTP id la7-20020a170906ad8700b0094a4b7a9886mr1727708ejb.12.1681555625592; Sat, 15 Apr 2023 03:47:05 -0700 (PDT) Received: from localhost.localdomain (82-149-1-233.dynamic.telemach.net. [82.149.1.233]) by smtp.gmail.com with ESMTPSA id m15-20020a170906720f00b00947ab65d932sm3607034ejk.83.2023.04.15.03.47.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 03:47:05 -0700 (PDT) From: Jernej Skrabec To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wens@csie.org, samuel@sholland.org Cc: Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-media@vger.kernel.org, hverkuil-cisco@xs4all.nl, Jernej Skrabec Subject: [PATCH 2/3] drm/bridge: dw_hdmi: Handle snps,disable-cec property Date: Sat, 15 Apr 2023 12:46:12 +0200 Message-Id: <20230415104613.61224-3-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230415104613.61224-1-jernej.skrabec@gmail.com> References: <20230415104613.61224-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230415_034707_726303_C8AD9B39 X-CRM114-Status: GOOD ( 11.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org New DT property allows to skip CEC initialization. Signed-off-by: Jernej Skrabec Reviewed-by: Robert Foss --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index 603bb3c51027..e7e8199d2fb1 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c @@ -3615,7 +3615,9 @@ struct dw_hdmi *dw_hdmi_probe(struct platform_device *pdev, hdmi->audio = platform_device_register_full(&pdevinfo); } - if (!plat_data->disable_cec && (config0 & HDMI_CONFIG0_CEC)) { + if (!plat_data->disable_cec && + !of_property_read_bool(np, "snps,disable-cec") && + (config0 & HDMI_CONFIG0_CEC)) { cec.hdmi = hdmi; cec.ops = &dw_hdmi_cec_ops; cec.irq = irq; From patchwork Sat Apr 15 10:46:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 13212481 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 826D3C77B71 for ; Sat, 15 Apr 2023 10:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=m8vmryC16+fCgt+kpHWKlrziC3Bc0bkdTL5TtYsFH6Y=; b=jng9z6WPVsi6bi DCyS2GvuP8PCcO1QTXgf3hPyQXNTBzPvyrcFmQxZ2lsVqBG2+xAUGG98XlOjpgAZMYUd+kZL8ykXz 4AozEXBj2VpmbmMKOHeCZiUpSnmL9prlgEEZ9xonyoK6X4p35Z5C8VJlYVRRNfI9jmTsf9+gHakqc nWDuWHdNNgJYybLVgt3CagbCDgbG8CpTl6PlTPeTiLJGg8rdRdojzuqZQEo+7U9vNDmt4/2SPiX8K 0hrxGE0otdLUlFQChfQdWJ+t+99Xzbuwt/snqaosFCDu82lvoBQNDe/TQJ3Xy0B/WHKxOjYfdeExp Kdu4yHm+a8xEUMY+JNbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pndR6-00C1bd-0A; Sat, 15 Apr 2023 10:47:16 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pndQz-00C1Xo-1Y for linux-arm-kernel@lists.infradead.org; Sat, 15 Apr 2023 10:47:11 +0000 Received: by mail-ej1-x62c.google.com with SMTP id q23so42383747ejz.3 for ; Sat, 15 Apr 2023 03:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681555627; x=1684147627; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dISlVJnWoSaQPOrIVy9KR50yRndMlP9B9wtDi4lm21g=; b=SCjs3vMvK2vVbIo4PEH9d6VWabMBvQohKJbY+fgeqC2sQFvisjZ0GgspZWffRy8dZk y6KeaK7MPnpTR4p3cA/zb5IZvkRki0fwPrItKuI39DExUfQP+Eo6qx7mgNs/2FEkigiQ j565yQ+cmOkG8X7Zts82eUD6V5SoTeVooL9sBYn1KlKioXjtggB3zFRdkewj9WJlvryy 0GUlkG4BcmAyatKWEVvcsIcLHMIomzkba4xtVOiqTgWqI4AzbA9mWG1hk0mSGJrbvd1B ghkuN13whkF8Wf6Z0FDvWBOofX5TIOv6hWP2k1UpuJbPYjl5OsdvaoMlFNnxs+Vhc7eL 70qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681555627; x=1684147627; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dISlVJnWoSaQPOrIVy9KR50yRndMlP9B9wtDi4lm21g=; b=c9RqOnZS//HK5ZW2U4vOE5skn3dUQdyha2dxdB5FdJuh+RelfE/I/XnjgDm9Jv5k2F F/w05JrzFJLhEF45MlFonexxoSjihPa+SjjDpDmwd2Wl6/OncSU+jawwbEbnK9/AjYrI ibyWPmlyUX6Xo/2qL/1AQ0JEVVNcEx5KZ7YO+n+kuENOeLM1VOkY+aGW021+ywPpvg3q 8vu9SiqM4Vrc7KBKhKU0eO9v8K78B1OucZkn5EyOOSXpsqSyZWA61E0Gp9d9LlypOOmS gvrsmr4Qmahtznz8NGjIHZf2acm49ef5h4EE3B+iJORq3huM+w6uQgkfHW5flaRsVSSo VzwQ== X-Gm-Message-State: AAQBX9fwvY8ZRd/+G2pZQYwR9aBjHjTjQrTNtkVBN2kj9CwQCiS5oWK9 rvS0n9Mf7+/hrquFScDZfsryPVgZoKLctdb4 X-Google-Smtp-Source: AKy350Y5afmiBhKRprtC5SNEdZYPWt8T99YvHJGrJGHbqb6r+TSAdL+giiW/xUXtzn4KHSMx6NBvAg== X-Received: by 2002:a17:907:2149:b0:94a:4d06:3de3 with SMTP id rk9-20020a170907214900b0094a4d063de3mr1493742ejb.72.1681555627031; Sat, 15 Apr 2023 03:47:07 -0700 (PDT) Received: from localhost.localdomain (82-149-1-233.dynamic.telemach.net. [82.149.1.233]) by smtp.gmail.com with ESMTPSA id m15-20020a170906720f00b00947ab65d932sm3607034ejk.83.2023.04.15.03.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 03:47:06 -0700 (PDT) From: Jernej Skrabec To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wens@csie.org, samuel@sholland.org Cc: Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-media@vger.kernel.org, hverkuil-cisco@xs4all.nl, Jernej Skrabec Subject: [PATCH 3/3] ARM: dts: sun8i: h3: beelink-x2: Disable DW-HDMI CEC Date: Sat, 15 Apr 2023 12:46:13 +0200 Message-Id: <20230415104613.61224-4-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230415104613.61224-1-jernej.skrabec@gmail.com> References: <20230415104613.61224-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230415_034709_515883_36915D6B X-CRM114-Status: GOOD ( 10.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Beelink X2 uses software implementation of CEC even though DW-HDMI has working hardware implementation. Disable unused DW-HDMI CEC. Signed-off-by: Jernej Skrabec --- arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts index a6d38ecee141..38f40d69e5c5 100644 --- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts +++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts @@ -150,6 +150,7 @@ &emac { }; &hdmi { + snps,disable-cec; status = "okay"; };