From nobody Thu Oct 2 00:49:14 2025 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 963332135D7; Wed, 24 Sep 2025 14:14:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758723275; cv=none; b=eEMB/EPRuYwyb6eNWhbCY3j8ULWaTTDMCAogdiSVi8JxSkuDg9YX7BICAqmZwKTPXzX8E5rplQhLBxCPwdalzrrnj14lDl9LmhMUhVADvKqn9A0jTzlBuovo+iuUfZPTti+yCq8BYI2KK2s3z5M9IO8mFqundzlHftcQcASrkco= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758723275; c=relaxed/simple; bh=M9mtIGEV5fVE5qdkzoug0rSgGpBai5jjEicI0TosQ4c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=I1PYuW0aWRS7QyJWdnB/IliA93OUn4JmMocDmAre2+tNdq5eA4wcw9apaa5cm1+H9l+0bPZ0bdVFylkRq3b7PY4IhmtCOf4nr+It7vFIw5qIVpD97S3YbMSDp6fmYCteCUvyKjv83YcDlxrh9zBcZv9MrMGM4p1cjQwJWVer/4s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kael-k.io; spf=pass smtp.mailfrom=kael-k.io; dkim=pass (2048-bit key) header.d=kael-k.io header.i=@kael-k.io header.b=GYdBNsJD; arc=none smtp.client-ip=80.241.56.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kael-k.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kael-k.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kael-k.io header.i=@kael-k.io header.b="GYdBNsJD" Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (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 mout-p-201.mailbox.org (Postfix) with ESMTPS id 4cWzPK4ZW6z9tfQ; Wed, 24 Sep 2025 16:14:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kael-k.io; s=MBO0001; t=1758723269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IGi66BJ0/T6JH0YNvbBm/z4PyrtKkadtvMPQrrFPdf4=; b=GYdBNsJD8mh6mU3mGnPfPxFc/fRue8qI/6wEj8UxBc3v0fzkdt9IoxxolzJaiifIBZkEwf Xa6WkSyuroVED4zdisqGezuNxdwOlxxaG0eWwT3Urvl4uH8I/2f+Pqb3smSMuRNSjDz/iw uyIj9uffaBfp8MUr4VBKNzuWaBotT5glgBsre1wzqcJfHaZKPL8ZTUWv1W+jGLZb4hu/EO aUIpfiA9vLnRAvVPeE6TuK/25BCmW3NX+Xqcb4pcYFaNrSh7aR8rzPNHDMemuXvsbArOtK DL7l2fu+ojAoiVN/s+7tIYWKa3j+TdyKkGDAgoGZ4D6PzL6SB7RKjjAP3NpeKg== From: Kael D'Alcamo To: Olivia Mackall , Herbert Xu , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: rng: sparc_sun_oracle_rng: convert to DT schema Date: Wed, 24 Sep 2025 16:09:20 +0200 Message-ID: <20250924141247.69323-4-dev@kael-k.io> In-Reply-To: <20250924141247.69323-2-dev@kael-k.io> References: <20250924141247.69323-2-dev@kael-k.io> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert the Devicetree binding documentation for: * SUNW,n2-rng * SUNW,vf-rng * SUNW,kt-rng * ORCL,m4-rng * ORCL,m7-rng from plain text to YAML. Signed-off-by: Kael D'Alcamo --- .../devicetree/bindings/rng/SUNW,n2-rng.yaml | 50 +++++++++++++++++++ .../bindings/rng/sparc_sun_oracle_rng.txt | 30 ----------- 2 files changed, 50 insertions(+), 30 deletions(-) create mode 100644 Documentation/devicetree/bindings/rng/SUNW,n2-rng.yaml delete mode 100644 Documentation/devicetree/bindings/rng/sparc_sun_oracle_= rng.txt diff --git a/Documentation/devicetree/bindings/rng/SUNW,n2-rng.yaml b/Docum= entation/devicetree/bindings/rng/SUNW,n2-rng.yaml new file mode 100644 index 000000000000..6eafc532dc76 --- /dev/null +++ b/Documentation/devicetree/bindings/rng/SUNW,n2-rng.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/SUNW,n2-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SUN UltraSPARC HWRNG + +maintainers: + - David S. Miller + +properties: + compatible: + enum: + - SUNW,n2-rng # for Niagara 2 Platform (SUN UltraSPARC T2 CPU) + - SUNW,vf-rng # for Victoria Falls Platform (SUN UltraSPARC T2 Plus= CPU) + # for Rainbow/Yosemite Falls Platform (SUN SPARC T3/T4), + # (UltraSPARC KT/Niagara 3 - development names) + # more recent systems (after Oracle acquisition of SUN) + - SUNW,kt-rng + - ORCL,m4-rng # for SPARC T5/M5 + - ORCL,m7-rng # for SPARC T7/M7 + + reg: + maxItems: 1 + + "rng-#units": + description: Number of RNG units + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + +required: + - compatible + - reg + +additionalProperties: false + +# PS: see as well prtconfs.git by DaveM +examples: + - | + bus { + #address-cells =3D <1>; + #size-cells =3D <0>; + + rng@e { + compatible =3D "ORCL,m4-rng"; + reg =3D <0xe>; + rng-#units =3D <2>; + }; + }; diff --git a/Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt= b/Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt deleted file mode 100644 index b0b211194c71..000000000000 --- a/Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt +++ /dev/null @@ -1,30 +0,0 @@ -HWRNG support for the n2_rng driver - -Required properties: -- reg : base address to sample from -- compatible : should contain one of the following - RNG versions: - - 'SUNW,n2-rng' for Niagara 2 Platform (SUN UltraSPARC T2 CPU) - - 'SUNW,vf-rng' for Victoria Falls Platform (SUN UltraSPARC T2 Plus CPU) - - 'SUNW,kt-rng' for Rainbow/Yosemite Falls Platform (SUN SPARC T3/T4), (U= ltraSPARC KT/Niagara 3 - development names) - more recent systems (after Oracle acquisition of SUN) - - 'ORCL,m4-rng' for SPARC T5/M5 - - 'ORCL,m7-rng' for SPARC T7/M7 - -Examples: -/* linux LDOM on SPARC T5-2 */ -Node 0xf029a4f4 - .node: f029a4f4 - rng-#units: 00000002 - compatible: 'ORCL,m4-rng' - reg: 0000000e - name: 'random-number-generator' - -/* solaris on SPARC M7-8 */ -Node 0xf028c08c - rng-#units: 00000003 - compatible: 'ORCL,m7-rng' - reg: 0000000e - name: 'random-number-generator' - -PS: see as well prtconfs.git by DaveM --=20 2.51.0 From nobody Thu Oct 2 00:49:14 2025 Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB127303C88; Wed, 24 Sep 2025 14:15:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.151 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758723322; cv=none; b=mOxTDX3mWLQk+ipLuh/N8887n1SzxaQ2GOWQCRgvYb8zCUv+BG8v8pU2Wkw2wTmYtTnYkOiHs9Lck9Roaj61/Jbp0eoKNO6IWCJKeKTOEBn8B3B6rbO/u2l+AHQ5hG9eJ+OdYsMBz+zEa33sR+rNIEb3yUqN4DhGDPJxlU/Fl8k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758723322; c=relaxed/simple; bh=OKSqrO3LZFuwARINEBqW4y/xQ22Me4w2B7wXbthwvJ8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=K6/FGQ6Qd9KR5SD/tZ2FLL+rP/DOwZtN0FDiq+oGLGwtZ1X0umoo0idGzGBPBDqqEKqK9XLaxdyLXjYq5VpvIaa9U/aa5atrP1KnF3ZUC66JcatOz2P668nYRd+TloD6jt1QPIsCdPBY8x6bl263MkjkvtU93Qz3TXhjlL4iU2Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kael-k.io; spf=pass smtp.mailfrom=kael-k.io; dkim=pass (2048-bit key) header.d=kael-k.io header.i=@kael-k.io header.b=ijCGY64H; arc=none smtp.client-ip=80.241.56.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kael-k.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kael-k.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kael-k.io header.i=@kael-k.io header.b="ijCGY64H" Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (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 mout-p-101.mailbox.org (Postfix) with ESMTPS id 4cWzQ63W9tz9tCh; Wed, 24 Sep 2025 16:15:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kael-k.io; s=MBO0001; t=1758723310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uDF0NveysQPfSfovDc8hfR/tmWatFKCZKG9GGaknk4M=; b=ijCGY64HEk8wzb//m56CvU+lNNfMHAVTzdMms0OFgUpKqDLz32DFGpqGF2VPokMWIeh0lX c/f097BQWh/WSXJ0lav2UPHwtR90fc4+70gcOYfnf3GsphxGU6dw3CtQsmoaB0+sGx7UHQ pItlqxYVqN6PnxJV8yt/1KMaRqdfaZ1q0R/4PXNpVwienur1gO+8ixvvjrYhYCcUaiNbqC m042OY1PzH5MAIPAzVw2dofPc8cFrv0GvfxnJOOKyDhqLVu13bLR/3er6LF1Nj+FEHy1AU x4pro0kmgVp3j3GhHFQT7S0ljq3uUduX/u8ovhnwbhVpobGlWXm4+M4QAW13hA== Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of dev@kael-k.io designates 2001:67c:2050:b231:465::2 as permitted sender) smtp.mailfrom=dev@kael-k.io From: Kael D'Alcamo To: Olivia Mackall , Herbert Xu , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: vendor-prefixes: update regex for properties without a prefix Date: Wed, 24 Sep 2025 16:09:22 +0200 Message-ID: <20250924141247.69323-6-dev@kael-k.io> In-Reply-To: <20250924141247.69323-2-dev@kael-k.io> References: <20250924141247.69323-2-dev@kael-k.io> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4cWzQ63W9tz9tCh Content-Type: text/plain; charset="utf-8" Update vendor-prefixes.yaml to allow property names without a prefix to contain '#' character in all positions Signed-off-by: Kael D'Alcamo --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Docum= entation/devicetree/bindings/vendor-prefixes.yaml index 9ec8947dfcad..e12c6ca399ec 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1811,7 +1811,7 @@ patternProperties: =20 # Normal property name match without a comma # These should catch all node/property names without a prefix - "^[a-zA-Z0-9#_][a-zA-Z0-9+\\-._@]{0,63}$": true + "^[a-zA-Z0-9#_][a-zA-Z0-9#+\\-._@]{0,63}$": true "^[a-zA-Z0-9+\\-._]*@[0-9a-zA-Z,]*$": true "^#.*": true =20 --=20 2.51.0