From patchwork Mon Jun 24 10:52:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 11012901 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 2D71C13B4 for ; Mon, 24 Jun 2019 10:52:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1ADD628AF7 for ; Mon, 24 Jun 2019 10:52:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D62E28B08; Mon, 24 Jun 2019 10:52:56 +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_SIGNED, DKIM_VALID,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 B603528AF7 for ; Mon, 24 Jun 2019 10:52:55 +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=kTdaEGHeczji6cxcXc2+Z1/PFn0PPxpD7El0imd3pt0=; b=tz6Z1LMjbkIjZPz5/fEOwBVNzv SJjIMzmlahlxLCP2O2rmXXThqdvVhVG2vepAUGsmhbgZq8CDdhC4RttHV4gdSUyKHe/8qp0hBlL/q 0JmIMrzwkiBrDdQ4do3WBdwvn3QG6SL/H2bhIovG8BRSijtYinO9Py7yegxhhMope1DxXXzmURKEt UI+NKMCzQzdAKorzpkUTeWk4kj166iVRQQ3X61L9nmPB2NMgXAkgu9+Pa2aoGDa0Jqr0jlt0dOnqe e0qxcRsNWkJlaYUbmcm1wpn5MfxGYtYbU5AK4PgPPVAnxTcmNa6+kxY/0GLn2VE1qcKGWBfJyOW3T IROHgv4w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfMaf-0007UR-Pa; Mon, 24 Jun 2019 10:52:49 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfMac-0007Tq-Jr for linux-arm-kernel@lists.infradead.org; Mon, 24 Jun 2019 10:52:48 +0000 Received: from penelope.horms.nl (ip4dab7138.direct-adsl.nl [77.171.113.56]) by kirsty.vergenet.net (Postfix) with ESMTPA id 36F4925AF0F; Mon, 24 Jun 2019 20:52:42 +1000 (AEST) Received: by penelope.horms.nl (Postfix, from userid 7100) id 0AD52E21A77; Mon, 24 Jun 2019 12:52:40 +0200 (CEST) From: Simon Horman To: Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org Subject: [PATCH v3 1/2] arm64: dts: renesas: r8a77990: Add cpg reset for DU Date: Mon, 24 Jun 2019 12:52:23 +0200 Message-Id: <20190624105224.23927-2-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190624105224.23927-1-horms+renesas@verge.net.au> References: <20190624105224.23927-1-horms+renesas@verge.net.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_035246_807310_27BDAB54 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yoshihiro Kaneko , Magnus Damm , 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 From: Takeshi Kihara Add CPG reset properties to DU node of E3 (r8a77990) SoC. According to Laurent Pinchart, R-Car Gen3 reset is handled at the group level so specifying one reset entry per group is sufficient. Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- v3 [Simon Horman] - rewrote changelog v2 [Simon Horman] - only add one reset entry per group v1 [Yoshihiro Kaneko] v0 [Takeshi Kihara] --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi index b4318661f35e..84d1f58e73e7 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi @@ -1766,6 +1766,8 @@ clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>; clock-names = "du.0", "du.1"; + resets = <&cpg 724>; + reset-names = "du.0"; vsps = <&vspd0 0 &vspd1 0>; status = "disabled"; From patchwork Mon Jun 24 10:52:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 11012905 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 BD09714BB for ; Mon, 24 Jun 2019 10:53:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A973728AF7 for ; Mon, 24 Jun 2019 10:53:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AE9328B08; Mon, 24 Jun 2019 10:53:18 +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_SIGNED, DKIM_VALID,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 4789728AF7 for ; Mon, 24 Jun 2019 10:53:18 +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=NkgUX5s2uPH3xcaHod61/EqGCGTsddRrV6hujTeFBRQ=; b=WVPBwe47PH8lpzVc2BnAIw6RwE G/LSOb6XbRHpeoiMfFHSf6yG/sktKgEvAzHm3Za7JQDbA22bLS1EVSeSS7bHo/Z4hbOaWUuWbyPhL xDj/LtV1Zrvrvpq62dAwIWBZVaELWwcNyXnJRjzep+Atgd5mzXrKc/IBqmItzKnsUErLd3mEplS3F lu44PAJ/OxSrujvYMDTTGKEC8bzW/wmXg+YxoUuKKljn+ArPECQYeEifXw1pTXa4yESedRy0VM9Zz j4gmGdS57xGsKKcJSJxZ6/CTqIuGTKRGbZycjqcTQ6zNms+4+F91L5LHJwQv2sXTNm0DMmeNlRhYY qa2ftWPg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfMb7-0007tC-4L; Mon, 24 Jun 2019 10:53:17 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfMag-0007UF-6M for linux-arm-kernel@lists.infradead.org; Mon, 24 Jun 2019 10:52:51 +0000 Received: from penelope.horms.nl (ip4dab7138.direct-adsl.nl [77.171.113.56]) by kirsty.vergenet.net (Postfix) with ESMTPA id 40E6725B7C5; Mon, 24 Jun 2019 20:52:42 +1000 (AEST) Received: by penelope.horms.nl (Postfix, from userid 7100) id 1020FE21A96; Mon, 24 Jun 2019 12:52:40 +0200 (CEST) From: Simon Horman To: Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org Subject: [PATCH v3 2/2] arm64: dts: renesas: r8a77995: Add cpg reset for DU Date: Mon, 24 Jun 2019 12:52:24 +0200 Message-Id: <20190624105224.23927-3-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190624105224.23927-1-horms+renesas@verge.net.au> References: <20190624105224.23927-1-horms+renesas@verge.net.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_035250_404172_65B9F6A4 X-CRM114-Status: UNSURE ( 9.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yoshihiro Kaneko , Magnus Damm , 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 From: Yoshihiro Kaneko Add CPG reset properties to DU node of D3 (r8a77995) SoC. According to Laurent Pinchart, R-Car Gen3 reset is handled at the group level so specifying one reset entry per group is sufficient. This patch was inspired by a patch in the BSP by Takeshi Kihara . Signed-off-by: Yoshihiro Kaneko Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- v3 [Simon Horman] - rewrote changelog v2 [Simon Horman] - only add one reset entry per group v1 [Yoshihiro Kaneko] --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi index 0a344eb55094..ca6aeabd6d04 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi @@ -1001,6 +1001,8 @@ clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>; clock-names = "du.0", "du.1"; + resets = <&cpg 724>; + reset-names = "du.0"; vsps = <&vspd0 0 &vspd1 0>; status = "disabled";