From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752739AbdKTTuj (ORCPT ); Mon, 20 Nov 2017 14:50:39 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:41461 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752547AbdKTTug (ORCPT ); Mon, 20 Nov 2017 14:50:36 -0500 X-Google-Smtp-Source: AGs4zMZ3IdTfc1GayhhmCwswM2Obz5cpIxL/zixZ3WEIxrpMw8xj7zvR+MzvcS7R37zEeSUqYBNGqQ== Subject: [PATCH] dt-bindings: Add a RISC-V SBI firmware node Date: Mon, 20 Nov 2017 11:50:00 -0800 Message-Id: <20171120195000.2070-1-palmer@sifive.com> X-Mailer: git-send-email 2.13.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: patches@groups.riscv.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , nathan=20Neusch=C3=A4fer?= From: Palmer Dabbelt To: mark.rutland@arm.com, robh+dt@kernel.org, devicetree@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The RISC-V privileged ISA mandates the presence of an SBI, but there's no reason not to put it in the device tree. This would allow us to possibly remove the SBI later. CC: Jonathan Neuschäfer Signed-off-by: Palmer Dabbelt --- .../devicetree/bindings/firmware/riscv.sbi.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/riscv.sbi.txt diff --git a/Documentation/devicetree/bindings/firmware/riscv.sbi.txt b/Documentation/devicetree/bindings/firmware/riscv.sbi.txt new file mode 100644 index 000000000000..42384d5d52cf --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/riscv.sbi.txt @@ -0,0 +1,20 @@ +RISC-V Supervisor Binary Interface (SBI) + +The RISC-V privileged ISA specification mandates the presence of a supervisor +binary interface that performs some operations which might otherwise require +particularly complicated instructions. This interface includes +inter-processor interrupts, TLB flushes, i-cache and TLB shootdowns, a +console, and power management. + +Required properties: +- compatible: must contain one of the following + * "riscv,sbi" for the SBI defined by the privileged specification of the + system. + +Example: + +firmware { + sbi { + compatible = "riscv,sbi"; + }; +}; -- 2.13.6