From patchwork Tue Jul 31 09:22:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10550523 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C22314E0 for ; Tue, 31 Jul 2018 09:24:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 454432AB23 for ; Tue, 31 Jul 2018 09:24:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 382572AB47; Tue, 31 Jul 2018 09:24:00 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 E82DB2AB23 for ; Tue, 31 Jul 2018 09:23:59 +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=8sOQ5lOOkuzfhu5x8EOwh7JNcA4Un6lU0wXFAbk/MPA=; b=IO3J6eyKwhlfLG+PY/f3f9d23S Ie9h94B1qId4srV33h5ZyCortKSGolSDARxcTCQFiCg8X5st7+maSRXob+QJCzQ0IVrmPXhXvXW0R OUIhjOIn8aykrGUMVewRSIma/Tj36y24SOXmbSBHAdVtdwit6pf8ToaY6BOI6qv7qyfc2bO9JZYaZ B31LvBEMlgbCY+ShTLFTNo7H4BrwYTY3lVsQH/H4lvFAjmtW7XepVCHVohW3gkJ64ubUm5gk54izU WDV2bgvqT4onIWragr9Ts9ykVwIR0rYjga9f776SV7gshkx0e4VWxnHRHtYU4Yi5DhHEU/H1i4neE NV6CWv4A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkQsk-000459-OB; Tue, 31 Jul 2018 09:23:54 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkQs4-0003PY-OZ for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2018 09:23:14 +0000 Received: by mail-wm0-x241.google.com with SMTP id o18-v6so2365342wmc.0 for ; Tue, 31 Jul 2018 02:23:02 -0700 (PDT) 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=jBCF5OYdsOEdWKAdYLBMBsHgn2F2SAZ3lPTXjstKWRY=; b=BIREaNpKxg9qcCsLAYlY7+/rMRUvt3rfUMw8EjFUdfvsqwPGNNL2GuA/uhr2ta8Z4y Vkd0odOS7nZ7Bp7gqKZfRgJAO/1CGIoslKH7Eq0NcA8Xz2H5rYeIlDRkUKmBpspwtY2a SRWBMmjca3LDXH/4OG3UjZ1c7WpQPjBEBeu7t1pOJygsR0OSZRJ0KhdqEVCBbJ1vNIye jrDaN9v1sgOf/J+XRoCZzSek4fDJpcsu2VUSp6Qcfb144dTb03oEUfYqCIHwbDy9rgPI og1CAC+DMBAw9K74v3JTOoyPsBf/wLxjO+x8Jk6iV4wJMmAJwJlKS4arSp5KMvi0OEBn 5TYw== 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=jBCF5OYdsOEdWKAdYLBMBsHgn2F2SAZ3lPTXjstKWRY=; b=bnnSgzzkbou2O89jXNTOER7HJg4AamXpRxlnmgOIU4j8GtaaYseB7usMFZWUXc73sx zG1vcywiVS1XtT40YCnHBODnYzvfAgzGz1D+84oRiDeYXmL730l5GVE/zxCuOmj0UD/K q6RLv2FH166JsgUj24Qi1Lys8ed5HWKEhfpHVRziDW5SUcdeTobE0JqQlzQdu6xPvhw0 hxgeFEDD691JzGYwbIRZE7vOsgDL7xndiebJDtHxuHJpjWkxX60KcBhrH6GEAaFhDKV3 XQB6MrZHafyHNDbBXiPOv0+EWZF5+FW5rLNumztHGgWkf7nXHLGyrNce1dKNgY65s8mQ Uk7g== X-Gm-Message-State: AOUpUlEucTDcaqUd74J/OqDygof2CmcniluePs6mPJL2UdW2XYbCYEkw 7XekerbocU1rX7WeyXR+p18= X-Google-Smtp-Source: AAOMgpfqZX+yquBvV8/cYFtcGxVIgccDrn+Q6ju71Ix4zcuf2G4xBjqbmGO9uOnp+k1xLpWpuOdFGA== X-Received: by 2002:a1c:1004:: with SMTP id 4-v6mr1710796wmq.68.1533028980919; Tue, 31 Jul 2018 02:23:00 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id y191-v6sm1670873wmy.4.2018.07.31.02.23.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 02:23:00 -0700 (PDT) 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 v6 1/4] ARM: dts: sun8i: a83t: Add the cir pin for the A83T Date: Tue, 31 Jul 2018 11:22:55 +0200 Message-Id: <20180731092258.2279-2-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180731092258.2279-1-embed3d@gmail.com> References: <20180731092258.2279-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180731_022312_794502_84DD8061 X-CRM114-Status: GOOD ( 12.70 ) 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 CIR Pin of the A83T is located at PL12. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-a83t.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 2be23d600957..afed6c0dea6f 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -1004,6 +1004,11 @@ interrupt-controller; #interrupt-cells = <3>; + r_cir_pin: r-cir-pin { + pins = "PL12"; + function = "s_cir_rx"; + }; + r_rsb_pins: r-rsb-pins { pins = "PL0", "PL1"; function = "s_rsb"; From patchwork Tue Jul 31 09:22:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10550513 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE9A814E0 for ; Tue, 31 Jul 2018 09:23:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6D6A2AB23 for ; Tue, 31 Jul 2018 09:23:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C92B22AB37; Tue, 31 Jul 2018 09:23:18 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 7B02F2AB23 for ; Tue, 31 Jul 2018 09:23:18 +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=875uxiXNGvKVRw9G5HGJ52zMu4cqu2bpSE7VWinaDtA=; b=MoVqTbaeZfXaNhDVGWYo+aTGRF 2IP8NusajSjt5m5FyRY4i6jL5zl0tAloncfJaXDFto22gngRfRm9gtn8MTMG9naUiQwqHmkppTAcA cxR/iRE3HuG0RbE8w+5x9e+1qOBT3zvc/t5LEOqin26BQvp+Sy0ahUaNW9gsDS4BIvRZrY8jMDG6f ACfvSmoNUvn+z9EFMoYRcM3EWaNLfVxCTtFa3mdku6tDCrb77xD0i0T0gRw742rSSQbVt6r62uCWf 63hu3fbNqKqCa4Ej3eYLjL/m78hfCaZ1qN6NJ1kNl6bZ+9mhTZM9eMDCFtL6e5MmjsdzXB/5d64e5 w4kgibBg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkQs7-0003T9-5P; Tue, 31 Jul 2018 09:23:15 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkQs4-0003Pb-7F for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2018 09:23:13 +0000 Received: by mail-wm0-x242.google.com with SMTP id s9-v6so2260468wmh.3 for ; Tue, 31 Jul 2018 02:23:02 -0700 (PDT) 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=OtYgKa+K50AQZfnpyutr+8LrA0LyCrJnQ5OCEVm96d8=; b=cvaX+Z7vN+DJ8smB48LMyO1ZFV8GbLxS+XhVsOY5HroCwHobyNVnL9eobxkm2etdUi eWFztZniJW9ThMAHhybEGbjeU/xYzYhPjnQI6K/8jU3ELdQDS7lUj/tALP6bu2krU6ip ncv19Dy0jsa0r08L692AS++fIkPE1g+zP7AuaOBAZBfarCxRkwTujNh7c/rEIQvwaKjn +B30h0BeYKvc5TMZrR1meooJoHnCQdV0PKJwAiCZ4Q1TSuXmGeYk56VzXEN6g9CvadIE +oGm2a38oALzGuH7/fHnraq19hNa+SFMCLIc0nc40Sv9G/NEHMcuJlgzcN0m1jx5FsAO PbsA== 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=OtYgKa+K50AQZfnpyutr+8LrA0LyCrJnQ5OCEVm96d8=; b=sIN1BBDmF8W/oUZK5BHv827yzjCVnenOxuK0uBH8b1Q9yPZaZZbi/Eu/Hubyx7x9PE +K+vhRI68LcCGmGc9KXCCmY/SeAoaXeZhV/dO9udhbyoRw3I9EN6bz49m1XRKuD5c/jF iyNI0hOXBT7atSkhS8UxQk1ljJchngncwZ0oARTo7F3Rjpa1NaVpZNDb728k/lJLFeOr nuPEm4qQ5gBDn1H2YyUC8EvWGWkmwhhMadQ2rA7u8xBKkCLBEabcz3P4jpzUBUMkZniL cMpbmYFLDKgonS5zWYYloullfLrQiEdAeH/h86CDW08wKRMV/q3xNq9bsiM1WrozQaAL IRtw== X-Gm-Message-State: AOUpUlGUY74s2vDkfyufjW6OY6j9p3BLfq4yKTv0oWu8z04L2uAZWzNM FK+y86g1x4JeLRaZYrZpVbw= X-Google-Smtp-Source: AAOMgpf5Ej8m9eOXrLeWlx3p63JYJy7xX8AISmirSPM6LZ2JHGB069ybu+kzvvr9pdvd9tmSsXsJ5w== X-Received: by 2002:a1c:8b81:: with SMTP id n123-v6mr1694098wmd.142.1533028981681; Tue, 31 Jul 2018 02:23:01 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id y191-v6sm1670873wmy.4.2018.07.31.02.23.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 02:23:01 -0700 (PDT) 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 v6 2/4] ARM: dts: sun8i: a83t: Add support for the cir interface Date: Tue, 31 Jul 2018 11:22:56 +0200 Message-Id: <20180731092258.2279-3-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180731092258.2279-1-embed3d@gmail.com> References: <20180731092258.2279-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180731_022312_263418_92ECD217 X-CRM114-Status: GOOD ( 14.82 ) 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 cir interface is like on the H3 located at 0x01f02000 and is exactly the same. This patch adds support for the ir interface on the A83T. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-a83t.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index afed6c0dea6f..31222a05a8f1 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -992,6 +992,18 @@ reg = <0x1f01c00 0x400>; }; + r_cir: ir@1f02000 { + compatible = "allwinner,sun5i-a13-ir"; + clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; + clock-names = "apb", "ir"; + resets = <&r_ccu RST_APB0_IR>; + interrupts = ; + reg = <0x01f02000 0x400>; + pinctrl-names = "default"; + pinctrl-0 = <&r_cir_pin>; + status = "disabled"; + }; + r_pio: pinctrl@1f02c00 { compatible = "allwinner,sun8i-a83t-r-pinctrl"; reg = <0x01f02c00 0x400>; From patchwork Tue Jul 31 09:22:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10550537 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EEFC613BF for ; Tue, 31 Jul 2018 09:35:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E508028D8E for ; Tue, 31 Jul 2018 09:35:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D68682AA85; Tue, 31 Jul 2018 09:35:05 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 5A29F28D8E for ; Tue, 31 Jul 2018 09:35:05 +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=tMg6fZn4vv2KeXMRkGP9/ZwN7r9fxtr4mvrxXMTbKlw=; b=OKkrSBnxBeVi7C8SChEFZPyIKF pY0MJN9A7/Cjbq8YDlUDf9wSLGlW6sP/eyjUhKK7ue6Q6FdEIY+t6qF1h1NqyNH5b2je1i7m4WeYq iES633vleIYy1L2YZO/XLW+IhYG0Va/4+9AMN50JjwrXWVHBg6q9qLWpbCiaU7HHLD5IuzA3/QYC+ /Xh0iu/ZQBZE+6xWk0dvd2T+t+LQkoBhthBBwKFX6ZaT3NTwVPSXBkK3MQnYgAY09w43DzYpsWj4R L2dJEDJxgJuE5IS5mL9uORgEZ/rhApY5PypWJ9RCF+IPCMBNJ88f8fl8dCZASnFXCmNJN8SYwX4iW Zv5o0CKw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkR3X-00020l-Oo; Tue, 31 Jul 2018 09:35:03 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkQs7-0003Pf-Gk for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2018 09:23:18 +0000 Received: by mail-wm0-x244.google.com with SMTP id n11-v6so2335081wmc.2 for ; Tue, 31 Jul 2018 02:23:04 -0700 (PDT) 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=FFYj5wJ3q2XBZytzOAcMDH0abbnx8Rd0P2eZ3zHd9dQ=; b=eJoi1vQkcQ6frxJl8nfUOiEXG5NQBRid6dmpZLdOohaAVHXmvONqX+pSpI9xKzqlFV o0BoPvONZ9QJK7JbvkIEbPjwpsEgOJxALEMcAxCyXXGIDiLe1XIV39WytTNADxt7cWkD SkhiIu+AYwABZrVU23dem4vzN77AqJ0zbhf28vj5O2DX4cpzQ4HfRxmSh4pfIRuqIKup JmeSn5Vm9jKJeuNcR5VpSUun2sUeV511GYKzbkndSPdBgSAK0q8E6XI0whg8rZX3Z5jK tVtgSqkX9fE32MR9g1gWa5Ho+UwhDwTCWxtoWAMY9JKu1ujWghz1+oumnFdyQnbe789O 1EGQ== 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=FFYj5wJ3q2XBZytzOAcMDH0abbnx8Rd0P2eZ3zHd9dQ=; b=sZ+GuES4LSqW37zYh7OVX2EfDP1z2RFcZg9LJqSvqupLLHAKgPfW+s3c2/cCpk10sw FXS/AN0Q1saCStsoSdpMdk5zsbei2Qh9f6eVoPB/oxzuTXSgditPqXiFrzMpCPGGPDIO o7E1y7FaxAq4+3KCnRtl+H5XG4plBUzOWwjIOsWRczb85he9SoYIx4cRco/O8i7Di/l+ xvA+efk0nEv8pk91wncEsG11Y4/4H8zKVsWclraNBJo7bWHtov7GZL3s2pk1XoBwY1Xh Wv1MWZ/pWF+/Mt5s0sqR2ZN1J2tp+BKbsvu0bTOPLh87rhXNoj5hAOr+qGi5yGC68mX+ AIqw== X-Gm-Message-State: AOUpUlHnGu6VM34lskwQyGQXd1FJ/0cYJ6hT+wXb7qDiDmOQE2fCrWt7 O5swYQz9nla1sedck9TA7gQ= X-Google-Smtp-Source: AAOMgpcdt4oVgjAP2SJJ5mnfA/6W4FcpK7KAcxeInUOOd2O4q7a+cCL3CP38tuoV4hHT743cUVmVCA== X-Received: by 2002:a1c:9f12:: with SMTP id i18-v6mr1768517wme.124.1533028982895; Tue, 31 Jul 2018 02:23:02 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id y191-v6sm1670873wmy.4.2018.07.31.02.23.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 02:23:02 -0700 (PDT) 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 v6 3/4] ARM: dts: sun8i: a83t: bananapi-m3: Enable IR controller Date: Tue, 31 Jul 2018 11:22:57 +0200 Message-Id: <20180731092258.2279-4-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180731092258.2279-1-embed3d@gmail.com> References: <20180731092258.2279-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180731_022315_765885_F74A8DCF X-CRM114-Status: GOOD ( 12.46 ) 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts index 3b579d7567c8..ea23ff821166 100644 --- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts @@ -183,6 +183,11 @@ status = "okay"; }; +&r_cir { + clock-frequency = <3000000>; + status = "okay"; +}; + &r_rsb { status = "okay"; From patchwork Tue Jul 31 09:22:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10550525 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E2BFD174A for ; Tue, 31 Jul 2018 09:24:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBB9F2AB30 for ; Tue, 31 Jul 2018 09:24:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF15A2AB3B; Tue, 31 Jul 2018 09:24:13 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 67E472AB30 for ; Tue, 31 Jul 2018 09:24:13 +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=ygEQ+jmeqoVX6A8zoZcEKnMgo+na6n4+i7p4oLa/1k8=; b=sP+4g9D6iaWL1YcqbhHC1Cg85q VdEciNxu6zWePjV16DB/dEkZORnBMq6DYGmppCM6lqKDShv7FmKee1NYGwJF+pTBxUChjuDBq+a5Q g0JMT+oGY6ut8jtMAZzX3673x1P65/Fr6Mc7tVx95zDT73kmJYqrpjKInPr9wj/VEJf/WuXc19AmW BLltSFq5Iswd0UvQGjevrRmNljmJLn+s3dzZGEhTauov10P7N+UfFPFZ6iKq+hNjrm8uSwz7gqFqu vGPUJD/tyUG2kK4ookSngYEgaIv2t11R0q9wuPK5JvHusqsuTAH+IGBvltkKwylboejY9WGGLZnAJ M6Iyq9Jw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkQsw-0004JV-P7; Tue, 31 Jul 2018 09:24:06 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkQs7-0003Pj-G1 for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2018 09:23:17 +0000 Received: by mail-wr1-x442.google.com with SMTP id a3-v6so15841002wrt.2 for ; Tue, 31 Jul 2018 02:23:04 -0700 (PDT) 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=TTXfINDZ2ZqQ+bpQKY5udYNqHsQFXpgqngZPHFTTxgk=; b=BGeJgwknGPSAB8GPYfgnt3PZrH8wPsQfs0f0QSUSajfLIl/txGRWEIFJdhJ4M5b+ZI rmg+9Q8CP7v+PeV4JJ6lLG203ZNc0avSl6ZwjTWNTPs0HLIFFfO3GQjBTGV2Jbqu6wt1 WpGtXplGDaZX5j22opqvuLKogiYZSOZR1r1wodbCBADs+5A4tyktjEYrEoHOce2+TXLT fdGof/qDlSNe2Ccq8KnnEMc2er0H1uW2CxxVeq3wy025Bn48OjCXzuhcWnJosE9aQyrV ZsTsPKXQ9A+7qTHJ7whjTRFEA6jHKoODZPiTp+IkGGWrSam+zfocZVouoXuM7/OyKNZ1 CqGw== 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=TTXfINDZ2ZqQ+bpQKY5udYNqHsQFXpgqngZPHFTTxgk=; b=XiRW5+um6bs6YMjILKWXJprxHNQyynSBSWu6wXFfXhiiJP/uM/BoY/CWYZoHV+9sLn /jstlzUoqxy78+U+uCSYpmMdZcF+imZpclQD3sraERffXG7zdDSI0Cofe4PHhLcEA0Vi WMglLUDDyef5/VWo+azndFuKz77BcCyYJvvZWAZcO0phox8difinvdKH9YHVENJwKpC/ o7cyLWkJIya3rinqgwpTXGjbs2eEnXTXi7ma1K3/UOqpMOm2dItszp/vOdP8rCDEeKDe i4J1VvkPTeAGxSn9sfzJfkig5v/gZ1INOoEcZxQh+cpsUivxkUOPBAh+4J7f+cgYvMyA CtbQ== X-Gm-Message-State: AOUpUlEdhNBCnQYkmdcCNEUsf4c/H/1fpjCzuRqhCmfvb5akojr7LgDq WIfboegtkHH5YausKmCb3DI= X-Google-Smtp-Source: AAOMgpdKT3XOlB/fA7Jl29tiFUn6lcSLFnO1kqhKDYH4UdLNNwqEDInGnMtrc9IqbsLYP0wgMVnN8w== X-Received: by 2002:adf:f790:: with SMTP id q16-v6mr12824550wrp.86.1533028983707; Tue, 31 Jul 2018 02:23:03 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id y191-v6sm1670873wmy.4.2018.07.31.02.23.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 02:23:03 -0700 (PDT) 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 v6 4/4] ARM: dts: sun8i: h3-h5: ir register size should be the whole memory block Date: Tue, 31 Jul 2018 11:22:58 +0200 Message-Id: <20180731092258.2279-5-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180731092258.2279-1-embed3d@gmail.com> References: <20180731092258.2279-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180731_022315_695252_7AC700EE X-CRM114-Status: GOOD ( 14.30 ) 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 size of the register should be the size of the whole memory block, not just the registers, that are needed. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index c3bff1105e5d..2f4d93de836e 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -818,7 +818,7 @@ clock-names = "apb", "ir"; resets = <&r_ccu RST_APB0_IR>; interrupts = ; - reg = <0x01f02000 0x40>; + reg = <0x01f02000 0x400>; status = "disabled"; };