From patchwork Fri Nov 1 21:13:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 2005327 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=eXLDEFVW; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45d1:ec00::1; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-118273-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XgDB666Kpz1xwc for ; Sat, 2 Nov 2024 08:13:50 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 152251C211EC for ; Fri, 1 Nov 2024 21:13:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 997FD1E47C5; Fri, 1 Nov 2024 21:13:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="eXLDEFVW" X-Original-To: devicetree@vger.kernel.org Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F021B1E282A for ; Fri, 1 Nov 2024 21:13:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730495616; cv=none; b=jPWrbwukxfDpsPyNKzXHZEEMvQV6qUQyynGrFvFwUsQECZr8g/bl6tC57kWjF3glb2TGR2tuGjYPVg0R9BtG1d4ZapIK99hDVb8I+WcnHkOPL7PRoGyV5+dN8BrjN7VoHK2hnYRw1tYf9VD55G7cqlh3LmJyiay210kQDuew/x4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730495616; c=relaxed/simple; bh=fVRyDwIDJEU3QhhtvsXhsXyGoQ+vQkIYsVbHH/ESiz0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ngt06DFxWsBD4rMf6mwciC4od16ry/i2FmXYaCcOBMzDviOpLU+o9IVJJWP1CCUZa6c4FC2KUi/kxWcXWy3nMdm2PlbkqyUoP6gow2gRHek+gFDAkFRIlCNzmNDitf379DiaaG8jbDst/Fk1XamNoyZh9MmR32SWjZ9f1uTzWyg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=eXLDEFVW; arc=none smtp.client-ip=209.85.210.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-71e5a62031aso1975011b3a.1 for ; Fri, 01 Nov 2024 14:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1730495614; x=1731100414; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MBfbdpDXvXyTc8pX+dqi/KLkO3CnvwNV1g4IugsXMhU=; b=eXLDEFVWoR8NyqBugrznes+87beQuNuYqvl5Tjnes5LW2+l62xu9TvzbkmgAERp67q 4BjpxX1iGC1PfIwIhjCOaAm10qn4DtMVKrSU2qWeVimyUlNmzudyZCDbin+ZtuZ+0JN3 77gyTDoUcw5Q2LXCXGanYAN7KyImbpgINkwxg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730495614; x=1731100414; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MBfbdpDXvXyTc8pX+dqi/KLkO3CnvwNV1g4IugsXMhU=; b=ole9XU0KIvv41rffS1h21wg/1GGUAIjNEuA/XRZHFOShp/Xd0prlq4RLkQDDDk7aGq o4lUIqeD+/wkv6F3wUPwwbrgseAsE4IPPTPSkqRQKe1E0OiFeR/YqN+8Ih+G4P1HC+iO 3dYdx4wyeC9q89l0DefnhqlO14Z7A1fEw02Ldp/IkwJ2vRzGaiTW3Tx8LRZ5vaa2jrcK RHq4B9kILzV19awbWXBXb93ZiuRK0BkNEN1EJpLgsseGtsQPIcJNU8327b8WTNltGG5S 4QwEEHiaYSAU8ORwfrWoAxgqua+eASumwpsNbXjmTuaZNwHq/UpQTRCbEVN+1fR2tzad i0TQ== X-Forwarded-Encrypted: i=1; AJvYcCX7HIUNAXI4YvOvEwoyI4PiOHsTPLvEEvOUDRH5PkId5slGI6+249bG1L78Q9vwAcSFtHuAsGEYKHKX@vger.kernel.org X-Gm-Message-State: AOJu0YxKwIEuJhHwAWqHzwNoe5iTg6mNvHEnhABua6uU0sr4Vq2xOMDg 8iSzhvwlojCXEKsZD55saFYka47tOcwQWukydCNaatVUBBsgakdsAwhNi7xrmA== X-Google-Smtp-Source: AGHT+IHSF2JuOrjTjV/cyFRyjiRvzuvcMqrlb4ZbR1iu6WticcFNwva8vtTE8w1/zgmTXaNn/gruuA== X-Received: by 2002:a05:6a00:4603:b0:71d:f821:1981 with SMTP id d2e1a72fcca58-720c98a5ebfmr7787754b3a.4.1730495614192; Fri, 01 Nov 2024 14:13:34 -0700 (PDT) Received: from lbrmn-mmayer.ric.broadcom.net ([192.19.161.248]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-720bc1b8992sm3109854b3a.44.2024.11.01.14.13.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 14:13:33 -0700 (PDT) Received: by lbrmn-mmayer.ric.broadcom.net (Postfix, from userid 1000) id 8E67B6FC; Fri, 1 Nov 2024 14:13:32 -0700 (PDT) From: Markus Mayer To: Olivia Mackall , Herbert Xu , Aurelien Jarno , Conor Dooley , Daniel Golle , Florian Fainelli , Francesco Dolcini , Krzysztof Kozlowski , Rob Herring Cc: Markus Mayer , Device Tree Mailing List , Linux Crypto Mailing List , Linux Kernel Mailing List Subject: [PATCH v2 0/2] hwrng: bcm74110 - Add Broadcom BCM74110 RNG driver Date: Fri, 1 Nov 2024 14:13:13 -0700 Message-ID: <20241101211316.91345-1-mmayer@broadcom.com> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This series adds a driver for the random number generator found on the BCM74110 SoC. Binding changes from v1: - renamed binding file to brcm,bcm74110-rng.yaml - ensure "brcm,bcm74110-rng" is being used instead of "...-trng" - removed "|" after "description:" - removed label "rng:" Code-related changes from v1: - only enable the driver for ARCH_BRCMSTB || COMPILE_TEST Markus Mayer (2): dt-bindings: rng: add binding for BCM74110 RNG hwrng: bcm74110 - Add Broadcom BCM74110 RNG driver .../bindings/rng/brcm,bcm74110-rng.yaml | 35 +++++ drivers/char/hw_random/Kconfig | 13 ++ drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/bcm74110-rng.c | 125 ++++++++++++++++++ 4 files changed, 174 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/brcm,bcm74110-rng.yaml create mode 100644 drivers/char/hw_random/bcm74110-rng.c