From patchwork Mon Jun 17 08:37:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10998549 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 7C715924 for ; Mon, 17 Jun 2019 08:38:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C2A628846 for ; Mon, 17 Jun 2019 08:38:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 601B628864; Mon, 17 Jun 2019 08:38:34 +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 13F5628846 for ; Mon, 17 Jun 2019 08:38:34 +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=RDEOlbD4vR/MFC5PyY5G41I4P8DkhZg0l4HsMPVVLag=; b=ogyut68X0KIYd/D1pRh1k0YB28 exiSXyTLV7rOctSPoLTmlIbfnpjeWf9GH0jPypP6ZQ9t7N6BTrJiYXtXPV+t9GfDFNJe+WYavJaw0 NuAxgjxxmZfzjMw6hrIm7xd5biPQ6K9nIcJ/G3+74/ErS2KpQu6Cx/iCR7oEPFxWvQCnOZYLnz4fs nS8t1QQZpZICvc5jk1itJQj7/IymVpcmv6IarquOTh/IvboSb7U7Ww6tQ6PAy6DlllrD77LPS/cXg s03nTg8U8BqkBIsykD/RJ66T6BMEjJ4bpfEs/ikf3GMiDPzAp/30tR/UT1I5NMYwzlsqu1mgh8eEe SGqb4wRw==; 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 1hcn9o-0005Yi-Uf; Mon, 17 Jun 2019 08:38:29 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hcn8t-0004jD-Px for linux-arm-kernel@lists.infradead.org; Mon, 17 Jun 2019 08:37:33 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 8132425B7A8; Mon, 17 Jun 2019 18:37:23 +1000 (AEST) Received: by reginn.horms.nl (Postfix, from userid 7100) id 81CCF940341; Mon, 17 Jun 2019 10:37:21 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH v2 2/2] arm64: dts: renesas: r8a77995: Add cpg reset for LVDS Interface Date: Mon, 17 Jun 2019 10:37:04 +0200 Message-Id: <20190617083704.3941-3-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190617083704.3941-1-horms+renesas@verge.net.au> References: <20190617083704.3941-1-horms+renesas@verge.net.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190617_013732_395823_EFCAD895 X-CRM114-Status: GOOD ( 11.72 ) 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 , Geert Uytterhoeven , Laurent Pinchart , Simon Horman , 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 It is necessary to reset the LVDS Interface according to display on/off. Therefore, this patch adds CPG reset properties in DU device node for the R8A77995 SoC. This patch was inspired by a patch in the BSP by Takeshi Kihara . According to Laurent Pinchart, R-Car Gen3 reset is handled at the group level so specifying one reset entry per group is sufficient. For this reason <&cpg 724> is not listed as a reset for "du.1" as was the case in an earlier revision of this patch. Signed-off-by: Yoshihiro Kaneko Signed-off-by: Simon Horman --- 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";