From patchwork Fri Nov 1 21:13:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 2005328 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=bq4OAVe2; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:40f1:3f00::1; helo=sy.mirrors.kernel.org; envelope-from=devicetree+bounces-118274-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [IPv6:2604:1380:40f1:3f00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XgDBp3Yvrz1xwc for ; Sat, 2 Nov 2024 08:14:26 +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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 92EB6B21D4E for ; Fri, 1 Nov 2024 21:14:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70FFA1E47B9; Fri, 1 Nov 2024 21:13:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="bq4OAVe2" X-Original-To: devicetree@vger.kernel.org Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (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 2D7871E47A4 for ; Fri, 1 Nov 2024 21:13:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730495628; cv=none; b=psftHGBdNa1CqRLEfc/CjV3cbeU908dbAwVn/MbhNDtBG2Kh25/e5cIHQYTgyYL727kQ1IFEIUBb6scIMxhhrCFqsSa5KrXC+TXmUz5RosKMydOGN1jmeuUtjPIXvUyz5IsF1nbTsU2me330G2isOwski9mxhJ8FbMnJ+K3FIvk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730495628; c=relaxed/simple; bh=j7iW1feqAWso+Tat91tAHo+FMkx1wlBjbAqAJjmwQzI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EKl9JvXWzG9dBShiF+s8VCjglV1XIu52yexYYrLQVG0d9NRSVoDyTHSzzWgsRxvbQuF4Wxr3AAHvX2rx7vopJKcyLFnk6xLUYA+weiXzEFKl+7z32tyKtMjnXS0HKv22YI4/y8aAOP3VTunQm7cmk513/k6A0AOir6TjSYT0sO8= 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=bq4OAVe2; arc=none smtp.client-ip=209.85.210.169 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-f169.google.com with SMTP id d2e1a72fcca58-71e61b47c6cso2107549b3a.2 for ; Fri, 01 Nov 2024 14:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1730495623; x=1731100423; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/gmaslziIHUfTRq5OT9nnJb5IIrBuXYj22iGCA2p1Vw=; b=bq4OAVe2CcyY8Fz3NqUZ/Slhb2Tb1KQKZzuPuj339Kq4z/TmpFCUmx9xq5brm94bO3 in9evA3ATgn/4YteOw6GL1sm12igoFoYyvlwN5kyqNGv/qjwHUZPDAh0E0Iiq3BukwzX wfnrRHizTvXvfrFyU3WoT1UiNvkOPQnpQDxjE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730495623; x=1731100423; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/gmaslziIHUfTRq5OT9nnJb5IIrBuXYj22iGCA2p1Vw=; b=GVdT/ocIvTaBi5q2c66Vhy240G+U28Bcif4ogDrhdto/AgS5w04qUBqL+A2lD3kJ2Z X6mMQ6uDqO13WhFsubXxBoiPiVJXuH3ahsZUSOp8+gOdErbUsOxC/1pX/JhLwfTAUoVj twTiZP4ZdCFsr/8i3fO9t7hyV++uc8Vt5WDBGUTCEoGrrxdHOd2LyZU0d0eN48M6I74z PCWULcNX9FrWIA4vQrNYnS6OnwZHB5nm+INwLoJu7e+QCa2Fdd34KM/UqfI+I87PFWvk /HLX+NRlm4WGLE0XFPG2iCtIXsB5tqhibsUXFh0o8CIA2Hpi8ny0636YCTOLUnzZhoVq 7bEg== X-Forwarded-Encrypted: i=1; AJvYcCUTDJrR34dPsSH/KBCOvj+n81UgkvSbfFbyIc+4k9qUJsv7qX5rpT5WQL3Qgb246i5KuEQdJS8NMNAo@vger.kernel.org X-Gm-Message-State: AOJu0YxJ5TRic/MmO1L5Tr3xEFIwqgRudVje2RGZe8gXphhk620Uq+4p ic6rC2+LUH+NUZpyqkNpbUrnAI1tpS5Rd/eyUA9WmGmeyPk3IldYJNidq+gnBQ== X-Google-Smtp-Source: AGHT+IEAOefh63wQIqfkUJOl5klZYVKP7yCEGttqmKZtHp1y5vUat4ZKI34uorr+hfkqicJydf5fHA== X-Received: by 2002:a05:6a20:cd91:b0:1cf:3c60:b8d3 with SMTP id adf61e73a8af0-1d9a83cf404mr30917513637.19.1730495623421; Fri, 01 Nov 2024 14:13:43 -0700 (PDT) Received: from lbrmn-mmayer.ric.broadcom.net ([192.19.161.248]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7ee452a995bsm2898250a12.21.2024.11.01.14.13.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 14:13:42 -0700 (PDT) Received: by lbrmn-mmayer.ric.broadcom.net (Postfix, from userid 1000) id 029D06FE; Fri, 1 Nov 2024 14:13:42 -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 1/2] dt-bindings: rng: add binding for BCM74110 RNG Date: Fri, 1 Nov 2024 14:13:14 -0700 Message-ID: <20241101211316.91345-2-mmayer@broadcom.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241101211316.91345-1-mmayer@broadcom.com> References: <20241101211316.91345-1-mmayer@broadcom.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add a binding for the random number generator used on the BCM74110. Signed-off-by: Markus Mayer Reviewed-by: Krzysztof Kozlowski --- .../bindings/rng/brcm,bcm74110-rng.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/brcm,bcm74110-rng.yaml diff --git a/Documentation/devicetree/bindings/rng/brcm,bcm74110-rng.yaml b/Documentation/devicetree/bindings/rng/brcm,bcm74110-rng.yaml new file mode 100644 index 000000000000..8e89d4a70b53 --- /dev/null +++ b/Documentation/devicetree/bindings/rng/brcm,bcm74110-rng.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/brcm,bcm74110-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM74110 Random number generator + +description: + Random number generator used on the BCM74110. + +maintainers: + - Markus Mayer + - Florian Fainelli + +properties: + compatible: + enum: + - brcm,bcm74110-rng + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rng@83ba000 { + compatible = "brcm,bcm74110-rng"; + reg = <0x83ba000 0x14>; + };