From patchwork Tue Sep 1 11:41:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11747969 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4654017D0 for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 220C4207BC for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="tLlBLXFK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 220C4207BC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5350+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id ExkpYY4521763x9OBM2UY8Hw; Tue, 01 Sep 2020 04:45:11 -0700 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com [210.160.252.171]) by mx.groups.io with SMTP id smtpd.web12.11107.1598960480272809138 for ; Tue, 01 Sep 2020 04:41:20 -0700 X-IronPort-AV: E=Sophos;i="5.76,378,1592838000"; d="scan'208";a="56086779" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 01 Sep 2020 20:41:19 +0900 X-Received: from localhost.localdomain (unknown [172.29.53.50]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 0B92B400752B; Tue, 1 Sep 2020 20:41:17 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Chris Paterson , Biju Das , Prabhakar Mahadev Lad Subject: [cip-dev] [PATCH 4.4.y-cip 01/10] dt-bindings: irqchip: renesas-irqc: Document r8a7742 bindings Date: Tue, 1 Sep 2020 12:41:05 +0100 Message-Id: <20200901114114.3465-2-biju.das.jz@bp.renesas.com> In-Reply-To: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> References: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: bK5Dz1d48HDrM2zyWEU4VNCsx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1598960711; bh=J1LUiozUGgMFHox7ky28lHhlR5iNBIQUMRk53KhZXUw=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=tLlBLXFKk3aDdxS/Ep2Pl3ipAr4iPtUKGagCAV8GETF+GnHVtA+p1stnVKKY8RWLXkh iNBOLsv8At1PCWrs455Q0bmaEocSAYMs0hvqQPlP+mKIijGXYpkx3IXEvjKALkp8p2imG /P+mPrRr65qalMHyM3RUGSWILIC0tlO/zNE= From: Lad Prabhakar commit a658d9bcd262421e7e63f4f3693e7e60b18422f3 upstream. Document SoC specific bindings for RZ/G1H (r8a7742) SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven Signed-off-by: Rob Herring [biju: Patched text version of bindings file] Signed-off-by: Biju Das --- .../devicetree/bindings/interrupt-controller/renesas,irqc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt index eea4c7b6a09e..9ab84cb471f6 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt @@ -5,6 +5,7 @@ Required properties: - compatible: has to be "renesas,irqc-", "renesas,irqc" as fallback. Examples with soctypes are: - "renesas,irqc-r8a73a4" (R-Mobile APE6) + - "renesas,irqc-r8a7742" (RZ/G1H) - "renesas,irqc-r8a7743" (RZ/G1M) - "renesas,irqc-r8a7744" (RZ/G1N) - "renesas,irqc-r8a7745" (RZ/G1E) From patchwork Tue Sep 1 11:41:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11747977 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DBF25138A for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B7BF9207BC for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="uuprjHgG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7BF9207BC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5351+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id C65xYY4521763xqxM121uV2Z; Tue, 01 Sep 2020 04:45:12 -0700 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web12.11107.1598960480272809138 for ; Tue, 01 Sep 2020 04:41:21 -0700 X-IronPort-AV: E=Sophos;i="5.76,378,1592838000"; d="scan'208";a="56086783" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 01 Sep 2020 20:41:21 +0900 X-Received: from localhost.localdomain (unknown [172.29.53.50]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id DACC0400618C; Tue, 1 Sep 2020 20:41:19 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Chris Paterson , Biju Das , Prabhakar Mahadev Lad Subject: [cip-dev] [PATCH 4.4.y-cip 02/10] ARM: dts: r8a7742: Add IRQC support Date: Tue, 1 Sep 2020 12:41:06 +0100 Message-Id: <20200901114114.3465-3-biju.das.jz@bp.renesas.com> In-Reply-To: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> References: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: r0tRUTa2SBfjfTgjtOfocagtx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1598960712; bh=Xzy2IDURUrTehvPN4JQ1pF6XZ7mSsnMH0Zg5S93lZBU=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=uuprjHgGLK756RO0eHilWqaNj9VcoJj5k7K9phv1VUgkPQRFATTlARId50VZcYjX3W6 hTKM/jFkQlZZVViL/X3ZcDuJvDcmBa4cuJOsEEjOfR5EyRnSZqCS9EWQ+AfuZ2QlxJ0+L tqxB854PV7wHUKN7NGjPu/RCJfpXir2endQ= From: Lad Prabhakar commit a31a8c9cbc0762b096e0b176ba481a60e54db5bf upstream. Describe the IRQC interrupt controller in the r8a7742 device tree. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Acked-by: Marc Zyngier Link: https://lore.kernel.org/r/1588794695-27852-4-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven [biju: changed clocks and power-domains properties, removed resets property] Signed-off-by: Biju Das --- arch/arm/boot/dts/r8a7742.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index 9e26313e09e1..d128fa1d4847 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -700,6 +700,19 @@ reg = <0 0xe6160000 0 0x0100>; }; + irqc: interrupt-controller@e61c0000 { + compatible = "renesas,irqc-r8a7742", "renesas,irqc"; + #interrupt-cells = <2>; + interrupt-controller; + reg = <0 0xe61c0000 0 0x200>; + interrupts = , + , + , + ; + clocks = <&mstp4_clks R8A7742_CLK_IRQC>; + power-domains = <&cpg_clocks>; + }; + icram0: sram@e63a0000 { compatible = "mmio-sram"; reg = <0 0xe63a0000 0 0x12000>; From patchwork Tue Sep 1 11:41:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11747967 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 07CE1161F for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D786D207EA for ; Tue, 1 Sep 2020 11:45:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="u7MFck9z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D786D207EA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5352+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id 0RuPYY4521763xo6VIqWn6xN; Tue, 01 Sep 2020 04:45:11 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web12.11106.1598960479890530571 for ; Tue, 01 Sep 2020 04:41:23 -0700 X-IronPort-AV: E=Sophos;i="5.76,378,1592838000"; d="scan'208";a="55870258" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 01 Sep 2020 20:41:23 +0900 X-Received: from localhost.localdomain (unknown [172.29.53.50]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id AF5A6400752B; Tue, 1 Sep 2020 20:41:21 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Chris Paterson , Biju Das , Prabhakar Mahadev Lad Subject: [cip-dev] [PATCH 4.4.y-cip 03/10] dt-bindings: i2c: renesas, i2c: Document r8a7742 support Date: Tue, 1 Sep 2020 12:41:07 +0100 Message-Id: <20200901114114.3465-4-biju.das.jz@bp.renesas.com> In-Reply-To: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> References: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: xGMpjsvaDNwHfAXu4Spwci1Vx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1598960711; bh=3Qv6viBpB5SNnGUvsg8K72z9OxuOY3Uhl3Qi0i8tYnE=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=u7MFck9zAXYeQo6Iz3mSgbk0y57pLxgRIVlnxYE8ALYcq5HlRijki7HXxS/rixJ64Fe GSXgPW9GeOPHpk86rIcRMdAUqqo0ZFtf9RBz99h1E70CE5bkhAc9YCZ5WNDy+FG8MV++b i1WqT4Urw7bs7klmrdypUYsJGwJd8P7JGvw= From: Lad Prabhakar commit 315148547563856f48907633cf89da4dd680f72a upstream. Document i2c controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Signed-off-by: Rob Herring [biju: Patched the changes from renamed file] Signed-off-by: Biju Das --- Documentation/devicetree/bindings/i2c/i2c-rcar.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-rcar.txt b/Documentation/devicetree/bindings/i2c/i2c-rcar.txt index 0d1aa9e4c292..3587816115db 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-rcar.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-rcar.txt @@ -2,6 +2,7 @@ I2C for R-Car platforms Required properties: - compatible: + "renesas,i2c-r8a7742" if the device is a part of a R8A7742 SoC. "renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC. "renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC. "renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC. From patchwork Tue Sep 1 11:41:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11747981 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3B23D17D0 for ; Tue, 1 Sep 2020 11:45:13 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1671420707 for ; Tue, 1 Sep 2020 11:45:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="T0bBzlsd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1671420707 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5353+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id 6M2NYY4521763xVEND9k3r7c; Tue, 01 Sep 2020 04:45:12 -0700 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web12.11107.1598960480272809138 for ; Tue, 01 Sep 2020 04:41:25 -0700 X-IronPort-AV: E=Sophos;i="5.76,378,1592838000"; d="scan'208";a="56086787" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 01 Sep 2020 20:41:25 +0900 X-Received: from localhost.localdomain (unknown [172.29.53.50]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 8B898400618C; Tue, 1 Sep 2020 20:41:23 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Chris Paterson , Biju Das , Prabhakar Mahadev Lad Subject: [cip-dev] [PATCH 4.4.y-cip 04/10] dt-bindings: i2c: renesas, iic: Document r8a7742 support Date: Tue, 1 Sep 2020 12:41:08 +0100 Message-Id: <20200901114114.3465-5-biju.das.jz@bp.renesas.com> In-Reply-To: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> References: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: yPeO9YLbMCyPWTzhWsqRUu5Sx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1598960712; bh=s89LV/36Ngc3ruxSAJ8hohlN+/8MIniT2K+Y1cHmsGQ=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=T0bBzlsdzI4PpzSc3Y36k91qMRY5niIXurg18i7EIDV6J0EWquIoAJPezkeu1uA4keH xVLttAhZFHDawzXbC5B3qsivEDh6Bp83eVrsbXMf9NiHEgSgrQGDvMrh0r8CJJ20PEppS XYQUkI/VVKv/A/V92m4OZ0tl8lJRdsEgmmY= From: Lad Prabhakar commit 90f90af71876914f03e4740e263c4738b703fa89 upstream. Document IIC controller for RZ/G1H (R8A7742) SoC, which is compatible with R-Car Gen2 SoC family. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Signed-off-by: Rob Herring [biju: Pacthed the changes from renamed file] Signed-off-by: Biju Das --- Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt b/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt index f4727c6ea01e..348d87c5cd06 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt @@ -4,6 +4,7 @@ Required properties: - compatible : - "renesas,iic-r8a73a4" (R-Mobile APE6) - "renesas,iic-r8a7740" (R-Mobile A1) + - "renesas,iic-r8a7742" (RZ/G1H) - "renesas,iic-r8a7743" (RZ/G1M) - "renesas,iic-r8a7744" (RZ/G1N) - "renesas,iic-r8a7745" (RZ/G1E) From patchwork Tue Sep 1 11:41:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11747961 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9EAA9138A for ; Tue, 1 Sep 2020 11:45:11 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F14B9207EA for ; Tue, 1 Sep 2020 11:45:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="h6+hRIAG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F14B9207EA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5355+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id iWTiYY4521763xT21esKJLB0; Tue, 01 Sep 2020 04:45:10 -0700 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web12.11107.1598960480272809138 for ; Tue, 01 Sep 2020 04:41:29 -0700 X-IronPort-AV: E=Sophos;i="5.76,378,1592838000"; d="scan'208";a="56086794" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 01 Sep 2020 20:41:28 +0900 X-Received: from localhost.localdomain (unknown [172.29.53.50]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 4790F400618C; Tue, 1 Sep 2020 20:41:27 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Chris Paterson , Biju Das , Prabhakar Mahadev Lad Subject: [cip-dev] [PATCH 4.4.y-cip 06/10] dt-bindings: net: renesas, ravb: Add support for r8a7742 SoC Date: Tue, 1 Sep 2020 12:41:10 +0100 Message-Id: <20200901114114.3465-7-biju.das.jz@bp.renesas.com> In-Reply-To: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> References: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: TLtYjpsGGJbYjgX1HK5tCWwbx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1598960710; bh=ksVa6Z8mZZX3kbutE5S+tXPfe1IL2b40Ck0Onma+eBg=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=h6+hRIAGZcK2wf1Bphla37CtEcNewGDg8Hsx6CLv5oy5Sw5hdTjFZTBlbO2sk28pRtz ti2qgLunPYufLy9GHaiMRult1lA3n62F2uNtwV1oOYYmNm1azMRlKPc+clZ8L3qQJ8zAv YSgqzf2N2Ej5prOBXaJBaC66497JwChDLqg= From: Lad Prabhakar commit 9c95312aad21bf5c6f23a5158d1cd7f42d4560e2 upstream. Document RZ/G1H (R8A7742) SoC bindings. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Signed-off-by: Rob Herring Signed-off-by: Biju Das --- Documentation/devicetree/bindings/net/renesas,ravb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/renesas,ravb.txt b/Documentation/devicetree/bindings/net/renesas,ravb.txt index 0a8e8df01f4b..132d6c72c4d3 100644 --- a/Documentation/devicetree/bindings/net/renesas,ravb.txt +++ b/Documentation/devicetree/bindings/net/renesas,ravb.txt @@ -5,6 +5,7 @@ interface contains. Required properties: - compatible: Must contain one or more of the following: + - "renesas,etheravb-r8a7742" for the R8A7742 SoC. - "renesas,etheravb-r8a7743" for the R8A7743 SoC. - "renesas,etheravb-r8a7744" for the R8A7744 SoC. - "renesas,etheravb-r8a7745" for the R8A7745 SoC. From patchwork Tue Sep 1 11:41:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11747965 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EEA841744 for ; Tue, 1 Sep 2020 11:45:11 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C9638207BC for ; Tue, 1 Sep 2020 11:45:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="S/oDEWzJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9638207BC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5356+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id j31oYY4521763x536hyOqU6M; Tue, 01 Sep 2020 04:45:11 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com [210.160.252.172]) by mx.groups.io with SMTP id smtpd.web12.11108.1598960491095779796 for ; Tue, 01 Sep 2020 04:41:31 -0700 X-IronPort-AV: E=Sophos;i="5.76,378,1592838000"; d="scan'208";a="55870265" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 01 Sep 2020 20:41:30 +0900 X-Received: from localhost.localdomain (unknown [172.29.53.50]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 17AAD400752B; Tue, 1 Sep 2020 20:41:28 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Chris Paterson , Biju Das , Prabhakar Mahadev Lad Subject: [cip-dev] [PATCH 4.4.y-cip 07/10] ARM: dts: r8a7742: Add Ethernet AVB support Date: Tue, 1 Sep 2020 12:41:11 +0100 Message-Id: <20200901114114.3465-8-biju.das.jz@bp.renesas.com> In-Reply-To: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> References: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: RSoSGwY0WyGou7CzciwgPycVx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1598960711; bh=mwLCsNbQfYebDwplS/zimIskxPmQYNutCW/F/Xlxyq8=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=S/oDEWzJ/COQ1Lw44BK6CfremMD1He2UYaMBpYIX1/uQHUz1Xt1wnLAcMtNmOJNoUXA 6D8syfwHh26fq5mJkCY5iYn4WSi2FR+1x+6P6Daj1WCWlMiPG6k6PtFqyl3dgak0qg/zf hZLg9oyW6YaIEm5/YuS+HSpDDhEPNYYrFQg= From: Lad Prabhakar commit 9451f394e9cfb30e5a9b66f1022ef7f91717548b upstream. Add Ethernet AVB support for R8A7742 SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Wolfram Sang Link: https://lore.kernel.org/r/1589555337-5498-13-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven [biju: changed clocks and power-domains properties, removed resets property] Signed-off-by: Biju Das --- arch/arm/boot/dts/r8a7742.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index 6693a54367aa..3f72658ba96d 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -916,6 +916,18 @@ dma-channels = <15>; }; + avb: ethernet@e6800000 { + compatible = "renesas,etheravb-r8a7742", + "renesas,etheravb-rcar-gen2"; + reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>; + interrupts = ; + clocks = <&mstp8_clks R8A7742_CLK_ETHERAVB>; + power-domains = <&cpg_clocks>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + scifa2: serial@e6c60000 { compatible = "renesas,scifa-r8a7742", "renesas,rcar-gen2-scifa", "renesas,scifa"; From patchwork Tue Sep 1 11:41:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11747971 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 534D61751 for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E3C9207EA for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="uNOblP/q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E3C9207EA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5357+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id tD1dYY4521763xsyMoHsNZ0I; Tue, 01 Sep 2020 04:45:12 -0700 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web12.11107.1598960480272809138 for ; Tue, 01 Sep 2020 04:41:32 -0700 X-IronPort-AV: E=Sophos;i="5.76,378,1592838000"; d="scan'208";a="56086797" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 01 Sep 2020 20:41:32 +0900 X-Received: from localhost.localdomain (unknown [172.29.53.50]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id E7051400752B; Tue, 1 Sep 2020 20:41:30 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Chris Paterson , Biju Das , Prabhakar Mahadev Lad Subject: [cip-dev] [PATCH 4.4.y-cip 08/10] ARM: dts: r8a7742-iwg21d-q7: Enable Ethernet AVB Date: Tue, 1 Sep 2020 12:41:12 +0100 Message-Id: <20200901114114.3465-9-biju.das.jz@bp.renesas.com> In-Reply-To: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> References: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: ClHEDTwpo10LsfLWmDbLv41nx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1598960712; bh=AoGJFlMtwKmksaJtjkyw5Wa0vQlx6Xe1EcYJ3BN/jOY=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=uNOblP/qaRzqg2ZADtvKKjevGqhnmz6uuktvnJNMVpprG3s9Na4C/K1LQKQ0tt2c4BK PdcAc3Ww/iA3DRfrLJXzWN+onTPBBTeSpm76JVkw6K/qfyTIdQa2urKOweTuzk4tCs5Vi 3SOeGU9XRRhNqm0pZlkhVr4tFSsf44OdhFk= From: Lad Prabhakar commit 8a8c81aa605cec4a086bd46a9b9214b9671f8f42 upstream. Enable Ethernet AVB on iWave RZ/G1H carrier board. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Link: https://lore.kernel.org/r/1590420129-7531-4-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven Signed-off-by: Biju Das --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts index 1f5c35c66d91..8ce82ad3d946 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -14,6 +14,7 @@ aliases { serial2 = &scifa2; + ethernet0 = &avb; }; chosen { @@ -22,7 +23,27 @@ }; }; +&avb { + pinctrl-0 = <&avb_pins>; + pinctrl-names = "default"; + + phy-handle = <&phy3>; + phy-mode = "gmii"; + renesas,no-ether-link; + status = "okay"; + + phy3: ethernet-phy@3 { + reg = <3>; + micrel,led-mode = <1>; + }; +}; + &pfc { + avb_pins: avb { + groups = "avb_mdio", "avb_gmii"; + function = "avb"; + }; + scifa2_pins: scifa2 { groups = "scifa2_data_c"; function = "scifa2"; From patchwork Tue Sep 1 11:41:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11747973 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 92F0413B1 for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6E5BB207BC for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="q+5MdtIf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6E5BB207BC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5358+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id 6YAlYY4521763x5I8FKzH2Fv; Tue, 01 Sep 2020 04:45:12 -0700 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web12.11107.1598960480272809138 for ; Tue, 01 Sep 2020 04:41:34 -0700 X-IronPort-AV: E=Sophos;i="5.76,378,1592838000"; d="scan'208";a="56086800" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 01 Sep 2020 20:41:34 +0900 X-Received: from localhost.localdomain (unknown [172.29.53.50]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id C0BEC400752B; Tue, 1 Sep 2020 20:41:32 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Chris Paterson , Biju Das , Prabhakar Mahadev Lad Subject: [cip-dev] [PATCH 4.4.y-cip 09/10] dt-bindings: power: renesas,apmu: Document r8a7742 support Date: Tue, 1 Sep 2020 12:41:13 +0100 Message-Id: <20200901114114.3465-10-biju.das.jz@bp.renesas.com> In-Reply-To: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> References: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: nhq1kvyKeH8Zam6zCE6189KPx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1598960712; bh=jGi6wD2AqAx6aE1fomed+EcXFfMfmpvjX5l+x4+bSX4=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=q+5MdtIfijS8nIEPeuTuvErSgEKqym5Qj5DKmr8lUMDfeFTH7170SdqYErNm5CsOefk hPkNabNEVFgjsTfgzhE4fYQJqlb3/Enh2T5zvaZiW5S+EdRfyju2+EP5MU1rMp6rUcf2k dLHbfzHXHLk8j/us/H9lo18Isdry/SSlS1w= From: Lad Prabhakar commit a08790960382c24d92af43a34626ed0f3899d299 upstream. Document APMU and SMP enable method for RZ/G1H (also known as r8a7742) SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Signed-off-by: Rob Herring [biju: Patched text version of bindings file] Signed-off-by: Biju Das --- Documentation/devicetree/bindings/power/renesas,apmu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/renesas,apmu.txt b/Documentation/devicetree/bindings/power/renesas,apmu.txt index 21157fb60f36..8ffb21e20bc4 100644 --- a/Documentation/devicetree/bindings/power/renesas,apmu.txt +++ b/Documentation/devicetree/bindings/power/renesas,apmu.txt @@ -7,6 +7,7 @@ Required properties: - compatible: Should be "renesas,-apmu", "renesas,apmu" as fallback. Examples with soctypes are: + - "renesas,r8a7742-apmu" (RZ/G1H) - "renesas,r8a7743-apmu" (RZ/G1M) - "renesas,r8a7744-apmu" (RZ/G1N) - "renesas,r8a7745-apmu" (RZ/G1E) From patchwork Tue Sep 1 11:41:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11747979 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EAEB11744 for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C666B207EA for ; Tue, 1 Sep 2020 11:45:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="MCIPhlOf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C666B207EA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5359+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id 2MgLYY4521763xTP4NIyu2eX; Tue, 01 Sep 2020 04:45:12 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web12.11108.1598960491095779796 for ; Tue, 01 Sep 2020 04:41:36 -0700 X-IronPort-AV: E=Sophos;i="5.76,378,1592838000"; d="scan'208";a="55870271" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 01 Sep 2020 20:41:36 +0900 X-Received: from localhost.localdomain (unknown [172.29.53.50]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 9363D400752B; Tue, 1 Sep 2020 20:41:34 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Chris Paterson , Biju Das , Prabhakar Mahadev Lad Subject: [cip-dev] [PATCH 4.4.y-cip 10/10] ARM: dts: r8a7742: Add APMU nodes Date: Tue, 1 Sep 2020 12:41:14 +0100 Message-Id: <20200901114114.3465-11-biju.das.jz@bp.renesas.com> In-Reply-To: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> References: <20200901114114.3465-1-biju.das.jz@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: WAWaJx9RzlQ76di5a4hDQrKpx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1598960712; bh=A7kC4lNv6v5Ri44vHPORWUd+AnsZOBSeq9h3M2kRe4k=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=MCIPhlOfVTg5LgzFEHeo2HTzr7jz1nDlTfx8v81Boq/rPoxe+u6IISf0KtDdS7qukPp B1sXVRfaUE68ObfkJHkfgn6c4R4D1jqysJKSbrSMiK9UlDOlLijOF9q27iWavzV3Ezh21 0Ih76ByTS+Z03DxrBGrIJza8UtRT9dqXmDM= From: Lad Prabhakar commit 57e7dad22bdb4bffa158d32a2e9d5b7145ab1e85 upstream. Add DT nodes for the Advanced Power Management Units (APMU), and use the enable-method to point out that the APMU should be used for SMP support. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Wolfram Sang Link: https://lore.kernel.org/r/1589555337-5498-16-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven Signed-off-by: Biju Das --- arch/arm/boot/dts/r8a7742.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index 3f72658ba96d..1db3682a1deb 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -424,6 +424,7 @@ cpus { #address-cells = <1>; #size-cells = <0>; + enable-method = "renesas,apmu"; cpu0: cpu@0 { device_type = "cpu"; @@ -695,6 +696,18 @@ reg = <0 0xe6060000 0 0x250>; }; + apmu@e6151000 { + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; + reg = <0 0xe6151000 0 0x188>; + cpus = <&cpu4 &cpu5 &cpu6 &cpu7>; + }; + + apmu@e6152000 { + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; + reg = <0 0xe6152000 0 0x188>; + cpus = <&cpu0 &cpu1 &cpu2 &cpu3>; + }; + rst: reset-controller@e6160000 { compatible = "renesas,r8a7742-rst"; reg = <0 0xe6160000 0 0x0100>;