From patchwork Wed Sep 2 16:05: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: 11751123 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 5F2D51744 for ; Wed, 2 Sep 2020 16:06:42 +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 388512137B for ; Wed, 2 Sep 2020 16:06:42 +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="kFeMeRnt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 388512137B 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+5370+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id qNOVYY4521763xgkyfLWc2CS; Wed, 02 Sep 2020 09:06:42 -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.11123.1599062722942469002 for ; Wed, 02 Sep 2020 09:05:23 -0700 X-IronPort-AV: E=Sophos;i="5.76,383,1592838000"; d="scan'208";a="56196958" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 03 Sep 2020 01:05:22 +0900 X-Received: from localhost.localdomain (unknown [172.29.51.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id E86B040065AE; Thu, 3 Sep 2020 01:05:20 +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 1/9] dt-bindings: watchdog: renesas,wdt: Document r8a7742 support Date: Wed, 2 Sep 2020 17:05:06 +0100 Message-Id: <20200902160517.5181-2-biju.das.jz@bp.renesas.com> In-Reply-To: <20200902160517.5181-1-biju.das.jz@bp.renesas.com> References: <20200902160517.5181-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: hDk1NUbYmzd4ISqZ2r5rktTGx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599062802; bh=W/NqWAz3z/CX5RZ2faniS0stn9Y6jSgCG4rDUmNLCmM=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=kFeMeRntelCB9bkoxEBG6Ijltkv3c9mbX1gojQ91hv2j9M4N5GgOv5kxIAJXBtuX6zA rmH11zcfTCA6ifz/eWfBMqo3kLkJSndW6GsmfdzO9RL9w0MUzSvyYDCxIQaBgmIBohySv iscuaxPYY/XQgimnAlnNGKQq141+Ht7G0pI= From: Lad Prabhakar commit 06c3b7a60b4b248ed12229ea39399be0501532de upstream. RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2, therefore add relevant documentation. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Reviewed-by: Guenter Roeck Signed-off-by: Rob Herring [biju: Patched text version of bindings file] Signed-off-by: Biju Das --- Documentation/devicetree/bindings/watchdog/renesas-wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt b/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt index 050bcf0e3e00..0541781344af 100644 --- a/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt @@ -5,6 +5,7 @@ Required properties: fallback compatible string when compatible with the generic version. Examples with soctypes are: + - "renesas,r8a7742-wdt" (RZ/G1H) - "renesas,r8a7743-wdt" (RZ/G1M) - "renesas,r8a7744-wdt" (RZ/G1N) - "renesas,r8a7745-wdt" (RZ/G1E) From patchwork Wed Sep 2 16:05: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: 11751125 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 B8E091575 for ; Wed, 2 Sep 2020 16:06:41 +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 19A47207EA for ; Wed, 2 Sep 2020 16:06:40 +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="B1cMj1tS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19A47207EA 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+5372+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id 9mP8YY4521763xRWIUqcGHdW; Wed, 02 Sep 2020 09:06:40 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com [210.160.252.172]) by mx.groups.io with SMTP id smtpd.web11.11147.1599062725125566061 for ; Wed, 02 Sep 2020 09:05:25 -0700 X-IronPort-AV: E=Sophos;i="5.76,383,1592838000"; d="scan'208";a="55980479" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 03 Sep 2020 01:05:24 +0900 X-Received: from localhost.localdomain (unknown [172.29.51.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id E2A3340065AE; Thu, 3 Sep 2020 01:05:22 +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 2/9] ARM: dts: r8a7742: Add RWDT node Date: Wed, 2 Sep 2020 17:05:07 +0100 Message-Id: <20200902160517.5181-3-biju.das.jz@bp.renesas.com> In-Reply-To: <20200902160517.5181-1-biju.das.jz@bp.renesas.com> References: <20200902160517.5181-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: DXffrvnYRxhp7nRq5e4NcAPmx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599062800; bh=vcxCpnIDZRNdW+cwLTB8n+ecnirqB7i4RiXHOFbvmlw=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=B1cMj1tSSUZCsm9SeLa9bGL0yOVxZ9sPfRRK6PtQphX16um+vswazflkOxpUkWzHwrz PCSpW+sQUytipUyw4tO/Cm4n71QSoHlYEZRyy+7uj/3IDIZRFPPCJd+719zmhYZs7KBfK 4yxQCaEKPtBOdLhbiZdddu0r0OLGksC472o= From: Lad Prabhakar commit 72d1a34e3cedbb48513db50bb651c5ccf53e5a27 upstream. Add a device node for the Watchdog Timer (RWDT) controller on the Renesas RZ/G1H (r8a7742) SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Wolfram Sang Link: https://lore.kernel.org/r/1590172641-1556-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven [biju: changed clocks and power-domain properties, removed resets property] Signed-off-by: Biju Das --- arch/arm/boot/dts/r8a7742.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index fd4da0d6269e..50f70b358bce 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -607,6 +607,16 @@ #size-cells = <2>; ranges; + rwdt: watchdog@e6020000 { + compatible = "renesas,r8a7742-wdt", + "renesas,rcar-gen2-wdt"; + reg = <0 0xe6020000 0 0x0c>; + interrupts = ; + clocks = <&mstp4_clks R8A7742_CLK_RWDT>; + power-domains = <&cpg_clocks>; + status = "disabled"; + }; + gpio0: gpio@e6050000 { compatible = "renesas,gpio-r8a7742", "renesas,rcar-gen2-gpio"; From patchwork Wed Sep 2 16:05:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11751127 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 C0B89722 for ; Wed, 2 Sep 2020 16:06:41 +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 19B3D20BED for ; Wed, 2 Sep 2020 16:06:40 +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="OJCZlL90" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19B3D20BED 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+5374+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id n5BZYY4521763xO6rYi1siqd; Wed, 02 Sep 2020 09:06:40 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web11.11147.1599062725125566061 for ; Wed, 02 Sep 2020 09:05:28 -0700 X-IronPort-AV: E=Sophos;i="5.76,383,1592838000"; d="scan'208";a="55980488" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 03 Sep 2020 01:05:28 +0900 X-Received: from localhost.localdomain (unknown [172.29.51.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id CBF0640065AE; Thu, 3 Sep 2020 01:05:26 +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 3/9] ARM: dts: r8a7742-iwg21d-q7: Add RWDT support Date: Wed, 2 Sep 2020 17:05:09 +0100 Message-Id: <20200902160517.5181-5-biju.das.jz@bp.renesas.com> In-Reply-To: <20200902160517.5181-1-biju.das.jz@bp.renesas.com> References: <20200902160517.5181-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: 22PfEQ9nrRD4pxRuJQIgbRFtx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599062800; bh=dJb+GVpTJTcfaj6+r8RK0wbjNYItBdLSevqmZfy0IxM=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=OJCZlL90BEup4AAdbpiwq98h6ElSIqPbcSMwsHTsEtcPKpCVF+9UzeivKaGXHWniQ/f u6dl02GiIPVDXkKu377rplwiUnSmTHCHRFNKlqQH2oylxx8Ir1go7W6CzkWiozEdIzyWQ Ho5hzeJ6ZnVpJOFEJYOLMRfWwhefff82U2U= From: Lad Prabhakar commit 5a07fe33b8d4db72f825de90f8361a6a8680ba5f upstream. Enable RWDT and use 60 seconds as default timeout. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Link: https://lore.kernel.org/r/1590420129-7531-5-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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts index 82abbb758046..3197aa5852f9 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -78,6 +78,11 @@ }; }; +&rwdt { + timeout-sec = <60>; + status = "okay"; +}; + &scifa2 { pinctrl-0 = <&scifa2_pins>; pinctrl-names = "default"; From patchwork Wed Sep 2 16:05: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: 11751133 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 AB62F1866 for ; Wed, 2 Sep 2020 16:06:42 +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 3AA8D21548 for ; Wed, 2 Sep 2020 16:06:42 +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="ir/HgEH7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3AA8D21548 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+5375+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id GG3yYY4521763xL0FAl4AI2s; Wed, 02 Sep 2020 09:06:42 -0700 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com [210.160.252.171]) by mx.groups.io with SMTP id smtpd.web10.11290.1599062730775497221 for ; Wed, 02 Sep 2020 09:05:31 -0700 X-IronPort-AV: E=Sophos;i="5.76,383,1592838000"; d="scan'208";a="56196971" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 03 Sep 2020 01:05:30 +0900 X-Received: from localhost.localdomain (unknown [172.29.51.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id BC20040065AE; Thu, 3 Sep 2020 01:05: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 4/5] ARM: dts: r8a7742-iwg21d-q7: Enable SDHI2 controller Date: Wed, 2 Sep 2020 17:05:10 +0100 Message-Id: <20200902160517.5181-6-biju.das.jz@bp.renesas.com> In-Reply-To: <20200902160517.5181-1-biju.das.jz@bp.renesas.com> References: <20200902160517.5181-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: cFH2uDScm6l9JHOmqX5YnRHqx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599062802; bh=AmlXajWkvCiLaK5xzt+xL82HDT9Cq0mu+E1Q47nCg4M=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=ir/HgEH7RdIWLQlW/3ZvQQ941WG53/ruKgNhbPYgMGKnSZNiR8pKs7cQD92LOCLVW/k uPwRjTzgeWt1IBwomDyAu66+lOb4JRkBihSMrlC9E1mePaHHMJPfzLK6PHUWsWa8Q4g+I CYLA15odVkwyFxt/OW/BFIm6gKzdE7ay0XE= From: Lad Prabhakar commit b3850cd90edc0baad2ec47293f4ec3c929de6f76 upstream. Enable the SDHI2 controller on iWave RZ/G1H carrier board. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Link: https://lore.kernel.org/r/1590420129-7531-3-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven [biju: removed sd-uhs-sdr50 property, since voltage switching is not supported in 4.4 kernel] Signed-off-by: Biju Das --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts index 8ce82ad3d946..82abbb758046 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -21,6 +21,28 @@ bootargs = "ignore_loglevel root=/dev/mmcblk0p1 rw rootwait"; stdout-path = "serial2:115200n8"; }; + + vcc_sdhi2: regulator-vcc-sdhi2 { + compatible = "regulator-fixed"; + + regulator-name = "SDHI2 Vcc"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&gpio1 27 GPIO_ACTIVE_LOW>; + }; + + vccq_sdhi2: regulator-vccq-sdhi2 { + compatible = "regulator-gpio"; + + regulator-name = "SDHI2 VccQ"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + + gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; + gpios-states = <1>; + states = <3300000 1>, <1800000 0>; + }; }; &avb { @@ -48,6 +70,12 @@ groups = "scifa2_data_c"; function = "scifa2"; }; + + sdhi2_pins: sd2 { + groups = "sdhi2_data4", "sdhi2_ctrl"; + function = "sdhi2"; + power-source = <3300>; + }; }; &scifa2 { @@ -56,3 +84,14 @@ status = "okay"; }; + +&sdhi2 { + pinctrl-0 = <&sdhi2_pins>; + pinctrl-names = "default"; + + vmmc-supply = <&vcc_sdhi2>; + vqmmc-supply = <&vccq_sdhi2>; + cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; From patchwork Wed Sep 2 16:05: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: 11751121 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 18B4A17D5 for ; Wed, 2 Sep 2020 16:06:42 +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 E421F21527 for ; Wed, 2 Sep 2020 16:06:41 +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="paK+oKG4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E421F21527 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+5378+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id 18O2YY4521763x0y7cDodcT4; Wed, 02 Sep 2020 09:06:41 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web11.11147.1599062725125566061 for ; Wed, 02 Sep 2020 09:05:36 -0700 X-IronPort-AV: E=Sophos;i="5.76,383,1592838000"; d="scan'208";a="55980499" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 03 Sep 2020 01:05:36 +0900 X-Received: from localhost.localdomain (unknown [172.29.51.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id A536240062CD; Thu, 3 Sep 2020 01:05: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 5/5] ARM: dts: renesas: Fix SD Card/eMMC interface device node names Date: Wed, 2 Sep 2020 17:05:13 +0100 Message-Id: <20200902160517.5181-9-biju.das.jz@bp.renesas.com> In-Reply-To: <20200902160517.5181-1-biju.das.jz@bp.renesas.com> References: <20200902160517.5181-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: JDSrWOo0okEy5oojBgKoP6rAx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599062801; bh=96BdYQmsypVqjmaWRJgKf3vsLrsQ8H7+/IMxUPWpKrU=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=paK+oKG4MYJWqHR6HN5Vc9hDW88AluQd0QZ8svS87bPTwsKyVZUk3UXIEZgHxXm5W3G NN08adAI2kH9d1SKCphLUlDaChTpDOsdKeYdzyYKKR5AOZvytSJOS2EX7VVos3cfTKrE6 tBhixwmrsiM5LdoAji9PIjJlKGk2Rt2vrgA= From: Yoshihiro Shimoda commit d8293670ae46e84973c974ea5745527e90a8afbb upstream. Fix the device node names as "mmc@". Fixes: 66474697923c ("ARM: dts: r7s72100: add sdhi to device tree") Fixes: a49f76cddaee ("ARM: dts: r7s9210: Add SDHI support") Fixes: 43304a5f5106 ("ARM: shmobile: r8a73a4: tidyup DT node naming") Fixes: 7d907894bfe3 ("ARM: shmobile: r8a7740: tidyup DT node naming") Fixes: 3ab2ea5fd1ce ("ARM: dts: r8a7742: Add SDHI nodes") Fixes: 63ce8a617b51 ("ARM: dts: r8a7743: Add SDHI controllers") Fixes: b591e323b271 ("ARM: dts: r8a7744: Add SDHI nodes") Fixes: d83010f87ab3 ("ARM: dts: r8a7744: Initial SoC device tree") Fixes: 7079131ef9b9 ("ARM: dts: r8a7745: Add SDHI controllers") Fixes: 0485da788028 ("ARM: dts: r8a77470: Add SDHI1 support") Fixes: 15aa5a95e820 ("ARM: dts: r8a77470: Add SDHI0 support") Fixes: f068cc816015 ("ARM: dts: r8a77470: Add SDHI2 support") Fixes: 14e1d9147d96 ("ARM: shmobile: r8a7778: tidyup DT node naming") Fixes: 2624705ceb7b ("ARM: shmobile: r8a7779: tidyup DT node naming") Fixes: b718aa448378 ("ARM: shmobile: r8a7790: tidyup DT node naming") Fixes: b7ed8a0dd4f1 ("ARM: shmobile: Add SDHI devices to r8a7791 DTSI") Fixes: ce01b14ecf19 ("ARM: dts: r8a7792: add SDHI support") Fixes: fc9ee228f500 ("ARM: dts: r8a7793: Add SDHI controllers") Fixes: b8e8ea127d00 ("ARM: shmobile: r8a7794: add SDHI DT support") Fixes: 33f6be3bf6b7 ("ARM: shmobile: sh73a0: tidyup DT node naming") Signed-off-by: Yoshihiro Shimoda Link: https://lore.kernel.org/r/1594382936-14114-1-git-send-email-yoshihiro.shimoda.uh@renesas.com Signed-off-by: Geert Uytterhoeven [biju: Ported the changes only for RZG1[HMNEC] SoC's] Signed-off-by: Biju Das --- arch/arm/boot/dts/r8a7742.dtsi | 8 ++++---- arch/arm/boot/dts/r8a7743.dtsi | 6 +++--- arch/arm/boot/dts/r8a7744.dtsi | 6 +++--- arch/arm/boot/dts/r8a7745.dtsi | 6 +++--- arch/arm/boot/dts/r8a77470.dtsi | 6 +++--- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index f4d571b4a4db..fd4da0d6269e 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -955,7 +955,7 @@ status = "disabled"; }; - sdhi0: sd@ee100000 { + sdhi0: mmc@ee100000 { compatible = "renesas,sdhi-r8a7742", "renesas,rcar-gen2-sdhi"; reg = <0 0xee100000 0 0x328>; @@ -969,7 +969,7 @@ status = "disabled"; }; - sdhi1: sd@ee120000 { + sdhi1: mmc@ee120000 { compatible = "renesas,sdhi-r8a7742", "renesas,rcar-gen2-sdhi"; reg = <0 0xee120000 0 0x328>; @@ -983,7 +983,7 @@ status = "disabled"; }; - sdhi2: sd@ee140000 { + sdhi2: mmc@ee140000 { compatible = "renesas,sdhi-r8a7742", "renesas,rcar-gen2-sdhi"; reg = <0 0xee140000 0 0x100>; @@ -997,7 +997,7 @@ status = "disabled"; }; - sdhi3: sd@ee160000 { + sdhi3: mmc@ee160000 { compatible = "renesas,sdhi-r8a7742", "renesas,rcar-gen2-sdhi"; reg = <0 0xee160000 0 0x100>; diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi index 9ea92a367e86..aff5ebbdb4bd 100644 --- a/arch/arm/boot/dts/r8a7743.dtsi +++ b/arch/arm/boot/dts/r8a7743.dtsi @@ -902,7 +902,7 @@ status = "disabled"; }; - sdhi0: sd@ee100000 { + sdhi0: mmc@ee100000 { compatible = "renesas,sdhi-r8a7743"; reg = <0 0xee100000 0 0x328>; interrupts = ; @@ -915,7 +915,7 @@ status = "disabled"; }; - sdhi1: sd@ee140000 { + sdhi1: mmc@ee140000 { compatible = "renesas,sdhi-r8a7743"; reg = <0 0xee140000 0 0x100>; interrupts = ; @@ -928,7 +928,7 @@ status = "disabled"; }; - sdhi2: sd@ee160000 { + sdhi2: mmc@ee160000 { compatible = "renesas,sdhi-r8a7743"; reg = <0 0xee160000 0 0x100>; interrupts = ; diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi index 9e1885ce4948..079f46f17049 100644 --- a/arch/arm/boot/dts/r8a7744.dtsi +++ b/arch/arm/boot/dts/r8a7744.dtsi @@ -1360,7 +1360,7 @@ }; }; - sdhi0: sd@ee100000 { + sdhi0: mmc@ee100000 { compatible = "renesas,sdhi-r8a7744"; reg = <0 0xee100000 0 0x328>; interrupts = ; @@ -1373,7 +1373,7 @@ status = "disabled"; }; - sdhi1: sd@ee140000 { + sdhi1: mmc@ee140000 { compatible = "renesas,sdhi-r8a7744"; reg = <0 0xee140000 0 0x100>; interrupts = ; @@ -1386,7 +1386,7 @@ status = "disabled"; }; - sdhi2: sd@ee160000 { + sdhi2: mmc@ee160000 { compatible = "renesas,sdhi-r8a7744"; reg = <0 0xee160000 0 0x100>; interrupts = ; diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index 54b556b34663..5f603d9eafea 100644 --- a/arch/arm/boot/dts/r8a7745.dtsi +++ b/arch/arm/boot/dts/r8a7745.dtsi @@ -1211,7 +1211,7 @@ }; }; - sdhi0: sd@ee100000 { + sdhi0: mmc@ee100000 { compatible = "renesas,sdhi-r8a7745"; reg = <0 0xee100000 0 0x328>; interrupts = ; @@ -1224,7 +1224,7 @@ status = "disabled"; }; - sdhi1: sd@ee140000 { + sdhi1: mmc@ee140000 { compatible = "renesas,sdhi-r8a7745"; reg = <0 0xee140000 0 0x100>; interrupts = ; @@ -1237,7 +1237,7 @@ status = "disabled"; }; - sdhi2: sd@ee160000 { + sdhi2: mmc@ee160000 { compatible = "renesas,sdhi-r8a7745"; reg = <0 0xee160000 0 0x100>; interrupts = ; diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi index dc345754ce61..1057bff76cc8 100644 --- a/arch/arm/boot/dts/r8a77470.dtsi +++ b/arch/arm/boot/dts/r8a77470.dtsi @@ -664,7 +664,7 @@ status = "disabled"; }; - sdhi0: sd@ee100000 { + sdhi0: mmc@ee100000 { compatible = "renesas,sdhi-r8a77470", "renesas,rcar-gen2-sdhi"; reg = <0 0xee100000 0 0x328>; @@ -678,7 +678,7 @@ status = "disabled"; }; - sdhi1: sd@ee300000 { + sdhi1: mmc@ee300000 { compatible = "renesas,sdhi-mmc-r8a77470"; reg = <0 0xee300000 0 0x2000>; interrupts = ; @@ -688,7 +688,7 @@ status = "disabled"; }; - sdhi2: sd@ee160000 { + sdhi2: mmc@ee160000 { compatible = "renesas,sdhi-r8a77470", "renesas,rcar-gen2-sdhi"; reg = <0 0xee160000 0 0x328>; From patchwork Wed Sep 2 16:05: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: 11751137 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 F2FCA1575 for ; Wed, 2 Sep 2020 16:06:43 +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 8669D21582 for ; Wed, 2 Sep 2020 16:06:42 +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="WTWDvS2E" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8669D21582 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+5379+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id zz2WYY4521763xvS1LozIQma; Wed, 02 Sep 2020 09:06:42 -0700 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web10.11290.1599062730775497221 for ; Wed, 02 Sep 2020 09:05:38 -0700 X-IronPort-AV: E=Sophos;i="5.76,383,1592838000"; d="scan'208";a="56196980" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 03 Sep 2020 01:05:38 +0900 X-Received: from localhost.localdomain (unknown [172.29.51.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 9873240065AE; Thu, 3 Sep 2020 01:05:36 +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 6/9] ARM: dts: r8a7742: Add CMT SoC specific support Date: Wed, 2 Sep 2020 17:05:14 +0100 Message-Id: <20200902160517.5181-10-biju.das.jz@bp.renesas.com> In-Reply-To: <20200902160517.5181-1-biju.das.jz@bp.renesas.com> References: <20200902160517.5181-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: 7TyykKGxFRBFDnOxGoLL7Anjx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599062802; bh=YEpMqr9E2Ql9F9rB764yO8TtrzNpAaSwhFwiko2UAnc=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=WTWDvS2ElIHnnOfgGlcF9K4SNka3nh/F5mA7PBn+Vq6iBhPJaunGXFvxrgtP0w/fomJ 0MW1TjSWPqsOaZ7UDormsbTILlHH+zmY56NtoiaT4fSrUFgviwBSYHvNXMzovo8mWRtZl iWEA82UQwtEhhzK0/+WhvKh+83mePw0yVpw= From: Lad Prabhakar commit 5818cc37e7fc72d9f2da255d9648c5f2e1a33b22 upstream. Add CMT[01] support to r8a7742 SoC DT. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Link: https://lore.kernel.org/r/1590614320-30160-5-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven [biju: changed clocks and power-domain properties, removed resets property, added renesas,channel-mask property] Signed-off-by: Biju Das --- arch/arm/boot/dts/r8a7742.dtsi | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index 97bedc13f702..ada98d3fe290 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -1073,6 +1073,42 @@ clock-names = "clk"; power-domains = <&cpg_clocks>; }; + + cmt0: timer@ffca0000 { + compatible = "renesas,cmt-48-r8a7742", + "renesas,cmt-48-gen2"; + reg = <0 0xffca0000 0 0x1004>; + interrupts = , + ; + clocks = <&mstp1_clks R8A7742_CLK_CMT0>; + clock-names = "fck"; + power-domains = <&cpg_clocks>; + + renesas,channels-mask = <0x60>; + + status = "disabled"; + }; + + cmt1: timer@e6130000 { + compatible = "renesas,cmt-48-r8a7742", + "renesas,cmt-48-gen2"; + reg = <0 0xe6130000 0 0x1004>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&mstp3_clks R8A7742_CLK_CMT1>; + clock-names = "fck"; + power-domains = <&cpg_clocks>; + + renesas,channels-mask = <0xff>; + + status = "disabled"; + }; }; thermal-zones { From patchwork Wed Sep 2 16:05:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11751139 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 F418217C7 for ; Wed, 2 Sep 2020 16:06:43 +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 9C26D2158C for ; Wed, 2 Sep 2020 16:06:43 +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="inVLEXVx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C26D2158C 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+5380+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id vlWqYY4521763xRckgFj1lSR; Wed, 02 Sep 2020 09:06:42 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web11.11147.1599062725125566061 for ; Wed, 02 Sep 2020 09:05:40 -0700 X-IronPort-AV: E=Sophos;i="5.76,383,1592838000"; d="scan'208";a="55980503" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 03 Sep 2020 01:05:39 +0900 X-Received: from localhost.localdomain (unknown [172.29.51.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 8C41940065AE; Thu, 3 Sep 2020 01:05:38 +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 7/9] spi: renesas,sh-msiof: Add r8a7742 support Date: Wed, 2 Sep 2020 17:05:15 +0100 Message-Id: <20200902160517.5181-11-biju.das.jz@bp.renesas.com> In-Reply-To: <20200902160517.5181-1-biju.das.jz@bp.renesas.com> References: <20200902160517.5181-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: PUI7dsoiAEeMzWtxwGRENVqFx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599062802; bh=Ec+UJHtxNWKqOROBCBfOmsA/pjV2mL5lP5yAQjUDNyw=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=inVLEXVxpxWrHzQI8IcXqWXfo+L47KKGbwfmnUcsw3/KSQAHNi5265wFvIYCsqVCCPQ OzZyfguLjee0QQjUh4vcG3NaNgBK22TPQwDDVVdppCiBM1wjAZnSu5kGsXl5YMYpVeZ8M X6uDLLmsB7QmY1HoJEimzTK4n7eWP7QGF9g= From: Lad Prabhakar commit 6383b118efafff8cce8fc8fa5b7e893a523b698f upstream. Document RZ/G1H (R8A7742) SoC bindings. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/1591736054-568-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Mark Brown [biju: Patched text version of bindings file] Signed-off-by: Biju Das --- Documentation/devicetree/bindings/spi/sh-msiof.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/sh-msiof.txt b/Documentation/devicetree/bindings/spi/sh-msiof.txt index 7a20ec6a595e..80aa70517dd2 100644 --- a/Documentation/devicetree/bindings/spi/sh-msiof.txt +++ b/Documentation/devicetree/bindings/spi/sh-msiof.txt @@ -1,7 +1,8 @@ Renesas MSIOF spi controller Required properties: -- compatible : "renesas,msiof-r8a7743" (RZ/G1M) +- compatible : "renesas,msiof-r8a7742" (RZ/G1H) + "renesas,msiof-r8a7743" (RZ/G1M) "renesas,msiof-r8a7745" (RZ/G1E) "renesas,msiof-r8a7790" (R-Car H2) "renesas,msiof-r8a7791" (R-Car M2-W) From patchwork Wed Sep 2 16:05:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11751145 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 B810B1575 for ; Wed, 2 Sep 2020 16:06:44 +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 93006207EA for ; Wed, 2 Sep 2020 16:06:44 +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="MO+1z7g0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 93006207EA 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+5381+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id PvFqYY4521763xzobIgkDm5J; Wed, 02 Sep 2020 09:06:44 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web11.11147.1599062725125566061 for ; Wed, 02 Sep 2020 09:05:42 -0700 X-IronPort-AV: E=Sophos;i="5.76,383,1592838000"; d="scan'208";a="55980507" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 03 Sep 2020 01:05:41 +0900 X-Received: from localhost.localdomain (unknown [172.29.51.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 74E964008547; Thu, 3 Sep 2020 01:05:40 +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 8/9] ARM: dts: r8a7742: Add MSIOF[0123] support Date: Wed, 2 Sep 2020 17:05:16 +0100 Message-Id: <20200902160517.5181-12-biju.das.jz@bp.renesas.com> In-Reply-To: <20200902160517.5181-1-biju.das.jz@bp.renesas.com> References: <20200902160517.5181-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: yzEPCJB7Ya0NoPaNrxdAl8u9x4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599062804; bh=pz8je4ZJMgFPmV6VKJN0kyjbIxSsFuVracpp5i+il0w=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=MO+1z7g0hQz54NjLr5LF609tIp0WwVuFEhiLixSn4hvF/N94MDgrve0iNRO8OThg1gQ IUHyY5qmrhnjzdmplpgKWIca3Aw/xe+hlX/6g8H20+Ga7X7eHsgV+vySWk2lKUELMSXcL kLRAT6Z7+Dxzl+ooov8e2UREO5M7dvZ0+3Q= From: Lad Prabhakar commit 4b0ee283de6c525478c98d3b3d15a4aed7d96de6 upstream. Add the DT nodes needed by MSIOF[0123] interfaces to the SoC dtsi. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Link: https://lore.kernel.org/r/1591736054-568-3-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven [biju: changed clocks and power-domain properties, removed resets property] Signed-off-by: Biju Das --- arch/arm/boot/dts/r8a7742.dtsi | 60 ++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index ada98d3fe290..694b20354575 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -975,6 +975,66 @@ status = "disabled"; }; + msiof0: spi@e6e20000 { + compatible = "renesas,msiof-r8a7742", + "renesas,rcar-gen2-msiof"; + reg = <0 0xe6e20000 0 0x0064>; + interrupts = ; + clocks = <&mstp0_clks R8A7742_CLK_MSIOF0>; + dmas = <&dmac0 0x51>, <&dmac0 0x52>, + <&dmac1 0x51>, <&dmac1 0x52>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&cpg_clocks>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + msiof1: spi@e6e10000 { + compatible = "renesas,msiof-r8a7742", + "renesas,rcar-gen2-msiof"; + reg = <0 0xe6e10000 0 0x0064>; + interrupts = ; + clocks = <&mstp2_clks R8A7742_CLK_MSIOF1>; + dmas = <&dmac0 0x55>, <&dmac0 0x56>, + <&dmac1 0x55>, <&dmac1 0x56>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&cpg_clocks>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + msiof2: spi@e6e00000 { + compatible = "renesas,msiof-r8a7742", + "renesas,rcar-gen2-msiof"; + reg = <0 0xe6e00000 0 0x0064>; + interrupts = ; + clocks = <&mstp2_clks R8A7742_CLK_MSIOF2>; + dmas = <&dmac0 0x41>, <&dmac0 0x42>, + <&dmac1 0x41>, <&dmac1 0x42>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&cpg_clocks>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + msiof3: spi@e6c90000 { + compatible = "renesas,msiof-r8a7742", + "renesas,rcar-gen2-msiof"; + reg = <0 0xe6c90000 0 0x0064>; + interrupts = ; + clocks = <&mstp2_clks R8A7742_CLK_MSIOF3>; + dmas = <&dmac0 0x45>, <&dmac0 0x46>, + <&dmac1 0x45>, <&dmac1 0x46>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&cpg_clocks>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + sdhi0: mmc@ee100000 { compatible = "renesas,sdhi-r8a7742", "renesas,rcar-gen2-sdhi"; From patchwork Wed Sep 2 16:05:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11751141 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 5E16A18E4 for ; Wed, 2 Sep 2020 16:06:44 +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 3856020BED for ; Wed, 2 Sep 2020 16:06:44 +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="SoenM4zr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3856020BED 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+5382+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id K9X8YY4521763xRMB6H8GSf1; Wed, 02 Sep 2020 09:06:43 -0700 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com [210.160.252.171]) by mx.groups.io with SMTP id smtpd.web11.11154.1599062744364900783 for ; Wed, 02 Sep 2020 09:05:44 -0700 X-IronPort-AV: E=Sophos;i="5.76,383,1592838000"; d="scan'208";a="56196984" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 03 Sep 2020 01:05:43 +0900 X-Received: from localhost.localdomain (unknown [172.29.51.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 6193240065AE; Thu, 3 Sep 2020 01:05:42 +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 9/9] ARM: dts: r8a7742-iwg21d-q7: Enable cmt0 Date: Wed, 2 Sep 2020 17:05:17 +0100 Message-Id: <20200902160517.5181-13-biju.das.jz@bp.renesas.com> In-Reply-To: <20200902160517.5181-1-biju.das.jz@bp.renesas.com> References: <20200902160517.5181-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: T4ER7hKNZcaQfpnuYSgKKTFdx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599062803; bh=MYxCXr2PfGadGsNOQbjpN+PHVjLOh3kopfwtghQwgw4=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=SoenM4zrVX5thlUd+Ht4R7w6Kwojtxs2EimLP9ivaRZvwdULk2yLNUJtQJTdRIojizT SvmLNMKPUPMPsj6wDRJINFsjrq5gjTfZVm6+0gVOEXEN3WrZj3MicwUtrWCGf8QFdrVDu STFCvaQqeOGeXJxtFmQZEb65WTZN1hc7gyo= From: Lad Prabhakar commit 4304d880a1c3676f21e60dc3bb919ff6e7d10ebf upstream. Enable cmt0 support on r8a7742-iwg21d-q7 board. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Link: https://lore.kernel.org/r/20200806183152.11809-2-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven [biju: Ported the patch from linux next] Signed-off-by: Biju Das --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts index 3197aa5852f9..1c7e58d47d73 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -60,6 +60,10 @@ }; }; +&cmt0 { + status = "okay"; +}; + &pfc { avb_pins: avb { groups = "avb_mdio", "avb_gmii";