Received: by 10.223.185.116 with SMTP id b49csp746867wrg; Tue, 20 Feb 2018 07:14:36 -0800 (PST) X-Google-Smtp-Source: AH8x225MNifuyyKdmSjbaBP41Tk4Gb2s7LOCcJKbAYmedl9VEpCmP/wWwu7Pq+qLVSF0xJQgva8z X-Received: by 10.99.157.193 with SMTP id i184mr15138400pgd.197.1519139675921; Tue, 20 Feb 2018 07:14:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519139675; cv=none; d=google.com; s=arc-20160816; b=WQx/dUMGhwuAsSyxgSk4C7Q8Mq1VT9a7lJ3V3Q7oyqW2dEC1Gy6nSt4XgE6fvYYkJe cAcdNNUKuk3kxasMlq93t4bP5u4QU67qXADS2H5+fnhQw6a9l5meVzbvuTTSr/zkNCaP GYQvRbWU9y9jdgvn1oEU3v1MIdXR/0K4d6Wu+gRqe0gYwAEHekABU1AlfKuOTGc2Ey7i k9imDRZdPjJNVzBqSzi7IiBrBV3CVphh5Ayu0YpyT0ohs7ZvHJN4Qr8RVhqYWCp5NUDS xJYBeNlV27dKfadiG5SpnZPF9UZO9mbizUXPPASL6yUOty9Wq/iY0FyI2Sxq4MY6wUcx cnsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Bt8yk+tptSXTqj0hS5F9jzd7kH5r0Z5rC6jsXcWSOpo=; b=PRIr00Me4sypaAHK/F/EKGo5pxFEek8TVRHr2Ztw5kIMz6rRL2Ef5ydJqqLGv8aUrK tSidiiswIpODs11hNjyGryEAIJJIu7z968xAzLN6ox3xBg99c/hERRm4vAAaQfy8Ymdu Pimr82BQHOcl7L1dTEUF3qxRZyJr9NqicjerTWhTWKq/I+rF+W7tNQW/PYrM0askQjuw ax3ybE5abosHPVYM4y4upYlCYxXzn9AGoNnEBtVOU4L8124RDHnqktYATn6zTXgb9iQo Y1wETV4JAuUWwyU+lgWEwi9XLIfLObHRfTzBU+5/+UUTeKoS98/x3VmLCUxYQRGHt+Fk mtxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b91-v6si5706353plb.819.2018.02.20.07.14.20; Tue, 20 Feb 2018 07:14:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752222AbeBTPNC (ORCPT + 99 others); Tue, 20 Feb 2018 10:13:02 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:39855 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752067AbeBTPNB (ORCPT ); Tue, 20 Feb 2018 10:13:01 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:6442:1ac4:4036:52e3:3484:3ff2]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 47ACEC5A69; Tue, 20 Feb 2018 16:12:36 +0100 (CET) From: Jacopo Mondi To: geert@linux-m68k.org, horms@verge.net.au, magnus.damm@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: Jacopo Mondi , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 00/19] R-Car M3-N initial support Date: Tue, 20 Feb 2018 16:12:02 +0100 Message-Id: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, second round for R-Car M3-N SoC and M3-N based Salvator-X board. I have fixed all comments I have received and re-based on latest Geert's renesas-drivers-2018-02-13-v4.16-rc1 I have applied requested changes, and updated PFC tables to comply with last patches applied to r8a7796 that were not part of v4.15 which v1 was based on. I have added a per-patch change log as summarizing all little changes here had not real benefit imho, being them mostly tiny changes specific to each patch. As a general note, I have split patches and bindings where requested and split single patches in multiple ones where opportune (mostly when adding components to drivers/soc/ and when introducing board and SoC DT files). Tested serial console output and Ethernet interface. Thanks j v1 -> v2: - Rebased on renesas-drivers-2018-02-13-v4.16-rc1 - Split patches when introducing rst, sysc in drivers/soc/ - Split patches when adding device tree file for Salvator-X board and r8a77965 SoC. - Single change logs are reported per-patch Jacopo Mondi (19): clk: renesas: cpg-mssr: Add support for R-Car M3-N soc: renesas: rcar-rst: Add support for R-Car M3-N soc: renesas: Identify R-Car M3-N soc: renesas: rcar-sysc: Add R-Car M3-N support pinctrl: sh-pfc: Initial R-Car M3-N support dt-bindings: arm: Document R-Car M3-N SoC DT bindings ARM64: Add Renesas R-Car M3-N config symbol ARM64: dts: Add Renesas R8A77965 SoC support ARM64: dts: Add R-Car Salvator-x M3-N support dt-bindings: dmaengine: rcar-dmac: document R8A77965 support ARM64: dts: r8a77965: Add dmac device nods dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF pinctrl: sh-pfc: r8a77965: Add SCIFs groups/functions ARM64: dts: r8a77965: Add SCIF device nodes dt-bindings: gpio: Add support for r8a77965 ARM64: dts: r8a77965: Add GPIO nodes dt-bindings: net: ravb: Add support for r8a77965 SoC pinctrl: sh-pfc: r8a77965: Add EtherAVB groups/functions ARM64: dts: r8a77965: Add EtherAVB device node Documentation/devicetree/bindings/arm/shmobile.txt | 2 + .../devicetree/bindings/clock/renesas,cpg-mssr.txt | 1 + .../devicetree/bindings/dma/renesas,rcar-dmac.txt | 1 + .../devicetree/bindings/gpio/renesas,gpio-rcar.txt | 1 + .../devicetree/bindings/net/renesas,ravb.txt | 1 + .../bindings/pinctrl/renesas,pfc-pinctrl.txt | 1 + .../bindings/power/renesas,rcar-sysc.txt | 1 + .../devicetree/bindings/reset/renesas,rst.txt | 1 + .../bindings/serial/renesas,sci-serial.txt | 2 + arch/arm64/Kconfig.platforms | 6 + arch/arm64/boot/dts/renesas/Makefile | 1 + .../arm64/boot/dts/renesas/r8a77965-salvator-x.dts | 21 + arch/arm64/boot/dts/renesas/r8a77965.dtsi | 782 +++++ drivers/clk/renesas/Kconfig | 5 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/r8a77965-cpg-mssr.c | 334 +++ drivers/clk/renesas/renesas-cpg-mssr.c | 6 + drivers/clk/renesas/renesas-cpg-mssr.h | 1 + drivers/pinctrl/sh-pfc/Kconfig | 5 + drivers/pinctrl/sh-pfc/Makefile | 1 + drivers/pinctrl/sh-pfc/core.c | 6 + drivers/pinctrl/sh-pfc/pfc-r8a77965.c | 3128 ++++++++++++++++++++ drivers/pinctrl/sh-pfc/sh_pfc.h | 1 + drivers/soc/renesas/Kconfig | 9 +- drivers/soc/renesas/Makefile | 1 + drivers/soc/renesas/r8a77965-sysc.c | 37 + drivers/soc/renesas/rcar-rst.c | 1 + drivers/soc/renesas/rcar-sysc.c | 3 + drivers/soc/renesas/rcar-sysc.h | 1 + drivers/soc/renesas/renesas-soc.c | 8 + include/dt-bindings/clock/r8a77965-cpg-mssr.h | 62 + include/dt-bindings/power/r8a77965-sysc.h | 30 + 32 files changed, 4459 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts create mode 100644 arch/arm64/boot/dts/renesas/r8a77965.dtsi create mode 100644 drivers/clk/renesas/r8a77965-cpg-mssr.c create mode 100644 drivers/pinctrl/sh-pfc/pfc-r8a77965.c create mode 100644 drivers/soc/renesas/r8a77965-sysc.c create mode 100644 include/dt-bindings/clock/r8a77965-cpg-mssr.h create mode 100644 include/dt-bindings/power/r8a77965-sysc.h -- 2.7.4