From patchwork Sat Nov 20 10:20:24 2021 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: 12693168 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 B626EC433EF for ; Sat, 20 Nov 2021 10:22:46 +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=lsrMp60BbFRmCJY0lyqq3rVHBU2yeWKO3+mSjQcQIXc=; b=HY4E1YqGKnHdp2 uyLGoftRU6prS7Aurobi3+h2M3Xnng6tj4NsH0+Av1c5CnklWoOOA1FsFMLMhIkGXFeGUuaSlMJXK eXjaPaxihMjvdM/oN2RDi3Jsn455hmRE3vSlvqjGwDfzMyA3yjt95+wP2TZy4Kj/LyTXlVXxDur8T Qt3HqQR1T+oS5Mr1sEfXlLQvIqZU1dVIaoBCCP8BPAGEyxE6fGhsumlWud1P01w5u5EfZUmgoBDeO x4FAxyiZiniWSAz92wzzPq1Kj4/nqZwSSHXW0S6TugTBk3AZ14zPwX/z59WuX6os3m9sl6e7uYquN m5tccyAFC3kECMLjyNVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1moNU2-00CGSN-EG; Sat, 20 Nov 2021 10:20:34 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1moNTz-00CGRv-JJ for linux-arm-kernel@lists.infradead.org; Sat, 20 Nov 2021 10:20:32 +0000 Received: by mail-wr1-x42c.google.com with SMTP id a9so22614142wrr.8 for ; Sat, 20 Nov 2021 02:20:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LEaW6sQllQeiUAlR7VXlAWH45Q9pIWU2d/TfbfgcPXY=; b=i6Z4Z1lM7/46HyWl8T7vlO0nFHyyAHpd9jl5OpLIUO8B01KVgIXrLeSUA7wQm4Hbem ebKHl/xU8pj1ugoTomhhh+DBk4oU1ID1iU0JrSdgJj1/vOMRseOy+CVHAt2WUr3g376C wo34jNKOwtwGnIp7hLW5Z+0Cw9KCE4M8/u0Q/LpNlc9TJsNSjCi3O66qdqqBd6sdlRF6 Xxekc+NhqT7xzJdnSVKKcfLOrYVPzJ1awBDHNAA/5KHdZlZAFs3lIPpeK5oMUN2cs8cD A457k7+6fXv1W61dffoQ4PjWTV3Ab7j21BeYUtb512FqrK/F0ekK+A/tVdi/dZ6i+V5J ks6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LEaW6sQllQeiUAlR7VXlAWH45Q9pIWU2d/TfbfgcPXY=; b=BeHV8ys2C7/t4IIgeTUuM08lUSHK7UmsQ0fNOjkTsx0e3ffr1etQas1czb9951EDdt QnEhk6lwZcnDtSCslvmfg+8s0c09e76ppw3KEtupK5sWTIEv7d+Y668Pp8y9YQ8ukBTj xFmdkEw5rERExzUJsdoRGM1UA5FbPVADrJsi+bK9P6Irq8sOjav1Vz7gxJOIRraaSySS rjRL9Ns+8+dXkSEWeIBuHensBEsA82VMWrYvnZPp6acekFUg0o6w1TXHoJ5Ee2Ys9RVn 0Hr2ggu7zrh7M5UFsRsT1Y4l6tUhYvh2jLl9A83WXhsTRfXW2eryUlqDTn2O5gQ7kelg 8eNQ== X-Gm-Message-State: AOAM531FlPLBbYv0SdST5Uim6FjALwhthjZsQfuDW/dI3sQapEJzt28v VVPHirnT31iOUDnqIt2kAUg= X-Google-Smtp-Source: ABdhPJwHPV8MS0HMq4lqynVHggq/3i0b79h2bOQmtKTpYRNvjsHuJcaimdZUtJQCO2MEHdWtpPSMDw== X-Received: by 2002:a5d:668f:: with SMTP id l15mr16656879wru.182.1637403629609; Sat, 20 Nov 2021 02:20:29 -0800 (PST) Received: from kista.localdomain (cpe-86-58-29-253.static.triera.net. [86.58.29.253]) by smtp.gmail.com with ESMTPSA id j134sm2543534wmj.3.2021.11.20.02.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Nov 2021 02:20:29 -0800 (PST) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec Subject: [PATCH] ARM: dts: sun8i: h3: beelink-x2: Add GPIO CEC node Date: Sat, 20 Nov 2021 11:20:24 +0100 Message-Id: <20211120102024.439456-1-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211120_022031_676998_BFCE98F2 X-CRM114-Status: GOOD ( 10.59 ) 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 doesn't use HW CEC controller found in DW HDMI core. It has dedicated GPIO pin for that purpose. Add a node for it. Signed-off-by: Jernej Skrabec --- arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts index f0e591e1c771..4ab4bbf001ba 100644 --- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts +++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts @@ -57,6 +57,12 @@ aliases { ethernet1 = &sdiowifi; }; + cec-gpio { + compatible = "cec-gpio"; + cec-gpios = <&pio 0 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PA14 */ + hdmi-phandle = <&hdmi>; + }; + chosen { stdout-path = "serial0:115200n8"; };