From nobody Tue Feb 10 01:14:47 2026 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 AF9FE2DCF74 for ; Mon, 22 Dec 2025 16:30:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766421037; cv=none; b=TPDDUNGGoB7EjqL2xBeAGohQK6AdYSN4a1XbfxLB/pn9V2wuXCm6Eh9/y/QCnqivTEClEPJCyxvCmDW/EXLEWxHD+cRzmYCVyadRhV7dVnlzZ/R8T384b+phtsYHXCB+DOfFGupMF5t9SoOhcGwq3Yw4OeHB4wDUNbkbABHk0yg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766421037; c=relaxed/simple; bh=McUiHXa4sDY4TxK9myaei/Das6DSOvZ5DH9n9HIK5z0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mwNVClW2HJUgLA4R53JoCqoISlT7qVUSLMQUFj5D7AZkcspgm4qq39VDM0TJPv1yujHragjeMqRfAW6MivRnYt6KhKHLUmOT/PSINe0KqbgS1ziYAv6r/PZ298kmsulRe1MZ8UtOJKa6lDCVB2Xz9YaBtZEFMr18FHGTcdR8GUw= 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=AaDFUFk+; arc=none smtp.client-ip=209.85.221.50 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="AaDFUFk+" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-42fbc305882so2133481f8f.0 for ; Mon, 22 Dec 2025 08:30:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1766421034; x=1767025834; 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=wlhs/F8IClVmoUeoQn46BTOR0VEDNo6dJrg+YAjVNP4=; b=AaDFUFk+4C5ybqHKozZbBrHhoOp0kQbfR2Bm/9jMt4HrWErk6JLrX7yERzjLK1F/Ig 7sY0/ZH2GIavDjViP2ewAhrv7V0jbyB+TWnwhkXvT3s/QhB7cPNrhiZHwOMVaxIshRXm 6FlfwnZb/5ExHVart+ynHbmDrGxgZFQMQPfUvh3q2eVJ3XbvJvR4vNslT+PvDBQGHcl4 o9qSO3RRnMY5rHRhCBFrAxh0JHLJBXZuEAOzcNaUSVb9pCrnvPD/zBHRwZJGvCsREFfA 0MiC5Gif1gw71Ogl30razyKrRzmzwch1qwrOA0AiRiKQW91Y1gbr5NANaz/RfX/+/hcm JO0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766421034; x=1767025834; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=wlhs/F8IClVmoUeoQn46BTOR0VEDNo6dJrg+YAjVNP4=; b=OGk/ONvqThGN+VO/jrh9ljIbheip5AtlgvPc6lzAh4mkPFbw3Cq70mMTMz6RkF7Ena TFFSlnix/14XdXm9XuOehqxHCmTIpHxMvs2MwC3wz3xJyxX5AH/ajQfIICW/0I8zpFZ5 bSt6kctANRLR6+kvUsnSBIz3IUosqFwnLmJnxSPa18vxRKFNqevFWwDIlo6O8YeAEWBf AV+jnbSuHCckepxYfwOpML2F3anqccqtxW04KPuDTVcLidRT5fsw6yKn6AWPWFMddEuw Kn5LobGNv0F5BZnItIUH+vZTHWNEgEf4dFCTkowsWMPD9uStLHCYc7edEuS6YtsunkN3 GRLg== X-Forwarded-Encrypted: i=1; AJvYcCXNtGU8VcYEKrh4bedFdpxlQEFMNlVUcOKrnyJKoI3ODPaKR0sdEktoHKmDVG1KDYlt9bXX3GnszT0HUWY=@vger.kernel.org X-Gm-Message-State: AOJu0YyJNVSdE1jPZmEEJ8GciZCmkESto7slUkFkm8i6outet7uY9++b v2OoHyyhNchxpSxiJIVJTqGgvtu22M5hjvmBitt3EjcT5buJCBl7ExHEo5xzKIhB77Y= X-Gm-Gg: AY/fxX7OxRw9gTuw4+R3qgaxC2Dosj0+TEScncXNSL4h7ybIVY1r8WLpAzlRNcu79Ju /kZLVAeAcxauqF0kK5WydnVPQ6iXfa2cj2k+MoVW4RUcwNJ+nSSgdu7vk5ESxxZSIZH6EMFCOGi Xw37KKjtCkg+YqYVRLUfWlTRaBZr0WTBukaDdIv5AWZMzp2d4rem41aKFAmuNDLyUQCX6GmDuub 7/nwprX8+3AJ6rJrIssgoBRhiC7/YHHiZMJP6QpCX3BnB5z53RSsk8GqAZt9B+XMEV/iebCfloz JuD5lTkbstUBaegu7cO59h8wP27Umj09DVZ4CHQSc59O40F10Asy0SxMvbxcwkAGO939ljreN8v aYADM/JsipOp+9YuWYJEjZEDonDYYBBIJq2qOtcZM1b1QFSHcCm+cZjoo+EbMPiNVnh/jzeVjbv zblUWvSiW4OZyD6BI4PlSSV//j8Ai0PYvdvR9gXeqPOxoWBTtj7oxagXJXRtacUiwueQohtO2pt 2Q= X-Google-Smtp-Source: AGHT+IFsMafyDmIztGS5eFQmA3T+ssMBvK+Usv9rZU++fuZY5gKcMu9PEAPmRCs7wEEjvON8LVqWEQ== X-Received: by 2002:a05:6000:220c:b0:431:752:671e with SMTP id ffacd0b85a97d-4324e4c906cmr14343129f8f.15.1766421034026; Mon, 22 Dec 2025 08:30:34 -0800 (PST) Received: from ta2.c.googlers.com (62.221.76.34.bc.googleusercontent.com. [34.76.221.62]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4324eaa4749sm23071258f8f.37.2025.12.22.08.30.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Dec 2025 08:30:33 -0800 (PST) From: Tudor Ambarus Date: Mon, 22 Dec 2025 16:30:05 +0000 Subject: [PATCH v4 1/5] dt-bindings: nvmem: add google,gs101-otp 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: <20251222-gs101-chipid-v4-1-aa8e20ce7bb3@linaro.org> References: <20251222-gs101-chipid-v4-0-aa8e20ce7bb3@linaro.org> In-Reply-To: <20251222-gs101-chipid-v4-0-aa8e20ce7bb3@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Peter Griffin , =?utf-8?q?Andr=C3=A9_Draszik?= , Srinivas Kandagatla Cc: Krzysztof Kozlowski , semen.protsenko@linaro.org, willmcvicker@google.com, kernel-team@android.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Tudor Ambarus , Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1766421032; l=2189; i=tudor.ambarus@linaro.org; s=20241212; h=from:subject:message-id; bh=McUiHXa4sDY4TxK9myaei/Das6DSOvZ5DH9n9HIK5z0=; b=CAQSD5FGU+EphuBCmrULdCUhE7IlVwlUPWIGhc6icc4yiw5qm4ZAkkXHyrcgxE3+TDcTEJzxJ juUMNR5p/1kACyIXO1B0V4+ZF5hS6VMH48BNxDvFr7kMnXW3AMP9FVK X-Developer-Key: i=tudor.ambarus@linaro.org; a=ed25519; pk=uQzE0NXo3dIjeowMTOPCpIiPHEz12IA/MbyzrZVh9WI= Add binding for the OTP controller found on Google GS101. Reviewed-by: Andr=C3=A9 Draszik Reviewed-by: Krzysztof Kozlowski Signed-off-by: Tudor Ambarus --- .../bindings/nvmem/google,gs101-otp.yaml | 61 ++++++++++++++++++= ++++ 1 file changed, 61 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/google,gs101-otp.yaml = b/Documentation/devicetree/bindings/nvmem/google,gs101-otp.yaml new file mode 100644 index 0000000000000000000000000000000000000000..99e322c72f9ee1766f3393e6049= 91364c41456fe --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/google,gs101-otp.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/google,gs101-otp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google GS101 OTP Controller + +maintainers: + - Tudor Ambarus + +description: | + OTP controller drives a NVMEM memory where system or user specific data + can be stored. The OTP controller register space is of interest as well + because it contains dedicated registers where it stores the Product ID + and the Chip ID (apart other things like TMU or ASV info). + +allOf: + - $ref: nvmem.yaml# + +properties: + compatible: + items: + - const: google,gs101-otp + + clocks: + maxItems: 1 + + clock-names: + const: pclk + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + + efuse@10000000 { + compatible =3D "google,gs101-otp"; + reg =3D <0x10000000 0xf084>; + clocks =3D <&cmu_misc CLK_GOUT_MISC_OTP_CON_TOP_PCLK>; + clock-names =3D "pclk"; + interrupts =3D ; + }; --=20 2.52.0.322.g1dd061c0dc-goog