From patchwork Tue Jul 24 10:15:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10541789 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 AADD7112B for ; Tue, 24 Jul 2018 10:16:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98D282874A for ; Tue, 24 Jul 2018 10:16:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D6C42876D; Tue, 24 Jul 2018 10:16:45 +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 4FA972874A for ; Tue, 24 Jul 2018 10:16:45 +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=AQFg9IXmeDKSMtv6ySKuI3IHO6OTLU1NkLowCJ0ATSU=; b=dL8 VSNeaF3XaxHVgUsU6fEStp7f5aH12oE2Tpkbftd2vM9H5QUgTkluUMQDhSnXxLWjnTFs98di3Kqcl 7TbsGxRV89wxu4QeSt82oXuM87q2dnKGFcw+175lQmp6KPPJ3a5m1GHinyx46iNWcRewzysNz+G3L xLgcSTiHcoRYRVYedA2x1sjdLLrh0hc8xU57RfYnt/0UH6gPA5fmPgYqSDhUw822i1UMFYuzJ1UUR ZQy/lmfNnFxGOQY+myH4SfLmi72wUTcNQOCYMVGPdjqtDf84ixwQTMJSt2uFncBkhdeDAia46dgSU DIrbfdZ2vY2qJgeowpI87oDOysMPNyg==; 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 1fhuMx-0005jx-ME; Tue, 24 Jul 2018 10:16:39 +0000 Received: from mx2.freebsd.org ([2001:1900:2254:206a::19:2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhuM7-0004xS-Uq for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 10:15:50 +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 E51B0888D0; Tue, 24 Jul 2018 10:15:34 +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 1B090892AF; Tue, 24 Jul 2018 10:15:34 +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 DF27812AAD; Tue, 24 Jul 2018 10:15:32 +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 v2 1/5] arm64: dts: allwinner: a64: Add SID node Date: Tue, 24 Jul 2018 12:15:18 +0200 Message-Id: <20180724101522.68165-1-manu@freebsd.org> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_031548_030775_DB690C51 X-CRM114-Status: GOOD ( 11.43 ) 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 on EFUSE (starting at 0x200) and three registers to read/write the 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 Tue Jul 24 10:15:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10541785 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 A842A112B for ; Tue, 24 Jul 2018 10:16:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94B652874A for ; Tue, 24 Jul 2018 10:16:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 87E242876D; Tue, 24 Jul 2018 10:16:04 +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 466222874A for ; Tue, 24 Jul 2018 10:16:04 +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=yuikDi50sqcZjQrD2H8Ip9FLxqS1wi7b2A6eTx5z2GQ=; b=RzeF9Nfozbhm02hBw9rNNgiyTz 1hknT2P3AjZYgjh6zYuhA+sGPC4WXT15OhNkaDgWh2S9013s6YF36PUbLcel8O1mOshK0nXYjTtaj MTCXBS8y97Rm57quuD9Wd7KOveKC7TimOG6eR9bhFtHhoHWn0FR8NBDf21oHnfGzagwFr2SYVkr7A A+/xNc0zPQhijZFMKGiuYADoXDck1Nuk2uKllutnnPbm3Azo/QhwZPxUepC1lkSqLZWzat8RJvbKx LZd7N5Nr+19ZWL3r6Av1L19Sz/WT+fUSZzHjwsGJevULDx0Ot84X4apJ7Euch9r2QKM++FLRTbP2e gvZZgXPw==; 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 1fhuMJ-00059z-8Y; Tue, 24 Jul 2018 10:15:59 +0000 Received: from mx2.freebsd.org ([2001:1900:2254:206a::19:2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhuM7-0004xT-Up for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 10:15:49 +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 A5B58888D5; Tue, 24 Jul 2018 10:15:36 +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 E2117892B4; Tue, 24 Jul 2018 10:15:35 +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 B762212AAE; Tue, 24 Jul 2018 10:15:34 +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 v2 2/5] ARM: dts: sunxi: h3/h5: Add SID node Date: Tue, 24 Jul 2018 12:15:19 +0200 Message-Id: <20180724101522.68165-2-manu@freebsd.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180724101522.68165-1-manu@freebsd.org> References: <20180724101522.68165-1-manu@freebsd.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_031548_030793_2D04C673 X-CRM114-Status: GOOD ( 13.19 ) 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 Both H3 and H5 and a SID controller at the same address. They are know to be different, the H5 one is the same as the A64 so add a node in the common dtsi and we will override the compatible string in the SoC dts. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index c3bff1105e5d..2b3c629644a0 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -644,6 +644,10 @@ status = "disabled"; }; + sid: eeprom@1c14000 { + reg = <0x1c14000 0x400>; + }; + uart0: serial@1c28000 { compatible = "snps,dw-apb-uart"; reg = <0x01c28000 0x400>; From patchwork Tue Jul 24 10:15:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10541783 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 2D0D8112B for ; Tue, 24 Jul 2018 10:15:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B3FF2874A for ; Tue, 24 Jul 2018 10:15:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0FA242876D; Tue, 24 Jul 2018 10:15: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=-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 948C12874A for ; Tue, 24 Jul 2018 10:15:56 +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=SmcDWvLNTzNDHtznMfbr/Av1o+tnBYPba2vBVbUbMvw=; b=XSUbbp6yd4PL8Jgm7cgZuXpf2I OS2MxC+KIQllhT6LP3x8ByTN/ARpTUVJSK5Louge1FB/1zuBeCQ+USP84gTqUtYFvMA3lHqNQ0226 Fl+majDj8E+vi4t7qqr3MizpvJEONkr6swg6qUfW4rOupg7OjDALOx17icg5j8vVl53/z12YIo40L J0cuDOJZd6OgWp3N7kPU8a18xQ2pJhVl1uFe2XUcirgJeuCl9NF2PJaVkbWXMdPN3sOkr18m9a8Zx AxnwO0NGJu0HEo4il6K3bPHrav/gMPYvQPJ5DJtZ3ENuLSXVisy3TLEAQKJsxMsjhUxAdEA8oHoB2 4bltL8Ug==; 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 1fhuMB-00050V-9N; Tue, 24 Jul 2018 10:15:51 +0000 Received: from mx2.freebsd.org ([2001:1900:2254:206a::19:2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhuM7-0004xZ-Ur for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 10:15:49 +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 608A3888D8; Tue, 24 Jul 2018 10:15:38 +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 A733A892B8; Tue, 24 Jul 2018 10:15:37 +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 626B512AAF; Tue, 24 Jul 2018 10:15:36 +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 v2 3/5] ARM: dts: sun8i: h3: Add SID compatible string Date: Tue, 24 Jul 2018 12:15:20 +0200 Message-Id: <20180724101522.68165-3-manu@freebsd.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180724101522.68165-1-manu@freebsd.org> References: <20180724101522.68165-1-manu@freebsd.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_031548_024800_026DAAFB X-CRM114-Status: GOOD ( 11.98 ) 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 is one of it's kind (at least from what we know). Add a compatible string for it in the SoC dtsi. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun8i-h3.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 41d57c76f290..f543aa1dc829 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -185,3 +185,7 @@ &pio { compatible = "allwinner,sun8i-h3-pinctrl"; }; + +&sid { + compatible = "allwinner,sun8i-h3-sid"; +}; From patchwork Tue Jul 24 10:15:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10541787 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 865A714BC for ; Tue, 24 Jul 2018 10:16:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74B5F2876D for ; Tue, 24 Jul 2018 10:16:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6892D28775; Tue, 24 Jul 2018 10:16:35 +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 1F5E72876D for ; Tue, 24 Jul 2018 10:16:35 +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=p7GMn4spPoXzpQkCokxT5pp5RwOmGVKxFTbBLANNYzI=; b=GVd08nlqSiIuWvggfNZNq619Rk uSVmv1on8DGiTtz01aif8FzjNTSg3m1lUOeYeftEYFWC9or8cH4sHKq/3uCqJood8oJa4VLSrQM9U GsVLy9QaO9+SmBCP8N31t5Nt1cVAPAV8eX6hcZQWBh4gvzm8pBJkDrfbhgjk6JwTNxPhseXYgfnts gd5nVWgpqiCXKclWexn/UG47RNzz3lmwEDIAHK0RbL6Kz2uxDwXwiIFuHl45aDsLj3MjzMe4X4T21 Z2ekyiPgYntvFI+AM985TUrli6lPpmKseam/sIJNfIFxvRdizecwyR9512LbntDwHTk6dFLuZrmfO 9SaIfTog==; 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 1fhuMo-0005ZP-5U; Tue, 24 Jul 2018 10:16:30 +0000 Received: from mx2.freebsd.org ([2001:1900:2254:206a::19:2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhuM7-0004xl-Un for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 10:15:50 +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 11E57888DC; Tue, 24 Jul 2018 10:15:40 +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 4E98B892BD; Tue, 24 Jul 2018 10:15:39 +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 23A8912AB0; Tue, 24 Jul 2018 10:15:38 +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 v2 4/5] nvmem: sunxi-sid: add support for H5's SID controller Date: Tue, 24 Jul 2018 12:15:21 +0200 Message-Id: <20180724101522.68165-4-manu@freebsd.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180724101522.68165-1-manu@freebsd.org> References: <20180724101522.68165-1-manu@freebsd.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_031548_023859_9D2E07A7 X-CRM114-Status: GOOD ( 12.27 ) 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, but in case we find some difference in the futur at a binding for it. Signed-off-by: Emmanuel Vadot --- 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 Tue Jul 24 10:15:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10541791 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 F1D00112B for ; Tue, 24 Jul 2018 10:16:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCF9C2874A for ; Tue, 24 Jul 2018 10:16:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D146B2876D; Tue, 24 Jul 2018 10:16: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=-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 0EC352874A for ; Tue, 24 Jul 2018 10:16:56 +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=BgltFGf5sr5c8GYMj1wnAOkSgBtAR8+g28wZKK20Qyo=; b=EHNJLRr3QDdvlzfpy5k6Hs/6K1 9DhNmpkEvEMGZdmSYW/xIPXW/GxlP4tF0nDNd5JR+v6p/mgwJMDHKk8HMkm6pg4CtSwMPoCp4Qt2q oqqf2+HCBjMm2AixDvhTv64AcYKLx9xs3Lupcbe7GddMDOe20gmlSIdIZ58C1wzFYB78d81Nl+hTz kLnAdXrJv5liCMMy0DgBrC6VjvH3dMmtX/AjTySrFycaSmMG74VfNPZV1tz8qqLlKPqJas2PlH+NA gdtKY4XM7RsTsAJ1ofLYTe8rk/EAganc/NyVikBvAc+3yVb+umeDm2OnRUrpGMjkf4o0QVmoFNTwL xS6RKqhA==; 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 1fhuN9-00060C-Ot; Tue, 24 Jul 2018 10:16:51 +0000 Received: from mx2.freebsd.org ([8.8.178.116]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhuMC-0004yS-L7 for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 10:15:55 +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 37962888E0; Tue, 24 Jul 2018 10:15:42 +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 E4FCA892C2; Tue, 24 Jul 2018 10:15:40 +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 BA99B12AB1; Tue, 24 Jul 2018 10:15:39 +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 v2 5/5] arm64: dts: allwinner: h5: Add SID for H5 Date: Tue, 24 Jul 2018 12:15:22 +0200 Message-Id: <20180724101522.68165-5-manu@freebsd.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180724101522.68165-1-manu@freebsd.org> References: <20180724101522.68165-1-manu@freebsd.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_031552_933508_69CD18FB X-CRM114-Status: GOOD ( 11.69 ) 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 H5 look the same as the one present in the A64. But in case we find some difference one day at a compatible string of it's own and a fallback to the A64 one. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi index 62d646baac3c..28183bf77164 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi @@ -129,3 +129,8 @@ ; compatible = "allwinner,sun50i-h5-pinctrl"; }; + +&sid { + compatible = "allwinner,sun50i-h5-sid", + "allwinner,sun50i-a64-sid"; +};