All of lore.kernel.org
 help / color / mirror / Atom feed
From: Damien Le Moal <damien.lemoal@wdc.com>
To: Palmer Dabbelt <palmer@dabbelt.com>, linux-riscv@lists.infradead.org
Cc: Sean Anderson <seanga2@gmail.com>,
	Paul Walmsley <paul.walmsley@sifive.com>,
	Rob Herring <robh@kernel.org>,
	devicetree@vger.kernel.org
Subject: [PATCH v12 07/17] dt-bindings: update risc-v cpu properties
Date: Fri, 15 Jan 2021 23:03:42 +0900	[thread overview]
Message-ID: <20210115140352.146941-8-damien.lemoal@wdc.com> (raw)
In-Reply-To: <20210115140352.146941-1-damien.lemoal@wdc.com>

The Canaan Kendryte K210 SoC CPU cores are based on a rocket chip
version using a draft verion of the RISC-V ISA specifications. To avoid
any confusion with CPU cores using stable specifications, add the
compatible string "canaan,k210" for this SoC CPU cores.

Also add the "riscv,none" value to the mmu-type property to allow a DT
to indicate that the CPU being described does not have an MMU or that
it has an MMU that is not usable (which is the case for the K210 SoC).

Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
---
 Documentation/devicetree/bindings/riscv/cpus.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml
index eb6843f69f7c..e534f6a7cfa1 100644
--- a/Documentation/devicetree/bindings/riscv/cpus.yaml
+++ b/Documentation/devicetree/bindings/riscv/cpus.yaml
@@ -39,6 +39,7 @@ properties:
               - sifive,u74
               - sifive,u5
               - sifive,u7
+              - canaan,k210
           - const: riscv
       - const: riscv    # Simulator only
     description:
@@ -56,6 +57,7 @@ properties:
       - riscv,sv32
       - riscv,sv39
       - riscv,sv48
+      - riscv,none
 
   riscv,isa:
     description:
-- 
2.29.2


WARNING: multiple messages have this Message-ID (diff)
From: Damien Le Moal <damien.lemoal@wdc.com>
To: Palmer Dabbelt <palmer@dabbelt.com>, linux-riscv@lists.infradead.org
Cc: Rob Herring <robh@kernel.org>,
	devicetree@vger.kernel.org,
	Paul Walmsley <paul.walmsley@sifive.com>,
	Sean Anderson <seanga2@gmail.com>
Subject: [PATCH v12 07/17] dt-bindings: update risc-v cpu properties
Date: Fri, 15 Jan 2021 23:03:42 +0900	[thread overview]
Message-ID: <20210115140352.146941-8-damien.lemoal@wdc.com> (raw)
In-Reply-To: <20210115140352.146941-1-damien.lemoal@wdc.com>

The Canaan Kendryte K210 SoC CPU cores are based on a rocket chip
version using a draft verion of the RISC-V ISA specifications. To avoid
any confusion with CPU cores using stable specifications, add the
compatible string "canaan,k210" for this SoC CPU cores.

Also add the "riscv,none" value to the mmu-type property to allow a DT
to indicate that the CPU being described does not have an MMU or that
it has an MMU that is not usable (which is the case for the K210 SoC).

Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
---
 Documentation/devicetree/bindings/riscv/cpus.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml
index eb6843f69f7c..e534f6a7cfa1 100644
--- a/Documentation/devicetree/bindings/riscv/cpus.yaml
+++ b/Documentation/devicetree/bindings/riscv/cpus.yaml
@@ -39,6 +39,7 @@ properties:
               - sifive,u74
               - sifive,u5
               - sifive,u7
+              - canaan,k210
           - const: riscv
       - const: riscv    # Simulator only
     description:
@@ -56,6 +57,7 @@ properties:
       - riscv,sv32
       - riscv,sv39
       - riscv,sv48
+      - riscv,none
 
   riscv,isa:
     description:
-- 
2.29.2


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  parent reply	other threads:[~2021-01-15 14:06 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15 14:03 [PATCH v12 00/17] RISC-V Kendryte K210 support improvements Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 01/17] clk: Add RISC-V Canaan Kendryte K210 clock driver Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 02/17] pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 03/17] dt-bindings: fix sifive plic compatible string Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 04/17] dt-bindings: add Canaan boards compatible strings Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 05/17] dt-bindings: fix sifive gpio properties Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 06/17] dt-bindings: add resets property to dw-apb-timer Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` Damien Le Moal [this message]
2021-01-15 14:03   ` [PATCH v12 07/17] dt-bindings: update risc-v cpu properties Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 08/17] dt-bindings: fix sifive clint compatible string Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 15:39   ` Rob Herring
2021-01-15 15:39     ` Rob Herring
2021-01-15 16:07   ` Rob Herring
2021-01-15 16:07     ` Rob Herring
2021-01-15 14:03 ` [PATCH v12 09/17] dt-bindings: update sifive serial Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 10/17] riscv: Update Canaan Kendryte K210 device tree Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 11/17] riscv: Add SiPeed MAIX BiT board " Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 12/17] riscv: Add SiPeed MAIX DOCK " Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 13/17] riscv: Add SiPeed MAIX GO " Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 14/17] riscv: Add SiPeed MAIXDUINO " Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 15/17] riscv: Add Kendryte KD233 " Damien Le Moal
2021-01-15 14:03   ` Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 16/17] riscv: Update Canaan Kendryte K210 defconfig Damien Le Moal
2021-01-15 14:03 ` [PATCH v12 17/17] riscv: Add Canaan Kendryte K210 SD card defconfig Damien Le Moal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210115140352.146941-8-damien.lemoal@wdc.com \
    --to=damien.lemoal@wdc.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=robh@kernel.org \
    --cc=seanga2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.