Message ID | 20210224082230.29015-2-noltari@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=ZThx=H2=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8705EC433E6 for <linux-arm-kernel@archiver.kernel.org>; Wed, 24 Feb 2021 08:24:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1886264EDD for <linux-arm-kernel@archiver.kernel.org>; Wed, 24 Feb 2021 08:24:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1886264EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jKsmRVpDHz4UvifRsSyI361VOzpN13fv3e1XUsh02ng=; b=bcyslxMtRPyQYP3nxg08HwhjMP A+GYbYsDyVvMYgpAjHmB9FvQzjnApdMUYdw9P308fDmqhBdXUNWgzAVNn2MoxdLrzdJCnddbUSkEZ 3Z3XqZK5X8NRPVWKDooLZFbpoQBW/zkWNCCRt5zfDOYj3YEvPERO586TWRQMBCfiYiUt894cGkvFS GZPaMpvomB4bdoSdTv6RycncCgBgZ6arR3FwIVz7CQjcnBfPfHABexf2WIMosLwo66x35ZQtmKq3C u1Zwczn28Hxyr9DbiS8Ggt1/E7SRWyPPm4qxgQ0FZBTNB7bQfWjXmHy8JZDZWt6IUjSMUGXt4ZGge 6s46YqLA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEpRU-0004Dt-D3; Wed, 24 Feb 2021 08:22:44 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEpRP-0004Cq-IK; Wed, 24 Feb 2021 08:22:40 +0000 Received: by mail-wr1-x42f.google.com with SMTP id d11so982397wrj.7; Wed, 24 Feb 2021 00:22:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=ac17W/RFAz2jRZ/sm5JRiVI6S5DH8b5zS9TE/bBd19M=; b=moS9TVL9GK0sXwGMDwaOR4IwscfeeogH1xO/Mv8S24MTAnt6j6mcRO7JXnr8Ao/OW5 CAaQPEvZ7i1kfT4e3QwZKb2oLEXRNKkNgSGnD5vlBg+mdWx5h+Qty3kLa5N8VnJwD7OP 73ltrkfc8lxjpS7bCfBvwupULhvktKklUsWNeQqMi7u/jbE2PPsWBqCMuM/98ttRr8qt R8oleL7NzCeWGVm5f6ENGfJQ+8Vwga5lg9s8dnKHY6CGqyXbzTROOndKBM3Iw2HJnEd1 A71p+9SdS0QgNFkIMzLJlIAU5t4lqtsiuwZOs0a25CB1HCiLkO+t7aKRKSfeqj6S26pL xcgg== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ac17W/RFAz2jRZ/sm5JRiVI6S5DH8b5zS9TE/bBd19M=; b=Xa40bzDHHEoOcJ/v4wjYSf+p37oi1A8o0LIofrN6rdoivgbOBEDF9SUJjB9LHkzHnD W44JTh9sUmuviX3RTFjrS8xXzwSaVNxxCDCVmjVSF9FmBfkWaeqhYNbnpqvw420n5iYn gGgAzRelpMY665Q+baN1UsU27KR6wNUevOcX9HASV1Cr6l9ix1Yvl/mn0C0Xk7JBrMlT XrPCc5wUlK94SV5GGpzNrsCcw79i71VTuk9u0FYw4/cM0YYPE04cEUURk5w+zZuj7LWP z8N06VXddyD6g3AQAuha8M0hAeLjNIQ9zAk6mmte4BdUVpM4HoJ5XrsdqXQ8PvLcMFpI uFeQ== X-Gm-Message-State: AOAM530knekUxDJVFWgKo7HVpdLvGlC0A3HUMQkQlTu/jdWTx/yYn2Av 1L9969aelQ9F7JTcsvBJ0kg= X-Google-Smtp-Source: ABdhPJxawiDKibks9m28Qgw5Plx4R5YXgSyl+D26YpLeIWpdTosjS0K8WI2kZhKFOK8ugiUMjOMfGw== X-Received: by 2002:a05:6000:1208:: with SMTP id e8mr31159055wrx.131.1614154958269; Wed, 24 Feb 2021 00:22:38 -0800 (PST) Received: from skynet.lan (170.red-88-1-105.dynamicip.rima-tde.net. [88.1.105.170]) by smtp.gmail.com with ESMTPSA id u19sm1501628wmm.46.2021.02.24.00.22.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 00:22:37 -0800 (PST) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= <noltari@gmail.com> To: Matt Mackall <mpm@selenic.com>, Herbert Xu <herbert@gondor.apana.org.au>, Rob Herring <robh+dt@kernel.org>, Nicolas Saenz Julienne <nsaenzjulienne@suse.de>, Florian Fainelli <f.fainelli@gmail.com>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, bcm-kernel-feedback-list@broadcom.com, Philipp Zabel <p.zabel@pengutronix.de>, Mark Brown <broonie@kernel.org>, =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= <noltari@gmail.com>, Guenter Roeck <linux@roeck-us.net>, Bjorn Andersson <bjorn.andersson@linaro.org>, =?utf-8?b?TsOtY29sYXMgRi4g?= =?utf-8?b?Ui4gQS4gUHJhZG8=?= <nfraprado@protonmail.com>, Rikard Falkeborn <rikard.falkeborn@gmail.com>, Stefan Wahren <stefan.wahren@i2se.com>, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/2] dt-bindings: rng: bcm2835: document reset support Date: Wed, 24 Feb 2021 09:22:29 +0100 Message-Id: <20210224082230.29015-2-noltari@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224082230.29015-1-noltari@gmail.com> References: <20210223160131.29053-1-noltari@gmail.com> <20210224082230.29015-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210224_032239_644114_A600BAB0 X-CRM114-Status: GOOD ( 10.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
hwrng: bcm2835: add reset support
|
expand
|
diff --git a/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml b/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml index c147900f9041..9a74b5af1dbd 100644 --- a/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml +++ b/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml @@ -31,12 +31,24 @@ properties: interrupts: maxItems: 1 + resets: + maxItems: 1 + required: - compatible - reg additionalProperties: false +if: + properties: + compatible: + enum: + - brcm,bcm6368-rng +then: + required: + - resets + examples: - | rng@7e104000 { @@ -58,4 +70,6 @@ examples: clocks = <&periph_clk 18>; clock-names = "ipsec"; + + resets = <&periph_rst 4>; };
Some devices may need to perform a reset before using the RNG, such as the BCM6368. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> --- v4: pass dt_binding_check. v3: make resets required if brcm,bcm6368-rng. v2: document reset support. .../devicetree/bindings/rng/brcm,bcm2835.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+)