From nobody Mon Feb 9 02:15:44 2026 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 70896331A77 for ; Wed, 22 Oct 2025 11:19:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761131983; cv=none; b=iIs0fTisgRCH38aDgYSPKFZ5Zk1aiMG83S53Lr6PDrzAJp1HIxAbFm2i+7w1VpchqB/oGlgvdKIGq2J+DDxzVCLsJfSxwBOXR6gKzKiMlfjbO/1i/RFtNB68SrnE2JPbQnY1gVx+SFt9heHkdle4yv7UxtscEyyY4DK5DROhOKE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761131983; c=relaxed/simple; bh=wFL7EaC7oajWS8si1y0wmfU9HL7IN0yiHQa1hCUg5Ls=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mssEDbdubzjf0JGJDFtEZ0aj1Xfhs3Q1fFBgnIpoX5BmICRni8pbPwgmN7/YVKrL44vYRHTewuxYJ1PUImQs2pZ/29qnZWNcWFNhYmuWfzok0GS8OpcKvVJ/B6VtiDdOXtJvzE3U1FniIrg1exyARiOnoWAp+haIm5mm1i2xeDw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=AjAKZ/mc; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AjAKZ/mc" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-3ee64bc6b90so4346051f8f.0 for ; Wed, 22 Oct 2025 04:19:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761131979; x=1761736779; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=+TkKDb8seGZ3p0bb+weF9fHd1+l2SxCH4jqobx5Z0NA=; b=AjAKZ/mc7EWnnQzrNesITi72sW4ZFm4O/4KccWtbn6ml+5ewC3EedtTk73cjVJ5Rjk tLOcdMm73Rr/Zr401m0XnkMbyKodbiHmUXhNADOgIhxsMcxOHgk6kRVY01ef1N9tJIP+ pggt58RXe6L+8mv5WOwnH3SXFqgIsvguDeBYW1Zzi8QnuNJRkfWJCi99do2DKW6p/0bI c1QW1MSwLkMj+EE+zxtmbFtHEAov5zhiDZ0Va48A6ZaH/EchiqMy09tHCHc4junXQe8o 4+eqIfi517NFIONqqT/v+8MrbPW4zVCq3yUBQXYPOHaloOMyZNWIEDNDlXdjuH2eISAI gncg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761131979; x=1761736779; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+TkKDb8seGZ3p0bb+weF9fHd1+l2SxCH4jqobx5Z0NA=; b=eSOAtZD6q530z/NPTB/dHoWf05tsCiONw5UUcf5ZYMnlVH2VYpozMBj+sri6szCI0e JtlGA78eLrmJZ4EsXVqRGDapjMIHNnDVRBMNgWxCZyrb/dNpYdzYIvRM69ohnGVuZN63 nwtwpm9CZ+SAQC+zxz44CIqMPKxhWOOX/x8wONdWFTZSUpUqUnczKv90gzqTIXCTH39B cnOWLZRc8mt9Jy04IVzjW/7R/0Kz2Ht30qs0PWCYgb9lywvPh24VkE4tvn4aN3gldXIW //Kzs6Y4IwM5yPUPQeDQMrbQ6QyB/ebbC3cAa+y/LuCoANSMqTll2aqSFjmDlRhO7y1p L+iA== X-Forwarded-Encrypted: i=1; AJvYcCXDmlgDKWIpmE611c2DM/CU1NSpzVQ1NHfhqZl+FKVuoNx0r1IZ6uUPdmOTiPSVAWeQn+zKQdP7rwoHlHg=@vger.kernel.org X-Gm-Message-State: AOJu0YyfBPJgErpSGZ2yIgvPg9U9WpDheZFxnArte+L/fXT/qm4K345L 31wxyK/WW7qXJBC/BvitgPfvgbrS1uUAFaNWZPkpYbfBuazI5r0FI9XD7RL5LVXI9QE= X-Gm-Gg: ASbGncuoAerPAg4PfXGdh+8gjK1EzaEcK4XkfJtNObMECX7DqqKRk308r8s3Sua5QSP Y71P4IQwAo62UATJO/jsmQcXVkewVzpU9CbtGVfpc+7nlCkwJErzsu9BaKen7Rmcm2zPtUuqiRP 3lhrDDm4uULbiQSh0QySX2aFe0L5dkOsoYn6JJWEC8eqoXxY6SCR4lLRYiwRQH3aD++sQejV6DH 2a6cUKzqg/1BV+FVBDAssYpA/DHpk59yEv+4ObwWjIHaSVaTve0LUU/h1IWZvjVCqQxiLygGtQo ISBMUhbzkS8vl2ZpSQAzBxUPM5pLkuUlqDbTIXosaLwwv1JhnYpfPhKW4+BZ7ynjWWRnKqRwDrT gYdF4kFlRUATVAIEeMXgFCL7/5twq+E2YSQ4ko7q+N6w8R2f0ybhLvMpVji0sN1PqWf44t3hTER 2rq7WpoMeGsR5WoSjuAuQ9XX9Xs0Pl+Wz0/a3nAt94CZwnrEUSjFgS4h9e9IAsml8= X-Google-Smtp-Source: AGHT+IE/+qEk3SjQE0WaGw/Ate00STQbnaD0YtCC+WFT4/Fbr+bdpqv2kFO9m4rVu0eXE78+nSoBzA== X-Received: by 2002:a05:6000:491d:b0:427:55b:cf6 with SMTP id ffacd0b85a97d-427055b0cf8mr14963659f8f.7.1761131978900; Wed, 22 Oct 2025 04:19:38 -0700 (PDT) Received: from ta2.c.googlers.com (213.53.77.34.bc.googleusercontent.com. [34.77.53.213]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-427f009a78csm24820692f8f.26.2025.10.22.04.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Oct 2025 04:19:38 -0700 (PDT) From: Tudor Ambarus Date: Wed, 22 Oct 2025 11:19:35 +0000 Subject: [PATCH 1/2] dt-bindings: rng: add google,gs101-trng compatible Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251022-gs101-trng-v1-1-8817e2d7a6fc@linaro.org> References: <20251022-gs101-trng-v1-0-8817e2d7a6fc@linaro.org> In-Reply-To: <20251022-gs101-trng-v1-0-8817e2d7a6fc@linaro.org> To: =?utf-8?q?=C5=81ukasz_Stelmach?= , Olivia Mackall , Herbert Xu , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Peter Griffin , =?utf-8?q?Andr=C3=A9_Draszik?= Cc: Krzysztof Kozlowski , semen.protsenko@linaro.org, willmcvicker@google.com, kernel-team@android.com, linux-samsung-soc@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tudor Ambarus X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761131977; l=1108; i=tudor.ambarus@linaro.org; s=20241212; h=from:subject:message-id; bh=wFL7EaC7oajWS8si1y0wmfU9HL7IN0yiHQa1hCUg5Ls=; b=BADVR+Jf79pRXQQP7OJ+g5sLQY7l/hCEa6RUAs9sGn87SwsuC7w4rRwpSLmGz9MKiaePKpFtk kdDu7pTDMneDUah7lu5PkCdDDp1n5XfUkpHjxqyC9OeuHgEpauWIQ/v X-Developer-Key: i=tudor.ambarus@linaro.org; a=ed25519; pk=uQzE0NXo3dIjeowMTOPCpIiPHEz12IA/MbyzrZVh9WI= Add support for the TRNG found on GS101. It works well with the current exynos850 TRNG support. Signed-off-by: Tudor Ambarus Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/rng/samsung,exynos5250-trng.yaml | 10 ++++++= +--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.= yaml b/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml index 1a71935d8a1906591439c03b7678538e656324b6..4cae7dccbb915cf50dfa8db86b4= 3293a66200002 100644 --- a/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml +++ b/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml @@ -12,9 +12,13 @@ maintainers: =20 properties: compatible: - enum: - - samsung,exynos5250-trng - - samsung,exynos850-trng + oneOf: + - enum: + - samsung,exynos5250-trng + - samsung,exynos850-trng + - items: + - const: google,gs101-trng + - const: samsung,exynos850-trng =20 clocks: minItems: 1 --=20 2.51.0.915.g61a8936c21-goog From nobody Mon Feb 9 02:15:44 2026 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 0371F331A7C for ; Wed, 22 Oct 2025 11:19:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761131983; cv=none; b=FDRd4x26KLJEzFkERR/Z8pEjC9vZ9uBAgUJitZjJb8ooBsn4hnQqjYo1Wjxrog7juMWfgQNBdcGUUfaRkN6drV8xmIBEx678iqIy/8yeYUKWMsZIBs5gT1Lb1M3O2vQ3Kr8Or4YvhZUDPUN8eHuKqkXGIMRKDLhd4Yf/jAt3paY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761131983; c=relaxed/simple; bh=1mrG/yol1/JtpGKNAwtm5R1RG+GDRE/X9WA1wtY9TFw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=swifioaztxBUydsjQ7Hx/ppL1w/De/NzR/mxoyGe4bRH4rs4iAvr18EvuRdmp4rG6w20V3JOaDL2vbsyWr6Ljmj9NbfSDaVaV15/nn49jQRQkrKu80dOx84EKMBFzLBYuTpCO6njpF7nhweMnCeoTQZtXkerWhzvriyqSG2NvSk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=WujvrG1h; arc=none smtp.client-ip=209.85.221.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WujvrG1h" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-3ed20bdfdffso6161224f8f.2 for ; Wed, 22 Oct 2025 04:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761131980; x=1761736780; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=SUARhHfbTngybzaWH5xMNt4+HQhGBHN+eDo+AihXMvI=; b=WujvrG1hcHgP29j9/I8E0gdlqc8glzhqA2TPs11VcjqGvWX+kOT/PKzGbMnFuDeaxj JttUpcEvS0ENS++sDY2JMFmuJHvszXaKMM3e9spRFWxX5weNsGAaUe1hsOMHBzVae26I f2AbePcRhjipIolQFFWxeNNO6c27MJ619Jwsgnuh3hWVMsvGJ/4aCsGlOoz2ytN+wB3K Kqg2sUZ/dofOxgA8Va+XlV7qPGlWu9oZ1QhsH5tbPGyWcwFk85aM5zJul1fMXtlYrnTQ uXgo1FXQ4vrjco7rU0epox4E8i2GTxucMjrvNCtOzS/cwYdoTAnBwzjCZ2py8me6kmeF GZDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761131980; x=1761736780; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SUARhHfbTngybzaWH5xMNt4+HQhGBHN+eDo+AihXMvI=; b=VzzhxvQhtPwjCTSUHXaswUnLlgPnudBroKluD66xQSdpxNp5oSvrM/StdZ3jj54pPy HwEsRolU6+1PoQwK712lTBOdIjHOJXnChQ4fFWFcu5pwi5d6rIB9k0LOFavu9q8Z78rP 0M28lmGjkikjCRxHS2o6CN8r5rH1Oi4FarT/ANIRS0tvq+Ff/xV86QWj/h/UMToUharY ZnC0yCKcFa6ATpLLXFbhPDr4n0hgpZYNUYUh9vzezVC+5bLxJURZoZJfWXGOc2CUS8bW H50QM+O4Yqgvy4jmbcWrGti6JFn8qQm+kh70mImvFzwjVIyfjgleBV+6Fz/9GyaQKtVK DPAA== X-Forwarded-Encrypted: i=1; AJvYcCUckqLS630vCII8UbAFYV4QkWAuhZe+sxFZOaHGB36mCd/geJHxxs+1AgjmLzGyM+ZslHwNkGx+YQXOTns=@vger.kernel.org X-Gm-Message-State: AOJu0YzbR8/K2JrV+rNbvzqq81ds/z1yRhdHKBWflhhfoHNeY/Wouvn5 Ipq98mi9XM/0j89agLeSGp70iw1Tn3Gn7BscYhEOBi9iGaIPj1mcBZ6srG8AFwXZ1cQ= X-Gm-Gg: ASbGncucbGY9U/WSuJTIttn/jJV31UPCkVsPKH30ZXCooqzuA0o6V4jgBWtyXPRkNC0 TQxuGlGeMJ+XpjBq291D4+Tji5YbxCb0++WoVoOFj7Tf3qa7ipM+qItx8fvUbXirIfxAMG8pS4l fQwkRyS989mSSb9VEulbx/6Qg99YsRWWYAOpPtdvuczbvHfB/Ds8E2UN5HYFnhKqw9CocCwBeyX ngcsHoqoEm6cVzEEqLF/6mjrbH19LpMD6tLyVR92gUtq8qQC2ty5cE70ZvNPm5yDaWv/0Jb0I76 iLuiKspONXv9U7IzBurzLKIv7JNd8Q4EdxB+XzMDXf7kLVAMIYL4XWHdeOUrtC5o6r51pu/b7mA XqSsw4SYU6dlVY2863maegVllIdZTVVJnrQPhTuf6ljxY6LYuFIoTVrHtUYH9qD0kzu5JG+R+Fb FrP49Jx4w6NoZvEakEcvccA3Sh8mJMKvkn/Y2eGC4WATX/IvYIeD6ng81Qs5FCRTM= X-Google-Smtp-Source: AGHT+IGVU7PNSg91ufp9cPjVd4Gpkg96hHzSv4SIyKY7C0GpIrtxcWnGzFIXHyAzs+v1iGiF52UTjw== X-Received: by 2002:a5d:59af:0:b0:427:60d:c4fb with SMTP id ffacd0b85a97d-427060dc744mr14141519f8f.60.1761131980105; Wed, 22 Oct 2025 04:19:40 -0700 (PDT) Received: from ta2.c.googlers.com (213.53.77.34.bc.googleusercontent.com. [34.77.53.213]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-427f009a78csm24820692f8f.26.2025.10.22.04.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Oct 2025 04:19:39 -0700 (PDT) From: Tudor Ambarus Date: Wed, 22 Oct 2025 11:19:36 +0000 Subject: [PATCH 2/2] arm64: dts: exynos: gs101: add TRNG node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251022-gs101-trng-v1-2-8817e2d7a6fc@linaro.org> References: <20251022-gs101-trng-v1-0-8817e2d7a6fc@linaro.org> In-Reply-To: <20251022-gs101-trng-v1-0-8817e2d7a6fc@linaro.org> To: =?utf-8?q?=C5=81ukasz_Stelmach?= , Olivia Mackall , Herbert Xu , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Peter Griffin , =?utf-8?q?Andr=C3=A9_Draszik?= Cc: Krzysztof Kozlowski , semen.protsenko@linaro.org, willmcvicker@google.com, kernel-team@android.com, linux-samsung-soc@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tudor Ambarus X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761131977; l=1126; i=tudor.ambarus@linaro.org; s=20241212; h=from:subject:message-id; bh=1mrG/yol1/JtpGKNAwtm5R1RG+GDRE/X9WA1wtY9TFw=; b=N48x9p6uzGpyNoZtQ8hAMytjHe8+vJa5kkVV3y1m06z+AB9vHk0dNsc9uu/baMA5o2430cy1j F397zeVUFBlCxW6+4mUwrPVIDH0nAoJpuD4Xo1txP/TALKLTxBnAyBu X-Developer-Key: i=tudor.ambarus@linaro.org; a=ed25519; pk=uQzE0NXo3dIjeowMTOPCpIiPHEz12IA/MbyzrZVh9WI= Define the TRNG node. GS101 TRNG works well with the current Exynos850 TRNG support. Specify the Google specific compatible in front of the Exynos one. Signed-off-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot= /dts/exynos/google/gs101.dtsi index d06d1d05f36408137a8acd98e43d48ea7d4f4292..380f7e70910ab8bcc2869078253= 2fff87ca7e30b 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -630,6 +630,15 @@ watchdog_cl1: watchdog@10070000 { status =3D "disabled"; }; =20 + trng: rng@10141400 { + compatible =3D "google,gs101-trng", + "samsung,exynos850-trng"; + reg =3D <0x10141400 0x100>; + clocks =3D <&cmu_misc CLK_GOUT_MISC_SSS_I_ACLK>, + <&cmu_misc CLK_GOUT_MISC_SSS_I_PCLK>; + clock-names =3D "secss", "pclk"; + }; + gic: interrupt-controller@10400000 { compatible =3D "arm,gic-v3"; #address-cells =3D <0>; --=20 2.51.0.915.g61a8936c21-goog