Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5499656ybi; Tue, 4 Jun 2019 07:34:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyGmoQjqMNjkO3j212BJ2fo4vC6JwlW883SOfPNsgOuWXdUsy+OXAY6lnqZtaFfQeMdOr5 X-Received: by 2002:a62:1b85:: with SMTP id b127mr39106055pfb.165.1559658882299; Tue, 04 Jun 2019 07:34:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559658882; cv=none; d=google.com; s=arc-20160816; b=UQgVgx/k6hykUdLTFRPVJah3kMLrfm76eCb0/ASaO2O70BlW/sqCJ/0PreeX1Srrvf dTbjranWE2A9FFxtbANmRosd7rfIIzyGHofvwsnA06g+ab3Q1JkcxTfVB8jNSSSRPVxp C2FGYOEbiv/wJ4InkZfupC57d5DEKPUsuHYKg0+UXU1ZLZU57tCAWZBrlLv5FveRC8oY 0ZBokJcE58K0PqLQix0tBeW2yR185dKSHJuSoD/ZMu1hJdVSp+jCZzPR5cs7ogjH9+CM rH8cFiGkuqu5B+oXj+YNPyiG/WZ1S+QdAnX99KVZiblJILU/Xl/YRefj2M0yKcOZodQ2 sS3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:to:from:dkim-signature; bh=iZarr12ESEXM+3F555ibf1PVEySArgP2BdGs23qHHOA=; b=g9g+c5mEv0Nal5wLPlSkU/0HW6qNFzDpZPZpYIDWxaHfs/zbPeHx5lS3GNcSTG7EIX EB/DaN/SgpE1KI2A/QcTH3bOql0t+idYVo63JIx2ZygLgtCFdUx280G0Wz15pYN8KO2g 5sj8lvlM+dVLuChyrjCx5h4yGnykn+hg2wxjeCGB7Hlawg7TBrTuwB9w4di4q6PIMnlF 0vv6mzX1+1lCntWqkyqtufY9+KPDQMr8eUogj/MJjwT5b12805h5yO22ULxz1Vmrz20N t9gZdM7YKAstq5su5A/ion+jiZ+vdIvUQsWnRKqdMRK0TEGH4Z1c6dp9SHorMR9J/VSP lg3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=BbQdUxnv; 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 k24si22955767pfk.195.2019.06.04.07.34.25; Tue, 04 Jun 2019 07:34:42 -0700 (PDT) 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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=BbQdUxnv; 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 S1727735AbfFDObg (ORCPT + 99 others); Tue, 4 Jun 2019 10:31:36 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:33657 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727552AbfFDObg (ORCPT ); Tue, 4 Jun 2019 10:31:36 -0400 Received: by mail-wm1-f67.google.com with SMTP id v19so2427123wmh.0 for ; Tue, 04 Jun 2019 07:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:in-reply-to:date:message-id:mime-version; bh=iZarr12ESEXM+3F555ibf1PVEySArgP2BdGs23qHHOA=; b=BbQdUxnvVlxCxjXC7jUR55mdDIO8JQj5nGqaIpxfqMhT4ghZzSoCZx77DBgbcsqwrz rMZbiCqwmEVBq64HEj4vliR38yhgwyeYzCZ/RBfJwQiJpgi1x5jXQaS1gD2Q3n+TZAmu hY6gIZhMkdbXSsd8cmATmf9FyREaXKDKS9BgV5x0lI3F1liX4vtXHHgABkBTTKwZ43Xb jcCbcwKCJq26Xg2itgXgPZARdQDLxsSX7/GOdiwm6EtOU93u4mcdHEd6KmnhrDeKAfCw JL7/VJIAysoim+22ES9fVyDvkzGOV8TNKWJfdoKXyf/8vJVIBTggZi9+alvNGmt9A7Or vV4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:date:message-id :mime-version; bh=iZarr12ESEXM+3F555ibf1PVEySArgP2BdGs23qHHOA=; b=ZMLcr5RCem6hkK+hzrPPmiMI72oE7tIp0SAir/Wf5lAgETVNxcZyfrxYkAgYpAf9MB 2ezlpHcmPqoQJsEpxoBJicXw2dVWIuXwZoFMT+vZnr5GfCxNDlxMnzq9zohi3kqR0uiK 6uWVN4wW0HfAFNUWmd2akKMnOpi21xGWVHkovETliXkep4NA5z0ESabgM4eOhzBTSWZB 4jsDpyZ+hg2ZKAoWIj0gUNxKCO3nJ8T/agi33NagV/EjhkPpnNmJGIFFYLhLpDLmv+yv +81jDoBebZIbcH3fLRGulQKtMwN4gyXTIqAK5iiHdxCvxgmLLD6HsvvGmf7DVHK6A3f7 fNWg== X-Gm-Message-State: APjAAAWpX8osnvKOe8UDglQQRsF0uqkbGCii6TzKPiStFDDlTvKJbuFk l1CkizG7j3dTxIh577qDMQnTeQ== X-Received: by 2002:a1c:4184:: with SMTP id o126mr6303600wma.68.1559658695037; Tue, 04 Jun 2019 07:31:35 -0700 (PDT) Received: from localhost (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id w3sm12685803wmc.8.2019.06.04.07.31.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 07:31:34 -0700 (PDT) From: Loys Ollivier To: Paul Walmsley , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v3 0/5] arch: riscv: add board and SoC DT file support In-Reply-To: <20190602080500.31700-1-paul.walmsley@sifive.com> Date: Tue, 04 Jun 2019 16:31:32 +0200 Message-ID: <86y32hh16j.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 02 Jun 2019 at 01:04, Paul Walmsley wrote: > Add support for building flattened DT files from DT source files under > arch/riscv/boot/dts. Follow existing kernel precedent from other SoC > architectures. Start our board support by adding initial support for > the SiFive FU540 SoC and the first development board that uses it, the > SiFive HiFive Unleashed A00. > > This third version of the patch set adds I2C data for the chip, > incorporates all remaining changes that riscv-pk was making > automatically, and addresses a comment from Rob Herring > . > > Boot-tested on v5.2-rc1 on a HiFive Unleashed A00 board, using the > BBL and open-source FSBL, with modifications to pass in the DTB > file generated by these patches. > > This patch series can be found, along with the PRCI patch set > and the DT macro prerequisite patch, at: > > https://github.com/sifive/riscv-linux/tree/dev/paulw/dts-v5.2-rc1 > > > - Paul > Tested patch 1, 4 and 5 using FSBL + OpenSBI + U-Boot on HiFive Unleashed. Tested-by: Loys Ollivier > > Paul Walmsley (5): > arch: riscv: add support for building DTB files from DT source data > dt-bindings: riscv: sifive: add YAML documentation for the SiFive > FU540 > dt-bindings: riscv: convert cpu binding to json-schema > riscv: dts: add initial support for the SiFive FU540-C000 SoC > riscv: dts: add initial board data for the SiFive HiFive Unleashed > > .../devicetree/bindings/riscv/cpus.yaml | 168 ++++++++++++++ > .../devicetree/bindings/riscv/sifive.yaml | 25 ++ > MAINTAINERS | 9 + > arch/riscv/boot/dts/Makefile | 2 + > arch/riscv/boot/dts/sifive/Makefile | 2 + > arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 215 ++++++++++++++++++ > .../boot/dts/sifive/hifive-unleashed-a00.dts | 67 ++++++ > 7 files changed, 488 insertions(+) > create mode 100644 Documentation/devicetree/bindings/riscv/cpus.yaml > create mode 100644 Documentation/devicetree/bindings/riscv/sifive.yaml > create mode 100644 arch/riscv/boot/dts/Makefile > create mode 100644 arch/riscv/boot/dts/sifive/Makefile > create mode 100644 arch/riscv/boot/dts/sifive/fu540-c000.dtsi > create mode 100644 arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts Note: the -fu540 was dropped from the previous version which results in a different dtb file. Loys