From patchwork Sat Apr 15 10:46:10 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: 13212482 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 536DFC7619A for ; Sat, 15 Apr 2023 10:48:08 +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: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:In-Reply-To:References: List-Owner; bh=Pcn5cHJ9qgFYEiz5scyoYPm5d5IUbZMg8UnyoNYAlos=; b=loy2xOzJGOfXbz W70LocM74CTOT0xDnyCO1BkyQfkm5CFcHRnV4WwDwcw35Q9uUflvYhave66M7yJ0jsBrzlKbbxWx1 zLjbrw3CtylNYYjhTEizfGFa3HgkjRx956xiOpTEbDrC9IYto9ckomXHiPgWru87DDj1oQFLqUeGI iQmFCezt/seTBii9rIAYzHZ4X9Sj4JZxGjPzCqUm/ZaS5UJhZ3y8k+05jqPewbcvU2bjxt39FcXsZ mBtwLQHGe0dqWOlatzFv6XWQQz5YcbMVjoOLbPVi8npFOfYW9wTh7ojC3MCjkMkb6yQ9bXJALGLde aFd/C8V3LdNMNpuun46Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pndR7-00C1cG-0n; Sat, 15 Apr 2023 10:47:17 +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-00C1Wf-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 rp27so14846681ejb.12 for ; Sat, 15 Apr 2023 03:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681555623; x=1684147623; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ICwYyWWnryvHm9RgRWeq29kRBlsUBNW7tslN8BXiwmU=; b=BQaKk6QpiVmZPeB/smhkVOuNZTbb+v8ly+PlkeCAAUt25cyNgPCVm9EHDY1zU5H9ZJ GVarHQ5Bc6ZcGPe6Bwfk8vERzbJADby9E/E4YAXf9GrGff/klt/bFP/Lm3NC4VKujCGF vHOa1yCSPHf70VHMBwULihW2kIzTwHzKKADr3KbFPA53nKl5Xb6wT9FbFoZv8LTZ/mH5 hTjRz4qA8W12+1+3cOV2vzKvjJMUW0G5cSRcoXl0bdyEgPAPNH3nS2aL9/6bZcLTxOI3 hPzl/BZxx9dUBa0lM+AOa+Ts1Dh7s6E2VR25Q7p8TuWCo5L7ZgLE4cxSLqulgNyQgrIz MzVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681555623; x=1684147623; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ICwYyWWnryvHm9RgRWeq29kRBlsUBNW7tslN8BXiwmU=; b=RbqvyabcIokdCT4U+2nTeWccz3UWiPPHB7SdblEt9EZTU1FzYJRQNzB6YH1m9vooXz p5md1qWD8yDEAvJDABAPzoZATK4kZbD2qQ15pkjcrFsxQyEkuEG6Aqa31Jj4qGTYsbAG eU0r7quQqIdR+Y6tczEimBlqb9KROqKIWAV7t06eh2jNVzyXYaW+1Mzd7VzqgW7RnCU5 QFfmtkopoBPPhlSOpnCUPv7JcHRnJ3BUFi0nYfCfVKVS4cw8bHZgeM/TJsGeK9DSr+F9 FOcNtMHfg0wU0fNU0eEL3hN2qmzh2L6YpZoK36NkPSumCj3O/sD+Bunt2AlciB4Hev96 B9Nw== X-Gm-Message-State: AAQBX9dOrOv1bnfCg4gfc4V234aXauRASCoMq3DONZzpRjCF67lGL+MB CctjX/b7V9dBt5+ZgDN3le4= X-Google-Smtp-Source: AKy350ZlZmmQo025rfm2e2tAa9xyZl6HKwCyENZ72HZZ0DvAjQTuASLgS7n6KD8a24YZf10jRtRI2A== X-Received: by 2002:a17:907:2087:b0:94e:fe0f:b2be with SMTP id pv7-20020a170907208700b0094efe0fb2bemr1577373ejb.14.1681555622742; Sat, 15 Apr 2023 03:47:02 -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.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 03:47:02 -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 0/3] drm/bridge: dw_hdmi: allow to disable CEC from DT Date: Sat, 15 Apr 2023 12:46:10 +0200 Message-Id: <20230415104613.61224-1-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230415_034709_518915_30E1C790 X-CRM114-Status: GOOD ( 10.16 ) 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 Boards can have perfectly working DW HDMI CEC implementation but they may prefer to use bit banged implementation instead. This is the situation on Beelink X2. Add DW HDMI DT property for disabling CEC. This prevents confusion on userspace side by not exposing unused CEC interface. Best regards, Jernej Jernej Skrabec (3): dt-bindings: display: synopsys,dw-hdmi: Add property for disabling CEC drm/bridge: dw_hdmi: Handle snps,disable-cec property ARM: dts: sun8i: h3: beelink-x2: Disable DW-HDMI CEC .../devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml | 5 +++++ arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 1 + drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 +++- 3 files changed, 9 insertions(+), 1 deletion(-)