Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1614251pxa; Thu, 6 Aug 2020 11:34:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys/TFXznoREGwB8veFtO9/oRh+D7csmpYP4rO970rGrsuulrQsrXdzVK+p11M1zkK1teM+ X-Received: by 2002:a17:906:1707:: with SMTP id c7mr5808178eje.498.1596738899169; Thu, 06 Aug 2020 11:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596738899; cv=none; d=google.com; s=arc-20160816; b=OK0063xnNzDmcsqyMUu0j2NXMVr/ZYRegT6FfN95qSX1Z97Zlb8n6ZaVSZ8R3zl2Jk g7J9QSClpt0NyBDNpRnciA7rT19ipw9drcD/HzGCtL09gTIYdv1ihizRNkcRmxcH4irG b/C2ScyPNcgtRG0uNLmquEFeEz6zx/8YFspPvpBlp/3VxLElHkelS3AwfqGerl58gGfV o/1Bqtrwrna1/dIZmgRq81cfO9Hf5V/Z8jhGtvFdAuK8WDom5H09Qkwfrb0Q0u9d4ZWb hiExHi7kernug+sVacTNEozBJyxZx17pxIOfbi0442qSXjJ5J8abmGWfJouNSGyBATad w1zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=ofDuN3KE5dloJSqbRSBuxWEBOFEwAdAp94+qsdYjSbY=; b=tPCZnU7mPxfoZi5scAMaR5Bq6a5/aeGssPOs7ecyssWor/mYxX+22EaYXlUETRw7SG U1MCgT1FpzRo7eVofDUUZnBeCEc1dw2cWGZpbFlv+zAsol5QgPe9V3XsRZ2bxoa1eVYn 3Q8h8KCYxsXbRZIpMdEhBFnWJv8qHFxWYxC9On+W+SeA8v33uauwEqXGzzQlo26srNmW VuMhviD1r0Z4Adj8K/EyDNsjrO392IwB4t5xsD3K/RnsUGw3WBADO1rK3+R6uakg+EBF t/6ffJQ9U942EZnm0RC+DvvtY/AuSeFAsh9CYcGyMrbP5bjaFoYnHxcgmDTkNr1YwtTD 71bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si3764364eje.61.2020.08.06.11.34.36; Thu, 06 Aug 2020 11:34:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728080AbgHFSdq (ORCPT + 99 others); Thu, 6 Aug 2020 14:33:46 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:51552 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728488AbgHFScK (ORCPT ); Thu, 6 Aug 2020 14:32:10 -0400 X-IronPort-AV: E=Sophos;i="5.75,441,1589209200"; d="scan'208";a="53860050" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 07 Aug 2020 03:32:06 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 13638400C0AB; Fri, 7 Aug 2020 03:32:03 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones , Rob Herring , Magnus Damm , Yoshihiro Shimoda , Laurent Pinchart , linux-renesas-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 3/5] ARM: dts: r8a7742: Add PWM SoC support Date: Thu, 6 Aug 2020 19:31:50 +0100 Message-Id: <20200806183152.11809-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200806183152.11809-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20200806183152.11809-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the definitions for pwm[0123456] to the SoC .dtsi. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm/boot/dts/r8a7742.dtsi | 70 ++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index 9743b4242801..41c89e04cf17 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -917,6 +917,76 @@ status = "disabled"; }; + pwm0: pwm@e6e30000 { + compatible = "renesas,pwm-r8a7742", "renesas,pwm-rcar"; + reg = <0 0xe6e30000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm1: pwm@e6e31000 { + compatible = "renesas,pwm-r8a7742", "renesas,pwm-rcar"; + reg = <0 0xe6e31000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm2: pwm@e6e32000 { + compatible = "renesas,pwm-r8a7742", "renesas,pwm-rcar"; + reg = <0 0xe6e32000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm3: pwm@e6e33000 { + compatible = "renesas,pwm-r8a7742", "renesas,pwm-rcar"; + reg = <0 0xe6e33000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm4: pwm@e6e34000 { + compatible = "renesas,pwm-r8a7742", "renesas,pwm-rcar"; + reg = <0 0xe6e34000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm5: pwm@e6e35000 { + compatible = "renesas,pwm-r8a7742", "renesas,pwm-rcar"; + reg = <0 0xe6e35000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm6: pwm@e6e36000 { + compatible = "renesas,pwm-r8a7742", "renesas,pwm-rcar"; + reg = <0 0xe6e36000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + rcar_sound: sound@ec500000 { /* * #sound-dai-cells is required -- 2.17.1