Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1430990pxb; Fri, 13 Nov 2020 12:28:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYnTi0dyuVYEog9lOTfHsO652c9hS8/y5OUCBXIVWr2E0mqnZbn+HCxz+HLIQmZUnENHZw X-Received: by 2002:aa7:d14a:: with SMTP id r10mr4227040edo.225.1605299323844; Fri, 13 Nov 2020 12:28:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605299323; cv=none; d=google.com; s=arc-20160816; b=Gk8o2iu7eURQ85Dths9hueKKJhjn/CDArCPrU1xU5q240f31UZWcmkluhwL6xU+iO9 HWtmlf/5/0vTtKAvRqAPjJnXy12XdOyZMYwpcYUt8+XiYe/SsQEo3oCg4JpjZmP88vzU H9E5yupv8onySEH3rHTOmtJaucqDLAebqUorgSTiCMxqDGes6IqQMsg/ZwJr7mpJzAub Hk1KUMDN10j/QM4FwgD+TlfLYoZgX/pYnQDItqSxkiVkXKlk3DUdR7u4PmveoiVJ3UVY XgjYHMAYUox13OhabXpMOaLeLtlmpUc0eDZ8kmqoIwH6xW7a+r528aRcvfk90Ek5vJj7 16hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:wdcironportexception :ironport-sdr:ironport-sdr:ironport-sdr:dkim-signature; bh=Rku3mow86nRHn47Vm0ZwlH8wDlxl8r+SQsC8Ch5mjic=; b=MXwPDdv6aBkTNZX/JY7b+Q9acFRRZV9bYGl3Seupv6/JKD+iwifvPET0WnL+VtkJ1S dKpU4GczFqIPnV4DnqyBb+x9vIRtMv9Ch6Ap0ifUYRBZ6i0xQ23keYOW7gf1ugjUd9Q+ h8Up6G5nyP/QH31FzJQTPyHKtPPOLcsXjZ3bdczJi0i1S211s2F6swp1tkultiK+E3XG iBGYUKj48aqR+7myUSriBPothtCKD7zcBnTm5ywcJXEaVWsn0kGbjnYTsDCRV9GWjM3y QcXyO9xv95h3Q4nM0ku1EOdEV+S5Lym1Bhc48hz/psinqI4UYXn2p0GVM/CqHfuCEqj0 VHUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b="mo/4EqwY"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u2si6340734ejo.423.2020.11.13.12.28.21; Fri, 13 Nov 2020 12:28:43 -0800 (PST) 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; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b="mo/4EqwY"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726184AbgKMU0N (ORCPT + 99 others); Fri, 13 Nov 2020 15:26:13 -0500 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:43164 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725959AbgKMU0M (ORCPT ); Fri, 13 Nov 2020 15:26:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1605299171; x=1636835171; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=aMGUJyhItmKZRJpcyfb3GcMubGvsstL4VJvXXylXx24=; b=mo/4EqwYt/vJ5vRwFE+54zQNGTesTMnii582sRlZ5RXDgTUBcQlznZwM NOTJ7NqNc8EG3FjEwI+DGTOPpjIlNSsl2NmBQEA7SbdwcdnySgGFizQ4f xvbZwSs82iI+W8jnxO1FttmUlaaUj2A3zA2Kcy/5lUrhbZLYFxoa9LpLL RQUAUqW5ZAcw3d1sFhQw+AeN4VEATFQA7ylL9WecGwDysoZMBM/OffQFz 8oFNqZFxE9nvKNDdh9fytwosCUgxOkGUXBsmmf/xo/NCkgBKpHGvM0VEv 8ADDOFYBLUhgijjd8q3VzN1O2Q27dIUSLFmqBl2oOclVvfkmdPPR7AAOa A==; IronPort-SDR: GvT65azZmgLwc59EIrQoI2m4/qwDap8RpGvDQjl7ZxURfdMgdpp5GLJWCTMAgfuICy/GobxELG BPkzNhCCfEu+yYiSxFV25FW4OdYt6m+A4skW4yMJZhcugDi7ROMJC9EUltUqgNgaUzsv5IGGmu IHwNLvBRnbTkMX/7CKquRHj8qAr6Ku9rOoTWcqGnkRWldmUccZpeuxM5kHnA55X8XqETzhlkL0 oIBOnapG6DK1ZIRNkkmdmueLKRFVUjp0vb1Vbngbt2fUC+wbMbaYlP4k0Qb8/aFZh03fmS3+nd 18o= X-IronPort-AV: E=Sophos;i="5.77,476,1596470400"; d="scan'208";a="157074936" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 14 Nov 2020 04:26:11 +0800 IronPort-SDR: Nz+OGuTERmoGQg2D188Pub6lsQthrwIU2wGXQnsrB1+gyJW5bIppdkPGEeehNo3u3wMHZb1KWW 35WLrUGkQTjrJrZiZ671kldLNiCnIpss33rPshIPF4eam7jJKpCxgMhJCNX7iYxM7Lcq99nHu+ 85AhAFJZBUdauVoWcRTyvzPlm52QJsOE2peLQe67jPuhJQPsooppLDEEJjk0rEuq7n9kNR+RGS i5tLcc/Kv+a46wFUMNBtsOeE6R/zgHOnxO8NDTHRG8j9k0Gbypv4U2kYTUtJWpogAAH/2tmeKo ubMr+XXBrIau98NNF1w2uWS0 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2020 12:12:08 -0800 IronPort-SDR: rFi0Qt+Ab2PLPGASxi8YGY51ueh2j8HSBInPX4L6oSpxE3yB1nxkkVjJFgFzIyP65RA6tjRJRf lDdvuy5JFqS0iZtICpeXAlpHnDGUS/xxGuMcmjZFpiuNOHXYzy7TYLG3t8N74yLCZi4nn/RNAO pDvshD5qtKC4VLfSvNCuZZfD7SfpbiBGUAPAsLfPM8K40ByqpqxyZK4WXpNu3kmZFEDiv29ByD vNRZnfSiJ7+ouT1WWcVLzrSCl5+bR9wCYCOWe+cXCH7GHP0IeQu8R58sj21nP0leA3oO86yCZc 9+c= WDCIronportException: Internal Received: from usa003372.ad.shared (HELO jedi-01.hgst.com) ([10.86.61.22]) by uls-op-cesaip01.wdc.com with ESMTP; 13 Nov 2020 12:26:12 -0800 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Albert Ou , Alistair Francis , Anup Patel , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Palmer Dabbelt , Paul Walmsley , Rob Herring , Daire McNamara , Cyril.Jean@microchip.com, Ivan.Griffin@microchip.com, Conor.Dooley@microchip.com Subject: [RFC PATCH v2 0/4] Add Microchip PolarFire Soc Support Date: Fri, 13 Nov 2020 12:25:46 -0800 Message-Id: <20201113202550.3693323-1-atish.patra@wdc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds minimal support for Microchip Polar Fire Soc Icicle kit. It is rebased on v5.10-rc3 and depends on clock support. Only MMC and ethernet drivers are enabled via this series. The idea here is to add the foundational patches so that other drivers can be added to on top of this. The device tree may change based on feedback on bindings of individual driver support patches. This series has been tested on Qemu and Polar Fire Soc Icicle kit. The following qemu series is necessary to test it on Qemu. The series can also be found at. https://github.com/atishp04/linux/tree/polarfire_support_upstream_v2 I noticed the latest version of mmc driver[2] hangs on the board with the latest clock driver. That's why, I have tested with the old clock driver available in the above github repo. [1] https://lists.nongnu.org/archive/html/qemu-devel/2020-10/msg08582.html [2] https://www.spinics.net/lists/devicetree/msg383626.html @Cyril: I have added you as the maintainer for this board as I am not sure who else from Microchip should be the added to the maintainer list. Please let me know and I can add the entry to the MAINTAINERS file in next version. Changes from v1->v2: 1. Modified the DT to match the device tree in U-Boot. 2. Added both eMMC & SDcard entries in DT. However, SD card is only enabled as it allows larger storage option for linux distros. Atish Patra (4): RISC-V: Add Microchip PolarFire SoC kconfig option dt-bindings: riscv: microchip: Add YAML documentation for the PolarFire SoC RISC-V: Initial DTS for Microchip ICICLE board RISC-V: Enable Microchip PolarFire ICICLE SoC .../devicetree/bindings/riscv/microchip.yaml | 27 ++ arch/riscv/Kconfig.socs | 7 + arch/riscv/boot/dts/Makefile | 1 + arch/riscv/boot/dts/microchip/Makefile | 2 + .../microchip/microchip-mpfs-icicle-kit.dts | 54 +++ .../boot/dts/microchip/microchip-mpfs.dtsi | 342 ++++++++++++++++++ arch/riscv/configs/defconfig | 4 + 7 files changed, 437 insertions(+) create mode 100644 Documentation/devicetree/bindings/riscv/microchip.yaml create mode 100644 arch/riscv/boot/dts/microchip/Makefile create mode 100644 arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts create mode 100644 arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi -- 2.25.1