From patchwork Sun May 26 22:25:27 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: 10961951 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 807136C5 for ; Sun, 26 May 2019 22:27:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6ED8128A85 for ; Sun, 26 May 2019 22:27:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F95128A92; Sun, 26 May 2019 22:27: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 0946328A85 for ; Sun, 26 May 2019 22:27: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=Src5sodBoqzxcl M2KrrzkARSrC1X30nW3N5PVzRm/u/8Yt2pfh4tI/r3PVYw8ezaKc3GJWEC/OfPRhq93q8pqDXgxZF zI5YNGcIk+yGVhzWWc+CGOmoeSzrPPbKFMiXyOmQvwXM/WWNoZln2Vv8ZsDjsd1IvLWQChDz+Gsd5 UhLt3aawhPLg4ADLyrSWP8dFcrm4n1ApKsTKBgzqfDn2HLUWy2SKScrOhdMR0YfbqeKg8Rftu7IHk 76CZCxpt8T9EMZtkvs9mZFyH9nGvGX5/q4UeiYyaEqIQSjxhT9mB9j8SwO5lw//4gWE/NN+x2TIF8 yso61ijr/eLaSa1k8GCA==; 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 1hV1be-0005LB-OU; Sun, 26 May 2019 22:27:06 +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 1hV1aQ-0003e9-QB for linux-arm-kernel@lists.infradead.org; Sun, 26 May 2019 22:25:56 +0000 Received: by mail-wm1-x344.google.com with SMTP id z23so9890993wma.4 for ; Sun, 26 May 2019 15:25:46 -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=qvVdO1Ye4+/XAXtZVdsjjXyBiA9UbG/W56OF45mm+eREeUn7sXXC3zn78MNG9RDc74 m8SFOUOKex8fNj8gGw2zWgBNxPQcy84SJLJmYhZTNJ46S7ua13TWTvBSnvrhO1rtqnT2 DPGzNpLOW7TMds16+uLtVPJL3XjpKV1sauyZrR30M8iPCi/4cQo4iPZnnC9cmq2+z27s 9xQ0TB6H2PHnVJ46ZjDYf9AoXA+/Ig7In+UyImznSlah8/ZWMQ+nuQqaXJcqI6NnBCpY UsvUN9eIRyqdtvPU8E85lWMoTdZZ4uPC5A5Z0PyLooWY8fXyA9j+Sed97RzBqFVRJ4c7 Btmw== 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=HzaOIFgF8RDM6TwHxh09dZvkEqH9xfhwkzDoVr3e2tb4AQ5Z+JyIiiBy0INVGOKnkJ wfOQwZkDc9msRkK9MaYAw3Y6wVtmhRS8KIkoYZ2xIQqggbgLvWOwG4d1sNf7xibIaRpA ebb+gXmif7n2pdV56SUv2kZI8JKnhNs27dmzE1lRha7Wu91+MVfvx52W6YjjL458waZ3 JQh4gB/ioOPQsWU2ha1YuU/zQCtyYWYYYFyJ8UvomIJvBm1nUBtQ2KqUYQ2E3iSToOl1 0eMuDi6yCnzKmwC3BT3X1/Z6vVFYBeoL3XIatPZHMwYg0tmtwDuGZt8Iye4e28J5OwWH jHog== X-Gm-Message-State: APjAAAW+WcPQWrRJBxuVGJcX78VXtlzYZzeitj5z3dOmI61TeIqx7Ta3 /sT6rr1BdyDHlR5EIt2WtIE= X-Google-Smtp-Source: APXvYqwtHkAdpnDNLrKU8l3gQJCnqk74qB0FWxy3k2YmQonc0nW5ibfTNdfHiHYs9fHfC/i44RKzOg== X-Received: by 2002:a1c:1b4a:: with SMTP id b71mr7822601wmb.177.1558909544853; Sun, 26 May 2019 15:25:44 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:43 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 01/10] dt-bindings: media: sunxi-ir: add A31 compatible Date: Mon, 27 May 2019 00:25:27 +0200 Message-Id: <20190526222536.10917-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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-20190526_152551_151169_264F766F X-CRM114-Status: GOOD ( 15.80 ) 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 --- 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 Sun May 26 22:25:28 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: 10961919 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 993A214B6 for ; Sun, 26 May 2019 22:26:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A1EA28A85 for ; Sun, 26 May 2019 22:26:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DD4E28A86; Sun, 26 May 2019 22:26:07 +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 3DC6728A94 for ; Sun, 26 May 2019 22:26:07 +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=CIKnLdKk5zgj3U30v71bEzahSJ+5aKJmbsbwpqbI0zI=; b=Z3AAq9Gby0qx3P GGcunO++FpXyxDd7ymdpbgTuRc8qOgq/KeUvi6JWtGoenWii/XIXS0PwOH+zoLdWbU849XYQ44Tyr uj93Oe4FVijYP2Qsa7uOlZuLYYLWd4QwL/vReC1rH+ob/P7EUxz2yetld2H+zyWccodNdov/xTLCv JayIVm+Muoc/PTk8DZKqWR3Gcr4wUB5XP3fVoXcDXrJ+e606C1mOSeNiImoe+OZxM1EjYuGupq01M tKx+asirwH5Uf6NvmdjtssOHnEF9bFHZ1iJdAEjogKipZ7V8F12+2Ckm14QVp7zgQ9cMbw8bkQofE +YWAhj7w2+XgQRBp+mJA==; 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 1hV1ae-0003wa-Du; Sun, 26 May 2019 22:26:04 +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 1hV1aQ-0003eL-9y for linux-arm-kernel@lists.infradead.org; Sun, 26 May 2019 22:25:53 +0000 Received: by mail-wm1-x343.google.com with SMTP id 7so13953308wmo.2 for ; Sun, 26 May 2019 15:25:47 -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=tSjq6cIX1DBnOadzNlGlYQSWPqtvc5vqU2shjVT0VqA=; b=DyTp61SP0Ajg+qJr5HMvRFP8uWUstjPCGfpVpH1DtwYvX6E8jkV3KDuQ7XAKg0rHPJ kwFIoJheoQUBARMO10TNkMWn53v7M7fEhyxHghmvvaFptYKopQQkHvf5nsEsVHpK1JJA 8Zp/vwbQdBxS5KiY14QdI5A5noMG1ipZLgb97xgv+RdmHuenldFZhp1EL639uWmc9zd6 Ea58bLdfhEfG+KgE5EXgFphIwd/8hz4SBhzo1q0AUMzAZw4p7JtwLvaA/iUO+El/jUb4 RA23qWDcUOTs1/LVYXkSlFjfyF6WjGd5G25vzWCYpl4o/U2yyymxSbN/qf/SnHVNulmc CoJA== 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=tSjq6cIX1DBnOadzNlGlYQSWPqtvc5vqU2shjVT0VqA=; b=kJPKneSe0utaYFWU3Odwo6D4iV4ZgraFnJyHwmgpiimCol0H+s5IeOTg7bZgirirp9 w69pTIg0SJCd+mmV7FxPvM+dEg97cBHLfDfLSHqznP1/8fYvQ6rhCVDfakbVzw3CulVO 9RL62rjeQe7otI3mvlAvYY4QAntGmRRzfptiwaIwoXsaZFH06h6pRX7+g84GkbP5k1yj aHmeIwWelyoOqZNWlHxqtfuFgrZqK9vkK7T0So/ZEL9dBbKBKPpHZXpCdkPM804zbsEv 6+CPI1Jy8VHKUrC3ExX4OGV4Bkuswkn9lr37dKRIOb6Ra6xAwKBPfFM/k686Ed79HsMT GaeA== X-Gm-Message-State: APjAAAX2ihDzEUT8tc4zMZNIjmCVwRNQ50gwU6XZMWQgsYiVEfBPnbrL BjOnfehsh4QZmr6wgyiVnRo= X-Google-Smtp-Source: APXvYqyD4ft6i0D2tWp18wsIxIDnCCerDip6b9YYpNjRi+NTD88o8jCyOH5HkT8sp25ZVDrosHjoPA== X-Received: by 2002:a1c:1947:: with SMTP id 68mr7674843wmz.171.1558909545865; Sun, 26 May 2019 15:25:45 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:45 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 02/10] media: rc: sunxi: Add A31 compatible Date: Mon, 27 May 2019 00:25:28 +0200 Message-Id: <20190526222536.10917-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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-20190526_152550_642108_45D25306 X-CRM114-Status: GOOD ( 13.47 ) 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c index 307e44714ea0..29ac33b68596 100644 --- a/drivers/media/rc/sunxi-cir.c +++ b/drivers/media/rc/sunxi-cir.c @@ -319,6 +319,7 @@ static int sunxi_ir_remove(struct platform_device *pdev) static const struct of_device_id sunxi_ir_match[] = { { .compatible = "allwinner,sun4i-a10-ir", }, { .compatible = "allwinner,sun5i-a13-ir", }, + { .compatible = "allwinner,sun6i-a31-ir", }, {}, }; MODULE_DEVICE_TABLE(of, sunxi_ir_match); From patchwork Sun May 26 22:25: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: 10961945 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 0C1EE6C5 for ; Sun, 26 May 2019 22:26:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F13B928A85 for ; Sun, 26 May 2019 22:26:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E57D428A92; Sun, 26 May 2019 22:26: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 8A4D828A85 for ; Sun, 26 May 2019 22:26:41 +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=RTaFNEuIjxMjgzjep4YD4dusk2axgRAIQ8BMjYt+teo=; b=Q5HEfQpR7tC7dN XUWRjWokd0KIs+8RBK7miRKrn8DA+z8b9A2aXjNGSoa23tyeDtWHgHJWuLKk8c41EtX90plfcV9od /zflfilGf+H/14qZy6krGhAkue0Cp7EnlO7NiWJ1KnX495G/0YpBN3JhehQgSzGYjJReAn2bRjpuM zKmMf3K03QrPRjL6cpazMmmBLu9qid4betyxfPW1MTzpYLltk/6s/gsROozW6di9ccHgujT7bFV0o uO4qdkUZP78Hvjp6B/sbWksDs0udyEztVhHVS4mehRVbReXiBdKt2Z6tLPpOhYDqP79u5fEp4hcc3 oR2xdxmd1fy1W7OsWUjA==; 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 1hV1b9-0004cw-7J; Sun, 26 May 2019 22:26:35 +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 1hV1aQ-0003eS-Ix for linux-arm-kernel@lists.infradead.org; Sun, 26 May 2019 22:25:56 +0000 Received: by mail-wr1-x442.google.com with SMTP id r7so14963569wrr.13 for ; Sun, 26 May 2019 15:25:48 -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=+vaehzousi1ZvrkZVCU5L96BprdpUm+MB96+HzfnfTc=; b=fTSTK4loejbHv8OiY2aKVD9yytte8x9X8MJ+h+/6invxOjOVbxrQyD8XqynT6i5j9d si92YhxPz7rAoYC28iLJzy18lMkolVeTdBoCz2wosUG9iKMGQLtnZCwsU0tO64J9WblB sciupEFJFBcXKvGJr2+bH3K1jbcP1w2+JDUU4EhOZpnhYkkK87d8SzAcGoQHwB1L6b1w /2jYpLjLF54ITd6DNvgwuk1RivUAxG6I/68IZfH39pu+oFr6gOM8mECT9a5yClPrgoiS fRfShHT+qvFgq0dqngFnvKgQTAx0rtLNWCYn4eP1AWdjvTALf3hZHMDmUNlCTxQ7iUVC QQAg== 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=+vaehzousi1ZvrkZVCU5L96BprdpUm+MB96+HzfnfTc=; b=tqqfR6B9BWYSNG2qx0XAvozMC5i92JVIpqNhb4VJAkxSVaSQihB1ZdwJ0tPeV+9Xnd yGXVbWHPkahjCjopPCC3r+NTea34zYEBR6iCfe8X3Kf1cRTjxPdOr72FEcZYJOjAfz8H sE/RsuE5xIVnv9Km4pm1JS6e7orihhnT/miACJ+9tLR4lhfsIit/w288JgRabU4xCWe8 4s5CcaA3XQobp55U6hUZ9qEXm+duxodazBM3fja/yzn/Gy2tkBkDh5Kykp6zeYOeSqls kFZplrKcVo9nYeF7i73ytDZZqJ4wGE6BG+Cw8r+jby6I3poYacwSfj+X1nsBvVWdVvW4 W/5w== X-Gm-Message-State: APjAAAVpr0DQx8eSq0PNeZdM4PhqdJrAcVJlPQLrsJPXYMjL4YvhTqNB B8fwT7wAkwP1RstbUA4nf2U= X-Google-Smtp-Source: APXvYqyFnqOmHgAzXV2IX3zI/93AwTPEgF89lW1l5NyIbDZwfAuKEuxgfypD2AreMSkzLbi7bkFM3w== X-Received: by 2002:a5d:4212:: with SMTP id n18mr10471393wrq.330.1558909546828; Sun, 26 May 2019 15:25:46 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:46 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 03/10] ARM: dts: sunxi: prefer A31 instead of A13 for ir Date: Mon, 27 May 2019 00:25:29 +0200 Message-Id: <20190526222536.10917-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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-20190526_152550_985323_014D59CD X-CRM114-Status: GOOD ( 15.04 ) 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 +- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 +- 4 files changed, 4 insertions(+), 4 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>; 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 Sun May 26 22:25: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: 10961927 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 2603914B6 for ; Sun, 26 May 2019 22:26:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15FC228A85 for ; Sun, 26 May 2019 22:26:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A80628A92; Sun, 26 May 2019 22:26: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 A35FE28A85 for ; Sun, 26 May 2019 22:26: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: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=Fx8BoUgPtjIdJh qGn5oss7sseRTnRoRwYqJgJQQN4lT5nF2XoClKlswtOLBAkJ79vHsKUbKFx3hwEKI84rWqdUz2R91 g+/4ifyibCjbGAB8I+/+enkMmQMv7N6U15CN/9UwJA9TgogFDai4MfY8PfExgyiWA5/0bdeZkYNM+ ndeBdTvsVgA6GuHAuhr9dUuBcoyDcYm3t16UDfqSTxXP6OF80KS4bt9kFDbQ9QLkOQA3xWfE4Q3Ln 3mnKnDarfsd3G+tevU6FfsCZ47OysSWkomJsTPBcULhoykUoWzSSiSMoU8YRzwFjuCep5Ywqn/2Rq iHi13dje7LcuROTf3KOg==; 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 1hV1am-000474-Oq; Sun, 26 May 2019 22:26:12 +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 1hV1aQ-0003ev-Iw for linux-arm-kernel@lists.infradead.org; Sun, 26 May 2019 22:25:54 +0000 Received: by mail-wr1-x442.google.com with SMTP id h1so847044wro.4 for ; Sun, 26 May 2019 15:25:49 -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=klAOx+HfmYTw/8Yq5Z9Z7zoBFd0OBdip2dn3Rmyo4lHbtZsRaeyaDNO7P9DSMFFGdN glJOISUhVbNcyEGaatP61u8UYu9Xaa3Yqqo2N/4y+VbCpAxvUE2gNrAEy/COEyn3oh3/ jkIaplzNNdkTrkPsgeMyzXiW9lcq/WwXneLVDkNJErDm9sf+23Wq+7ZD0al9sqwuVl81 PSIXQY53c6iXav4ck3FsJyS9S6pLwvKdoJ8YJ4NJX23yGKFuVzLIZt/L0ZO4vkXjkiOT 93Vp60xAKV+vac25lK13kKK8bAun4yyuJq6hfLY/VTDotDIX0DFNcXUMjCBcxAc6wBE4 fusA== 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=q8nXD6sVbnNZHe5epPlYYRt/6LxM6WBV5n0CdLLSAvsyxxJBwgeRjNc1dKwku55JWg ELw6Wr3/83gWh9nK0fHHMZG4BsdM6SwQwgk2SusOua40KzDPpiXVwzsYBOu9f+VOldXI 1k36UGrjrFmLw82Edbi6hAjC8lQdGoC/VVuDxf1HXiFMqAywVPbupwojTUuzDBW3yKff fgq7KI5dm+iqzhjCM7viozytFFRpXigENuzov4o1lr/VPhD/jEqLcMD1zNj4xUsTR7Hq OlA2wF274BTFjJmW010QLkNLn/3aLxrhqguuOWhJK7YzIOzHuPxUeKMQvbLShK+xmjPD CLOA== X-Gm-Message-State: APjAAAUJ5eL9XtZQaY3AbikDD23eZDeg1Aw+Y9tbj9pv4ii0upg7B84Z gcKBlNuJWPivH/LvKaxTi5M= X-Google-Smtp-Source: APXvYqxsbYPyxTGP5DkswvSnejLVACIIPGGCwxeFSFdOifI61ffIiR4kdft4KEdZ6jhd1Ba8cfpkSg== X-Received: by 2002:a5d:528b:: with SMTP id c11mr10869878wrv.25.1558909548083; Sun, 26 May 2019 15:25:48 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:47 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 04/10] dt-bindings: media: sunxi-ir: Add A64 compatible Date: Mon, 27 May 2019 00:25:30 +0200 Message-Id: <20190526222536.10917-5-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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-20190526_152550_904296_DCEA2D60 X-CRM114-Status: GOOD ( 12.84 ) 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 Sun May 26 22:25: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: 10961937 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 E88746C5 for ; Sun, 26 May 2019 22:26:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D8D0928A85 for ; Sun, 26 May 2019 22:26:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CCBDB28A92; Sun, 26 May 2019 22:26:27 +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 787F828A85 for ; Sun, 26 May 2019 22:26:27 +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=KLh9mw3DjWZ/Wq l+hw9n780ZxxQyRTDnv5iRQiqhXSUBEIDTC4oUAnX9r8GYcK22/D2C46/Q2YuAE37gH/9Ri7+jhBu AyfL3xZg5EUs2u79ZpualIJRAur4Cmm/HEgQXIRg+w9EV4dFnSa7Oe/HEPXp2MjxsS2KGcIyaht7F oyRo5v6FXfMMZBXvlxf+t32iD7P2huZa+fm684DAYHvFE4vNnewCPnKqA1mO36mHYsm99iFRhL+ib e/J1WkgJbz68EfszrCgeYa+uqbOdN7De0aPNDcZiQQDi/7H5MTu6rxyTprd9Ar3dyGjsyNXJZnWKz tVigsox93iIJpG03r2iQ==; 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 1hV1aw-0004O6-UF; Sun, 26 May 2019 22:26:22 +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 1hV1aR-0003ft-2u for linux-arm-kernel@lists.infradead.org; Sun, 26 May 2019 22:25:56 +0000 Received: by mail-wr1-x444.google.com with SMTP id h1so847067wro.4 for ; Sun, 26 May 2019 15:25:50 -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=RRVbu4sWt4ZxcFOTHYisTJtdivqZZowGwZPI/XaQ7zxtSBnu+8QMqs1QnGKrRM6E3O oJ9jcOLXnxxQbh71CsgMwIGsxntR/R+BBLtRa9dCzu+uEbg6KBVS2zQreHSzNvV4laIM u7dG8Lv9ZarOC733yOpZjdBIOnf8m6VhZdwIsyZyTlBzJHX9sE9l9KL8I5rZdusKY67S k0aEyUSKAGlVZkJcZ2NyTJMB8d9syVbtxnissO2DY3nSHDPsSuH1rjk0v41cJM56CZg8 OnHr20kuTuk2TUkrYnE0FSkzeauTZXLd2F7pdj6ZcJCB1tx6kYmWdOE0qf8YLDiLKDQb PmtQ== 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=hXuiJBILozRxPKk5fRodm07/fbYiYk0Y60PH70+lbKUyP9P2x5D7PJ9er901fled+l 7V71vuJlbYHMGy2VU4yg/eZOVS+kU6wlR609dpTtRtNTc72DJpO4v1XGdLzjMy92istH 0VrvGNoPE831akMobc+kBJnULPFf6Yngu+OqGoe2+yrmM78t0ceoJegcbK4lZemQXz21 XkUTbds7LhfmbjFZu7QuOGUsusOGZHYHdurenKLgFcCsI0iJ7DDelv91GLmsLN0500rT QsvqdrNXv2yPiPY49TMidza72YfhNBELE7WAZ8MbHpxXNQoeSLaJ0WOXyuIMnTmJTP7j GUOQ== X-Gm-Message-State: APjAAAW9sGXgaPs25F7JHZFENdX1MTC8ovUgTL3+TKz2PXljOkhGTM+H 4R2RdYTISNZ81R2njPP1Erg= X-Google-Smtp-Source: APXvYqxb8yu+YLnqa5xxB88D8WdyrJlaqZ/IkWQ0b2ii4BOvjanFcCdF7BqfxTsFG/o1zIYIXGXAtA== X-Received: by 2002:adf:a4d8:: with SMTP id h24mr15570038wrb.171.1558909549290; Sun, 26 May 2019 15:25:49 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:48 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 05/10] arm64: dts: allwinner: a64: Add IR node Date: Mon, 27 May 2019 00:25:31 +0200 Message-Id: <20190526222536.10917-6-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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-20190526_152551_648536_01295974 X-CRM114-Status: GOOD ( 13.12 ) 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 Sun May 26 22:25: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: 10961947 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 AB14D14B6 for ; Sun, 26 May 2019 22:26:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9764928A85 for ; Sun, 26 May 2019 22:26:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8977128A92; Sun, 26 May 2019 22:26:51 +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 266B828A86 for ; Sun, 26 May 2019 22:26:51 +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=tEC87yevjBz3+z dLEHDD47XEFHPuRe+MIEI9kpC+IKSUl355cM9A/M3WMwcZsAGHrIeiJjjb+5VO8SfLmDLluPOo6O3 Fa3KwwzExBhx65ZXKEEGfzj3/MAcROGiHu8AwB17RUaj6nBfjuDupDX00eFW/0ZzrQmfi1pgPUxce PdyW3t2wRNamIcrRxKecdKnaMrwQjyyy+rSSsWqeFrMabhHfcyUhp+LF/L4F2nEhmEu55qE8c7e5d x+W6cDCDs+w5SUyIaN+f5tiJJ+FPEfCaR5obrXCAIGPOYhzBVt7AHkj5LP+DUS88CX111U14K8VHM cu4akLupIEM5GMtuuPEA==; 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 1hV1bK-0004tn-0L; Sun, 26 May 2019 22:26:46 +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 1hV1aR-0003hp-SZ for linux-arm-kernel@lists.infradead.org; Sun, 26 May 2019 22:25:56 +0000 Received: by mail-wr1-x442.google.com with SMTP id w13so6617787wru.11 for ; Sun, 26 May 2019 15:25:51 -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=cYvjitwt6Zssvyq0y6oSHGLuaB5wjzWR35lt6S5xd4v662DyRpgwsaejZD4ispPT2g 6KdrANRs/Yij48RioY+QNv2g+oQ6DRO4FvLSLb97UcWN1BJGgpxxh2oDbuGi/PM2Urd/ sMZnvjdgb2mHIa0ZPsEesxkjZGjdajj4/g8bPfNCPDBIeRsQH/ZaaDc0t5i1juAmnXYo CQDkTKN/ANGGjeh5IAFWb/NQZDkcpmWrICvALYpcWWXUy0u+gRWsev0mE0LcdYlLoSQk xWRzb/MVmIx5YPRbgzVLWr8SQ7E05tg6OGklxz7oYbcLzp+0yydxCayJfaG5dOpZZWmp cvJQ== 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=GFNnP+o55MebvZ11i2x8nh0gbs7CAmaDgN82xDZWiOMyF7OWrYoMdWKKLRRBh8LrHm QpTRV/yeBJ9OoVYFAh967DJtWnBXogXpmpoRQE3uN6E6E1DpRX32T59BfKCol4pPe4sQ FGJkkSsf255u8xnJ/WUsKznjELQHCHakChGijXnfeODwIXH/mu96xlTRaV81LPZeqck2 lI6NhC6e9pdfjXJvx1yC5wQuY3oktXi1rMpUZUh9OV/Lh72weB5pbFrBdaoA+EHmpZT9 7H0aiTSJihFw0edHKNOuXYGohxNKnnPMMrohe+8btgfQUep0FvUq9JEn1AFXnEb3nUGg YVvw== X-Gm-Message-State: APjAAAVebi7ysbMGMuefbdKK4iczBDfAtbuUSQo64sk+1sredkxoS3Bu zXIqfJFZp4SvO+svdB09TF9lCHbXnZqaqA== X-Google-Smtp-Source: APXvYqyTduyrC6vwtzNZtpslsRevUwtmp5f2Hx9nBBNt3DvpbqG+lo3ER9TfZm0nW/X0vDWROl0kow== X-Received: by 2002:adf:bc94:: with SMTP id g20mr19235766wrh.206.1558909550377; Sun, 26 May 2019 15:25:50 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:49 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 06/10] arm64: dts: allwinner: a64: Enable IR on Orange Pi Win Date: Mon, 27 May 2019 00:25:32 +0200 Message-Id: <20190526222536.10917-7-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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-20190526_152552_490527_5F58A615 X-CRM114-Status: GOOD ( 12.14 ) 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 Sun May 26 22:25: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: 10961949 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 198A614B6 for ; Sun, 26 May 2019 22:26:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A05428A85 for ; Sun, 26 May 2019 22:26:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F13C128A92; Sun, 26 May 2019 22:26:58 +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 AD7B128A85 for ; Sun, 26 May 2019 22:26:58 +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=b9zlwI1u0bh48G evkeeZ8DledmqrlOqoF5n6O9/gUqjD5TUYKbVuieqTjMuCqJEf1ddkdV0xZASLPODLu/smTtlhZYd mW+ri15yAsv6qWH0ZK+Sxj04JyEhHGrhQt4iB9MSW9+AEkf9sT+m/6/dtls2atDbCDEJ/VjYiDUV2 v1Mt9MIuopi/1lV4k2sb6xGkNX5tGO+Z0+rvcHH3PnAgGzmD7IK9RQhWRe1stxYNAF79FUma7IQS7 NueHhtzLmhDQYQwLW9CzBhlpGzwLEfzOGLkogAYR4ZsxGk2w6k2MotRjGtITKEhyQhERHS7CQM8I3 m7m4kyHvNtzroBbTY4UQ==; 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 1hV1bV-00057Z-1h; Sun, 26 May 2019 22:26:57 +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 1hV1aT-0003jt-88 for linux-arm-kernel@lists.infradead.org; Sun, 26 May 2019 22:25:56 +0000 Received: by mail-wr1-x441.google.com with SMTP id f8so15005123wrt.1 for ; Sun, 26 May 2019 15:25:52 -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=TmLyQMTzxNlDvMDpq/v4obLZ5cBfs+Eah78F1fP5yW3/ULBAsc8S6q/MYlBl7JnaIx cuY7bjgKYs2TpF+qrkAghyFpMKx/O2WNsISJKc/zPMDvZFVz5VaPy0fEQXzVrl0fZd8O xsrxhDIXZdMMywYDMF040JBk2hizL6lIKXLhCquwfdHGA1CSGGFb5WDucx4DXPelJhQT UPIUq5i81N/o5um8/RMKBN0bq2KkmlAQxzwB2AXv6AOQb7CSsYU2D6ipR7G6oY62sUPF 5BUUDHAWyaHYHMJ95CJazAoZKqeJ81joOfoyzLP6uewG6Xts431qtFKeZ0NRkA675k5l 02CA== 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=tcRWX3UxsJYXfsOS5SmiJ6Q7c3FqGFG1WSHSqrFauUadi3Zt1Qwew8Bhx4MoKgmo4Z Byq7gSu8/s69qKxOfOio1W1DCBIgg0NZQCX9udFMWwHBhTl9feSoxq/D+6sLARo9ucd0 22vtbmOHDj4XR0d+UZOdxuTUYwC351h9QfNsHp+iZ+5Q7mfLpfGKXdiFpaTwVAENRAnq ULOueQFaODkUduBVKLdG8C6w84fEdMh42BEadgjcRgHbI/Z6tbO1DfFDlcTRYWGKS6sP sbX/StNY8Tl5D8XdZ96dPI3krqmxx6kCv9sMO+44YEBjOa0EmSo6DG/wkTIsI+H8FFAQ tXlQ== X-Gm-Message-State: APjAAAVPu8RUOawmb2Uv9zBR5BU/AJ42nt//a7bF51ld8m1IXhRE5LlU XBdzWcodeyUAg4QW7jlnckA= X-Google-Smtp-Source: APXvYqyear9blP86T2MNWn79SUP2m1/FCW8iYuubkJwpsPjuck36zawUuWPezuETPh26SIP94gxRXQ== X-Received: by 2002:adf:d84e:: with SMTP id k14mr6520699wrl.76.1558909551466; Sun, 26 May 2019 15:25:51 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:50 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 07/10] dt-bindings: media: sunxi-ir: Add H6 compatible Date: Mon, 27 May 2019 00:25:33 +0200 Message-Id: <20190526222536.10917-8-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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-20190526_152553_498652_CB6C2E6A X-CRM114-Status: GOOD ( 12.60 ) 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 Sun May 26 22:25: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: 10961953 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 26A5414B6 for ; Sun, 26 May 2019 22:27:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1640F28A85 for ; Sun, 26 May 2019 22:27:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0922228A92; Sun, 26 May 2019 22:27:26 +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 B5BFB28A85 for ; Sun, 26 May 2019 22:27:25 +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=lOptlKGdwXbBFe twVC1/+PSvNJfN87FiYpG9hSLJkRopM3T9e45Imm5cLNInlgSW0e7CCmYMk7hf6QfCSI76mH9xsy8 ++pjcrNAV6UJKGAL9msbViN48e+uwaWs0Ff1BLF34J2civY9iTEJjosR8Utlh8jrDy4fJoqLhPxQT GAjeGp2NkxBLUnmgfbFAsNl8+RrHvlw6EhsxXomnxj3xI9dwUduc30j0w3w5GveBtZZuBPvvAnBjD /hCIIbaKtcc9tA3RCVNq7oZNUGrCjb/DF2Hufkhp2wyVSaR9S0Lq6ZCFenPiBtxgJW6aYJm2ScI7P Tv8pGB2n2M1Ed2JZAtIA==; 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 1hV1br-0005ZO-9e; Sun, 26 May 2019 22:27:19 +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 1hV1aU-0003lZ-8K for linux-arm-kernel@lists.infradead.org; Sun, 26 May 2019 22:25:58 +0000 Received: by mail-wm1-x342.google.com with SMTP id i3so14233791wml.4 for ; Sun, 26 May 2019 15:25:53 -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=ixgQJky1wVVtXXRKn3zr7saZgE0rP9pmcvwINRRzOo4E+4yOBlqJp6zBzQcTxeQxvd oLoeCKu2uMQBjgggE97DtGKGjWrO65/MEGPh47rscGdM1xqxkksgLkxo7Z/U0g6nDjue Rlono7E6sbZPeJcpU/fE+rm69q09z4XJRCCDSIcRjbymMEY/ITp79RXGhsLlBrFnKRrc HScM3R8OvipPRfq/knihNMJxa+4FAP740gDYm+xAf/jnnpdpL4a89frAoGULifp/juvV p4Wsq1PIe4uO80qdaewWnRzlQxMgaXe0tmgTBXaiATFozPohVQPODnSS733FOcYgzr03 o4Wg== 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=UO4eYlLZZWSAQBreNFRX6e16R8bsH7gOfSpUuhbezYBhbKaJwKIHUaoWIqXRXdyDWA SSQkLkl3L70e6tMHRH3Tj2umXZIFU7hOdPT27ZWxJOyw91/CgRGZCK4Y9rZZGWuERzRM CgrJfqvNl6NbrPW/pM6VzdH2ABBzLfel7C/6qzhtUu5+4LWJbHFCVOZ0Wbnls28wgdPl 1IO5Src3NhA6W7PjPAy7yLI5SoDFYOZgmhpiv4FYsAp7ZcpqlfERBAKKTiiwwunWdMrp yhtsGhuuLUeQd663kW1E6/ZWQ3bHWlgahWcl2F1HhzRE7IXhY9n8XqT2aDN+zmMxissm 0yfg== X-Gm-Message-State: APjAAAXiL78rSbEK4m4bPju3xQJG2PILTM1RiSJdlNKS1gIWLavZegcI ejWiD+VjelR1qvsc4pxA7Hk= X-Google-Smtp-Source: APXvYqzNxMDvJErVSAYX1CErZnfVjsHwRpfsjf26f1XbSjKAv9Dl2F0QIgr6Sh6x3Y/xidX4lHWv2Q== X-Received: by 2002:a05:600c:228b:: with SMTP id 11mr108670wmf.26.1558909552439; Sun, 26 May 2019 15:25:52 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:51 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 08/10] arm64: dts: allwinner: h6: Add IR receiver node Date: Mon, 27 May 2019 00:25:34 +0200 Message-Id: <20190526222536.10917-9-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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-20190526_152554_669567_11EC36F2 X-CRM114-Status: GOOD ( 12.88 ) 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 Sun May 26 22:25: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: 10961957 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 EDA266C5 for ; Sun, 26 May 2019 22:27:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB3F128A85 for ; Sun, 26 May 2019 22:27:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC7D028A92; Sun, 26 May 2019 22:27:46 +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 7E88628A85 for ; Sun, 26 May 2019 22:27:46 +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=N9w5sqCiSjtHkkNwK5TMofaW4TLXqARuCL5/OStMTqM=; b=jdd0owDwVowriJ czkQj5dxRHyQeWumLdt9Q1101VkkRJ1PYpDoA/KZgnkY0s8U3X+fUSjfb2esnNbpiP7ZROWNoIa6Z wVtLNekOmonOnpak5PM03N7w0LJYZ9r22ObsSv9Yj1ZmjrWG20I0o0+eoRewIOkd7j2PlLRKJX0X1 qvODfNave3SzAnC7l9O73If37sX7BDQT9zCGsADJzxrxcs2iUYWfv6FuPUGA3mskRvgZWBcZNJSqm EUzp+W65zMfnJZVg2EPOvsJZfqL9WWaQXFblw3Lei/xszdcpcToSmYCjyH1HnpnZYaQkb7nRBEHOm HpM4qSBPj4oscYbl+9HA==; 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 1hV1cB-00060l-NC; Sun, 26 May 2019 22:27:39 +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 1hV1aV-0003nT-1a for linux-arm-kernel@lists.infradead.org; Sun, 26 May 2019 22:25:58 +0000 Received: by mail-wm1-x344.google.com with SMTP id 15so13930284wmg.5 for ; Sun, 26 May 2019 15:25:54 -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=R6G/HHE3Lw7PsZVrg7cAYjp5rZiFrvQ8UHmrA7ixhEk=; b=vAPJYNIgJbg379x5TSG1UjdT8jbZpl4hvt21vzKGAjZJEvX/UJix9FBFG7hjmFhzy4 za/2ff4UluXZZxfPhzoxKWemEWXzv1PFVnX1aVc1T5RGYLH4TwEV56cE9cT7Ufth1mXi fAl3w3sCU+zz2VVSaIYQQjWozvEiMKFkukqb5DKWk8I2ohzlBo4wrnh1nNnqee4UIUXc KIDlXY+a0J4HR3GMMXKSv1nTV9qD3Wpo+/vgwcNeVVxJLj5DnHLODnv8OutEdud+ISrB Q62+GJ09cDr91x5MOsD0T2l6RLhawzGUmfdnYfnThqmzwPzaFLcAVyRd1XE3KeOzzVLQ dzVw== 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=R6G/HHE3Lw7PsZVrg7cAYjp5rZiFrvQ8UHmrA7ixhEk=; b=tAdCcKRxCWsRhGI+ar2hB61ybvt839fk4gm0aMwcetXttlBiXQtWpTuJXoykaNfgHD zjx0b3lTT/FDOpPPCxRmP/RktTBv2tDnrdd+Zxy47ug+g4bkkfKcv0cDqmbO9Ha4UtIc 0FUUrdvBmsw4VzDC+e94thSGZSUNKZu0wYJn5YondmstclyOUDKEjsk90OpTGIxw/U45 FrcWMp/Jyg9GfwP/e5sqV15sCOnqwocUO3LBka/IEJUdB/oE7apsI1WyYAnk3mHE/gYW MOa35qvidY35xN7wszbM0RGyfwbxCBJTy5qScmdUx+AMX1lUiY7PV+eKITkvXLUwQWEP NpSQ== X-Gm-Message-State: APjAAAWu0ypbWsjb2gw65C9gJiynbDh4DtxNhivveTpkWXd/azEMIOdu cDduIzuBo9bba6fm4QcmM8c= X-Google-Smtp-Source: APXvYqwKDaZc9r4kJO6lse9EMVISrv3fmUs9dX0gWrCzsdIlT+3R6I2IjzVSJxdAXiChfzLxDrB1mw== X-Received: by 2002:a1c:cb05:: with SMTP id b5mr7808670wmg.146.1558909553540; Sun, 26 May 2019 15:25:53 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:52 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 09/10] arm64: dts: allwinner: h6: Enable IR on H6 boards Date: Mon, 27 May 2019 00:25:35 +0200 Message-Id: <20190526222536.10917-10-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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-20190526_152555_292910_4F69EE4E X-CRM114-Status: GOOD ( 13.12 ) 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, OrangePi H6 boards and Pine H64 have an IR receiver. Enable it in their device-tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 4 ++++ arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 4 ++++ arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 4 ++++ 3 files changed, 12 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 diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi index 62e27948a3fa..ec9b6a578e3f 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi @@ -189,6 +189,10 @@ }; }; +&r_ir { + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ph_pins>; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index 4802902e128f..ae12ee4fcc77 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -247,6 +247,10 @@ }; }; +&r_ir { + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ph_pins>; From patchwork Sun May 26 22:25: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: 10961955 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 0E7A514B6 for ; Sun, 26 May 2019 22:27:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F32BB28A85 for ; Sun, 26 May 2019 22:27:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E789928A92; Sun, 26 May 2019 22:27:33 +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 9997928A85 for ; Sun, 26 May 2019 22:27:33 +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=lhLTXpJgw9frzd apEwLvJCvxIIrZPo85I/CDGEgbyQqcw+N6/ihaI9tIXg7HCGnHQu39RIcwcU4RRGTCwZO2pwiHGuA AQV5tOw54ctNOACDsQs8ivJa4Fei45c74K9gekejrEJWaXmqH59+XgSyoN4dDC7RgBohvktVGbwtX oWNDb90mQm7mKV5h7+uTvVnUqMhg/ZyWwGqjASuZKw3DYumup8Z/go8jqMQMuOFwQSz4su3r1QXFo 0i7mC6G+nUY7+dGr1rWzlwtE4bK1thyA9C2s5W1ymyfDjYYs7cJi8Z2QIny/qlgmJB3b3HyqQvGjl jR6Cjyzr1Af2Ncq9Mfkw==; 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 1hV1c0-0005mP-1o; Sun, 26 May 2019 22:27:28 +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 1hV1aW-0003op-2S for linux-arm-kernel@lists.infradead.org; Sun, 26 May 2019 22:25:58 +0000 Received: by mail-wm1-x344.google.com with SMTP id 7so13953456wmo.2 for ; Sun, 26 May 2019 15:25:55 -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=sPUyp9v+8Z9vQEkItY8c65gc4hEJo1CCryJxXjEdBdgRfT2MwtaViFBfAqvbTOfAJA /JfCsjccRQ8bYTwKOTfczCXgDfnCYj21+5+IVPeLjjZkPeezZNCwdoE00b6q9I1MzKhT bp4TYVKCMu+GBI28ErZcklCjb8AS2W7bnrxiRuVT4yGJZKCU8g+QxOhnXTFcBEwmXyPU c26Y6DzSLlLy+MePCkuTLC45BYWSRRsjnXKtqnvcyGwF05vRABib42Fd+DzUfk1u/CZ0 IE5YiyYxBy5pkFuAuNo5wHhq25SVIe58MP5Ry62abf1ZZD8BsWwN/S9Dst3L+A/teMPG AMOQ== 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=D8Oa30r6OJWgD4BNl2NAw5Zb1o4/gwJzHODykNxpU8v7fmh1G1+IqxnXPqAkz5Z4RO QYzZiK0943jegBRETSUneIjV5yPuoSkx/sJNyFg45lNRAx8XCaTeMaX6e8OE7vPMf4vv abQIh+aBnl9koPWYMRuXOysXj/02dXvVvJdmj/eaWrBGRPyj+I7uQx1iaqQEMRHqo5jW I6nmKcQXdzW7RLgpmXChRT1tWVkP3G7TU1EDP+Ou4yLr+qczCKgvhAYFk5dgKExuf0kr E5lNQoxznEOGkihkf2dtkddYyw37Doxs9iPFXBP8HM54Wul+OLdfuzUH9Agi10S3eO3m aITQ== X-Gm-Message-State: APjAAAXG22IwRdiToehZcKFu8iBQ/DicEUf7yoxS/Z6mNlUyhevE2ONn EQz62tjFr/4P74dtZQblIN8= X-Google-Smtp-Source: APXvYqyyd3PZUV8lPG0zWsqVsz5SNpdDjh7xV3aWAQkNiuXXvaMocqOTw1pYCTR4qThphBMnLW2HcQ== X-Received: by 2002:a1c:f413:: with SMTP id z19mr2205565wma.145.1558909554617; Sun, 26 May 2019 15:25:54 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:53 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 10/10] arm64: defconfig: enable IR SUNXI option Date: Mon, 27 May 2019 00:25:36 +0200 Message-Id: <20190526222536.10917-11-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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-20190526_152556_668058_AF2F16B2 X-CRM114-Status: GOOD ( 12.04 ) 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