From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 6AA122505B7 for ; Mon, 24 Feb 2025 10:28:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740392938; cv=none; b=P10IWPUZssxme8ukBy0BZ0DZLSzk6ttymWJXFCgbhQ9e7RGNIIxwfNGZ0wVJjs3IM3fyBOP/gfiF9AKW+8Nsz+ZpQ1se+6pdtJlxyu7JKAG0ShTRNPMzwOIfdSl+ASTPSbmAst4/mjzkPZ2KDRcEv4fFO1tQIYbJdMK8yZ2Lp3o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740392938; c=relaxed/simple; bh=SbxyZVFzeep/C5H/BzJACz2cstijlLoAVmx4b9KRzx4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gD7yUoZ0jH9rGq37S6uZOZZ8n5BGK38e0ZWEF560i0mfaHsPsE1SG+694IqYm/63AFGZYyLlhhsdDK+myK8Fq/NYA2akP/u8TuTlKBpWD5b5EG9eglHSA7naQ3oatidu7oO+735D8uZaYTJdu98sk2azcCSMDWGUyXFQxGgjsLw= 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=Yls4iqky; arc=none smtp.client-ip=209.85.218.54 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="Yls4iqky" Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-abb7a6ee2deso648459966b.0 for ; Mon, 24 Feb 2025 02:28:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1740392933; x=1740997733; 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=WbhcZtzS5EwoX+spb+fb7Z6TUP96XJcoUjJrW1dm9ac=; b=Yls4iqkywa3myn9tbq8ErI4PwyN1xABko277p6G8VTDqy2DCPKdDutj4kpYcVlXW0Y ZjTmnZ310vjKbNIJc1VfeAV4jPwnzjbc6rRKQYSuxg3tWrQzhi9M4tXczIxmrn042x3/ 9KxfY7kHhF77ioSbWKA8BZ32Sx4thJiFZnd23zoxK7zKUMsSxSv0+jkc1fGWv9xQWsAc bukYC+P5y6z66cibcsCTfpQITvu5W1TDDrVQmYBOulv+mfapDqIKprl4hdPawVjno8Km 394Ct3atD6xWBy1ht1pl87erI13tMEXDKriLhH475CrgspZGJQGIau2Q8RZ7KTLG/nQ0 QQeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740392933; x=1740997733; 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=WbhcZtzS5EwoX+spb+fb7Z6TUP96XJcoUjJrW1dm9ac=; b=Hrywd86zGOvnd+KGYfdUmW+/1PbnF91Ks6XkPQW3vAKHMgpqnuK2YK/ayXaGFCuhC7 mxLpzw2TsLpP8RdNpJ1OwrwXoXQ5Fq3USI+5b6y9T850ji1GEjMQXJA9WR4b7ASIyJic KHVcBeYP9bfG1xgs17eCW31wuKcSjLMw4fDR+kWeptC3SkTmYnTa7wi5CfVrUlL2heyq 8Dg2OcJZAAmAAoDXQxPu9ESdLxrbo8irnf3o+WZ3lwX4fcA1WEWBWiyArFfR+RZdr4GC 14BvpaaDzvr/H0vLZqfIVxrVRpKKubMDiJNcPgBLhRTLLp/JYW0WJFWADE3DqdozO1Yl O3sg== X-Forwarded-Encrypted: i=1; AJvYcCXfcNcosVSUum1A9xcQ42veAJA4Wns+2oYb5PYnRQR923GzI45jXyooMywLXLvnQ0MBvm8QOR30CxTw@vger.kernel.org X-Gm-Message-State: AOJu0Yx6z1yT8mc7rv+80xxMr98ocrbidiawCqaE8QlLH4sIGY7U1XBD biZ7GuZSNqNBIW87ImWW564v3InzvrLjyQIeDFfICwpnU5d3HbPlwjk5O9qtvrU= X-Gm-Gg: ASbGncucBckawAsqLzfOc2Laq8eP2eEBmPWqKTe4xvAsPDAFQ4rKrN8maKJ6QxkYt7X wKm1RxAQ0OU/zPhGVYe2W4IkK+8944EmbxZBf6NERiug6/mKcLorZYtwKiedaweLWRurkqiNmHE oYlYlAgdpmbadErVzcx+GlgpqMR1Jp4t9yDLOfcy328VVT48R7FeQBi4BRff7iTKp5TPHCNRroy puA10HLmMsCpnlQf4JSbp3Gj56nYeTfdKBllRPQhoBXBJKpSNE90McjPdgKwmI/TzDZHNOQvaiy nMRMvPQU1JLEZnLa/3MuGUHD2/syRjDYCNvCp5MZUHpk+JHNeXsDP/SpH54ln3CRmOUiqgYDWQy 8MLlAWA9FXA== X-Google-Smtp-Source: AGHT+IH4RZjl08rR2sE5UQioxf9Tb8q7zCAreWXLTS8Ohg3GQ4mI+vcJ4QA6lsBdoNmgXsyuVz1NiA== X-Received: by 2002:a17:907:3f92:b0:abb:e259:2a64 with SMTP id a640c23a62f3a-abc09b21c99mr1220180466b.33.1740392933327; Mon, 24 Feb 2025 02:28:53 -0800 (PST) Received: from puffmais.c.googlers.com (30.171.91.34.bc.googleusercontent.com. [34.91.171.30]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-abbb186c5d5sm1349206666b.51.2025.02.24.02.28.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2025 02:28:52 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 24 Feb 2025 10:28:51 +0000 Subject: [PATCH 3/6] dt-bindings: nvmem: add max77759 binding Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20250224-max77759-mfd-v1-3-2bff36f9d055@linaro.org> References: <20250224-max77759-mfd-v1-0-2bff36f9d055@linaro.org> In-Reply-To: <20250224-max77759-mfd-v1-0-2bff36f9d055@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?Andr=C3=A9_Draszik?= X-Mailer: b4 0.14.1 Add the DT binding document for the NVMEM module of the Maxim MAX77759. Signed-off-by: André Draszik --- .../bindings/nvmem/maxim,max77759-nvmem.yaml | 50 ++++++++++++++++++++++ 1 file changed, 50 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 000000000000..d3b7430ef551 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml @@ -0,0 +1,50 @@ +# 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 + +examples: + - | + nvmem { + compatible = "maxim,max77759-nvmem"; + #address-cells = <1>; + #size-cells = <1>; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + rsoc@a { + reg = <0xa 2>; + }; + }; + }; -- 2.48.1.658.g4767266eb4-goog