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: 1293695 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=oyjqWhGw; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49RQnS1LCkz9sPK for ; Wed, 20 May 2020 05:25:00 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1BAB481E24; Tue, 19 May 2020 21:24:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="oyjqWhGw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3527181E17; Tue, 19 May 2020 21:24:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 45B5781E20 for ; Tue, 19 May 2020 21:24:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@amarulasolutions.com Received: by mail-pg1-x544.google.com with SMTP id s10so298886pgm.0 for ; Tue, 19 May 2020 12:24:38 -0700 (PDT) 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:content-transfer-encoding; bh=sHyfWYVdSf0sDAPyFHIINfBPsPCytqWb7we7stjjx/g=; b=oyjqWhGw3chzoVzgxhFNtyzi3mFCQHiEijUPBdzGWGqHpSeaUXdo/7Ki3tAPeZNZ0P pxCppHr0EDY0hzMjrUyKriIotOX8+KWfdoT3Xr3Y9lbnW5MrZbtLeqfYjEYkw7bOAMrj dsnKDfRvqOQj5/z6tIqcgEE5GdULAcTZ2h6qw= 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:content-transfer-encoding; bh=sHyfWYVdSf0sDAPyFHIINfBPsPCytqWb7we7stjjx/g=; b=sMJjgILYKMkB6PJiVQDfeAFTYuWX8buMF6dK+cn/ugtXrttgxbq/lraUJ/l/adNiPt 1jN9fOAu7WpKX4MJ2FsPfLNpRq/p8UD1y9q9tITNOqFOuFdSs049tTFNHQ+kBowTD+Xi VHIvofFrYbp3vRd9633ql4bb4DQk8bmF0dD/sm/WBHaRjlVEYlHSCD8P3mI1QYYuI2L+ 9yBLlXBQtpGTMg5UNRQCMUBTHkER4uR2X+0Gp/C0Vdi35vqyEwAGvT5be8PKUvtIt98a gVVYmrfmOBFvZAQcl00V3IfiAFWoO1Cz7lpbeEY5YD5vWjiomPOrA9HiAFB9WYX25gZj 6+ew== X-Gm-Message-State: AOAM532LS2iOVuMGs2yxY1CazJtzxzOmL1Otd9KantuPJZjBwN/CV5L1 leJtD1ALW5ifEM3+D0GaAyY9rA== X-Google-Smtp-Source: ABdhPJwE++eOa127E8DDasMBWoDa1lYcI8FkH/XrqAsp35hZVA5bqTQalKDHJ/hNYOZMgzefnDuBKQ== 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-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean 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>; +};