From patchwork Tue Jun 27 17:30:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9812841 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B164360329 for ; Tue, 27 Jun 2017 17:32:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9848286CF for ; Tue, 27 Jun 2017 17:32:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD887286E0; Tue, 27 Jun 2017 17:32:25 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 5937E286CF for ; Tue, 27 Jun 2017 17:32:25 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Subject:To:Date:Message-Id :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=pMvWuTIRknY8/cLwR0iBfdGk0e836lYGRpUe2vm04yY=; b=JJVIY0f2dKG0n8 bCbinadFAY+KjMTcrDKJqUUcYlbRvujuBOUNo6inSXyKdCLwYl9O57bUYXsWzs4Zbzd1U2ey2wt52 jGiobBBDR+lbqiGzsDp28MrbhK7/B7lNusv4kjx/y+x/HDBaUzrEnfJ1kaadKytsVqTUC1daGzj2J Xil/qw/iQT7X+8zD6LqZHPqcx0zd+oXPctxPFf1/5yhd6isH3ccKizPsDkEDN1DaH/qDZFZadP3gD W54PIDA2RJ3ScF7MmFQz+SPuAg3V/7rbDz6KjLcdqslzZNxfvvoDEY4VDzUxptOl37dPmlN8/L8Zi T6GeWI97JpsWjarRGRhQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dPuLe-0000gE-PA; Tue, 27 Jun 2017 17:32:22 +0000 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPuLb-0000e9-3j for linux-arm-kernel@lists.infradead.org; Tue, 27 Jun 2017 17:32:20 +0000 Received: by mail-lf0-x229.google.com with SMTP id m77so21321417lfe.0 for ; Tue, 27 Jun 2017 10:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:user-agent:date:to:cc:subject:mime-version :content-disposition; bh=SyOV2paF1ZKt0bp/66JaVLjtkCnSKHcU172vLlpzRno=; b=j+CYpD4SHi8NOKWTJ/c0aripvUdeWWSEXnhH7pgR0P6HJCvEgewIEkzFhR82bXn6D6 Y6dSwz2YmTtsGyEB3nWbM7hEBmURPTyQTJXABPjjMX2rl/4w4CztYmR2vkU1hAoCVJ0v DfuxGPrPclATgjM5bLspTSgenlSSvqIkHXggPBQoSUEl5u+mVU/YhpYCXU4D1XdoJ1S5 GFE4Kzf1yiYRKa9Bu6A09p3DOFBS5PaIzlNDSr2V8DuI/MSXbI7FqeByD0zCQ0bSsKeS dcDqtS947L3xvdgrxRtGKl7WrackqrmxqM4iVCLlw+uHCKOVq/y2vRT3wau5JW1/fqrk LRcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:user-agent:date:to:cc:subject :mime-version:content-disposition; bh=SyOV2paF1ZKt0bp/66JaVLjtkCnSKHcU172vLlpzRno=; b=rEg/srg2ikBuqoBunhjbmYcstQ0pUqEf5WYcOt3qCEXmtQ2gpMnQswPiJraUSjsZnE H3BMg8ZRUlmrnARFL5OyHCbNpBVGZyfX+ZKiu3SX9NDkdSAdSO88HKZqO6sUhRQlegAg /FlxcFJkA1RymrED0xYxyiqC5PHYJ7kwR4YWbVgDk0QVBDOxE0Qvd/Qasx5qzy70MDF8 c4QD5Tr3Gp6gcOsfVVjNSG0mDjsTCkuKAB2Qc85Ehx3nMLVOvXn9BStlQZJiumzz9P1P KEr2bW/6mS7YgAfCE3Z+NrTjG5dou6tsQnwF0eQJ9V4xY3vVsGsKZUKUgFyzpOEuQf1d 2yMg== X-Gm-Message-State: AKS2vOxLuGCOmN5gPIxfX9026rAA67XajE167DID6G9WkzBm3jiZ7i7o nIXkWiCwkPlLpi+B X-Received: by 10.46.69.212 with SMTP id s203mr1970785lja.67.1498584716443; Tue, 27 Jun 2017 10:31:56 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.82.39]) by smtp.gmail.com with ESMTPSA id g133sm120502lfe.40.2017.06.27.10.31.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2017 10:31:55 -0700 (PDT) From: Sergei Shtylyov X-Google-Original-From: "Sergei Shtylyov" Received: by wasted.cogentembedded.com (sSMTP sendmail emulation); Tue, 27 Jun 2017 20:31:52 +0300 Message-Id: <20170627173152.532417992@cogentembedded.com> User-Agent: quilt/0.64 Date: Tue, 27 Jun 2017 20:30:53 +0300 To: Simon Horman , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2] arm64: dts: r8a7795: add IMR-LX4 support MIME-Version: 1.0 Content-Disposition: inline; filename=arm64-dts-r8a7795-add-IMR-LX4-support-v2.patch X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170627_103219_342299_D34B498F X-CRM114-Status: GOOD ( 11.65 ) 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: Geert Uytterhoeven , Magnus Damm , Konstantin Kozhevnikov , linux-arm-kernel@lists.infradead.org, Sergei Shtylyov 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 Describe the IMR-LX4 devices in the R8A7795 device tree. Based on the original (and large) patch by Konstantin Kozhevnikov . Signed-off-by: Konstantin Kozhevnikov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- This patch is against the 'renesas-devel-20170626-v4.12-rc7' tag of Simon Horman's 'renesas.git' repo. The IMR-LX4 bindings were documented in the IMR driver patch and ACK'ed by Rob Herring, so I don't expect them to change... Changes in version 2: - added SoC specific "compatible" prop values; - refreshed the patch; - added Geert's tag. arch/arm64/boot/dts/renesas/r8a7795.dtsi | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a7795.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -1535,6 +1535,42 @@ status = "disabled"; }; + imr-lx4@fe860000 { + compatible = "renesas,r8a7795-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe860000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 823>; + power-domains = <&sysc R8A7795_PD_A3VC>; + }; + + imr-lx4@fe870000 { + compatible = "renesas,r8a7795-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe870000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 822>; + power-domains = <&sysc R8A7795_PD_A3VC>; + }; + + imr-lx4@fe880000 { + compatible = "renesas,r8a7795-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe880000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 821>; + power-domains = <&sysc R8A7795_PD_A3VC>; + }; + + imr-lx4@fe890000 { + compatible = "renesas,r8a7795-imr-lx4", + "renesas,imr-lx4"; + reg = <0 0xfe890000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 820>; + power-domains = <&sysc R8A7795_PD_A3VC>; + }; + vspbc: vsp@fe920000 { compatible = "renesas,vsp2"; reg = <0 0xfe920000 0 0x8000>;