From patchwork Fri Jul 27 11:52:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10546991 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 8A0581751 for ; Fri, 27 Jul 2018 12:12:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7829D2B844 for ; Fri, 27 Jul 2018 12:12:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69F432B84D; Fri, 27 Jul 2018 12:12:13 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 02CFB2B844 for ; Fri, 27 Jul 2018 12:12:12 +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: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:In-Reply-To: References:List-Owner; bh=wlucORYBjQqfF8YLlOcayIk9a6snOABbjOwMLgF5tcQ=; b=iD9 S84fdOXqjG/i19WHdmwQTOreMFLvTGOVSO0cpIYEnmPJPd3l+TJD54LQI3EBWpbaAZL+bWsbl+49/ 5RTGT7EWB1iG7UrjBnkESn8lU8R63emOS0mWOBtM1T9tqrHnNi+oV6aW30tsQE2wEuUVq/rXV6EcB Gb+RGdtA6/vIw1xRvCZdvVE7KYumirb2NJ9sFNhub2n7oLh11YnvC2FIbaZerF3jQjli87z9IQoXJ zGjIqbIbY0rTOvdHF7HXUEMi+w0WjMySqssiftlHleKjRyxzdORE9acI/L/xNCK5mmz0uFkZpbZhA XqIsWWm93aFjBCtGY3GGp7tql53gaXw==; 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 1fj1bN-000676-In; Fri, 27 Jul 2018 12:12:09 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fj1XB-0003KL-L9 for linux-arm-kernel@bombadil.infradead.org; Fri, 27 Jul 2018 12:07:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2zUOad0436WKafQza8UriBQDIEo6NOc9+xgYrH6isys=; b=qrKxGzKNlmQc29b5LWtMr5drQ UvIeKfWmPP4rignZE0zlNW4IzS/EXbpCwfM1e2ktoWdUe1QZgnAIeaXNbEkGklgzv+wvH50mgZ2ZB hjs5ti/PxasbqbLclxHJzqS2UmAQBf5G9gdm2CyjLzYFuSbcemllV68xwJJQrA+y8dy23IhIWmY/C AnsQmLC9/Z8XjXR0XDi24jAM7LUK6i56Ssm2fteoKCAyzrfU6fzf1vdavQgTxL0dXcV1BtiP202fh jiKJbnQ9hPKlmuriBLuWSa1jJIkGeEEeA/c+U5LCbOg02f986yHx+cJBKvJfY+C3AFLhmmUjIZLhz y4+mrZpog==; Received: from mx2.freebsd.org ([8.8.178.116]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fj1IK-0000Wa-6R for linux-arm-kernel@lists.infradead.org; Fri, 27 Jul 2018 11:52:30 +0000 Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 5084666287; Fri, 27 Jul 2018 11:52:13 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A381870F43; Fri, 27 Jul 2018 11:52:12 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: manu) by smtp.freebsd.org (Postfix) with ESMTPSA id 78CB2EAD1; Fri, 27 Jul 2018 11:52:11 +0000 (UTC) (envelope-from manu@freebsd.org) From: Emmanuel Vadot To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH v3 1/4] arm64: dts: allwinner: a64: Add SID node Date: Fri, 27 Jul 2018 13:52:02 +0200 Message-Id: <20180727115205.20955-1-manu@freebsd.org> X-Mailer: git-send-email 2.18.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180727_125228_403883_D95A7C38 X-CRM114-Status: GOOD ( 12.20 ) 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: Emmanuel Vadot , 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 The A64 have a SID controller which consist of EFUSE (starting at 0x200) and three registers to read/write some of the protected efuses. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 1b2ef28c42bd..69c0d9362553 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -227,6 +227,11 @@ #size-cells = <0>; }; + sid: eeprom@1c14000 { + compatible = "allwinner,sun50i-a64-sid"; + reg = <0x1c14000 0x400>; + }; + usb_otg: usb@1c19000 { compatible = "allwinner,sun8i-a33-musb"; reg = <0x01c19000 0x0400>; From patchwork Fri Jul 27 11:52:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10546951 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 B897B112B for ; Fri, 27 Jul 2018 11:52:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A75C32B7FB for ; Fri, 27 Jul 2018 11:52:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B0B72B5D4; Fri, 27 Jul 2018 11:52:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 0397B2B7FB for ; Fri, 27 Jul 2018 11:52:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type: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=DXGp9ZKfkWpPFwqswJP4sg+1I5MA1pZsrYdCAJmqLFc=; b=do2qEVV2A6ZLZR4Z31L2FevU6J hRTLg+oGdD+TKUB/R8MXj/EfCET7RFy++O+Fd5yIXKv+/OzIRw2Bw64vDqgEbIQCGqc2P+DZoQ1Sg fkxoAPUZ6xJjGqGnH2A83Xonc/psY9XMAvQp0hzrnZpymMHka4mobirU1wAtJmN9CcgxTEJVtvAsr CYeNc2K3HVDFunu5imkNj4dux8SBcQJ4WjQDsflS9jzEtmKXGTRj8VTkr3iP3cvGz9GPNWZfdsUBD zjdUcTwlUdaZxxSI6zbDE9ixlvHt+KcWid0txQXQygon2BpPqSBKBHrHGGxOTIUE93Nwqblm4/KOW EXMk8Yeg==; 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 1fj1IQ-0005nt-Sm; Fri, 27 Jul 2018 11:52:34 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fj1IP-0005nG-Hn for linux-arm-kernel@bombadil.infradead.org; Fri, 27 Jul 2018 11:52:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=N1rpAhw1KmzwrgNV48VJiTYBB9s9jUFQbWMUosDZQxQ=; b=Mtgxr1WSEZxCr3zYmc766Iuz7 /Udtd0W8fNNh+52+pwN8jeRUvpc0bjSapSff7JsKjdkvMVwSu4NQyAxr8woSbI2A4CG5l+837gg5W BM6YAWkZ0ha76xZ3844GeSJT9r6Zf3v2h8Id3ncEFDyIGQ+2Afcza0J0CGxfTD57/kv+ckzbPAnus eVp2UscOkAmvvJlMoKxVH2UddIVRNg6ZtaCwY3bmIpAfPHLd7Bu8fCUN64D2N2nJyRUgKRUGy3wYi LvptklGJHGu6CjlKuPGyqtX3KmwFcCHre2r/Fc9IifSXUjACgMT/PIOxP6VZyTE/jwMM2q5CXytMw gynJm+PUA==; Received: from mx2.freebsd.org ([8.8.178.116]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fj1IM-0003RF-DV for linux-arm-kernel@lists.infradead.org; Fri, 27 Jul 2018 11:52:31 +0000 Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id AB69066289; Fri, 27 Jul 2018 11:52:15 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE68570F4D; Fri, 27 Jul 2018 11:52:14 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: manu) by smtp.freebsd.org (Postfix) with ESMTPSA id C3A3BEAD2; Fri, 27 Jul 2018 11:52:13 +0000 (UTC) (envelope-from manu@freebsd.org) From: Emmanuel Vadot To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH v3 2/4] ARM: dts: sun8i: h3: Add SID compatible string Date: Fri, 27 Jul 2018 13:52:03 +0200 Message-Id: <20180727115205.20955-2-manu@freebsd.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180727115205.20955-1-manu@freebsd.org> References: <20180727115205.20955-1-manu@freebsd.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180727_075230_526216_943812FD X-CRM114-Status: GOOD ( 15.28 ) 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: Emmanuel Vadot , 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 The SID controller on H3 already have a binding but isn't present in the dtsi file. Add a node for it. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun8i-h3.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 41d57c76f290..614e2c2154c8 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -111,6 +111,11 @@ }; soc { + sid: eeprom@1c14000 { + compatible = "allwinner,sun8i-h3-sid"; + reg = <0x1c14000 0x400>; + }; + mali: gpu@1c40000 { compatible = "allwinner,sun8i-h3-mali", "arm,mali-400"; reg = <0x01c40000 0x10000>; From patchwork Fri Jul 27 11:52:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10546969 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 743B1174A for ; Fri, 27 Jul 2018 12:08:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 626B62B835 for ; Fri, 27 Jul 2018 12:08:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 567032B83D; Fri, 27 Jul 2018 12:08:17 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 0442A2B835 for ; Fri, 27 Jul 2018 12:08:16 +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=spqF1JiCAXD+qMa6DzkOUBMnfMSrzmOItkKXxsYjboM=; b=KbyU2o2IICxZ8O8YqKTvlNVZ9P +lzKNtMz55biIioh4SRSU90+e1+sKy+luVJim2ZgT0C2reV5UKqvZWM072Eh9cN7pzX1L1R3i7ZFJ JJiZN1SHMGqew9iCqXoem8XYF/HAGxCRsT5LLGeRFoafk7rcSTmUx/zWm/01mcgd87k4k63f0WSW3 BlBt4ADQOAy5gQbRcIgnRvqpG0fEwlRceOLlazs+/bQUB8jvDoDLwCYbEebBaoAhKN6wkQHfAPRcH 1UvaIbRg+8PNirgM4QvfRpIesoDvnGWhVr7pMTRiGM8j/DOFnCqJ5BEMHE2e3YnZYiJG0I99oc3tQ ExmYodLA==; 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 1fj1XW-0003qX-Ik; Fri, 27 Jul 2018 12:08:10 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fj1XC-0003M1-NV for linux-arm-kernel@bombadil.infradead.org; Fri, 27 Jul 2018 12:07:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mVdafq3mGSGRvrHoGcKvA2PKNCsiXDGeDtMa0jk5hUU=; b=DAe/80BvUQw1OtqZ3A4gMpcBp SUhO9iHGDYK/ZUzT8+tl3NmxQTWCNJIFOcy/FfnCj+cDfalE3MoCAhPl71hsHb3Rqb1JtIW3QdRTx F1zzaaPNyCVsOxh61YUytftiC+S6MIzDu3jQ2FYxoWrrSaZ5rzgkl4j/r8fMlj/nwnpCUZfPRcbJf NgfHQHkzI6Okgw/pN0ySnL1aSjv+KbTY4HijCQyGvd+jl1ZGY8OY12ABC6nffXD4t+7rgLYY3AIQ6 /FJNVz/AOW27OhV+4/7EYUK+gV2/IIDbaxG7lsEKeMF/t6T1TeKStvAeRm6pXN0v7FPeMDIv7Dve0 OE0QkLL6g==; Received: from mx2.freebsd.org ([8.8.178.116]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fj1IK-0000Wi-6S for linux-arm-kernel@lists.infradead.org; Fri, 27 Jul 2018 11:52:30 +0000 Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 5A0576628F; Fri, 27 Jul 2018 11:52:17 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9843270F58; Fri, 27 Jul 2018 11:52:16 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: manu) by smtp.freebsd.org (Postfix) with ESMTPSA id 6EFADEAD3; Fri, 27 Jul 2018 11:52:15 +0000 (UTC) (envelope-from manu@freebsd.org) From: Emmanuel Vadot To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH v3 3/4] nvmem: sunxi-sid: add support for H5's SID controller Date: Fri, 27 Jul 2018 13:52:04 +0200 Message-Id: <20180727115205.20955-3-manu@freebsd.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180727115205.20955-1-manu@freebsd.org> References: <20180727115205.20955-1-manu@freebsd.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180727_125228_401765_109189D3 X-CRM114-Status: GOOD ( 13.36 ) 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: Emmanuel Vadot , 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 The H5 SoC have a SID controller that looks like the one in A64, the cells are in the same offset but doesn't contain the same data (thermal sensor calibration for example). Add a binding for it. Signed-off-by: Emmanuel Vadot Acked-by: Rob Herring --- 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 e319fe5e205a..99c4ba6a3f61 100644 --- a/Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt +++ b/Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt @@ -7,6 +7,7 @@ Required properties: "allwinner,sun8i-a83t-sid" "allwinner,sun8i-h3-sid" "allwinner,sun50i-a64-sid" + "allwinner,sun50i-h5-sid" - reg: Should contain registers location and length From patchwork Fri Jul 27 11:52:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10546967 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 EFBF3112B for ; Fri, 27 Jul 2018 12:07:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC3282AE23 for ; Fri, 27 Jul 2018 12:07:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D05D52AE28; Fri, 27 Jul 2018 12:07: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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 224A52AE23 for ; Fri, 27 Jul 2018 12:07: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: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=LIPetX27oWWDR2NA7JtMFezr+YcUawNZz13ie9y2X4U=; b=W9+cyQucDnpGwKq+NRBXb9yq+T utulk3KEbUB/H1J6DYmHudxrKbxtlpYXmMKB52PtErJoFnD0h7+/edNu1RlWiQkVYCugz9tAVrwtG +mbyCR1bnu4eHRo6S18+BmrB0zRNBiTNjObEXJ0aatHF/gx/arCs6EHiU+WmELydpw08m6wXBYjDl nHsftOXHEXf/1UGPHg59bpXwexhlVLCuswU+BSq+4MuiDfMvu4fSaSoY1+qqjCFc/90OURqpKtds/ wAav9pZpm/7yLz6h10YQYsWbcyYkkKZRo28LK8cRTAFIqBx93D0gBzbEhaA4UaxiZFdMAXdd1mU7G slVDNXfw==; 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 1fj1XC-0003V3-KA; Fri, 27 Jul 2018 12:07:50 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fj1XA-0003KL-Ko for linux-arm-kernel@bombadil.infradead.org; Fri, 27 Jul 2018 12:07:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jGZKjDfNhBxUyhAovySLwjyZmO0ZIGsJjZ0CeoRMTaU=; b=uG+ciD29+PmoYreUUMbWILfom YXEHtvSNqzFXAc5va4f8NYZXJ/HU9lYrc8CiaXa32QbZwzJL882H38r+WycswNfhWd9iDUvwz8caK 3sNKxSYA7kr14bz8VVcue5sOoLnIkCVr5+U6Mz6gM6PRPpGYgOKzQ1jyDb0LdDVK8/frYnd9W1pGh szPWxTZ0aEPVi7/4c87/r8CIDjFxHc4xU18YYxtc/gsrEn/MhVlTbdo+oy6Q+jYPio6gWjiIxBFhh 1NJ1TFeGeTvexTu/0uTGoF+z0Ictnnez//2sTNkMI9x6240fhK1Eqizu6N18UskipLGu1XejEZRn9 KREAJHiyw==; Received: from mx2.freebsd.org ([2001:1900:2254:206a::19:2]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fj1IM-0000XD-BY for linux-arm-kernel@lists.infradead.org; Fri, 27 Jul 2018 11:52:31 +0000 Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id DBB9666291; Fri, 27 Jul 2018 11:52:18 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A9E770F5D; Fri, 27 Jul 2018 11:52:18 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: manu) by smtp.freebsd.org (Postfix) with ESMTPSA id 00925EAD4; Fri, 27 Jul 2018 11:52:16 +0000 (UTC) (envelope-from manu@freebsd.org) From: Emmanuel Vadot To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH v3 4/4] arm64: dts: allwinner: h5: Add SID for H5 Date: Fri, 27 Jul 2018 13:52:05 +0200 Message-Id: <20180727115205.20955-4-manu@freebsd.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180727115205.20955-1-manu@freebsd.org> References: <20180727115205.20955-1-manu@freebsd.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180727_125230_549355_C52D5FB6 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: Emmanuel Vadot , 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 The H5 SoC have a SID controller like the others Allwinner SoC. Add a node for it. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi index 62d646baac3c..9838acaeea58 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi @@ -92,6 +92,13 @@ ; }; + + soc { + sid: eeprom@1c14000 { + compatible = "allwinner,sun50i-h5-sid"; + reg = <0x1c14000 0x400>; + }; + }; }; &ccu {