From patchwork Fri Jun 7 23:10:50 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: 10982929 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 78F9976 for ; Fri, 7 Jun 2019 23:12:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 646FB28AA0 for ; Fri, 7 Jun 2019 23:12:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5876328BED; Fri, 7 Jun 2019 23:12:15 +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 0F58628AA0 for ; Fri, 7 Jun 2019 23:12:15 +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=mowwNvSqR4DIDekoiTzrtvZRWyKuOBcWCri7F+QkrXQ=; b=Aq4xlnIp42mbZC lwu0tOiZ61kF2nDGzcwpxqejIExFxiONjMqcUDzlZT1xi9QaQXrINVZ7i7Zf4nXB5Kz8B8zwkLwkE GyVpMFTn1fEvqJUp+W29kj5yMqT/IpZnpbCMsjvwt7UxnG7TS3dbhNcIp0zLGqg8LIb3/nY9jhrwO H+L1iI0clpNi+5dnkeUFo5JrX285AZ5k/V1m5ZNqWgMkR8Lli0wXtYKp13qYG5dMdUpayNiMkRta+ 6mHEvjq5thL0vFcttRayyZTazvcHEY0EupbnUSymDqNkisKSA2CFZic5GCtvE2rKvYRXbme32q1Ez hYaD8dH4UJUdQkZHlPFg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hZO1q-0001pm-DX; Fri, 07 Jun 2019 23:12:10 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hZO0v-0000vX-SE for linux-arm-kernel@lists.infradead.org; Fri, 07 Jun 2019 23:11:15 +0000 Received: by mail-wm1-x343.google.com with SMTP id f10so3503350wmb.1 for ; Fri, 07 Jun 2019 16:11:13 -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=Lol1q6oip3iAiLWaqttTm7yI5iUN53ws0ToXRxpRMt8=; b=oXRJCsXeB+er7f3oAowCoBA9MPGtd+CYB5T7BUiotF8B1kGDp8+d9K1KqzKfdShrhO EzsDwPmv15ztStk620DR0HwNFQEcBix+D8fW3lgCK/kjelJcdZ/eyufnEQ9SFEp7CQqF QuE6sW786uKiJbieQQjXWNzalxrGmb9Sa9/EKROMwFL5KJ7KRaYKt98DNX0BBiCKclf6 dQQcURi/LwIl9gKW+MYByw1F1CKHTOwEH07eQSwhwRa9olW4UVH7aONLVNvsuaeIDtyf Z/Ejf4KPicB5vziOFFhqeruDnkIrNbB9sd66bqwTYwzRvOXLPpzQfirCvfY+m1slayQf aaDA== 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=Lol1q6oip3iAiLWaqttTm7yI5iUN53ws0ToXRxpRMt8=; b=YWXP0n7MQ2poZORK18D5BhAgXCWl0GbHOXpzrh1RJ2xHtwPRkVovOJrcGhWfZ5Pshj MlPD3S1ZHqNIcHJ3vaKN7lXpaqs9rT8wW25hxUUdJerbD17y04pXDt7IWpMzo2JBMhTh +EjGOrSSQtW1B1AiEZ/8hYRPrJ+Q66Rb1qeUXi6fTI3JOVlVm0GSpUqetjO6cFrYud15 xF1HMBDPjhquDcb1joJNZHFZ4D9QJZmq670JlomNGXm6A7zEs4pDbicZqkXx/ERRWL2p 4PF/rxF/RAQ+XMhoPlASKva+rgZQ8evzPhGMt1LLTh5HaKOOoa4xjhDNs/711Z2BF0vI 0uYA== X-Gm-Message-State: APjAAAXv3etqVgz5S3SVKJql/r7++ImtmKhGZJGJ+B2wu/KB11FmPZiN fN2BV53w7sP027IpvasSLsE= X-Google-Smtp-Source: APXvYqztHS7XCrwAZuxX3MKe/AIl2WKNXYx30cRsf1SdkQ5dTVEjbyQ1ZNptaV+f9m3ZRJVuntO8Aw== X-Received: by 2002:a1c:c282:: with SMTP id s124mr5382313wmf.141.1559949072272; Fri, 07 Jun 2019 16:11:12 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id h84sm4108559wmf.43.2019.06.07.16.11.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 07 Jun 2019 16:11:11 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v5 03/13] media: rc: sunxi: Add A31 compatible Date: Sat, 8 Jun 2019 01:10:50 +0200 Message-Id: <20190607231100.5894-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190607231100.5894-1-peron.clem@gmail.com> References: <20190607231100.5894-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-20190607_161113_933859_1D05D97C X-CRM114-Status: GOOD ( 11.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Sean Young , 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 Allwiner A31 has a different memory mapping so add the compatible we will need it later. Signed-off-by: Clément Péron Acked-by: Sean Young Acked-by: Maxime Ripard --- 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);