From patchwork Tue May 19 19:23:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1213 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id AF4773F086 for ; Tue, 19 May 2020 21:24:34 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id r3sf715258pjq.7 for ; Tue, 19 May 2020 12:24:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589916273; cv=pass; d=google.com; s=arc-20160816; b=1HRdOaIH7DOgva38gPQgVu5akRGF3kM2F4B4S3TfO1vSgiqclKTezl+2JPwRDXhYD8 ioAmrEz2Jsl7X6nekaIpmvvIWKw2Fcs4/oDd0+3YMFkgEuTgTOLc/U44mXItBS5kK6aD MaMzZJ/n7FiihVHYh6mupXsXnLvEp732KBWN6w6d3GOIG3swwisWcnNIU8l3bZVNNTlA 3/WXUMOHwiSzFVCtuRvJwAhKc9Dp436AjOutYLkkaGu1RWa6BVyNxncKQ5dU7G1xN7mI 3Xye/A/xX20dnc0wTXOIQ+t60/wxe6BlZVtNc1WDTcLuWHt+KgkofJWjmFrIAc2zoaOc 0BCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=eOGbSTsLe23fn3C9x9SUOqhdqcw39k+QeKjYncx6C4E=; b=HIg0OZzyWN8gq4IcZyKAf5TLObl/l+bb+KctNIS5pa/nnyTzzaXFUfuE9yjX/mf+tD cqBTfuk/HJkycdzYjj+wbVng5A/TYM96uS7TUVhT1mlyDm5MZz18qicfT12MJgKnFhve l0GOOSwdLsHJaq82YmwtxV9a4/VUqWHA7E//a3r11+W7g/XKlQfF+dSqN0syKIaNxMc/ kmiuaUV0kcwv54EXMXgUVszemom47k6tECqYrYtqrILDZJ8ry3/uagaPeMBrdyluL9FL g/gPaBkCR6eFzlADoxuEdCzm9a7D/ltzVTJ5pJhi0+6NwXfZsrxzJTV49w6JSu1xH/9Q NHBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oyjqWhGw; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=eOGbSTsLe23fn3C9x9SUOqhdqcw39k+QeKjYncx6C4E=; b=Nc5sPkX+9btwhFPjiOE1tn8FWbs0UHQKmlq7P3oochwunDWr3/pV/4Y64K0Rr0XGVh j0N1UI5hZAl3e143m0Sv6jMuFqGbsG3jdBq+HmOpRDund8udEwzVbrgUPT/aibTLF7W4 uDpmdPYuwopIr6MtHQCD6o/Mdk/qtxi+8y3hE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=eOGbSTsLe23fn3C9x9SUOqhdqcw39k+QeKjYncx6C4E=; b=EWjIvE2X2LglQeXm3dIT/9wYHK7IZb9j5J79PhOdcf1sa6ijdlMOquCXjySgTo4DKP cdndZohSZ7k05ECVz3qPMc6ducTGF6421cBU5i30NtfsBxmDaFtLMWvpAoDEWplJVzSn Lh1eteMrP9eXwWU8p9kY9Ztn/67L/SQ/IRYUYiuC8aJb0CyQ83H+KU4mOHOyZb6wq86b jdyZjnFpdUFu1SQj/e7VRdBS7vOKZXogYKXX6G0znsa+v2Sq7TBAc+zwamPHI2EvF9/f vQ3pV86aiWDE7bieaK4NYye8witZspYAkKReNQezrTEZOjnEJtKjWda9+BTWqnXMWa8c pw/w== X-Gm-Message-State: AOAM530S3S0kQ0boUmXZRIF1IQZGe8Ue85PgtBji67WOxWng2SqYRAd2 7y6TfeCx2L4PdQGVJSIIdt7sNrhB X-Google-Smtp-Source: ABdhPJxdn/dRpv+0QLZvoi5l55PPNgCHmVMcGwSQNmlA/iXKzrvMxmPE7dh480IaboQbkgS5oeq4Ag== X-Received: by 2002:a17:90a:7787:: with SMTP id v7mr1133172pjk.199.1589916273466; Tue, 19 May 2020 12:24:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:8d95:: with SMTP id v21ls99529plo.3.gmail; Tue, 19 May 2020 12:24:33 -0700 (PDT) X-Received: by 2002:a17:902:c40c:: with SMTP id k12mr940936plk.11.1589916272959; Tue, 19 May 2020 12:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589916272; cv=none; d=google.com; s=arc-20160816; b=raXTUK3eGfq57Tlf2wod74e/GKflhENy0R2/saErW7y/m9h4f6OCUNZKhOuLJmH3hd 0LEYgFqkKB5Xl/C2QS5AuDzAxQsXlTNcP5XYW6VixhamfdbQCdga5tlwCrtUjIbKMaAE HoNNZyhBgqcDCY7/TQ5FcCevDNbJdKrMzUAziqxakp92MFokaPNZr7ZYuNL2sJVE+Q3T L7cu7PkzeYJGegOsfPgiWlLTR3YdzyWbAx7Kr8LkRhYFYQgOcS9/PGPG8DbIEy9rw/Pq UIf1xhTPIWXfKyADsy/WQNZlmp3bINHv25GbVg7GGoOihOAt81di5A7qLDSxfIaShpE/ n5fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=sHyfWYVdSf0sDAPyFHIINfBPsPCytqWb7we7stjjx/g=; b=Qlczv9QL0AX9FQPvcTVxHY3Wqh+P2NuIaTOA/7ggmBRYAc++SdIYBQiXvvzTuEFsjz 7rb+t4Ugki0AQAXbpENnDYIDnJ1vFArJunbqM7oE/67L02kgB363Lk1jiaZTi1aoRioR r5rBX023YTqpNdmopM8D6P1v7t+Cy1AXPcR0vG4u73umPJ0WcC8kY2cqMIz7QFDU6PPD 5Ptnqp3CEB4GuQKMlBrZOpdfgOuhFsHjqGEeDjXsqyWotqwk3poSrOmD4djkRWMNC8uM T0d3oaZFVFptUqAxhuh7yOTMDYXMWMa2gKAkztRksQHJZt3msqfJiWrlmoZ4wZLwRe33 JCWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oyjqWhGw; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id k22sor969714pgh.54.2020.05.19.12.24.32 for (Google Transport Security); Tue, 19 May 2020 12:24:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:de06:: with SMTP id f6mr748914pgg.238.1589916272500; Tue, 19 May 2020 12:24:32 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:713c:4a0a:47eb:ffcd]) by smtp.gmail.com with ESMTPSA id w192sm222553pff.126.2020.05.19.12.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 12:24:31 -0700 (PDT) From: Jagan Teki To: Rick Chen , Atish Patra , Palmer Dabbelt , Bin Meng , Paul Walmsley , Anup Patel , Sagar Kadam Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Simon Glass Subject: [PATCH v2 2/9] dt-bindings: board: Document sifive, fu540-modeselect Date: Wed, 20 May 2020 00:53:33 +0530 Message-Id: <20200519192340.16624-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519192340.16624-1-jagan@amarulasolutions.com> References: <20200519192340.16624-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oyjqWhGw; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add dt-bindings documentation for sifive,fu540-modeselect board driver, which usually get runtime boot mode of fu540 boards. Cc: Simon Glass Signed-off-by: Jagan Teki --- Changes for v2: - new patch .../board/sifive,fu540-modeselect.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/device-tree-bindings/board/sifive,fu540-modeselect.txt diff --git a/doc/device-tree-bindings/board/sifive,fu540-modeselect.txt b/doc/device-tree-bindings/board/sifive,fu540-modeselect.txt new file mode 100644 index 0000000000..801c068390 --- /dev/null +++ b/doc/device-tree-bindings/board/sifive,fu540-modeselect.txt @@ -0,0 +1,15 @@ +fu540 board driver + +This driver provides capabilities to get the current boot device for +fu540 associated board. + +Required properties: +- compatible: should be "sifive,fu540-modeselect" +- reg: physical base address and size of fu540 modeselct + +Example: + +board: mode@1000 { + compatible = "sifive,fu540-modeselect"; + reg = <0x0 0x1000 0x0 0x1FFF>; +};