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 2A3D922A1E5 for ; Wed, 26 Feb 2025 17:51:25 +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=1740592288; cv=none; b=ZH5jD0+feNCU1km1F117TZbDtGTn5DHEl+MaALGcqSJ74D5iOlt8POHrSGSmxAuCOBZfr+ybALv0qnwHvI1MvhOFvM2Jlprb4cldm8HOfudyRwxIA6NQAwtP5/730gyz1Mhdboa+33unU5BH7kyVbEI5fS4rR75OkmPjzynHI6U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740592288; c=relaxed/simple; bh=PsNx77qzhJzPPjeq4lLbR/H5A7DBpnLiTnBW5yUJssk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hhsA0QYR3j74bMxiAN35uU76haj4+iELA0E0LwEcZLf36wnWI/XrpkMTKrHshixyrfUU3uidAHemLIgBK5mugIILenY43zubO2ft5M9lT0nq4nLyc0y3bVzNZIoCP/RcGkqkALuTh4ld+dWbxp2P4favTIPHrAfbw9uwkwHsh3M= 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=lu6AG8on; 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="lu6AG8on" Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-abee50621ecso4747166b.0 for ; Wed, 26 Feb 2025 09:51:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1740592284; x=1741197084; 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=Vp4TWEA8z4tp7SimvO4HzAXyTNpNhSjLUqF9AYCLCY4=; b=lu6AG8onL4I9xiUpEAR0JxqUU/HXHEIzsH2qK66jfFmxd0BVl5+eQZHxkcm1cnJy8s Kv3xCiwUFT812ZLXkeOjbx4tHqKnKvlVB9d8Bewyefs6jyXNsdzeDi5LAzG/TBz3Xxuq fnfFGJbE30UZkbo7Az440C0IvBEHAX2Bt7aT4W/sPL5/AQvcYCO6gRpqKsCHLDZLuDKK nMXxtMDIgeyXtbqyjo8XwwDOhc9SafFLJHcqBORB0gIDZSii07KdC0DDGfOAAYryKwqg wamEh1Ez8TduGc+CKIU5nCv6owyBckWc9X7XtlU7R0FhmOvXsql80q7EEo8Fbqc987ac xNtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740592284; x=1741197084; 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=Vp4TWEA8z4tp7SimvO4HzAXyTNpNhSjLUqF9AYCLCY4=; b=fWQ2QgdoQ/gWC7xLWAUKyqqp/07PqcGN90036MB1a+cNgQc7mILOCa/urY4jLrppaJ rb8lJvHi4vQzsTW9uLMcC1Vi7PTJqzRGjh6yBSavk79aJ+Blqz73rmIx8GtR44YQnmLh Ubn3NH1kuk221bTRHlqI5qQ4UHjxgsOjkT92xC20Ecvz67hLVB/hhKMY9uwVROefedSY YYSx1SO+b+uhvlKLW2FkB9+lQEaa6VvyxHKhzpzOhUOVMPIoSa4V6PUljULPRu8QQR86 AcwMhu/PBa/nhTQfbJWpo47uUj4KuYdrJ2xXNpCBNkaZgVV4VJyJ3DJN0RR+X4cjYdnb dbbg== X-Forwarded-Encrypted: i=1; AJvYcCXZUBBFasyBxZXqz6FI4/xSldRVANS0zs9W2hAFAorBLJtwx0iGe+WZhGpT9mwgBEIySeWZT1fKmGQM@vger.kernel.org X-Gm-Message-State: AOJu0Yy3WnCLmL/D09SWObWAnZAPRXZcaeBv1Vtx2e5pUnYU69aSA9Ti +5M5cdOOL6RkO+ZEXUeXsX4FtMulIyGBIGHCgx8fENB/KomlPntJfWrUrenHg9k= X-Gm-Gg: ASbGncvN/Fi9cI0CrjxtxyNzwXDjl5ADLWrRH30XqnClcAPRe5GuuA/hUOPfcq67+sG NeNOq40VbD+lkXHFRAwXW0UEqqL5eRP8iwpSGuoZbxFaESeg4BL49xPvQLA5unCs+oli9hvl8Lg eNGmuSdmAJF20VQvw9mwB+QNcMUVKGjGTYr9d5zPnLEfyuJlxfjtEBtBCrTaSZW+WdWrZt8Ns1C BSLwCHg34+4UD3eWrsYUnFJjR4s2nKlA+NNf/dgRVnHIiPoigZWu10HsLJpQv65kkwgJxJHT2OA 0Y1GsfSUMs8W/QW36m26bQ5N2GrH5HOZbOt4RjNBXaBPNTxkemBZ3/Fl9UlX219Ay6NxeJqEIrk 9yHgfy0KBKw== X-Google-Smtp-Source: AGHT+IEdfFhNcKgkZvxT66Ew3Z/Wtr+Qqk6RH7/uf1S4Xn/P1+vdzKAPT+kZGF4bOb33+f21nORedw== X-Received: by 2002:a17:906:2a4c:b0:abe:fed3:9eb8 with SMTP id a640c23a62f3a-abefed3b1abmr260593066b.41.1740592284382; Wed, 26 Feb 2025 09:51:24 -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-abed1cdb131sm361889866b.7.2025.02.26.09.51.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 09:51:23 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Wed, 26 Feb 2025 17:51:20 +0000 Subject: [PATCH v2 1/6] dt-bindings: gpio: 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: <20250226-max77759-mfd-v2-1-a65ebe2bc0a9@linaro.org> References: <20250226-max77759-mfd-v2-0-a65ebe2bc0a9@linaro.org> In-Reply-To: <20250226-max77759-mfd-v2-0-a65ebe2bc0a9@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.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 GPIO module. Signed-off-by: André Draszik --- v2: * drop 'interrupts' property and sort properties alphabetically --- .../bindings/gpio/maxim,max77759-gpio.yaml | 44 ++++++++++++++++++++++ MAINTAINERS | 6 +++ 2 files changed, 50 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/maxim,max77759-gpio.yaml b/Documentation/devicetree/bindings/gpio/maxim,max77759-gpio.yaml new file mode 100644 index 0000000000000000000000000000000000000000..55734190d5ebdbc351e1f91675dddd8a9db80cd7 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/maxim,max77759-gpio.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/maxim,max77759-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX77759 GPIO + +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, a GPIO controller + including interrupt support for 2 GPIO lines. + +properties: + compatible: + const: maxim,max77759-gpio + + "#gpio-cells": + const: 2 + + gpio-controller: true + + gpio-line-names: + minItems: 1 + maxItems: 2 + + "#interrupt-cells": + const: 2 + + interrupt-controller: true + +required: + - compatible + - "#gpio-cells" + - gpio-controller + - "#interrupt-cells" + - interrupt-controller + +additionalProperties: false diff --git a/MAINTAINERS b/MAINTAINERS index 86fa62154d3b23bf84ce2d53cbbdc33f3d43006e..a45d1bd64d116d14bc05a64fa3da852a41e1de7f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14347,6 +14347,12 @@ F: Documentation/devicetree/bindings/mfd/maxim,max77714.yaml F: drivers/mfd/max77714.c F: include/linux/mfd/max77714.h +MAXIM MAX77759 PMIC MFD DRIVER +M: André Draszik +L: linux-kernel@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/*/maxim,max77759*.yaml + MAXIM MAX77802 PMIC REGULATOR DEVICE DRIVER M: Javier Martinez Canillas L: linux-kernel@vger.kernel.org -- 2.48.1.658.g4767266eb4-goog