From patchwork Tue May 28 16:14:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965331 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 93AB392A for ; Tue, 28 May 2019 16:15:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 50E5A20501 for ; Tue, 28 May 2019 16:15:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3DA6B28757; Tue, 28 May 2019 16:15:11 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 A8D5F28733 for ; Tue, 28 May 2019 16:15:10 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=JVubn2D7TX2qjTLpAOKhqd6joA1DobLVAYzx1viyClM=; b=KQGdSiIb67p/Hj GcHzhGyQKT+/GonlnFalgE1gfMQ031vVhZnyGYsaqV20B0RU8v3jOFGaSsEd/xpc/snq1Dj3rOGWn JJ8wa+o2B0NFrFuAd8SJrEx817E6T7jmgDHZu5U2/IwSis7VIbzktZRbhs27Bmx/FE2xlkN5GW8jD OrnPyE4lv3AdCXMkgmizv55JzBf3YAnY1y7B3csnlgotNdPbm0gTCB48qC5Z8qNjYzEvgSb4rmlpn L8E+fIy8vKGEE1BBty9ix3PufFXDy0IAydtNd4zkfgaEKD9JdDE+9rcy8S2l7wFxgv4/0o6W+/W5Z tYDvm9q5LnLkWrLDhMRQ==; 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 1hVeki-0008Va-6x; Tue, 28 May 2019 16:15:04 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVekd-0008Jg-Rg for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:01 +0000 Received: by mail-wm1-x344.google.com with SMTP id f10so3623750wmb.1 for ; Tue, 28 May 2019 09:14:57 -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 :mime-version:content-transfer-encoding; bh=K/XHCO5OpLMI7hm5w9MXtKPLk5GaTtp3symSRQtLrEY=; b=EyM0D5GavuIb2ZHU3Ey2iuUrjxx5yFjgNYGJtX+8Zore5n4WfYzSMfIgAzEJ3qhtY1 AB2Nw7oYWntoTt98IWF8mPj9NyY/gWEkWlQR9cOLwsqfFJk072jFtE/XYVsSxoPCr738 pNqDCTpQ8OzCwhfrXj5tgKUrqX37WBC1im8BiXLOtQn4R5VLAsaCbcCcOZMPW3M4Fpqp z2PPhRioLG6uAcgAvrBiYITN2get23JzjqSzdqf3sUf2huHQUSBFLezGXXkQM9WRAwuf dcZeZ0/WyT8I6lpM/QCXXFP8KGkbzITB6Hqi3pOGKNZbpHo7KxGem4JdEFbN4yE0Bedl wU/g== 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:mime-version:content-transfer-encoding; bh=K/XHCO5OpLMI7hm5w9MXtKPLk5GaTtp3symSRQtLrEY=; b=ZeqDQEduskQM0wJoRUuMNWhSR7q4dEPzoSZ8J8x58n+aVjtS+jCt9HCMfOy8kHQTeL nfZrJAol5lhrvfY9+qTpSDjLR1lq1432J1kkHz2qGDOciziir0+UpVdXb0ustsYxrO6F o1g1EzfGIPFEqXcG8oDOagsUISARjfu+T0Hsl0mqYKZN9SuO4u8SbRZfIIQxy3PsCe6U yl2LS0BtaEfT3KvQDLPfuGbUM7luzVztmOU0NEzvnOHL5lfQOh4SIEluDYOGCDsdGsDm c0b+nwiUVNFyabUDcCYIzPEcm3BzyOq0GNs4Lv2qE3giK01dz9evfnDWWH/L7BImfUtb 4Ehg== X-Gm-Message-State: APjAAAVQ5j+KFIBvD1Q/a8IhnN0afvBnjkz3BlMj1snYe6B3HxJDnwQW 2vNGXDJ86FlBd6WRtiG4eLE= X-Google-Smtp-Source: APXvYqyEiWcBV7Gxq6C/3F0I6ecov4ivFns4OBUBpcj4xXx1WWacV5+gIGN9TAndCV5ongzHxXWx0A== X-Received: by 2002:a1c:730d:: with SMTP id d13mr3664693wmb.88.1559060096018; Tue, 28 May 2019 09:14:56 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.14.54 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:14:55 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 01/12] dt-bindings: media: sunxi-ir: add A31 compatible Date: Tue, 28 May 2019 18:14:29 +0200 Message-Id: <20190528161440.27172-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091459_890451_0C4AECBC X-CRM114-Status: GOOD ( 15.35 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 Allwinner A31 has introduced a new memory mapping and a reset line. The difference in memory mapping are : - In the configure register there is a new sample bit and Allwinner has introduced the active threshold feature. - In the status register a new STAT bit is present. Note: CGPO and DRQ_EN bits are removed on A31 but present on A13 and on new SoCs like A64/H6. This is actually not an issue as these bits are togglable and new SoCs have a dedicated bindings. Introduce this bindings to make a difference since this generation. And declare the reset line required since A31. Signed-off-by: Clément Péron Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/media/sunxi-ir.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/sunxi-ir.txt b/Documentation/devicetree/bindings/media/sunxi-ir.txt index 278098987edb..2e59a32a7e33 100644 --- a/Documentation/devicetree/bindings/media/sunxi-ir.txt +++ b/Documentation/devicetree/bindings/media/sunxi-ir.txt @@ -1,16 +1,21 @@ Device-Tree bindings for SUNXI IR controller found in sunXi SoC family Required properties: -- compatible : "allwinner,sun4i-a10-ir" or "allwinner,sun5i-a13-ir" +- compatible : + "allwinner,sun4i-a10-ir" + "allwinner,sun5i-a13-ir" + "allwinner,sun6i-a31-ir" - clocks : list of clock specifiers, corresponding to entries in clock-names property; - clock-names : should contain "apb" and "ir" entries; - interrupts : should contain IR IRQ number; - reg : should contain IO map address for IR. +Required properties since A31: +- resets : phandle + reset specifier pair + Optional properties: - linux,rc-map-name: see rc.txt file in the same directory. -- resets : phandle + reset specifier pair - clock-frequency : IR Receiver clock frequency, in Hertz. Defaults to 8 MHz if missing. From patchwork Tue May 28 16:14:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965335 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 944EB92A for ; Tue, 28 May 2019 16:15:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85367232A7 for ; Tue, 28 May 2019 16:15:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 79AF2237A5; Tue, 28 May 2019 16:15:22 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 035B6262F2 for ; Tue, 28 May 2019 16:15:21 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=vgTcYMg1+Ea0hnI05OBgQVU6aWVWA5E+1/v4Ue3gtjI=; b=B8lB/u02IChWRu eLagks/Oj2A/4Nfdxs654qWhf4ZPJDLhLw83O45R5+yy9EpA0zSMoYSLv5AhYJasaSPykHaAB3zvQ RpI/h07PIG8ly0kNinMYEvzW8dE4o11WB1JT5zh4ojqTi4QHtP9QMKTE4quELKymBJiG5HZLr6A75 gNwBdQDMlPZ8nJ6snCxTUuVlBGFz2MB3V/QyVwxuA43fxtJMfdgBsYwZs/HO8j1vjWDr34V6tA/Q4 YK3f1wrj1C4chd5g7CubWD8am025Q5y97JvDKaI3eeqGYafBThNLAnMr42E2s825mLzAYAvqRd/FH FQh5zqSx0yRqgOLZpZmQ==; 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 1hVeku-0001IC-A6; Tue, 28 May 2019 16:15:16 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVekd-0008KD-I3 for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:01 +0000 Received: by mail-wr1-x444.google.com with SMTP id d18so20904573wrs.5 for ; Tue, 28 May 2019 09:14:58 -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 :mime-version:content-transfer-encoding; bh=O41YUIVc2MJNuuXTwafk8QcCnNJUPDaUXKLKqpHPW48=; b=YhSCXK01y9HbwTyBObMn3fJPittt7i4aSVRpTPPjmajO7xtSjaZK0cRaOXZ7r19ajz +gcBgQ3posddHCH2GiO5s3XPG64beLuuMwRvfakcEEBy/wGjlbmefL665TJWDH9b/cJJ VRhTq4fAgXEbZg7Cq/EKE4aoJuOHkaTTrWBlbdA7Rj0EkSwQklxIh5O899bqnMZc3dLv AGzhwDwcXYSegQBMRAicZB64GRgo5zkE0wJ6pvH3/lDvYmtILl/FsJIRjNYeNd68OBRr JZLCsg28+RL5ynz4N7OfvWclWUiP+jIxdBqWSiL1T8LxLo2tSYJDn0MpySItIjfT9hYq /klQ== 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:mime-version:content-transfer-encoding; bh=O41YUIVc2MJNuuXTwafk8QcCnNJUPDaUXKLKqpHPW48=; b=ee9E8kdeCIeKDfzqM5EC1XV4F70vU/Ge0sPrbD90uAtiMX1zkoRwq+GvwwF6a6H3TE 7wlWsn7igLtpi6+St4hMx2AsxmmtVBqSiUsJCaUnoMpjDCHKBZWIQWMlfIqmVbtjUYug Rl0nwhN3DZTyFMUp6LtqOVqsT9YYN6sC19XN4vy11RhSPmPNnX3XjWzu3Oto8eq3hWsr h+0Vp/wEIc6bycOzxwG7dPM6DZpJj5SF5vZIJi7vOCPjVXHplqb3XWtRDi7IrDY0jXZu cez0MNxOfMY2pQRqAq4OH5B2p/V4p5jaPzj0GrNPLX3P8O9KxtlgufY5gVlzmVAXy7WW JAWw== X-Gm-Message-State: APjAAAVkk1ulD4P9rASUmw7eC+RN0VUvRj7gFuvkJkpvcdSsDkZURPUO PGAgFn4ogf1fNL5V0nwM1eU= X-Google-Smtp-Source: APXvYqzh9lA7QzTMNcXB9f8W/fXyhl8ZsJbIZmnPh8abVqtzC8iHmrkSxwMiA782tasG2CDzuGF3rA== X-Received: by 2002:adf:9022:: with SMTP id h31mr22187951wrh.46.1559060097123; Tue, 28 May 2019 09:14:57 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.14.56 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:14:56 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 02/12] media: rc: Introduce sunxi_ir_quirks Date: Tue, 28 May 2019 18:14:30 +0200 Message-Id: <20190528161440.27172-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091459_599415_26702DA8 X-CRM114-Status: GOOD ( 17.74 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 This driver is used in various Allwinner SoC with different configuration. Introduce a quirks struct to know the fifo size and if a reset is required. Signed-off-by: Clément Péron --- drivers/media/rc/sunxi-cir.c | 61 +++++++++++++++++++++++++++--------- 1 file changed, 47 insertions(+), 14 deletions(-) diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c index 307e44714ea0..d02dcb6fd0a5 100644 --- a/drivers/media/rc/sunxi-cir.c +++ b/drivers/media/rc/sunxi-cir.c @@ -81,6 +81,17 @@ /* Time after which device stops sending data in ms */ #define SUNXI_IR_TIMEOUT 120 +/** + * struct sunxi_ir_quirks - Differences between SoC variants. + * + * @has_reset: SoC needs reset deasserted. + * @fifo_size: size of the fifo. + */ +struct sunxi_ir_quirks { + bool has_reset; + int fifo_size; +}; + struct sunxi_ir { spinlock_t ir_lock; struct rc_dev *rc; @@ -143,6 +154,7 @@ static int sunxi_ir_probe(struct platform_device *pdev) struct device *dev = &pdev->dev; struct device_node *dn = dev->of_node; + const struct sunxi_ir_quirks *quirks; struct resource *res; struct sunxi_ir *ir; u32 b_clk_freq = SUNXI_IR_BASE_CLK; @@ -151,12 +163,15 @@ static int sunxi_ir_probe(struct platform_device *pdev) if (!ir) return -ENOMEM; + quirks = of_device_get_match_data(&pdev->dev); + if (quirks == NULL) { + dev_err(&pdev->dev, "Failed to determine the quirks to use\n"); + return -ENODEV; + } + spin_lock_init(&ir->ir_lock); - if (of_device_is_compatible(dn, "allwinner,sun5i-a13-ir")) - ir->fifo_size = 64; - else - ir->fifo_size = 16; + ir->fifo_size = quirks->fifo_size; /* Clock */ ir->apb_clk = devm_clk_get(dev, "apb"); @@ -173,13 +188,15 @@ static int sunxi_ir_probe(struct platform_device *pdev) /* Base clock frequency (optional) */ of_property_read_u32(dn, "clock-frequency", &b_clk_freq); - /* Reset (optional) */ - ir->rst = devm_reset_control_get_optional_exclusive(dev, NULL); - if (IS_ERR(ir->rst)) - return PTR_ERR(ir->rst); - ret = reset_control_deassert(ir->rst); - if (ret) - return ret; + /* Reset */ + if (quirks->has_reset) { + ir->rst = devm_reset_control_get_exclusive(dev, NULL); + if (IS_ERR(ir->rst)) + return PTR_ERR(ir->rst); + ret = reset_control_deassert(ir->rst); + if (ret) + return ret; + } ret = clk_set_rate(ir->clk, b_clk_freq); if (ret) { @@ -316,10 +333,26 @@ static int sunxi_ir_remove(struct platform_device *pdev) return 0; } +static const struct sunxi_ir_quirks sun4i_a10_ir_quirks = { + .has_reset = false, + .fifo_size = 16, +}; + +static const struct sunxi_ir_quirks sun5i_a13_ir_quirks = { + .has_reset = false, + .fifo_size = 64, +}; + static const struct of_device_id sunxi_ir_match[] = { - { .compatible = "allwinner,sun4i-a10-ir", }, - { .compatible = "allwinner,sun5i-a13-ir", }, - {}, + { + .compatible = "allwinner,sun4i-a10-ir", + .data = &sun4i_a10_ir_quirks, + }, + { + .compatible = "allwinner,sun5i-a13-ir", + .data = &sun5i_a13_ir_quirks, + }, + {} }; MODULE_DEVICE_TABLE(of, sunxi_ir_match); From patchwork Tue May 28 16:14:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965349 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 CE0BF912 for ; Tue, 28 May 2019 16:15:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD86D20501 for ; Tue, 28 May 2019 16:15:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B1B9E205AD; Tue, 28 May 2019 16:15:39 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 46B9C20501 for ; Tue, 28 May 2019 16:15:39 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=7eWtIyRKfmCN4v8WwM5VhzTRV2ch76c5snfIpYy7mO0=; b=Xp2aIWSdRqqX+y HiXAUAUF/3U55uzCJW8vwaGjEFspK3VOMadVogq8iVjRme5QzoEHO892znJcfQUtXs9kiH5AmU+g0 YILTBFsWyYU68zzE6I3oSfJAq646wcQ3E/5LUnvzI7hS0ikwGJpqR/iDRdd2Wrux0AMODyLZUv0hW u06hldUfLsSViNEBo5GzoPTbiwXY8riWamXmM640naYlGtr0d30O/3bfXOcyzDuHVqrhRRv8Xxk2u hzTw4jOP6G9GhAsfJxr0pe7tdYYqWjild37Q3EkknvnvqUe0CsVzL7B6QkFRfrevzH2CIyrAJlyvo tWssjTX0u1fkGhXuJZXw==; 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 1hVelF-0001jX-1S; Tue, 28 May 2019 16:15:37 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVekf-0008KV-4L for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:02 +0000 Received: by mail-wr1-x443.google.com with SMTP id t4so12619570wrx.7 for ; Tue, 28 May 2019 09:14:59 -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 :mime-version:content-transfer-encoding; bh=H9liOXPsd3FXJL6A6hHO3yEhmEbo+emmwpujmCXjpXw=; b=lAN3nk6BcHTbA9hMqBoHlaoQPbKumXQmvaUsGmEFMfU70ngnOsGFbtxDiXJ/AGLxdd r64/kh3ayQTPIo1NbUam1LmsoDMXpnfp3dcES4XvY6BJ0gUAkIJxKzg5mMinPhqLMURP mdSUts6La6ZEXMbjHG3ZmL990Dg+qwKXAwTyOiCUTO0U2a/s83bMNsxjIHrgaqHU7g2w c3p3pOG+rE+pbwKUza5raE0oZkhVH0tKue27/UAVCxXqG9gd4erZhDAu0R1wZpT69/P5 qBPZh90AzOXpSvmmaU3GY3RtviSoxy00Uty0qlqh4fiZUtvu5FBHz53RSuoLoCtw9zgq xHZg== 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:mime-version:content-transfer-encoding; bh=H9liOXPsd3FXJL6A6hHO3yEhmEbo+emmwpujmCXjpXw=; b=eesGRaqdsqOchAhrBv581ylli7y1HC7cAcsp5yCX2R8kP2vZpUhNpMItyXYzZKOtJg TSvh6GMyJ1UIKFaRNuvuRnjUKtSi+D1YlFXdd4dBIH4BgTWajoTH8R4k9WH6r5s+8lt3 PUpbuKAlZicWR1hQ5M7/29ZQ6//TDMuQAXqyXbEFHKiw4nu9RYvX+4lf2WOYBkf5Sax6 kaNGfUj7nCafh1VbnU2YD4W89FwKgFCbBQAWx57UUGM2byHBW3M5lVYID6edsGxNs2bh Dv+5l3sIUpb6cTrZ1Lme7qld2E6dnunz2p3w6KaQzSk5iPe9RANEidhnw7qRranP2njU a2mw== X-Gm-Message-State: APjAAAXWTMZkl7euyohgB+ii0BHF8KL44ZPSGsXZOtbQ32QBXE+JeNH3 I9CeFTcz9Bpp6LQ7xS4Qz5+VT7lcWHiGmg== X-Google-Smtp-Source: APXvYqxkXdupOTx0Qvelttq93DUjprFEtCpp13vAvBO1yy2nKVU/gZJzkZwaLYnnuYy/Zv8kLSXzaQ== X-Received: by 2002:adf:e40f:: with SMTP id g15mr4091897wrm.174.1559060098168; Tue, 28 May 2019 09:14:58 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.14.57 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:14:57 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 03/12] media: rc: sunxi: Add A31 compatible Date: Tue, 28 May 2019 18:14:31 +0200 Message-Id: <20190528161440.27172-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091501_169202_D4C12106 X-CRM114-Status: GOOD ( 12.50 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 Allwiner A31 has a different memory mapping so add the compatible we will need it later. Signed-off-by: Clément Péron --- drivers/media/rc/sunxi-cir.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c index d02dcb6fd0a5..0504ebfc831f 100644 --- a/drivers/media/rc/sunxi-cir.c +++ b/drivers/media/rc/sunxi-cir.c @@ -343,6 +343,11 @@ static const struct sunxi_ir_quirks sun5i_a13_ir_quirks = { .fifo_size = 64, }; +static const struct sunxi_ir_quirks sun6i_a31_ir_quirks = { + .has_reset = true, + .fifo_size = 64, +}; + static const struct of_device_id sunxi_ir_match[] = { { .compatible = "allwinner,sun4i-a10-ir", @@ -352,6 +357,10 @@ static const struct of_device_id sunxi_ir_match[] = { .compatible = "allwinner,sun5i-a13-ir", .data = &sun5i_a13_ir_quirks, }, + { + .compatible = "allwinner,sun6i-a31-ir", + .data = &sun6i_a31_ir_quirks, + }, {} }; MODULE_DEVICE_TABLE(of, sunxi_ir_match); From patchwork Tue May 28 16:14:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965365 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 8172292A for ; Tue, 28 May 2019 16:16:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 70D4128723 for ; Tue, 28 May 2019 16:16:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64F4A2874F; Tue, 28 May 2019 16:16:19 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 185A828723 for ; Tue, 28 May 2019 16:16:19 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=GsZLdPzKVKfV15LQHBz4mRC9HrwtcIB9bNO+c2JR/v0=; b=f3+x9F8AYMTwz4 ev5+XYrL93M4E7nATLawWK/Gpj9606m6Ao8E6xoOtRaNhFDTLPLM/iXBkRx8q4GJx9wDuwPCfhK83 HFsF+P3vFGSr/aoYyO7Ed3Wv30WNrHEix627vDW499fuJsQXSi4oIn9rlzN/AFaPz35kZoozR3Suk lxgkwndsjpnSc6TVUwW8mj/Deh+rRaTnY+xuxzB5cCtc8dmx6sYUOT3709tRIeZD6UJcEe0qRO2mA 8JmT2qcs9L9vIeQuETMZuEovsk8090m+eHEjS2SDy5vep8RqwHHkIcUyG9Zdq0Ei04XRqMtLFFmhP TyJzeGKCNd1G5obYCSkQ==; 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 1hVelq-0002Eo-PM; Tue, 28 May 2019 16:16:14 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVekh-0008LH-5M for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:04 +0000 Received: by mail-wm1-x342.google.com with SMTP id u78so3609609wmu.5 for ; Tue, 28 May 2019 09:15:00 -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 :mime-version:content-transfer-encoding; bh=necYQR/hOII6qU6ihIL1rttwa5Q03SvHF96lpnmH/9A=; b=p6CM7nMRzyA7nfMJlp1pav4aU8ZS+VtI3bSSi/luP1NesrqAbse+UupeOmsEEdKh9y Ib1WhiPiWJksIHqPIYZbQhyRcbGW64wj+s6WW/uL1ujQydK3na1HZgbaWHm+tVir7kWL GR1dpbQ9D/b7dtYeZmn37dMo4UseeduNIzTCH6LrHvfF6+NPCCtjF6+aljOEKxJMokx+ X2XLMaOWBEx5PVdpru/eCospvMl/bGZ9yQmf2+PFf81gnyevb8u9ePbC03gqopuX5L7l U+ci90UfGcvIYMqCf7S24FRkRy5UFtynrdKjS79eFC+UKUCCVXflUN3YED6ZGF1kVKXx dusg== 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:mime-version:content-transfer-encoding; bh=necYQR/hOII6qU6ihIL1rttwa5Q03SvHF96lpnmH/9A=; b=CdaVrTL5X517vLcsXhZOspaO2/PIa6VT4TPdEkPegh47SIIM8toY9lafuioz6kmKgF 9qZIH0WT3G2/eKl8ltDKUXyt1ld0Avvz/m+K8SAzPkZHGTHsVSc7GHRpH0W6EHOHlQYK tjXQ/ncjFDwJh9tRvHRPTxMsrZuF0Ur27bXtE93UCwhadDSSHpdpKu29NFuoaz7JUc90 W0Xab/9oQggrVMwuSVOWXb7AGRqsH+uGPsJt1Gafhv0axRQKh8a+y0J0gZgJYutugItR Q0fNpwCvkll3BsXhTJpzooZE/mIkSUKO4JUL+CRrj2BWwZwz7X16DYY/aHJ3exvwarCm /nnw== X-Gm-Message-State: APjAAAW80odHHwLt5JOwrJz4cE/sNf2fhscVIRQY2yypN2B37BuBJDHm B195yRT58q5rEH5/YFk8ZhM= X-Google-Smtp-Source: APXvYqwL9fEhE1DgBedObZFNedmqYKHhhGQeuaJT8KBh1Soz7MknuLcK+9WLqKNP/fkjMCvc0IbaEA== X-Received: by 2002:a1c:2c89:: with SMTP id s131mr4038994wms.142.1559060099412; Tue, 28 May 2019 09:14:59 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.14.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:14:58 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 04/12] ARM: dts: sunxi: Prefer A31 bindings for IR Date: Tue, 28 May 2019 18:14:32 +0200 Message-Id: <20190528161440.27172-5-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091503_212984_46AB66DB X-CRM114-Status: GOOD ( 14.83 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 Since A31, memory mapping of the IR driver has changed. Prefer the A31 bindings instead of A13. Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun6i-a31.dtsi | 2 +- arch/arm/boot/dts/sun8i-a83t.dtsi | 2 +- arch/arm/boot/dts/sun9i-a80.dtsi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index c04efad81bbc..110622b30796 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -1351,7 +1351,7 @@ }; ir: ir@1f02000 { - compatible = "allwinner,sun5i-a13-ir"; + compatible = "allwinner,sun6i-a31-ir"; clocks = <&apb0_gates 1>, <&ir_clk>; clock-names = "apb", "ir"; resets = <&apb0_rst 1>; diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 392b0cabbf0d..8d603f3309f2 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -1067,7 +1067,7 @@ r_cir: ir@1f02000 { compatible = "allwinner,sun8i-a83t-ir", - "allwinner,sun5i-a13-ir"; + "allwinner,sun6i-a31-ir"; clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; clock-names = "apb", "ir"; resets = <&r_ccu RST_APB0_IR>; diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index 0c1eec9000e3..310cd972ee5b 100644 --- a/arch/arm/boot/dts/sun9i-a80.dtsi +++ b/arch/arm/boot/dts/sun9i-a80.dtsi @@ -1167,7 +1167,7 @@ }; r_ir: ir@8002000 { - compatible = "allwinner,sun5i-a13-ir"; + compatible = "allwinner,sun6i-a31-ir"; interrupts = ; pinctrl-names = "default"; pinctrl-0 = <&r_ir_pins>; From patchwork Tue May 28 16:14:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965363 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 30D841575 for ; Tue, 28 May 2019 16:16:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2141A2675C for ; Tue, 28 May 2019 16:16:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14E4D28723; Tue, 28 May 2019 16:16:10 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 C6F0E28437 for ; Tue, 28 May 2019 16:16:09 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=pVK+WAsU+k8hbbyZo0Sd8WzXlFatc85DTmn/0WqeBwc=; b=XzRX8WAbkc0c46 o9OhLW8XUHWIbeR/y4KpB88VMROdJVYm+giOUb3J/Z+NTW6etnXCXrRfkMJ0y4fWdsmIyxPLak1CC jjBVjyWZ1YumM+8cqe0wKnuH0ZebYxpscJBvaGvGyVLLIfZjzTpYZIgkrJlWFvnJbuZEG7vNQapOc 4mfe1HT8d9un/7f+OldRxLKYnIE6WeOJ3y1+UsN1Xf26XEKfAD3+zTUo5R65KBidOrYjcHOCbzbJj XPigq/VlIjbbg3BaxvPSGJtNQWwAaesWBu7uhmS0d1eSm5uydpQ5LayHUTLWrLRKhtQqIkWbHPI8U lANOjIvwaTuKAa4ACyXQ==; 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 1hVell-000277-2S; Tue, 28 May 2019 16:16:09 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVekf-0008LL-QH for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:03 +0000 Received: by mail-wr1-x443.google.com with SMTP id h1so6757742wro.4 for ; Tue, 28 May 2019 09:15:01 -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 :mime-version:content-transfer-encoding; bh=c3h/ecQLrMT2ucERTZI2NW1VKv8RQf1gI3c06ij/3do=; b=D5pq9A53V3P9k5+gbZIFnj5zFyfkgKo8QUOAK/VdGTy/pyx9OZkU7Goo8ozjnmItMx qIG6DBQkLPHluH+sofuoOmzmqWG8QonXzcFxyerBdd1K/QkVGEbFGUrAX0YSbPjpd0ia nk1xIKa//ve/OYm3cirDoMTrwR47IbZNxqVx+lZ7NZ78H6dE8w6VV5keqQgcr0zUIyu7 A0q195IybosxV87mktHmPSzPYq7Ja9yXXfTEijUaEDkXNC+mK/0eHRJqFSdwDtWjogjI NFzYyHaIh69k8ozvHH/io83FVtowbL/Mk327kYEptEA57c5G1vDfOSvOiuyLg7rxqKuO GS1Q== 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:mime-version:content-transfer-encoding; bh=c3h/ecQLrMT2ucERTZI2NW1VKv8RQf1gI3c06ij/3do=; b=PFTVsUlJhSSYu3gHMeFrb+3oQI6Rce7WpgJ8abnxxbAIgmKBcGOvOHJER1SsSLQQKM ca3NbDPL2focddy/rGE7C3LST4VPUGTB2YK4x1zg+pI9UOad6EZVxtoa3q44XT0N0zca 57vI+qP1JVdJuX0GVtRCH0DLmO9aK4PuyBELiqykGNUeEh5XwN0sgmKM3QLLyZI2QQ8J qkMHiQUsAcQm+kOozQqWMCqi+YAaLhslrByucP+Y+mGWJ4MfV36LCALuPz6qIhCs1U0F cwLlbmn2N2j140h5HhX8tC9UiaBWtaBUHkFeuqV4dkeqww55zKsatYhP8JLllFvcFUWa HKwA== X-Gm-Message-State: APjAAAXXOE0UC4eDZ2ICj8lWseT4lRMNtzogW8FhZE6UjLDvzUFZf/uu zbg0J357YcvFzMeHmsHuS4Y= X-Google-Smtp-Source: APXvYqw+Fn2shJGkDvqlag2JfFVAEIqjo/jGZI3aD2VVf3zhyZapNInCTDMQlRBL/alZdHiIXmrdGQ== X-Received: by 2002:adf:dc04:: with SMTP id t4mr1689193wri.126.1559060100435; Tue, 28 May 2019 09:15:00 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.14.59 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:14:59 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 05/12] ARM: dts: sunxi: Prefer A31 bindings for IR Date: Tue, 28 May 2019 18:14:33 +0200 Message-Id: <20190528161440.27172-6-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091501_959259_624C6F43 X-CRM114-Status: GOOD ( 14.51 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 Since A31, memory mapping of the IR driver has changed. Prefer the A31 bindings instead of A13. Signed-off-by: Clément Péron --- 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 84977d4eb97a..f0f5ba349c1b 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -822,7 +822,7 @@ }; ir: ir@1f02000 { - compatible = "allwinner,sun5i-a13-ir"; + compatible = "allwinner,sun6i-a31-ir"; clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; clock-names = "apb", "ir"; resets = <&r_ccu RST_APB0_IR>; From patchwork Tue May 28 16:14:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965367 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 66FDB912 for ; Tue, 28 May 2019 16:16:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5768C2675C for ; Tue, 28 May 2019 16:16:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B4AA28734; Tue, 28 May 2019 16:16:32 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 069092675C for ; Tue, 28 May 2019 16:16:31 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=vwZGs20eY68PFX4fJTBCOecc06RbaL3yNfuu1D9bhdU=; b=IBs6RM/87r3pG7 fmN4cWaE3Kl/MQ7Mt7kxzMKP6PfnmfCkIeNk1+L/TGnEQP8+QJ5/gLfwqqFgdqpERFAr8FT7LPfvW gv7PnDjVgKc4yQNA3Is+UvRQE1dooQkQ4HIjfTbpOzvGXv3Ys4XiJsk9OUl2aQbuq54MxCjaWqfVC X33gcly6SOyaEXV69HNFVjhytPpbSYAu0CA474Fn4SBQkjozqrlCLqGdznUZAdAhXHDCW0SFPGsug 6Lez/eIi55zcTAvgyLjW9iQRGpW2oF7YB5BYOjXLkQMDDKCVNW+qInZ7rqzUHaGxPwvcwCTJDlD9n I5/H84Vk/OIJR7QUnFsQ==; 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 1hVem1-0002Sz-5U; Tue, 28 May 2019 16:16:25 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVekh-0008M3-Mv for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:05 +0000 Received: by mail-wr1-x441.google.com with SMTP id m3so20903807wrv.2 for ; Tue, 28 May 2019 09:15: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 :mime-version:content-transfer-encoding; bh=Lc9tkqKyrUQ5ybnMKprgGIZIid5kSZLfkgDo+bRAOdQ=; b=fwQLKvh5/S7iFzkUlVTAYUVkkE/lVKgHJmIDwwiVBqggvIzhiGITP3ApoPrypCyb9F diNds2S+qxoXdduel3jePDqml5+sOKA3uLGy328bUBXS+29giS69GXO2aUKHAwSLQnAC If79va1gLrApIMvfqA44I4qUnXwgQtLPmCFHh9aHTLf1k748Zp75c6eWbqJBVr1n+5Li v5wfvpj4xYNf/SViB6fd5tm8gxkiV7Qgr4aZJDeAYrPRkbDZzCtcDmYG1RsyLwNBYSJx fu4G8ekdfQQd9bbQOv2FqYOb3MFr+knpfmHFoHyhhY5agWq+6RKufaUJ6J4Vf5/XsNlB KS1g== 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:mime-version:content-transfer-encoding; bh=Lc9tkqKyrUQ5ybnMKprgGIZIid5kSZLfkgDo+bRAOdQ=; b=iNqS338ivhvgPKdL03Y9KwhOeHy7BZSadAZtGgOwQf4EcKZ3/3TtD4eL8bZNg0OHqF AW0BGrcQxghi4zzPKrU0+TbdwdUFrSe0KHzj+S/ToQ6+FDZJ4ZS7/KG2ezgq3r2XRep7 DC+P9/s/BNtuvycKXM6Ub53gueeit2fVz34qKUUAFFdFFhri1FA2id4Ib5UCHOMUjlMI FXvY9qdJR69Hz1XKxreD4cXoJ9nas+CerlHLVQ1wwX0uEiqgVH/GJDwZEywxG1LMB7TL V2uTJ4+7+P0/+HLvhQQ+BJj7pyOggIGEj70xAAqHp/bpXATqq75m2F47+e0AnjdvWG3z irjQ== X-Gm-Message-State: APjAAAVETgzmUUZD2afDPJdCiUwxtCAb0AUaQwYlOEWo2P7ILO91AIWL OqGiQJeLheW9wpecRDA56Hc= X-Google-Smtp-Source: APXvYqwL0cL3QCeeaDPY071jkNLGK3/vjrUceMyKFnaAy+HZOfNPOmfTRE3d4/jH96rR456TgdwZlA== X-Received: by 2002:adf:f3cc:: with SMTP id g12mr2525397wrp.149.1559060101572; Tue, 28 May 2019 09:15:01 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.15.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:15:00 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 06/12] dt-bindings: media: sunxi-ir: Add A64 compatible Date: Tue, 28 May 2019 18:14:34 +0200 Message-Id: <20190528161440.27172-7-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091503_838759_4B59C6FF X-CRM114-Status: GOOD ( 12.38 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 There are some minor differences between A31 and A64 driver. But A31 IR driver is compatible with A64. Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/media/sunxi-ir.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/sunxi-ir.txt b/Documentation/devicetree/bindings/media/sunxi-ir.txt index 2e59a32a7e33..1dd287a4ab3a 100644 --- a/Documentation/devicetree/bindings/media/sunxi-ir.txt +++ b/Documentation/devicetree/bindings/media/sunxi-ir.txt @@ -5,6 +5,7 @@ Required properties: "allwinner,sun4i-a10-ir" "allwinner,sun5i-a13-ir" "allwinner,sun6i-a31-ir" + "allwinner,sun50i-a64-ir", "allwinner,sun6i-a31-ir" - clocks : list of clock specifiers, corresponding to entries in clock-names property; - clock-names : should contain "apb" and "ir" entries; From patchwork Tue May 28 16:14:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965369 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 6B474912 for ; Tue, 28 May 2019 16:16:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A5E12675C for ; Tue, 28 May 2019 16:16:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4DA1528723; Tue, 28 May 2019 16:16:41 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 CD89D2675C for ; Tue, 28 May 2019 16:16:40 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=3GJm8amOMTsBAhNS5IjirmDIe8eBXNurdqOfmisD2u4=; b=J6aRY80+wzfgWJ 1PatHrUiDKWwCzuBoYf1JiTBHWtLfRj71mFLRdErzhAy5PFaXS4s151qxQYqaIW6r9R4xm1FCj4O5 jCFsGcrGt+MRouu24AXyjgYW8X0vsk2XxxjT/PYyLIoeY8RZui/tLm51vQMSEqATNREw1Rz7mogQp YF5T36UWf9CNZDvONeaWM8JY+jwuDlOn/OMILCbxInJDtp+j7boOnwrHeeIFADLPlFNQN7VTx/UyP 829NOchX1HdsVkzO/qUw9yrD6Vu1nYD/tWfDgpnsjYNt1J5at9x2fg/pvgICCpVQcDzbLZxojVbNu M/pP3x5pIVXuPvhxM0hA==; 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 1hVemA-0002hX-NK; Tue, 28 May 2019 16:16:34 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVeki-0008QJ-2T for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:07 +0000 Received: by mail-wm1-x344.google.com with SMTP id e19so2680242wme.1 for ; Tue, 28 May 2019 09:15:03 -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 :mime-version:content-transfer-encoding; bh=q27XYokGtE0PF+e6Jf1zBq2DoW5PvxIGPkQQOfCJr1E=; b=HFUvyHXx8VHztoOIZncJwhbhhwGM6/33nEZ+Dnb0ZNAZMX/HCdsLaTmJIlK2YB1rSt OqQIhud3nbj4bUcdGshdA0qed5SDiimDzVItGH+ythngmmlSg8CVcLNu0cdWvMYwSGSf u1VaunPEueoijVnZSkTPfMKjO5eDaDrheNDkoBVGXy1tKJUQI+VRPcKrAmaER3RZdsHk bpBii7hnK/soi9FuKOnK3OViFOI3+SH1oVxYddi0lsdwZOWncnR2odwoYpVGWbcdIRP9 H3g34RRcBwN7JMDodaP8UniO9Re03GLcn92ezxYsaepo2xukm3EldxN/0oB93vhHE4lH ncKA== 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:mime-version:content-transfer-encoding; bh=q27XYokGtE0PF+e6Jf1zBq2DoW5PvxIGPkQQOfCJr1E=; b=t+L0IvdKCo1NAo+bFaNO0pRyNzPPtl0CCl8udG/RM5xWs3mvr5Bo75NGZyrepRE3Qc 3BAc4vZ0cu29RZoYxZYgHUZ0o83vKKYlCveXLGTFblPtDjNZ80JLFQB0ZaHgo1nDf6Sx tDe6tBTul+76x6FugZeRXY8rVoTwB7rE4zEfHpwgdeJIk7fqeERuoJMTvV4c/IvCXClC 5Nl2BcIpJ3eB7H0Urg5Zb0ZA06035bX/oLvVw97ZTBS/7iX3qVrq5JVayS1YGt9hdCvm Hg2jP+mTducUjq30wIuDiYwTS+Q5X5r/XXQmxi+0BtMNibja1GP1g/b6ikK5YP1KxREb fxvw== X-Gm-Message-State: APjAAAWD8z2ho96/n/OuYerVQUvy1pxilbJXpWD1FeRPm6Cm89Pmitj6 mfFPIMKVLYryqyxqsTq17lg= X-Google-Smtp-Source: APXvYqz/joxHvvODIOd7kz0qELHlGEhUT9mw5hsDYpXJzwCuo0YHwLvhkfaEYMl/b5bkaqZyM6fKBw== X-Received: by 2002:a1c:f606:: with SMTP id w6mr4037175wmc.130.1559060102677; Tue, 28 May 2019 09:15:02 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.15.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:15:01 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 07/12] arm64: dts: allwinner: a64: Add IR node Date: Tue, 28 May 2019 18:14:35 +0200 Message-Id: <20190528161440.27172-8-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091504_199429_4A6CD3B9 X-CRM114-Status: GOOD ( 12.67 ) 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, Jernej Skrabec , linux-kernel@vger.kernel.org, Igors Makejevs , linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 From: Igors Makejevs IR peripheral is completely compatible with A31 one. Signed-off-by: Igors Makejevs Signed-off-by: Jernej Skrabec Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 8c5b521e6389..b22b0aa89515 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -1072,6 +1072,19 @@ #size-cells = <0>; }; + r_ir: ir@1f02000 { + compatible = "allwinner,sun50i-a64-ir", + "allwinner,sun6i-a31-ir"; + reg = <0x01f02000 0x400>; + clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; + clock-names = "apb", "ir"; + resets = <&r_ccu RST_APB0_IR>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&r_ir_rx_pin>; + status = "disabled"; + }; + r_pwm: pwm@1f03800 { compatible = "allwinner,sun50i-a64-pwm", "allwinner,sun5i-a13-pwm"; @@ -1099,6 +1112,11 @@ function = "s_i2c"; }; + r_ir_rx_pin: r-ir-rx-pin { + pins = "PL11"; + function = "s_cir_rx"; + }; + r_pwm_pin: r-pwm-pin { pins = "PL10"; function = "s_pwm"; From patchwork Tue May 28 16:14:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965371 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 32727912 for ; Tue, 28 May 2019 16:16:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C6382675C for ; Tue, 28 May 2019 16:16:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C9F528723; Tue, 28 May 2019 16:16:53 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 BE8AE2675C for ; Tue, 28 May 2019 16:16:52 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=DMQWnITNJJRJCQVkIaMyVQ3Kx7rJpSay2MV4mmKnwNk=; b=tpYf/z895LHrnW xI3nLJ50dsA3MFt1tw59rQeqggZ5eD3qBD+591HmfO67/WuurUd8dBKQMg59RgO6W+Ck+fNDtSohK OLIb/z0PJ4sRnVLvzV93SN+tBSssaJ3bVRzBGBHm904hcgN/3E6/c61AKwyQsiiQuXn+5qbnla4I+ khMbZmek5IVY0pgpmtMPM3Pz/9bw/IQN2pKIEbUOdl1gplIrkliEAduRetKAOHEpnX0LMh0pTBVNU jPMw3TGJZnIlPKtJ0tbQ67cZH73p+d7gQgjZAoAHYT5dwjL8GczzKR97IjxQ1O9HjBhHTIbpP5i4T 6HoQz7eX6MvY9pHonZHA==; 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 1hVemL-0002w4-8b; Tue, 28 May 2019 16:16:45 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVekj-0000A7-Eu for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:08 +0000 Received: by mail-wm1-x344.google.com with SMTP id t5so3540643wmh.3 for ; Tue, 28 May 2019 09:15:05 -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 :mime-version:content-transfer-encoding; bh=MeV22BL5hfS4X5C1QCisA6E+loww6qQHxa27Rpq4STA=; b=t8EnxSxSHqX7JGzCuQ0W+V8VDDdrfYp0zXTg0Jjv2VES+ObbS608OuEC5aduG8a4/I rwaEnHAfehwqhg9PUQjtU5nQyBzyzsMgSzKx3A9yzTFORamwTqcIK7nbw8UyNXB/reNj eAmdi/bNMybaRTu88vlknWqsQojYxDnYZ/Y+GIEwRISrp98d3acLdJD8w0r/Du9sFekh sT0uBwFY+QLPEcdhbgyW7S678kKqXFOXDwVg/OqNifg7AI3r8Q30UWQwsFo+kb7j4/iQ ZJaDD/lq7Fgus/ZlD1a8TlJ+dwFMD3dtRwGv84ojGYGtB9lqL2jbod6gsr7Cog5uFHSG seOQ== 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:mime-version:content-transfer-encoding; bh=MeV22BL5hfS4X5C1QCisA6E+loww6qQHxa27Rpq4STA=; b=frmLn4ADIKG3fPUA5kK7yE88oKSrk8tZ7be3ZWeVs/2IZ5GL3rPZoUntTUGTGuBvBH BU3aer1+ogWlPK1R2R2St7VtwKY3Wq1w5ONfCMAo02cmQU5Su/lpzR8ZJIfvb6Ub+Nqn FYeYpCfZTZ5svWynSnvnV8tyGjhDoqpGVRlvorosm3BS1O2PfAELa5FIe75I78NtB1db 7roJWXfDX7jN4Rf1GFxeX9D3nTPvmk78haXL1TjNx2rhOE4Io3jct6l4rbdlukqti2yy AjSrJXfm61gMWSsdMFSAZNgPrF5piEY63ExfhdBdUchZrevPl2YJTE6tSIs/e5dpGgNc 6XOg== X-Gm-Message-State: APjAAAWyu2HBSEhN/+YAdq0U1f/aVZlIfFJP6mUJvu9Ip1s3j+q1vzQ7 kobf44lJBO5SVP40pa61KjU= X-Google-Smtp-Source: APXvYqwZj4S7dA+LFRVzSYZt/holujUhydPpu6LvW7id0q64AOuVXDwurd2DjKbvrBMgqBKJZCp/Mg== X-Received: by 2002:a1c:208c:: with SMTP id g134mr3904606wmg.112.1559060103992; Tue, 28 May 2019 09:15:03 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.15.02 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:15:03 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 08/12] arm64: dts: allwinner: a64: Enable IR on Orange Pi Win Date: Tue, 28 May 2019 18:14:36 +0200 Message-Id: <20190528161440.27172-9-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091505_731366_508EC332 X-CRM114-Status: GOOD ( 11.59 ) 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, Jernej Skrabec , linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2w=?= =?utf-8?b?w6ltZW50IFDDqXJvbg==?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 From: Jernej Skrabec OrangePi Win board contains IR receiver. Enable it. Signed-off-by: Jernej Skrabec Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts index 510f661229dc..e05191b71adf 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts @@ -180,6 +180,10 @@ status = "okay"; }; +&r_ir { + status = "okay"; +}; + &r_rsb { status = "okay"; From patchwork Tue May 28 16:14:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965413 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 7D2DF933 for ; Tue, 28 May 2019 16:26:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 69B261FF66 for ; Tue, 28 May 2019 16:26:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 594802675C; Tue, 28 May 2019 16:26:54 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 09F221FF66 for ; Tue, 28 May 2019 16:26:53 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=fZA2DJiNc9E5LlEJZTO7DzJ72VdrUdOGUAALVouQaoU=; b=EwwnUDkjdbkNdD gJhgYEw7HZJHJJSkTpbRow2uOp1j6udpBSkXUyAnGUFfyRCPXnxoX+3KOfwWgqEZcx9OxmYpHCLGE HjKPazi5NPuclk2IcrK4CBzzvr8frMB/g+vSLMEvoIg9JqMmnQoTUVkuPPRNJD1AurMjVOG9ywtpr 78IJCwRWXrBXJ7HaJyQZrTEk/EhIozBz94PHwCC9EKQeaF2Elb5XQf3YyPikgwqn4AXdoQLVc4e9v wjyQeGD0pyASXrVQL0pHJ0PambZkU5nm9P5wNsLx9WprFxKnqe5nQUiZrYgWKnpagMyWTwDyZNF4I b6yrWkU09lKZk3b6jX+w==; 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 1hVew6-0008BJ-ID; Tue, 28 May 2019 16:26:50 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVekm-0000Jm-BX for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:11 +0000 Received: by mail-wm1-x343.google.com with SMTP id u78so3609978wmu.5 for ; Tue, 28 May 2019 09:15:06 -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 :mime-version:content-transfer-encoding; bh=pfFUA/FtBsg0My+1YWgyWmibdI4dMuoplvWrY93VZPg=; b=FbE7VNe6zJsNuuwtVyQngMaaBCRylWn6YroOYn6qPwakGwJjZEPQ0B/Cthylt1qvuN mZxE/Sc4mxe2++lDqeh2bqbFpGIYSHeDFYBEIOsrASzWRULECjr7ZUdXqsipldUA5KDj q57HOKbTjNJTf+H1Z1PjfjFHq3bZWMzEkyEhJ0kNun+m3jhMJrEmYUKlbGMkN2PMJNOL CLEUhOcDcZsto9LdWRUEk8SrdlqBDA7ucy5iUnS+/7u1AlJjUx4+2Yx5pXXh3BxJXqjz /CDhXhhC06PZAfIqoyw8qB9wrsObdzSoxrvI64VHrqfBUr0hfLbzEuKsiJDvDsf6LLQJ cemA== 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:mime-version:content-transfer-encoding; bh=pfFUA/FtBsg0My+1YWgyWmibdI4dMuoplvWrY93VZPg=; b=KDHvMrJNoFzpsMuh4GvG7pXGVBDI5SWf+k5hOlMhyuHhvyhKxVf5ki0fe5SfxtF2mI gosBAd//RqKGImCtCta1IH/MfjSdj56pU4aKRzxdk8kf/PaQU/srtoe1yxK503PdoADH y6Zo14tPDg4Q8U17Axw0CNfGRsVJr7bcInK4953H9RhWqfFp4UmNfi9HRVhRwesXfKpw sTlOhVXySEI2IEsAHCH6ijLHXIPvofbkT+cE/Mp2VQQTx8v1RAi0C21RzbdM7qAfbZUO 4KYi4lR2lU6km0O5UbEOeaffvfUj5AaM39DhQLuQrKXPxQlAYRNLgPBl0szpK1a2uASh j6lQ== X-Gm-Message-State: APjAAAXonCmkYHwr7oPNsM8sPLOB1i+SoAFQzgauu4YME1upmpzbSKuz AhwDfYe0cMJysZVwa4f/Yi4= X-Google-Smtp-Source: APXvYqyOe1RfR1bZXRwUuiofj7zQ4yGMR5FXQfdvTPgmVpDJJLSumvYusoAbSBiyS2xvw8LEIY+ejg== X-Received: by 2002:a7b:c5ca:: with SMTP id n10mr3490534wmk.136.1559060105292; Tue, 28 May 2019 09:15:05 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.15.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:15:04 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 09/12] dt-bindings: media: sunxi-ir: Add H6 compatible Date: Tue, 28 May 2019 18:14:37 +0200 Message-Id: <20190528161440.27172-10-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091508_912380_806C4787 X-CRM114-Status: GOOD ( 12.15 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 There are some minor differences between A31 or A64 with H6 IR peripheral. But A31 IR driver is compatible with H6. Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/media/sunxi-ir.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/sunxi-ir.txt b/Documentation/devicetree/bindings/media/sunxi-ir.txt index 1dd287a4ab3a..81eaf95fb764 100644 --- a/Documentation/devicetree/bindings/media/sunxi-ir.txt +++ b/Documentation/devicetree/bindings/media/sunxi-ir.txt @@ -6,6 +6,7 @@ Required properties: "allwinner,sun5i-a13-ir" "allwinner,sun6i-a31-ir" "allwinner,sun50i-a64-ir", "allwinner,sun6i-a31-ir" + "allwinner,sun50i-h6-ir", "allwinner,sun6i-a31-ir" - clocks : list of clock specifiers, corresponding to entries in clock-names property; - clock-names : should contain "apb" and "ir" entries; From patchwork Tue May 28 16:14:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965415 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 E62BC933 for ; Tue, 28 May 2019 16:27:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3FCC1FF66 for ; Tue, 28 May 2019 16:27:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C63FB2675C; Tue, 28 May 2019 16:27:02 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 718E21FF66 for ; Tue, 28 May 2019 16:27:02 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=4jbeYd1Tc8QSlXaIfu/rtzn/MAF3SvcDQeNQNi7slBQ=; b=T1Qb0+b8eyg4u8 395cH0IM/AsHD8sryAOg/v39qSv4bmdtqacaXFUIlr5+U0TbnKIB81f1xBnYgWM0w2ZzhngHXCDRh fywlpyFYyPMfXm/l+HH9HRKTgaE/2H9q3CH4XtRIZu1riPdf/bZY1BS1UzvvZv0WHICNXRfcqjJnF aO6HPIgNztJ6IjFEvEYVs/soFf/pYLVEB7NX/F+wu0BPErA+RCI7zjMUJJQNXXaxNiWRWnKJ4LMJb +5q/dpGC8FSuoUnj4q8i2YitiTe6DQ2TJy6VOnr5uF4OgCz+RpAymWzqSURmEOAeWWxydOKkmFeka UAe8eqa7FvDS3VgFyaAw==; 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 1hVewE-0008Of-In; Tue, 28 May 2019 16:26:58 +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 1hVekm-0000Qx-LH for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:12 +0000 Received: by mail-wr1-x442.google.com with SMTP id b18so20859950wrq.12 for ; Tue, 28 May 2019 09:15:07 -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 :mime-version:content-transfer-encoding; bh=f1zmDm9n7G9V5x4Qey/KRvnzXY0A1V0uEl3s5XqqEzY=; b=J9kR0LToqcgOqHPK2G2vT86fGv23P9fL28b8i/ZLI+U2hm88ebN5E2QEc/Mc1Te2Mf x+9gmUy0MajiKLaI3f9kGwfYNYFBXsN34WLns8T6+o/iNEQyheVTvsjdwFqmaJUwBYtG O4yt/bc9WUwsE3EFHIGNPHU2e1F/F8nqu54Oi59jIQJ5PJDXd0154AyX6j/+iktHTTDF v8bX4oXtjO9dYCAH17hTXJGHQv4hyIBnN563Fo7mZA6QBHnOE1ZBZ4uc01pjREi/OcVW L4UQvPaTT/0OIa4ThFB1+9oUDqN6v0NBrZKGFceAPXglUh7dH2YoI6jV+pAYlHwPBsBO EvhA== 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:mime-version:content-transfer-encoding; bh=f1zmDm9n7G9V5x4Qey/KRvnzXY0A1V0uEl3s5XqqEzY=; b=nuOnBDRX/UkQBDu3isn5N5KNkDwvV+Uyn0jFQkofjGogC2nyZ5IZWi4zH53/GRvBqA JAHLyB83fb0C5I0pnr8fHysEtHVlEqN6XTTDOcG3H2xKhMrUmS0AgZp8wnjpiD7a8qbJ 42v/EBNmJbV+xHUG4X2cudhhuqoLS3Pyd7GnQMrbG+7GgTUekKKBtsvVmmwvuOskGi/M t4Cmsn7OpbL12FiNsuRsPg6CUAaPcGoGPkMy6P4srj2/8j5A75Iy123Dx4iWhPmdWUWc TN5AgFDZyzID93nCUcsL1TLyyFnV69SFcCv+Zd6LQyoLhM4lVV7mXCfknBqmtaJjMJSc r80A== X-Gm-Message-State: APjAAAXG5d+vpbGgeeI+08masjMjUZKKF7WmcimIfaCz6py8ru3pMnXg Vvtn5+XrG0+bh8VpL7euLGc= X-Google-Smtp-Source: APXvYqwmOqOqJxolC9tUEax25/Sr1ZnPeFKpMVvGK2UA6Zj6v2olTjM+xe+o9RIprAv96UP5geOtYA== X-Received: by 2002:adf:ed41:: with SMTP id u1mr2256706wro.162.1559060106290; Tue, 28 May 2019 09:15:06 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.15.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:15:05 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 10/12] arm64: dts: allwinner: h6: Add IR receiver node Date: Tue, 28 May 2019 18:14:38 +0200 Message-Id: <20190528161440.27172-11-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091509_060501_0E7B19BF X-CRM114-Status: GOOD ( 12.43 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 Allwinner H6 IR is similar to A31 and can use same driver. Add support for it. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 16c5c3d0fd81..649cbdfe452e 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -647,6 +647,25 @@ pins = "PL0", "PL1"; function = "s_i2c"; }; + + r_ir_rx_pin: r-ir-rx-pin { + pins = "PL9"; + function = "s_cir_rx"; + }; + }; + + r_ir: ir@7040000 { + compatible = "allwinner,sun50i-h6-ir", + "allwinner,sun6i-a31-ir"; + reg = <0x07040000 0x400>; + interrupts = ; + clocks = <&r_ccu CLK_R_APB1_IR>, + <&r_ccu CLK_IR>; + clock-names = "apb", "ir"; + resets = <&r_ccu RST_R_APB1_IR>; + pinctrl-names = "default"; + pinctrl-0 = <&r_ir_rx_pin>; + status = "disabled"; }; r_i2c: i2c@7081400 { From patchwork Tue May 28 16:14:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965373 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 229C692A for ; Tue, 28 May 2019 16:17:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11E2A28437 for ; Tue, 28 May 2019 16:17:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 026DB2874F; Tue, 28 May 2019 16:17:04 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 A1F5C28437 for ; Tue, 28 May 2019 16:17:04 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=2I1VMllrh3UtLIrxrw8Nh4G4jLvxXT++LdtQz6rG+Yo=; b=nYtq6o31X++/9L LOOE1f5XK9IjrRA7LpED/ezwQrqxhHPtbCvO996xMSYOSjcrN4MfmgTLGP7Py4uYFMxbPoBGZ4Btz Aor2ZQNRloWMB/94b/vIrs/WTMr/FRrjSyKH/Ws0QRf1FMNp1eiaWuUYEYTI322Uutdw45Ww1TefN pvj6ZnNfjk6wnxMtHj3gptDGOAxCpb4URLjv8EoDAk7l2J0vfMJnA2VjDmBHPaK4974m1SYHOdcZ7 bJIkrxeWm33rW8aFMllObcwntXWcSImFIElTcYvX74GsG0mg+Wzb6VvWbxcug+3zElnQInNx3yrWm CrX/NTi7KO6Gnh36TDjw==; 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 1hVemc-0003JS-OA; Tue, 28 May 2019 16:17:02 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVekn-0000ZG-00 for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:16 +0000 Received: by mail-wm1-x343.google.com with SMTP id d17so3613431wmb.3 for ; Tue, 28 May 2019 09:15:08 -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 :mime-version:content-transfer-encoding; bh=4pnyJmIUnLoD7dR5gJykJYv78SBMiwJXtAbyq2Z7Mh8=; b=Cn+BCXPN3tWrkqRIHS+SVz7wU2FUyP/vggbr76FoHd0VZgvJgx733/uHXbsie0MZaX +cwcmWC0Wrxkl2+OsprU/MrsakOZCo1ZRBLShY9TISxi+EIGwvOcEADxmagvr3+SDc3B IN4b3//qPKv598ngXH+OZAo0rRnpTuI24ZTvpHat21Yt1hKbQ3oAsrK7IRdBOPqxTTUo VgU/eNwicEO3To9yOfmYk/MHYe4hd1qIza3cb7gtlZ1q8mKQvrglruWUj48IlEp0Xe6X X3R5BhMcPUSZ1Hj8MXqXlHcXmz9DOt5XSiHUBAE92TkgAgXOp9ZCcK9Xn3k0pAJpKZAv Xu+A== 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:mime-version:content-transfer-encoding; bh=4pnyJmIUnLoD7dR5gJykJYv78SBMiwJXtAbyq2Z7Mh8=; b=dCXSmK3IORmeLwMYCG/14aA4wCYieSukSRTEXIYajrUkIuh/2knDzU+fiQx3CU6/hc yYvY+wksGZ2VDfkjL+Z53B1LFc3WknNWDu3sM8sk7I9LeNsQXQVCxdHwnYoD2Gg+19lh ZiN4CaZvyYpJbmM5bHaZjEvtyqtILH7o0ek+zWqAHWaZlF+PdJv7tu/nc3zVVkrLhHdf e0Xxa4RW1gnRctaVW7TPdWZ7rEF9TZ+zt11M2wjnNzTr5UUP73WuSYzu+0O1dENJAL9F IvnlMyX9fsQhlvpphDYj0pQ42kOye3V2S4KRab2pg/Vf7VgnSjc0ANIEPQw2/rN6UQlL 5M0A== X-Gm-Message-State: APjAAAV0cSvHgHUFyMQNol8AyvP8lOx+pne1JvKbQIZQi4UcncxLRVQV BHgbqFPQcSVQLNqqZdPpJIk= X-Google-Smtp-Source: APXvYqzZA7E6nZUwcQyfJh5YD5kkkXzwAGN7NdIqfU7H//W/KTi34HryDLMmy0yLkGZ91MwvIS/tRA== X-Received: by 2002:a7b:c24f:: with SMTP id b15mr3792599wmj.103.1559060107465; Tue, 28 May 2019 09:15:07 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.15.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:15:06 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 11/12] arm64: dts: allwinner: h6: Enable IR on Beelink GS1 Date: Tue, 28 May 2019 18:14:39 +0200 Message-Id: <20190528161440.27172-12-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091509_288045_7D677808 X-CRM114-Status: GOOD ( 11.48 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 Beelink GS1 has an IR receiver. Enable it in the device-tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts index 0dc33c90dd60..680dc29cb089 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts @@ -232,6 +232,10 @@ }; }; +&r_ir { + status = "okay"; +}; + &r_pio { /* * PL0 and PL1 are used for PMIC I2C From patchwork Tue May 28 16:14:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10965375 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 61B9992A for ; Tue, 28 May 2019 16:17:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E12F201B1 for ; Tue, 28 May 2019 16:17:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F7E128723; Tue, 28 May 2019 16:17: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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 A1D542675C for ; Tue, 28 May 2019 16:17:17 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=WXSXY7ervhPH56yOCG0PP2PCXUnb4YuMVNAOtpbJVIk=; b=GVwyJ1qROGtFJ0 ++dcrTCzZNPlu2DdeaNwjj8eGKuoGfBfzeo7WFLbD07+jCIvpl7eD5y0WdPkXL1vFpi2ikRRM6SEX h+OT1MQa9576EQlkPvgdm66dpEihvzU3xw9hzVA5ak5MfB25dEhvWrOjQllW81g2oACkARUDsvquV ypGNT23t1QhSX0kVw5eBicdIwe/a2S9S9t+cpEg3pFde9Hr7J0SqeLOXH+xeQY4kGb/TA4S3C3IbV 0MwBNvTPQQ4maoQbMZ0DhMzZ295fo+IPNyY2a+eXj3E3gpRQiW57K2ZSe2g0arlBH/hBYJYpsata/ 9Foclh+3EiJW0/I47M4g==; 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 1hVeml-0003Vt-VZ; Tue, 28 May 2019 16:17:11 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVeko-0000ga-1m for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2019 16:15:16 +0000 Received: by mail-wm1-x343.google.com with SMTP id 15so3524011wmg.5 for ; Tue, 28 May 2019 09:15:09 -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 :mime-version:content-transfer-encoding; bh=Ky+CVe/5shquKmn2x9Mkd4t0sluqJy1OgxXU5TLlF8Y=; b=E3Lep2geQq3zVSCzebhNkS3T9inq3OCueWMHe4pDmLcsO1M0O0vD3a0CDoF92LLXwO Nz5TQgnw1xrjeY2Au1f3rWtJsEzTIlU0mLfWa1rwN06OekvVmhYkXclZN0LdwsZiPwgt KMclb5s2kOOk233GeXOT+bAH3AK8Eip8RTaA1Eo4BGdR4Wx/tYpoA+1ikhdeVrFbXug6 yclYK2mjqAm4FTrUjHrm9Q2SZLJocPLbYAk8W+7ArF8Y3uRgzaWTXMkpE0GqTu9yxGD4 5Tap0nfXEO9LVnkwe1ZCpp0Gwst8F2h7VQxP6iidYVptlYtXTPDtrZjKcsDNahCwXu9x hlcA== 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:mime-version:content-transfer-encoding; bh=Ky+CVe/5shquKmn2x9Mkd4t0sluqJy1OgxXU5TLlF8Y=; b=OxO6pV8T0Ja5HgYgOHc2rKRaFtK28SsiOYLAM2XN2/XfXCuY9TIYDFdwIzwYzRsa/X WU7BQ4jCfVKGQoz+il5gzdSnIlzOgrF5e14Svf2RGwz4+TOFsqe8Aw+Ju6ebEkIK6t+K BwtWiESpWY12Lp+yGl61tu5g1fMuqSrparHdbB23b7pHZkpq3vmZBg2ZgJWAP6+/HGWU OVH2rVhFLUUv2BKbvxprqK//JAXJiPggTdBTH6p3mcN94tNzsrwPTfctlzed/o6AbpMM 15XzFqMZuYG3gyNAM8Sg2cKFDxu6zHO/LL9S4zHvKBywtEfZ/n1Xbzoz4MguuBocLBeX bYdA== X-Gm-Message-State: APjAAAWpMXyTeBw82FEcEXescb7J8Yw0pd5dyAlWbz3qA/pPF710ieLD OJirpt+CERPElUdWrqXG+as= X-Google-Smtp-Source: APXvYqwSx3LBjIiXJlHZ0KEyW3LlJCkYvmLFLaa0jci2PbxVYuIlNtgU3EY60lhlduo6pyd6PZ0MyQ== X-Received: by 2002:a1c:730d:: with SMTP id d13mr3665311wmb.88.1559060108493; Tue, 28 May 2019 09:15:08 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.15.07 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:15:07 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v3 12/12] arm64: defconfig: enable IR SUNXI option Date: Tue, 28 May 2019 18:14:40 +0200 Message-Id: <20190528161440.27172-13-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_091510_712491_4840B58E X-CRM114-Status: GOOD ( 11.59 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 Enable CONFIG_IR_SUNXI option for ARM64, so that Allwinner A64/H6 SoCs can use their IR receiver controller. Signed-off-by: Clément Péron --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 4d583514258c..5128029100d2 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -460,6 +460,7 @@ CONFIG_RC_CORE=m CONFIG_RC_DECODERS=y CONFIG_RC_DEVICES=y CONFIG_IR_MESON=m +CONFIG_IR_SUNXI=m CONFIG_MEDIA_SUPPORT=m CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_ANALOG_TV_SUPPORT=y