From patchwork Mon Jul 23 10:42:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10539883 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 C8AFF112E for ; Mon, 23 Jul 2018 10:44:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6AF82856A for ; Mon, 23 Jul 2018 10:44:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AAA1E285CC; Mon, 23 Jul 2018 10:44:00 +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 5753B2856A for ; Mon, 23 Jul 2018 10:44:00 +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=Qzu H70S1djmg9m6jOm8HkikSvp0WU41gnYzFWx3Qf4kLt0parTvbRgVjbQNhAMtu704Ifq9QxNUY5gn+ 9hElIvJYZZW31I8yL26aUhxvIDnrJPiuGNP+BDsX0z5bZRNt6INpZvQ5aDbdayZLIJpz//Imr5kN+ iiGtZuBOrQ5VbKgTX6AUbaKidVBEGCyAgrwlEykhD2OqatHdBXhhARV4gSmc4t1pcq2Hid6no5rRo vtuxZbfo+Aiq5rQELudpmLGzBttPl/nvoHPfBPO23O2SN9BWbURbfiewEchXsxWudEV7hdIcwG0n3 g+UN1SJkryBsXuF0Ub1lIyXvOWS0fmw==; 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 1fhYJl-0002Ji-P7; Mon, 23 Jul 2018 10:43:53 +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 1fhYJa-00028X-GJ for linux-arm-kernel@lists.infradead.org; Mon, 23 Jul 2018 10:43:43 +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 7DD5C6ECA9; Mon, 23 Jul 2018 10:43:28 +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 B568276301; Mon, 23 Jul 2018 10:43:27 +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 8511F9B91; Mon, 23 Jul 2018 10:43:26 +0000 (UTC) (envelope-from manu@freebsd.org) From: Emmanuel Vadot To: maxime.ripard@bootlin.com, wens@csie.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, srinivas.kandagatla@linaro.org Subject: [PATCH 1/4] arm64: dts: allwinner: a64: Add SID node Date: Mon, 23 Jul 2018 12:42:52 +0200 Message-Id: <20180723104255.94244-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-20180723_034342_540936_3CA068CE X-CRM114-Status: GOOD ( 11.34 ) 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 Mon Jul 23 10:42:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10539881 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 8BB34112E for ; Mon, 23 Jul 2018 10:43:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 794EE2856A for ; Mon, 23 Jul 2018 10:43:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B472285CC; Mon, 23 Jul 2018 10:43:49 +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 EEE002856A for ; Mon, 23 Jul 2018 10:43:48 +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=WXAxjOx9GL10tH4dvJsgY83gG5 qFAih3A9HW0Rb71iAZAW8u5tI4LLZjILmy2xT5puJ75fygGgdtbjtXo5ayXYhNKioMlBDHNZZojzO +/Q5XvGRjYp6ReIC+6f5ptHVnc4J0meDpCOWsp4pk2Mp5C99dRIbnFB7Gvc5m/I4eIW5DALVnjgFP yMRC5HHOCugvwobnS6EUTrhcNxzYzYL1UCJniZzj7OCftTNoi2cmqxfjapUoWWY8e+tBexndthu0k 0A79cktYqV7exD3Pu04NUKUM9FHUlNhfCDrDKJvOle2r5C9vvHbimiQcGAxBycFMnToLIVgNCWrBl eKGwAegA==; 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 1fhYJd-00029j-Is; Mon, 23 Jul 2018 10:43:45 +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 1fhYJa-00028b-Fp for linux-arm-kernel@lists.infradead.org; Mon, 23 Jul 2018 10:43:43 +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 16CFF6ECAB; Mon, 23 Jul 2018 10:43:31 +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 554AC76304; Mon, 23 Jul 2018 10:43:30 +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 2ADB59B92; Mon, 23 Jul 2018 10:43:29 +0000 (UTC) (envelope-from manu@freebsd.org) From: Emmanuel Vadot To: maxime.ripard@bootlin.com, wens@csie.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, srinivas.kandagatla@linaro.org Subject: [PATCH 2/4] ARM: dts: sunxi: h3/h5: Add SID node Date: Mon, 23 Jul 2018 12:42:53 +0200 Message-Id: <20180723104255.94244-2-manu@freebsd.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180723104255.94244-1-manu@freebsd.org> References: <20180723104255.94244-1-manu@freebsd.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180723_034342_538935_1911F1E5 X-CRM114-Status: GOOD ( 12.79 ) 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 Mon Jul 23 10:42:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10539885 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 C9CF4157A for ; Mon, 23 Jul 2018 10:44:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B69A12856A for ; Mon, 23 Jul 2018 10:44:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9D9A285CC; Mon, 23 Jul 2018 10:44:28 +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 8DE7B2856A for ; Mon, 23 Jul 2018 10:44:27 +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=KoDQW6Ng7coWGhj3CgbAupqpD6 vRIZBkuUfDY2R3VgsCT/w616Cigr6HfimLiOmoNnLpholNGwy4Q6kwcbb0EODHXE3VN8D3uH5x02F 1LQYa6iANLJGxNO++Uqs9E1jERHWxJAt8ZQYBJwmRgtiVXvpzG/J8SznPfk7Jz4fGVoQuo3gOoFcP PjHif2zmMhStXZISkfQ7ee9j/UjoD9k4ir2c/yFD0GOzBBmsYKXKGThL6OczGvYw9AKUuHlxGioky 7HcFyFo1MtmD98m2/+IbCyQXTkm7hD+3df+H94uXdErkTmyxnbM4PmNYK6IX0amS8jcxZ8z58ZqTI 8/EbUWeQ==; 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 1fhYKG-0002kq-15; Mon, 23 Jul 2018 10:44:24 +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 1fhYJd-00028l-Hz for linux-arm-kernel@lists.infradead.org; Mon, 23 Jul 2018 10:43:47 +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 E94A56ECB0; Mon, 23 Jul 2018 10:43:34 +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 2B9787630A; Mon, 23 Jul 2018 10:43: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 DD66D9B93; Mon, 23 Jul 2018 10:43:32 +0000 (UTC) (envelope-from manu@freebsd.org) From: Emmanuel Vadot To: maxime.ripard@bootlin.com, wens@csie.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, srinivas.kandagatla@linaro.org Subject: [PATCH 3/4] ARM: dts: sun8i: h3: Add SID compatible string Date: Mon, 23 Jul 2018 12:42:54 +0200 Message-Id: <20180723104255.94244-3-manu@freebsd.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180723104255.94244-1-manu@freebsd.org> References: <20180723104255.94244-1-manu@freebsd.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180723_034345_696653_7DAD0E77 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 Mon Jul 23 10:42:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 10539887 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 2C434157A for ; Mon, 23 Jul 2018 10:44:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 192582856A for ; Mon, 23 Jul 2018 10:44:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B3A2285CD; Mon, 23 Jul 2018 10:44: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 9BD382856A for ; Mon, 23 Jul 2018 10:44:38 +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=bYgIqWXytx7ThgdnitO9+mcSUIxsxvDbpxd3PbZMItg=; b=SirA8XXD5pYiMZE44OEbICZGr2 7hPsDiLlgmH85nwUUZ4956jw6/ySyIERvBEnuwGR6+cLE84ozhJUR2k8dmd1+y0KX9mpYbCeU3gU7 3a9K+ySxdyXWqD3V+CrhfA3QXwPUCBHD4QwG01UiWq3nfTOIECjQnsKd+nNgRJTVIRGH46FOrHCUF K3THpAvLj9XKlvc7VbmE9oPI8Or1NfDPlJ/wKJ+CnfRKe/LRIxuYhXH+CYqN7IefpC6naGPPJ97O7 yhUx2Y+qqryPccjvHZ9sItf4zWO6z1xvW0aNU8xHbEtDv88yl2YMw1ZNtrhw979tHs9TDLlIPrqKv 9+fuCACw==; 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 1fhYKQ-0002vr-45; Mon, 23 Jul 2018 10:44:34 +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 1fhYJd-00028o-I0 for linux-arm-kernel@lists.infradead.org; Mon, 23 Jul 2018 10:43:48 +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 14CA46ECB5; Mon, 23 Jul 2018 10:43:37 +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 0D2F076310; Mon, 23 Jul 2018 10:43:36 +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 D74039B94; Mon, 23 Jul 2018 10:43:34 +0000 (UTC) (envelope-from manu@freebsd.org) From: Emmanuel Vadot To: maxime.ripard@bootlin.com, wens@csie.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, srinivas.kandagatla@linaro.org Subject: [PATCH 4/4] arm64: dts: allwinner: h5: Add SID for H5 Date: Mon, 23 Jul 2018 12:42:55 +0200 Message-Id: <20180723104255.94244-4-manu@freebsd.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180723104255.94244-1-manu@freebsd.org> References: <20180723104255.94244-1-manu@freebsd.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180723_034345_808219_817B9B33 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 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 --- .../devicetree/bindings/nvmem/allwinner,sunxi-sid.txt | 1 + arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 5 +++++ 2 files changed, 6 insertions(+) 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 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"; +};