From patchwork Tue Apr 2 15:45:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10881893 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 BCC9E15AC for ; Tue, 2 Apr 2019 15:45:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A36DE201F5 for ; Tue, 2 Apr 2019 15:45:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 970012868C; Tue, 2 Apr 2019 15:45:36 +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 2EC56201F5 for ; Tue, 2 Apr 2019 15:45:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Mdb7scPnIewwKNF42ROs2SmeJF+O9pgjHWntBfb4HH4=; b=WIksl32LUNubhs+lIdKSzr1pMM neijEuqGDEyJJIbjGdFw/e2V+IAoPNdowas8aiTrUob8OGJH4HqKj57dFvmp5mpu5Rkp7/Q5TfxWW SwcFOHVkIrS21G7KbQ/EPG3SppCWZC+9pwz+iJ1jjBHmDiKRJ6e+/hjIDVyuMSGsBo948zhHhTcEn yTEB26bGqAD+xeaPLU3WYjV9XXBFIH5x+3VUz6qrtGY0W3qT9TMSzxon7fkWBOLEtWI98Z1LUYLXI oLtjPiE6y0Aid1HV7/r0qpwZ3SMSnUCpf+IKraqV9a7sKTKPUP4ZuGtUCMUo6W7JmNrSPQN2qd9Y8 Y1dFP9nw==; 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 1hBLbN-00037n-Ug; Tue, 02 Apr 2019 15:45:29 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBLbH-0002z2-KY for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2019 15:45:25 +0000 Received: by mail-pl1-x641.google.com with SMTP id t16so4592773plo.0 for ; Tue, 02 Apr 2019 08:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Q/E3+JmOJdNiQHCEoucXmrhRai0CKnVHGQ34PFUCFXk=; b=INHLAsVqbSFRC+HHBJfGXoh4WSlnKkIqQtxFLSgpHWOnoby1QaJ520s565koSBtuX8 dkb+R1zQ910pkEDFkN7jHOtI/BqvDFd5e9sL5vcQje+DcJl+OLqNqgXFiaf9S6zmEf8c Nsplzb89D7nDsyf8o0LcDBUH/GEcdmrAhmisH3BBft03HcGev6szSMbQNshuhhBo362u NeTeL5B1YDGkjvidBlwkTrhjnwPG01n+HPq+tGrLT/EquHrIhtGyftXKzdzlB+lA/xAc +LhTGtRuXAPdA3ULRgSnUWpVM3+A6yHMW+ehgDSSQKIuUlMvZ8yAnP6A5t3we03kOmoK YosQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Q/E3+JmOJdNiQHCEoucXmrhRai0CKnVHGQ34PFUCFXk=; b=ii95aAofSziJcoRI9jQVSl4s/3C+UJ6GaLWhbBT29oOYqX4iKMofW2Cd6eTQ3aNvtN +2VloISPAUIWXLnDJBoKQ5CkyyPNx8SnUozCFkXFAHoBA0V5VeOUA2sVdN/BDmEWS6rt TLXCY4P/P7wWtLyE3HqtAdRkILH+ch/czfFw2LykMc+rpqMSl0NihKLJroYYCkjCXAMn xHey3h2dk4kZrlIlcqeVBHPkvQ8r1xRVs3hlmJDa2CBt0Dp1JofGxh3Vz4sEOlhRoMX4 bSy8Kc5B+nqEvSSqOM4tac4FOpqxfvKUnopELHE1iKuVEVf91HyqIpt1LghAM4pmB13p vC5w== X-Gm-Message-State: APjAAAUGNfnf0sw2eSUTkj0G1QkBi0z5Gf6/XFnL6ANosSQND6vYLpF5 4kzTcmknTYoPksVX2ov1ojE= X-Google-Smtp-Source: APXvYqyDHUYgcw9us/4BcYwFd84wxTNbC/bCnJrAipaqkazRmUhwQ8g7ZvOwDO7hw7imGpp0uYtpzQ== X-Received: by 2002:a17:902:8bca:: with SMTP id r10mr61030560plo.67.1554219923054; Tue, 02 Apr 2019 08:45:23 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id p3sm23535885pfn.167.2019.04.02.08.45.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2019 08:45:22 -0700 (PDT) From: Yangtao Li To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org Subject: [PATCH v2 1/5] nvmem: sunxi-sid: fix wrong description in kernel doc Date: Tue, 2 Apr 2019 11:45:10 -0400 Message-Id: <20190402154514.11284-2-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190402154514.11284-1-tiny.windzz@gmail.com> References: <20190402154514.11284-1-tiny.windzz@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190402_084523_906835_F12755AA X-CRM114-Status: GOOD ( 13.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: Yangtao Li , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP qfprom->sunxi-sid Acked-by: Maxime Ripard Reviewed-by: Rob Herring Signed-off-by: Yangtao Li --- Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt b/Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt index 99c4ba6a3f61..d37017e343b1 100644 --- a/Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt +++ b/Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt @@ -12,7 +12,7 @@ Required properties: - reg: Should contain registers location and length = Data cells = -Are child nodes of qfprom, bindings of which as described in +Are child nodes of sunxi-sid, bindings of which as described in bindings/nvmem/nvmem.txt Example for sun4i: From patchwork Tue Apr 2 15:45:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10881895 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 4334C13B5 for ; Tue, 2 Apr 2019 15:45:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2AC002015F for ; Tue, 2 Apr 2019 15:45:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EA3C27F90; Tue, 2 Apr 2019 15:45:44 +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 D0A1E2015F for ; Tue, 2 Apr 2019 15:45:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rDnfo3tLQaG0KK2uzcqYFiOZF1oG8UZfFPmoWoJYrI4=; b=Ys94XYE8TppOMwY3yAx/8YNqlP YXZKKcXgLPq21ftxAo+l1GjesW6EGy49tj5wtC9ChM0lMuRDoh775jsDpDhIdYoUrk6IpU7SlL6Gp QtYsjfLVqEW0Eex0B/tYhWsoKrNjXKsrwMI1N/+sPQfl6hTnrvtNdnUMnbi/amjE7V0CqjXg9ZkFI A/S+8ftr/A+LkwN315WyJ0JNKIqhDU/Ef7BeTGIFVwzT3xbOf3iuqnRgqeTTCFdZfxh8Udud88BJA eM0xwLzmqpflQJ72AinfYmUtmhQN2p00ns3UKjxSYYd6y/B1630DymUKXV/sKGWky9fRbo+eQe7PZ vc15Gvaw==; 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 1hBLba-0003QW-59; Tue, 02 Apr 2019 15:45:42 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBLbK-00032N-04 for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2019 15:45:29 +0000 Received: by mail-pl1-x643.google.com with SMTP id m10so6468029plt.10 for ; Tue, 02 Apr 2019 08:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GzZzQIgj3RszPn4/9fcOligwHylEZB1ISYK+0RCbrKg=; b=APn/dN0t7d6tuR4v3MkmWYYMNexo+pC2bR38AyO0fbOXvPatHODfJGySaGkLeb0H9w V2F2qMoPwRIAgEc05SKeD71ZIhMRqZB2D9y5I8aHGyjMt9GdKYYKIZNaVRRYvieScbwX a8IkmTLsPXvpxoFz6wmhMiFAnKYTynct4oOhSulDPjn9/URFTx9ZBEh9tWeSeLlVzlXi 90OaZwvPYMdIxhGt0GGBf1fem+dJTfs9jtARIFiJMbiWV017eRCnK1xlNXr8liuAFcM6 eDy7c03pYtooVgNPVq1gGw9ogaUSWpwDxdUcHeVIf0jNpsPih3RHVJmaARYUjfZBdR17 Kp+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; bh=GzZzQIgj3RszPn4/9fcOligwHylEZB1ISYK+0RCbrKg=; b=br+b37eikek8tPVDHWMVcr8LyL8/b/iwXyusluxKpLgBcAItTw3ok5ACB/frTwsz9v a+OKPgifGZaF/O43AkeAQSWWNu8tbGV7PtmuGfPFzA2CgHMvpjAo0ozWEM8UJFSH2SOA HKhjj+6S1Q7Y39saY0GRwUs5iAbr0st6PBRIXGUJagOFS5lnbIc66oMeqh4Fr1hSrScI fbttY5ka+yV1/PewYPcSbVqUz8BmUd4EvlCfSsqcRGp2GTnF5lefnfZLWLz0BpwJJy1c SlAmzzYQqzCOEXCfLe5F9l7iCyYNtemKWYi2322XkFlVxSE3aRL+1/AlDddi1jfd7O1N 802A== X-Gm-Message-State: APjAAAUH6s9YC+iTNtB05+9wP8dJrMIrZBoUl0JIJT10VAu6SK+lV7aM 10bluEXYdYPksbJ+yDITGQA= X-Google-Smtp-Source: APXvYqxpED15tYdUkEAQeoxxYv6q1rXaL6jbCRuCTA9th5fKhKMFqSUwL0ZnwAtbYlHm+2ukmfwsYg== X-Received: by 2002:a17:902:1122:: with SMTP id d31mr36972838pla.29.1554219925381; Tue, 02 Apr 2019 08:45:25 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id y20sm1112939pfe.188.2019.04.02.08.45.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2019 08:45:24 -0700 (PDT) From: Yangtao Li To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org Subject: [PATCH v2 2/5] nvmem: sunxi-sid: add binding for H6's SID controller Date: Tue, 2 Apr 2019 11:45:11 -0400 Message-Id: <20190402154514.11284-3-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190402154514.11284-1-tiny.windzz@gmail.com> References: <20190402154514.11284-1-tiny.windzz@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190402_084526_470802_0B117B46 X-CRM114-Status: GOOD ( 11.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: Yangtao Li , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add a binding for H6's SID controller. Acked-by: Maxime Ripard Reviewed-by: Rob Herring Signed-off-by: Yangtao Li --- Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt b/Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt index d37017e343b1..cfb18b4ef8f7 100644 --- a/Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt +++ b/Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt @@ -8,6 +8,7 @@ Required properties: "allwinner,sun8i-h3-sid" "allwinner,sun50i-a64-sid" "allwinner,sun50i-h5-sid" + "allwinner,sun50i-h6-sid" - reg: Should contain registers location and length From patchwork Tue Apr 2 15:45:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10881897 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 CE15613B5 for ; Tue, 2 Apr 2019 15:45:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2C172015F for ; Tue, 2 Apr 2019 15:45:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3EF127F90; Tue, 2 Apr 2019 15:45:57 +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 1E7222015F for ; Tue, 2 Apr 2019 15:45:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Qc8Do4ypDk0GmBn05baaWvL4+PFoP2mEqlQ5dMMGxz8=; b=PfX67WF4Jwl893FvaYjt7ZEvgT wVfv9NDMUNtDrB5aZqXJNIXvbAHmofVvER1UjUbzKsg9Iyo3Z/HAD/9t6cDtD7+H7gw3gSa+CNcza q91HuqhmLHbl1n+TRThf4cnYN2n4277I278Ikj0YccLQ6Ixxh98hZyuXhws+WGgYCBLySs2TOAiif pTJytJk78542ZzE9FLo28DL5vMgIYa9radDWrfwJvAeVj/pKQFDv1FPbDavP+nZa1xR9MdmUqLHo5 RK9HJ1etsyVyHYgzNphIUOgBXJVOCgNoRypkUF5lj2huPhNAoZBUlko20mDlmRznCeGorsPkZV2/d 0Yn3oWRw==; 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 1hBLbn-0003fI-2k; Tue, 02 Apr 2019 15:45:55 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBLbM-00035w-Cp for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2019 15:45:33 +0000 Received: by mail-pl1-x641.google.com with SMTP id w24so77902plp.2 for ; Tue, 02 Apr 2019 08:45:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RuAdNiK4G8Qqo5TwmjxGhbMJlztb3V/aCnDWI43Lc58=; b=FfYkhCBpQGCeVxjzVByhi5fptKvA9UQBYui7XVjgEji4EZZ2pMkpMF5mK+8LTMD6p3 xYZ0I1VdoG2cnkQOfYNm5vYZye7eJuPtRDkKfv/Z3Hk5aKa0zhC7gjruAOjuDukaMWJR pwcAlqiI+pgjwIGZYs9ZXOYkQOw4VCRVRgywzrBAoxFug8BLZTx8DjuGB83be5ZzLre2 DlTcFa8/IkCB62YnLeKuZxO8UbdUFe8PGkYrNzmTS2DIVj5mrE6y05b5rI97oZB8bxd8 8dQHk2Tq2k0HcADTml/cR4hv4zvO7zOPjB8AfqHb9LwOzIY7GltuYYRhTItTO62z0BjQ J8GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RuAdNiK4G8Qqo5TwmjxGhbMJlztb3V/aCnDWI43Lc58=; b=balDvIFvmSS3xvCAiheMDiIrJZymqAe9jsMEBesK+AMm1bg//5SusZGyLAcEsZSOC2 25hBwdOuXne1/cff1uytQdtHSwALRLSs3pNFB4XdtsjTEK/bjKFfRPEFNBoCv4gBbfRl aWF0IKWOM250+ka0XbzoGzwiACXk7yfW2wfaALJhFXCluTR395naoxUzzI51z8jcNR6t h2xAZCt6ksaKiAtEkm9Oa4WdH4VkbXd1AFjbcgyopIQFzQZj9vECsF+VwHldgl8IpkTH jj60m4HmkX+sQGtCVioOl6WmBSY9eGjzh9hmUos6D1NoLmm3ZUvzcclQnltP8CspUiFO de7A== X-Gm-Message-State: APjAAAV2HBYL4xeBPeT0E0qywNU9whcBsxlCXWrrhLNbDSG/2yvUOFjR L6oFF3KXaO2QH9GM/mzNOqlhvwj0nWE= X-Google-Smtp-Source: APXvYqxL2WQoiuUb2u0kWYvuuHaiaeLwgdlNbbtuyuLRR1bAUifCiuQRsBKTRhJVlap733oG/OmyZg== X-Received: by 2002:a17:902:2927:: with SMTP id g36mr43162839plb.57.1554219927729; Tue, 02 Apr 2019 08:45:27 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id o76sm39421316pfa.156.2019.04.02.08.45.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2019 08:45:27 -0700 (PDT) From: Yangtao Li To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org Subject: [PATCH v2 3/5] nvmem: sunxi-sid: convert to SPDX license tags Date: Tue, 2 Apr 2019 11:45:12 -0400 Message-Id: <20190402154514.11284-4-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190402154514.11284-1-tiny.windzz@gmail.com> References: <20190402154514.11284-1-tiny.windzz@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190402_084528_977645_BF9DFF76 X-CRM114-Status: GOOD ( 13.26 ) 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: Yangtao Li , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Updates license to use SPDX-License-Identifier. Acked-by: Maxime Ripard Signed-off-by: Yangtao Li --- drivers/nvmem/sunxi_sid.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/nvmem/sunxi_sid.c b/drivers/nvmem/sunxi_sid.c index 570a2e354f30..54620d72ddb9 100644 --- a/drivers/nvmem/sunxi_sid.c +++ b/drivers/nvmem/sunxi_sid.c @@ -1,18 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Allwinner sunXi SoCs Security ID support. * * Copyright (c) 2013 Oliver Schinagl * Copyright (C) 2014 Maxime Ripard - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include From patchwork Tue Apr 2 15:45:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10881899 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 8EE0615AC for ; Tue, 2 Apr 2019 15:46:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75374201F5 for ; Tue, 2 Apr 2019 15:46:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69C1A28691; Tue, 2 Apr 2019 15:46:14 +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 1BA38201F5 for ; Tue, 2 Apr 2019 15:46:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=HQvDGXpKsR21nptr2doCHKQd3A45x0Xqa35LTZQ/l4s=; b=EPX2cXzONcie0GZkl5T9XG63fn zL0wkOVmAbySWzSJL2GynqAtrHqERarrNoZsKRLY79n+/STT4ea3k/qf1U5wRUR7dWTwQYheQeCaS XsxxeimWaOdmOCY+hDMhsfIYrnsiKhAxNmWz7yy/VfuoeM67Aj0nDaK5b8ku5fbtxaOPOjXPsu9ru 56IlHxVYLoKSbO8NyV4paMMrAsLwEEoirAPGVIOkbmnL5/rZ2aVZW84U9JdefhWJKYejfkcU50V34 fskh4NTM7R1JKkrcwFbPLKgfwfLV5n8K/uBo5Yn5JVVnYfuLTJ6DX1k4+S2O6Nk7mUVDuEO3kl0lY 8xUnwA3w==; 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 1hBLbz-0003xB-4g; Tue, 02 Apr 2019 15:46:07 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBLbO-00039I-FI for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2019 15:45:35 +0000 Received: by mail-pg1-x542.google.com with SMTP id q1so6754592pgv.13 for ; Tue, 02 Apr 2019 08:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FFFTfhLy6qm86XkOlWp4trauKJ3kmEOKlYTBp1fQxws=; b=INw0CMrzVrJK43sbFU90adMOEfRQdJ7SSyQMJT085qwwHrmKvQRCo1bnsTQ7SxApFB UjYDfxvmAOK8OSTxYuUupWlMdUiKMr1KFfPVDB0GaImbqWdnyD3F2dLRymS4Vart/kQS LdfBbrOSO6VnHM7Ayq49MzS7UC9bf6ZmoBlvBnLmVMrPqW0k/B8+gsVq+JwkvEGYa+KP OZXPJ2NWj8Y6FWc6SPskYqw/UUxWLEwlzjs08rxzCDKko7Gvpe+AtKwTy8riUUUy3j53 3i4p9E0Uc3PMZBVNmnDewsNdwel/HqHULnjxmcXx5rb93mwL08NEmMAHzCowRMSphvCj /AXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FFFTfhLy6qm86XkOlWp4trauKJ3kmEOKlYTBp1fQxws=; b=dkdyvynGTgkwOJYEefvskTDWI6T8kFhRkmCqXPjDdYbtCXZeVRh1oevED0fAE0DOyw ayzfUB9ri2H9N64yq/tPGElRC3Jnvylh/j6JyJfVayx4LFZQqft74tuKWzAtXvGHdIZ/ bWa++iKt3dY9llPH18wh+5ZhN09YBZw3JghllNtZcavQdY4SbfrX2QtqzW62s8JxNMzo R8AKjE9A9L6gPMAuNe/YFsbVHfyxKs62KLLH1P0ilvkxHp6234At70kLzcOug8mcwdyD ju5P8AmZKwsuyOKAgby9ast3gARaYq1sEBCn9L/roh+exCApGmdq/KsZzxSKLJFbAnPD p4Ug== X-Gm-Message-State: APjAAAW8d33+dKfJKlkLPCr7CfVK11S6xohUcJcYK2jDOtP1mRkUKdJU 3j7dzCIaxOBNXCLCAwmUniI= X-Google-Smtp-Source: APXvYqxEgsK3I3Otq75CIGSEIel6eEaHkxfxeAj6w3Ia6+3PNLwlv5E4uR0MSw6wtkFtWDoWbETZjA== X-Received: by 2002:a63:e70c:: with SMTP id b12mr67787121pgi.399.1554219929754; Tue, 02 Apr 2019 08:45:29 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id s5sm15986916pgv.8.2019.04.02.08.45.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2019 08:45:29 -0700 (PDT) From: Yangtao Li To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org Subject: [PATCH v2 4/5] nvmem: sunxi-sid: add new reg_read func Date: Tue, 2 Apr 2019 11:45:13 -0400 Message-Id: <20190402154514.11284-5-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190402154514.11284-1-tiny.windzz@gmail.com> References: <20190402154514.11284-1-tiny.windzz@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190402_084530_841803_10BD4D09 X-CRM114-Status: GOOD ( 13.78 ) 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: Yangtao Li , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Because there was an endianness issue. It seems that reg_read function which the nvmem the driver currently exposes is wrong. So add the new read function, the new function is used when the native_endian flag is set. Signed-off-by: Yangtao Li --- drivers/nvmem/sunxi_sid.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/drivers/nvmem/sunxi_sid.c b/drivers/nvmem/sunxi_sid.c index 54620d72ddb9..5b8a42f686cd 100644 --- a/drivers/nvmem/sunxi_sid.c +++ b/drivers/nvmem/sunxi_sid.c @@ -37,6 +37,7 @@ struct sunxi_sid_cfg { u32 value_offset; u32 size; bool need_register_readout; + bool native_endian; }; struct sunxi_sid { @@ -75,6 +76,31 @@ static int sunxi_sid_read(void *context, unsigned int offset, return 0; } +static u8 sunxi_sid_read_byte_native(const struct sunxi_sid *sid, + const unsigned int offset) +{ + u32 sid_key; + + sid_key = ioread32(sid->base + round_down(offset, 4)); + sid_key >>= (offset % 4) * 8; + + return sid_key; +} + +static int sunxi_sid_read_native(void *context, unsigned int offset, + void *val, size_t bytes) +{ + struct sunxi_sid *sid = context; + u8 *buf = val; + + offset += sid->value_offset; + + while (bytes--) + *buf++ = sunxi_sid_read_byte_native(sid, offset++); + + return 0; +} + static int sun8i_sid_register_readout(const struct sunxi_sid *sid, const unsigned int offset, u32 *out) @@ -169,9 +195,12 @@ static int sunxi_sid_probe(struct platform_device *pdev) econfig.dev = dev; if (cfg->need_register_readout) econfig.reg_read = sun8i_sid_read_by_reg; + else if (cfg->native_endian) + econfig.reg_read = sunxi_sid_read_native; else econfig.reg_read = sunxi_sid_read; econfig.priv = sid; + nvmem = devm_nvmem_register(dev, &econfig); if (IS_ERR(nvmem)) return PTR_ERR(nvmem); From patchwork Tue Apr 2 15:45:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10881901 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 EB7CE15AC for ; Tue, 2 Apr 2019 15:46:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2EC32015F for ; Tue, 2 Apr 2019 15:46:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C77AF28691; Tue, 2 Apr 2019 15:46:21 +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 7A7652015F for ; Tue, 2 Apr 2019 15:46: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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=WxxL+KZGrY+HU6OgJAMA0d6NbR9rgJQOs4hTB5WT7Uw=; b=uzyoYWmjqnPu5QcUBj4RDdVWie FwOZ1kTAIzJsSUFjKsbnER4E++OlljxRXB7km3/k94koOnTqbjuf9DTMSDc7bS06kftzcz45w/wpK IhUpvTP3SZ4NddA4tBrb9dPClCBSCTyWulApRbCQPt3PlEDF9IKhgOLKPYVlq79WfQxvUrYtNFKyu avZNyZ/7SUXKJCc9KNUMGKiZeCllf9iFltJq55uxj64+AA1WX2Kc0obgVntiutPyGNj09YT/V3+Hw H7krkjSpct0jxjThWcysIpEAvJHJADG+t1/atmWVO11vwJ7nJ2hoWDG4D45WIShVgw7+Of7Jxj5u6 safY9Byg==; 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 1hBLcB-0004Ck-H6; Tue, 02 Apr 2019 15:46:19 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBLbQ-0003DY-Gg for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2019 15:45:38 +0000 Received: by mail-pl1-x644.google.com with SMTP id b3so3491783plr.7 for ; Tue, 02 Apr 2019 08:45:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4uxe1E1Jb0575SpiiJ17Oop6Mb4b8piqz0TyUf0UhNE=; b=dHnkxw+zt1qMfDqgs5Tgi1zG8zRT3UXIBPWboHI+1N1IAar6nxyLJb7JMZkBHKbgsq cgwxqxcyNNiA9iTfVZzu9Murf/x/mgrQ83cRfJJ+nCx8Dhdp1anQu31oKAddiJHAzX4n RwWg9hxgpi2I9kKZezbnMqT9uaBRSv3e85Vwj/AiXUmQwAXberJyIejKszjOqMGUqIkh r2dcsoa8uZhw6od9Yl3L2PumO7TX/x9E2I7srErtZf/q0tkSH8wE9z+gYbDn+0OLfSOQ R+LAa1hcIJtr3JnngYNJikwSbirX+VodtBMnoL21kmNhWZYaTX5OLoSuuSsXB2OJFMje mJUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4uxe1E1Jb0575SpiiJ17Oop6Mb4b8piqz0TyUf0UhNE=; b=PnBdijgtGRPZjda5dWk7xQQ6Hk7P4HkzH8eUNMxmCPy7sHI2Zei6k//sou9Wh/wd3V NZTEzg/KmXGmbWMvHsthwKtmYHyMFwONri/Mu+or9yaTolvDSzwxQTnMIZQeKCT9X2PG iGRiXQARHHR0KEc7X0rTfUsCjssdqczzaDfbkfy1JeTcdeGhIp2Q/DZ67KV06GzTnm7B xQzEHrBqeT8uKM432FDLXmqU0pXzTy0tvPeyg78C0oysqrZ2VxZryc5RzkTESMB4XAgv WXVC9Pwd7pboviDpT5y/B7YGJmRznE6uD4Or68u5o8oz4EOg3xSG0W9La7kDGKI69nuR iafQ== X-Gm-Message-State: APjAAAX9h/Y3j3MkpW0uaMOYIl0rbkhAjEJYqFADvce1++0DeEUESwXi mBmdlQ2dTYvm/7aFzjW853E= X-Google-Smtp-Source: APXvYqwgs9WaStI+ri79ooYvBjDhMOBr4FvLWlSmupOMhTUFD+Puuv9W9xTRVyCi5zTTk4spgd8e6Q== X-Received: by 2002:a17:902:681:: with SMTP id 1mr72236656plh.31.1554219932029; Tue, 02 Apr 2019 08:45:32 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id y20sm1113222pfe.188.2019.04.02.08.45.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2019 08:45:31 -0700 (PDT) From: Yangtao Li To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org Subject: [PATCH v2 5/5] nvmem: sunxi-sid: add support for H6's SID controller Date: Tue, 2 Apr 2019 11:45:14 -0400 Message-Id: <20190402154514.11284-6-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190402154514.11284-1-tiny.windzz@gmail.com> References: <20190402154514.11284-1-tiny.windzz@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190402_084533_170301_ABA499B2 X-CRM114-Status: GOOD ( 11.65 ) 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: Yangtao Li , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for H6's SID controller. It supports 4K-bit EFUSE, bigger than before. And convert to use sunxi_sid_read_native func. Signed-off-by: Yangtao Li --- drivers/nvmem/sunxi_sid.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/nvmem/sunxi_sid.c b/drivers/nvmem/sunxi_sid.c index 5b8a42f686cd..3c2b06140490 100644 --- a/drivers/nvmem/sunxi_sid.c +++ b/drivers/nvmem/sunxi_sid.c @@ -239,11 +239,18 @@ static const struct sunxi_sid_cfg sun50i_a64_cfg = { .size = 0x100, }; +static const struct sunxi_sid_cfg sun50i_h6_cfg = { + .value_offset = 0x200, + .size = 0x200, + .native_endian = true, +}; + static const struct of_device_id sunxi_sid_of_match[] = { { .compatible = "allwinner,sun4i-a10-sid", .data = &sun4i_a10_cfg }, { .compatible = "allwinner,sun7i-a20-sid", .data = &sun7i_a20_cfg }, { .compatible = "allwinner,sun8i-h3-sid", .data = &sun8i_h3_cfg }, { .compatible = "allwinner,sun50i-a64-sid", .data = &sun50i_a64_cfg }, + { .compatible = "allwinner,sun50i-h6-sid", .data = &sun50i_h6_cfg }, {/* sentinel */}, }; MODULE_DEVICE_TABLE(of, sunxi_sid_of_match);