From patchwork Fri Jun 7 23:10:48 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: 1112365 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IjBjOJm+"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 45LJG05RP9z9s9y for ; Sat, 8 Jun 2019 09:12:24 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730286AbfFGXLL (ORCPT ); Fri, 7 Jun 2019 19:11:11 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45336 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727933AbfFGXLL (ORCPT ); Fri, 7 Jun 2019 19:11:11 -0400 Received: by mail-wr1-f68.google.com with SMTP id f9so3613729wre.12; Fri, 07 Jun 2019 16:11:10 -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=fSxZI8EC5PtCV9rMqk5b6iP4sZNex2jHwm6j6LayujA=; b=IjBjOJm+fMtl+k47Jb+MoI7wK6zNUwAp3Xqv+mnEqlvbZVa1s4gRP7ABh634VkaW6I PoWRcLgeCNzkqym0sy0T52hCYiWifkIzGqWXc6BKmrEym83kNcyitLbxXRcEmU0OeMHG 4buJOpicNyA7ww6YJkl3teBb8vwg40V8pEngLQSRRdSvm0D2dHzJt0vmgPVnRFkRVIQ+ ixRYXERNbuXC0kUsfitCT1TIBoiCI0dreXZ5FJnyHpo7CBn1zWaQKhPrNpMf+B79fdYG nldVaVLE8PD0dumalfgk2/FL8gbiheUGV2GTFTKUlp70ERRkxCvZDAHnqJ+4GGMtXH9v 2cEA== 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=fSxZI8EC5PtCV9rMqk5b6iP4sZNex2jHwm6j6LayujA=; b=PoEET2I/Qs1MKizCEdtrGwpnPvyuJxBn05Fw2MyyE+korQ247UQP6wKl5cUFkoc+2E ZvOshZA8SLSpG9f3Rhn7dp08ia3tHZF3IPGyQH2qc2iCX7DXYWmsKOJ56nyJtYNSA2WP vh1ZfXSxhxSuZJe+iwJLLfnwb6YdeJ5owk2LeWFDkXGvxfN7MitVFpTyYxHNmHL8zfTf i7emIhQ961wdfUpGRi8jSFivu1a9wOVKpoF8eqSMlpeZd10pu4J3Qq7XIrPSzD2rJl4T kNPoE/3ehQsPHzvID5/D141aznI20DzipkgxlGP4ru+HOcfqwFYgW8ZK3Ftdp6KnKYhH m9YA== X-Gm-Message-State: APjAAAXTf6vKMMsywZa/43/R5GI4h4TxDjVmqJXHCQlIlMt2jplLBQNf 3tcY1DdXr9kvUAlcahLdHPS3pCOxeaM= X-Google-Smtp-Source: APXvYqz/xMBVF7B54pr7kQTSNoBThGB1ZrYt6kSdD2qCIyzse+KpGDY3fYfN5JJH/fw+HZ3+9eUtQg== X-Received: by 2002:adf:ff84:: with SMTP id j4mr8597734wrr.151.1559949069714; Fri, 07 Jun 2019 16:11:09 -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.09 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 07 Jun 2019 16:11:09 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , Sean Young Subject: [PATCH v5 01/13] dt-bindings: media: sunxi-ir: Add A31 compatible Date: Sat, 8 Jun 2019 01:10:48 +0200 Message-Id: <20190607231100.5894-2-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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Acked-by: Sean Young Acked-by: Maxime Ripard 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 Fri Jun 7 23:10:54 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: 1112364 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="D1taeFuK"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 45LJFR64wCz9sN4 for ; Sat, 8 Jun 2019 09:11:55 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731689AbfFGXLS (ORCPT ); Fri, 7 Jun 2019 19:11:18 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45340 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731535AbfFGXLS (ORCPT ); Fri, 7 Jun 2019 19:11:18 -0400 Received: by mail-wr1-f68.google.com with SMTP id f9so3613891wre.12; Fri, 07 Jun 2019 16:11:16 -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=zMV7ju67dnALzanKXh4JjC//iaUgaVunyZA1YYfWVI4=; b=D1taeFuKpCeBaakZK2JwO1C7JIOUxjBNTYJw37vy8WucA2FDWY/rutXj/Qpw0AjJy0 VBvMIEcqseMpghp7l60/6XYSARUTqS1r8y748t7abeL/nUGz+bkQCML250KaoDSlacUL 1lgvYSuMrdaLNylilrM6CiNyQNt5V1udU9RO2iGKVLgUWOd3sbN1KWhyeRxJlupFSe5h HVt5KZ6OsyqnjPa/cptFB5mmOT83rN/yR+2h41ZkJ4yWd5BSZc9QifvpSygjcAD63py6 PTvqI2rGwGIQ99gbJ/rndapD+EwIjPn2mwbOjYxF5C5lDmOEwMHQGJhZkeCqDwBJaiJA AWeQ== 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=zMV7ju67dnALzanKXh4JjC//iaUgaVunyZA1YYfWVI4=; b=TSYHxceDN1o6YKsIopYSUlu4GjoPoAAtBq6PXU72IttJ912+/y1S4zOW3+56E38cJW bB1dEFMQe7fvy+5JZMgyvjfbT2sbLW4vJ9bwDEqeiEJVMT/wcj4gNwyXI2N3YR4AtHz9 amvWrfJzEwZLx3i7f3vWrRVoZaKSQz0vfWjKoI1ur1D62TBos7gNeQKy5lmPP+Nylvl7 1T0neQptWFCBzMh219FjiNESvOBg8n9G0uJYfHwQ/RyVRMHWXwIQyZknTALRF7B68TpW jnEcdzHWwHnjmbwhfd2/7Z3e0JEfGCefX9JGfhYLlLR3l1SqrTUA4QFA6wEvTwTu9v7f 4+dg== X-Gm-Message-State: APjAAAUtZwPxFZINrIvI4IENxLjXreeCB+WAmGjRw/c9xzi0Yo0kQMWH uX2mdDFsNUlunGJSOOP7UQk= X-Google-Smtp-Source: APXvYqxYMEndAiQdGKsc700CrHbdzz2vLIx6Fq//z6TYlZ9joSLtaGD3Pk68PpctIHwk6bcRFCWzTw== X-Received: by 2002:adf:dd82:: with SMTP id x2mr11606520wrl.27.1559949076178; Fri, 07 Jun 2019 16:11:16 -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.15 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 07 Jun 2019 16:11:15 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , Sean Young Subject: [PATCH v5 07/13] dt-bindings: media: sunxi-ir: Add A64 compatible Date: Sat, 8 Jun 2019 01:10:54 +0200 Message-Id: <20190607231100.5894-8-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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Acked-by: Sean Young Reviewed-by: Rob Herring --- 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 Fri Jun 7 23:10:57 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: 1112363 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="sybVLoJi"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 45LJFK6gc9z9sN6 for ; Sat, 8 Jun 2019 09:11:49 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731735AbfFGXLW (ORCPT ); Fri, 7 Jun 2019 19:11:22 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:50868 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731700AbfFGXLV (ORCPT ); Fri, 7 Jun 2019 19:11:21 -0400 Received: by mail-wm1-f68.google.com with SMTP id c66so3500587wmf.0; Fri, 07 Jun 2019 16:11:19 -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=PqR/4nQ0kMEXVQlzSnSXdJ4vrq0kGPr980mhH5i0djg=; b=sybVLoJiDJnW343uwPnsM5S0HNjMSLDL48ncmZRtj7mgfrBAr3I0s4Hs0qLIJPzFww /4xhK8BD+hIPhr4i0Fv5ybyRCGXQesuCl6NKAiI1BCD4B2hq+fc6tud+WvAoLwitIrdP tabsUlT1/0VQQu1XwWxGPdeaxzH4nXCBg48RUWfCBFpCcYNvEY2aSq2oIN0kU2YX/3Q/ gEr/xVMF/Tmqju9DJAXw3QdP9o85u7cIdhsG/yAdU8F8CJ8ehvhg0VYhZEL8ZbwmX1kE O3HxxS93luXNkfMiRqX3X8Iwx+wC9ZFck1P9WiEjMLjkok7zXoo+xG5vRhev6XxbTnF4 Ez+Q== 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=PqR/4nQ0kMEXVQlzSnSXdJ4vrq0kGPr980mhH5i0djg=; b=GDjYvs0fI8LPMhyiptnLmhqzCaeKjnhNz7CsUXDr2Ol32j56lMQcZ2NzY5Igctx7Qi WgzMa28/5Sj6QThSHvPe5kgPd33vwebrmlykV3CLCMHC0fqWzEPSs3CwwAkr9W66/H7O z4wmHpVVDWCeFm3LE/H/aUz84XnjTeYUJc0O5gQsw+7GBrS+M9ZRvzMT8wXRbRxTHlOf NSitXxhAWUbGnwBCGKwEHHsaAe6VEi0XvYrluaDz9UtTyzKTT2Ss/UtffLEfYIa5/NdT YlYVBGU2U2wYvjYDM75RrBVHl+HEsbM/5FG0pUKE4yTiiEU1xtyM4iXhnaDnVkQxSlG/ LbPQ== X-Gm-Message-State: APjAAAWjVVb5k4gtL2KwkcCXjsBqs9ytRkB9Yv1KMfO4ZaEDA5j5aIl8 kCBU7wXzmtQASNFL5cb09To= X-Google-Smtp-Source: APXvYqzCKM/QhWEqfR073eumDXe5BXIfBA3ismSGYlRmD88R5qIgkreKWQ2hlT9fpfbTa8GVbAMSWw== X-Received: by 2002:a1c:6c08:: with SMTP id h8mr5514087wmc.62.1559949078962; Fri, 07 Jun 2019 16:11:18 -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.18 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 07 Jun 2019 16:11:18 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , Sean Young Subject: [PATCH v5 10/13] dt-bindings: media: sunxi-ir: Add H6 compatible Date: Sat, 8 Jun 2019 01:10:57 +0200 Message-Id: <20190607231100.5894-11-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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Acked-by: Sean Young Reviewed-by: Rob Herring --- 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;