From patchwork Fri Mar 5 07:01:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 12117871 Return-Path: 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=-8.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_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 ACEB1C433E0 for ; Fri, 5 Mar 2021 07:03:25 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 18BB965000 for ; Fri, 5 Mar 2021 07:03:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 18BB965000 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=tLFqY/UY4HXMEZA2e4rfqDUh1mU795FfVcosKPAhJ1Q=; b=cdCx64Q09XcLZ1 /Xp3Miv/yqZRB2/7LeMD3+Lc66arsLrWEffQWyLiLLA7VHYD4qJlWXIHB0jTLD4azM82PydqNy2Mn XDvE0yDycBOquBt+NCTvP3vFwt2rOm/PP+FkKyL6d/rax7tkGBwkOyDnmdERwpHFUSwE6hGz0Q7to 5lUJcCwSm6w5jeSoenRhrds7O/cPSM6MqA3SiU1zTMnaDtG5KqSS5rvZjqAwE8z/VLvDH1Wav4OTw /fnyXpTdLpxLCnBOAsv8RfG7jAU/V8ZTryIoCC2Pr/bvGopa1acSEGjXuPJqGjeiL0TKLo2TwHBw0 p4CSU0psbq93o9sPk6AQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lI4T0-00DWQf-V7; Fri, 05 Mar 2021 07:01:43 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lI4St-00DWLF-JA; Fri, 05 Mar 2021 07:01:38 +0000 Received: by mail-wr1-x433.google.com with SMTP id 7so916819wrz.0; Thu, 04 Mar 2021 23:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=pH2+9JAFmJC7s5/cQ1Bjnd0LzvMdoyaqsqzj6ICiWMo=; b=ZH2JWuNP5/SNX9uc+HMaxgCcwVFn0egPZQ4vA0dOFv3DrxkDNJ6S+KXfiQdShx2u9I oc/wo2Msr0VJg36A0/I3MaC4y0j+42gvufk0v0nTodJYLyVwEfoKe7IQ5F9ynO+/2CMk aCLOfsVkqurU8KcBZ/ZPAQ11PjtUyfWNZuhUSXJvR2pg8BWzs1IGPZdT9Hq3zDx+kcM0 KvfE6oBtCO9v8Bmh2/6S18ClrvtjXYjd/L53pyfYOhleTJKpuI2YLzbjY6iQdD8efJ3O 0VQKUd+9yWYfGVfEhPXH1Pkbjvx4AokTOEqYz/Zh8w/DjIQaCur1zkltv6Jz6Mc8sD7E oicg== 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:mime-version :content-transfer-encoding; bh=pH2+9JAFmJC7s5/cQ1Bjnd0LzvMdoyaqsqzj6ICiWMo=; b=rxg16nya3F9o+4zAGtRms3FTjAQW6JCO3kJUfX9x8DMuDLvGqjyF4dopGGwnZz6occ o/lgNtyji3uo+zbqRbKOrbYvjBCZQxxuPgG7w0gldRs+EZMJbT2rZnKWUZ7yYT1bWFwV HsrvJIPx8c5K6EXNXZoyOkrmMKOSaspYk0Q6veRMniLrphoMuJIoDt0tAnyf4xkhwL6S ZqwjG+K9ZhgL+el6qhzKgKkAK3Y9UiZbUgPLhF72PWsbc6BAezimQyfr2963n4/OzbLY YyLdvRCyIkS6l7BGKed9UDoAQRgkQ2GeM7oEjK1q0C0CV+em9XfVR68Sl/Nx0r6JRZNv aBLw== X-Gm-Message-State: AOAM533Rx1j6Ln0HlwU4TQP0r/yfIgey5Ky1CniBocnjMUEFwjRpUHyQ H8K2DKwdeJNbZ+ZhQF4qQkM= X-Google-Smtp-Source: ABdhPJyBumVXPYcelUUdEU2yXOYCkvuLZyotagaGcwuwzEHSwCDZLPzJPQCWmBPGlqVRgUrpr/nfhA== X-Received: by 2002:adf:a453:: with SMTP id e19mr7516340wra.283.1614927694832; Thu, 04 Mar 2021 23:01:34 -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 y18sm2799220wrq.61.2021.03.04.23.01.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 23:01:34 -0800 (PST) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: Matt Mackall , Herbert Xu , Rob Herring , Nicolas Saenz Julienne , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Philipp Zabel , =?utf-8?q?=C3=81lvaro_Fern=C3=A1nde?= =?utf-8?q?z_Rojas?= , Lee Jones , Bjorn Andersson , Alexandru Ardelean , Rikard Falkeborn , Tian Tao , Stefan Wahren , 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 v6 0/3] hwrng: bcm2835: add reset support Date: Fri, 5 Mar 2021 08:01:29 +0100 Message-Id: <20210305070132.2986-1-noltari@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210305_070136_650759_B8EC732A X-CRM114-Status: UNSURE ( 8.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Some devices may need to perform a reset before using the RNG, such as the BCM6368. v6: fix dt-bindings documentation, add patch makings clocks mandatory for BCM6368. v5: remove reset_control_rearm() and apply on latest herbert/cryptodev-2.6.git. v4: fix documentation, add reset_control_rearm(). v3: make resets required if brcm,bcm6368-rng. v2: document reset support. Álvaro Fernández Rojas (3): dt-bindings: rng: bcm2835: add clock constraints dt-bindings: rng: bcm2835: document reset support hwrng: bcm2835: add reset support .../devicetree/bindings/rng/brcm,bcm2835.yaml | 21 +++++++++++++++++++ drivers/char/hw_random/bcm2835-rng.c | 10 +++++++++ 2 files changed, 31 insertions(+)