From patchwork Wed Mar 12 09:26:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 14013192 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.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 E0FA123A99E for ; Wed, 12 Mar 2025 09:26:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741771580; cv=none; b=Ug3f5DsqD7fmVbB1jWhf8vJv92XXG95YAcnOziyToOSaj3mD0jFviIdAe4rHiOkHeisskvweeFIoH4+Bk+f9cXEuMV7fVYEpxZbbTMLs/xulm1PDGzjPamVOppqs1/p+t7J+IkZY9+6F1GquATj1JZmvuNLiYgHDA9dDnj5GB7k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741771580; c=relaxed/simple; bh=ybs8R25yfpsfczxWhsJ2tV/Ul4Z2Pk35a94YSeM398M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OJNR2gKzlAxefrUQsJSydt9/SjDSx8oOTAF+nKPleAR1aqMXRTY5TWBmRkJaNzAK+BbDtxCiQ1TksuyBUcpJpqpqwmJDqAPld0+MDbUIxac8chBGg6fITMTCslJVn6uOHSKjyH5pi8SwoCPDxWcvYcTfP/T8b+plF3IjCG2tZeY= 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=EEKgGQt7; arc=none smtp.client-ip=209.85.208.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="EEKgGQt7" Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-5e6c18e2c7dso6512056a12.3 for ; Wed, 12 Mar 2025 02:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741771576; x=1742376376; 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=xswinb076qZvn7US/dc/QOmw/IdhpBRRPIAhxYh3Img=; b=EEKgGQt7pOmp+XdOO7PbUFTdYkaCv+bfqQx2YC9fIsPDXlfV178UsEJME+zgSwOuRD ITv6Qy1dsjO0KCI7tit+JtaEMwcweqU4eY0jbVJ3wdgF99yrhMu8zJVKptVG4RrJHWaJ 1x6jd/jSuHAZY7uLWLuX0gi4ubFNHop45H9ljOn0IqXwtTEGh8nYBtMG/4giQYBXoX/1 VSK2ujPniK8SXvnHeuSvEmYmi6oSepy+gBTdxS4PFK8blMqAC6vy0YOq1kYI6zjbRsXp PoHWSSjb2UG4gAA1hFbW3rj12WSoPoFd9FVyk9CQb2QngCURx3nf0kq8UJ7MG+kdVCC9 EBng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741771576; x=1742376376; 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=xswinb076qZvn7US/dc/QOmw/IdhpBRRPIAhxYh3Img=; b=lCHLTKHOICNI9tPRCtibroHatIq/uP87iUU3sF/IgnWiUYVjToVYZVnpIgm1hPLoWl 1Ffml3691fNKk1BbaDusgMHO9HEea+jBXcZXiOCU9J5xRKxhARKxGBx+YGgrqQIBzrD8 Zl7yWStD12GwdAdtJRz2gBx+TGyQq/BJPvwvCEPM5osX2y7AD2u+JoPfOoP962u5Cmui gLah9bFhKP54IC3YmDVnVpZMfymIe2VVRpJHZJS4SRSdCkB3R293imI+kRWfM4DniC3K NP49bFV17D1PFHJBoF8gWKdZM4FT3Pcwr4Ds/GBK4rz4/q8GTJT1E7Mgvjn3CrlQbGk7 viVA== X-Forwarded-Encrypted: i=1; AJvYcCWv6Mw7w1Zg77LRqrfkblE2h6m7GaMgRx/jLVHd8yfw2+8PWLuIccnPmw8cbNMevRDycmgJ6Qb69qat+zo5mr8=@vger.kernel.org X-Gm-Message-State: AOJu0YzHF1jNlzcBHOdaP6o/YvKGSUNeHoXYjy30SgNtJSm5qeOC2pW5 O+88jsepBG80IHGyf2l4HFOklfeBnk+RreS7MxeYv3xoJRQkx604f3PIFXUWcug= X-Gm-Gg: ASbGnctweQnllt87qNhZuXUp7J2RRfKO1vQbZOE6e3NAJCzrzSquvY6vc7L2NEX3KvM bnKGoamv+6fb4a19606L6LbjHPbl8cOPVyOqi5A7yZKDq3S8PdvbipoBmOIVnKEhgAmk6FBcNHg spurAIcMKcMKp5lInioNT89DkXJ6A4tHuc1yY4vQtAKdgPsoHZkKH88wzQOOaHKh7W7nG4BMk7R rqGIulQt1I+X/GBcItg2gxLVWuweFfZi3p/cbq3pqmwYtr8O5PTlQfbAeAarycN+m6f2aDzvcJ0 cucnGh0qC7lijvOtlqmptV305GVnvOyhRBAr02oUFQv/26QOXs8RpN+XKnJ2D2xwkIUt5DAojcQ Ydn098Y30ZgbQP8Oj4U4CUt+eV1au X-Google-Smtp-Source: AGHT+IG3BE+VCjz80UYyxxJRqNTl345juIBx/anG/Kz+C5kuNeMlQDho60z+7358e8nkNWd/1gqnUw== X-Received: by 2002:a17:906:f589:b0:abf:d4a9:a0a5 with SMTP id a640c23a62f3a-ac252f8e28fmr2441712766b.45.1741771574569; Wed, 12 Mar 2025 02:26:14 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac25777c748sm894535266b.2.2025.03.12.02.26.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Mar 2025 02:26:14 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Wed, 12 Mar 2025 09:26:00 +0000 Subject: [PATCH v4 2/6] dt-bindings: nvmem: add max77759 binding Precedence: bulk X-Mailing-List: linux-hardening@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250312-max77759-mfd-v4-2-b908d606c8cb@linaro.org> References: <20250312-max77759-mfd-v4-0-b908d606c8cb@linaro.org> In-Reply-To: <20250312-max77759-mfd-v4-0-b908d606c8cb@linaro.org> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Bartosz Golaszewski , Srinivas Kandagatla , Kees Cook , "Gustavo A. R. Silva" Cc: Peter Griffin , Tudor Ambarus , Will McVicker , kernel-team@android.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-hardening@vger.kernel.org, =?utf-8?q?And?= =?utf-8?q?r=C3=A9_Draszik?= X-Mailer: b4 0.14.2 The Maxim MAX77759 is a companion PMIC for USB Type-C applications and includes Battery Charger, Fuel Gauge, temperature sensors, USB Type-C Port Controller (TCPC), NVMEM, and a GPIO expander. This describes its storage module (NVMEM). Reviewed-by: Rob Herring (Arm) Signed-off-by: André Draszik --- v2: * drop example as the MFD binding has a complete one (Rob) Note: MAINTAINERS doesn't need updating, the binding update for the first leaf device (gpio) adds a wildcard matching all max77759 bindings --- .../bindings/nvmem/maxim,max77759-nvmem.yaml | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml b/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1e3bd4433007341a11040f513bf444866b9e38a8 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/maxim,max77759-nvmem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX77759 Non Volatile Memory + +maintainers: + - André Draszik + +description: | + This module is part of the MAX77759 PMIC. For additional information, see + Documentation/devicetree/bindings/mfd/maxim,max77759.yaml. + + The MAX77759 is a PMIC integrating, amongst others, Non Volatile Memory + (NVMEM) with 30 bytes of storage which can be used by software to store + information or communicate with a boot loader. + +properties: + compatible: + const: maxim,max77759-nvmem + + wp-gpios: false + +required: + - compatible + +allOf: + - $ref: nvmem.yaml# + +unevaluatedProperties: false