From patchwork Mon Jan 29 15:58:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10189895 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A262460375 for ; Mon, 29 Jan 2018 15:59:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0952288A0 for ; Mon, 29 Jan 2018 15:59:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9519F288B5; Mon, 29 Jan 2018 15:59:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 34DE8288A0 for ; Mon, 29 Jan 2018 15:59:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=drm16ZFQ6Vi6Zg3CYykHDQzbBALTdXxEMO9Tpl9frPE=; b=KuyvyDMdl5MC8+JNU1iiduSMZz itvZ3Ukp2nWiG6TTb12j3mHCa9Ggg3yimfeSU0HvB3uoCJ8DRSYjbQwUMAQEHqLAcVG6I1ZKV+93Y uKqGkXY+CB3fRRTCUiMkxXV2sfcYm8EQYsPLYJEzYxgnJPxmboQ6nornsTPbm/GH29G75Q1zrIwWY NijN2l/tS+W9EKkuMElSrjWxqzj6u9+En3VOK9dC9qDKEAcuYcUiL+VVHmHdqzCQqKVqWTvOSZea+ QOxh49FkyG7ii5s/rj/CA/kv6z69M7Z5GAso2Tb1vLx1Bfu04WZ9v3WTXNiyLJFjRwvMMk5mt401G Jxv2N51g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1egBqP-0006DA-BY; Mon, 29 Jan 2018 15:59:41 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1egBpH-0004za-54 for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2018 15:58:34 +0000 Received: by mail-wm0-x243.google.com with SMTP id b21so34682207wme.4 for ; Mon, 29 Jan 2018 07:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2kJUJ+AgXPWJAhD0MFio07ZnC2n24kg+82B0okKI17M=; b=F07nWfxglirh1JvVeZ3ishT2i7k5ENm5KS54Rd1iHM/QpoDgfas6T5vYBwUmodU0tH fL+7M1B0qRYjRC+CqmMDhqZd9IQYBWzhKteJmSccqlgqw98slXlqOt3cZ/BE3dkvv1z7 jTYFaMtWAbembL5XHyh/Y3YE9/s4nPIwm6IUNG6/l/lIHCHzpZzzBXMY2iTXzDkgWSNt ohGsLWPqLF/c6vMP4IXpXw68ZJeuNUAxTP3CAeT+y9MmYTNBe6QDGwyiDdogIw1JtknH 7M6kranep7x1Sym1ulVAHWx++dFtJkY0FFSf630APG0mNvcvE00yIhJUl6vCqsBnnx46 Iwrg== 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; bh=2kJUJ+AgXPWJAhD0MFio07ZnC2n24kg+82B0okKI17M=; b=a/f1zrxcF4/5yU8kwu4Ea4LVHnd/tajnH+fCbjJF+oo3objT4mK+woKHSD8fr+seZj YuURkWmDXQoezWXDDiYBzI3gUDrY05VNhB4W6JDFEAHb+K+8KnXmWinDaC8dm8JIWUFq 4YrxhE1WrdyYU6tyo3VXWY+7SJrTtkgMYn4SKVjEAgzSP3xIiVc0QPWeX9ltuxyYPfSC 3WDTv2jbi02rqXy0YKv+XzxkKl7G3KKDKgI/Ct8uZVfm0JwRCeJPUzt0/AiRQxBkCcQl ShuVQDbyJlyrvV9Uw5sJ7STBNdMQe1Ruht4Wb5vylglK1IerARXRXtepPiH7SKhPCa0x NNVw== X-Gm-Message-State: AKwxytfeWT6fCz25gCwcCz3e8GrFSPrrt3slahRDa6C/BaBLlpa/gSm9 A9cv4mgW8y548LL22x18vvM= X-Google-Smtp-Source: AH8x226LmnVcvxm7SCBrx1ui1Xdu4mmxsYws/EYYHyRYIKqBVHeUt+lzxzOLUs3cvx6RvuNcd0gzzg== X-Received: by 10.28.29.130 with SMTP id d124mr16383969wmd.139.1517241502336; Mon, 29 Jan 2018 07:58:22 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id z22sm2465385wrc.3.2018.01.29.07.58.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 07:58:21 -0800 (PST) From: Philipp Rossak To: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, sean@mess.org, p.zabel@pengutronix.de, andi.shyti@samsung.com Subject: [PATCH v5 5/6] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller Date: Mon, 29 Jan 2018 16:58:09 +0100 Message-Id: <20180129155810.7867-6-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180129155810.7867-1-embed3d@gmail.com> References: <20180129155810.7867-1-embed3d@gmail.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Bananapi M3 has an onboard IR receiver. This enables the onboard IR receiver subnode. Unlike the other IR receivers this one needs a base clock frequency of 3000000 Hz (3 MHz), to be able to work. Signed-off-by: Philipp Rossak Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts index 6550bf0e594b..ffc6445fd281 100644 --- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts @@ -82,6 +82,13 @@ }; }; +&cir { + pinctrl-names = "default"; + pinctrl-0 = <&cir_pins>; + clock-frequency = <3000000>; + status = "okay"; +}; + &ehci0 { /* Terminus Tech FE 1.1s 4-port USB 2.0 hub here */ status = "okay";