From patchwork Wed Feb 26 17:51:20 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: 13992856 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 24C1722A1D2 for ; Wed, 26 Feb 2025 17:51:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740592289; cv=none; b=CYZZWCprGUt737UgY9cqTC4b1KBmFsdzacQIgRCzRkEhnFgIZz+cI4AB+CeskrgqXYGfkdbURnG7g0k3ns3ttEV4uZbVqioSzp4lQN2PuhOL/2yALtyCpRUreZdCO25wYCkaLDNkSgDl1EBg1ABXM3LeZttBKkzqNmyGkHy0UHI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740592289; c=relaxed/simple; bh=PsNx77qzhJzPPjeq4lLbR/H5A7DBpnLiTnBW5yUJssk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mJlFydInZv/wgnGy2+PATmpC38k+ODoOD6vBamm0zXloIMFRF7p9KSZTlqa1dyT7QPQ9UIU/D3ShurEEjLTTFHjLrDZfy97K8vLLN3fh+gH06lr/dRQGJpp6ElhlaEvkdwgb9vUcVxDOiYkkhod16WPTptVAWKiU4oYvmGkHVYY= 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.45 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-f45.google.com with SMTP id a640c23a62f3a-aaee2c5ee6eso2977766b.1 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=Sdzc4t/+O/O1Ry4M71NfcSr9zIB7qyLJ1qTWM4TpfSB0nWJEgcGWne8mUaQkDdD8MH UoWymvWWaTRR2KgjTVlsx4zEmI5vclTqgHSuu6VlGOJwhjG7D48Cew0BPZSfjchEhSy3 dvEBRBbHvXaUmMUWj26bD1AEn1ngIgbcngQbXXH7RI+YPSYeJwjXEPeq9as1rZBCZ74J 8V0cTnRrz8XK4+raqdGQ5ECp8i3HzzsYwCFOkOfFtQhyaqJNgi5Vu/hKtpGZ3kbOhiqQ 9S5aMD6hIg5/IucBg8r6zqlWFNgWX/RH9cMU5HXvTNS25HPYp1uXz30bsd8W6NqeLeVx Gp9w== X-Forwarded-Encrypted: i=1; AJvYcCUDuBzLZqwCJafRurOLlq6ANwj/yOXutrcxUxT9ogtMENjkHSq/INjYUppWZhZemGuXoQ0r15Nn0q79IV2iiY8=@vger.kernel.org X-Gm-Message-State: AOJu0YwTbnxuSqYuJ57pwl5y5G5DxpNXzjkGgVYB10pM+T/TsQtVV9Bp 6WEO8txTMUscFKe/lF5CZ5KfIf3qZraqfZb8GZSVbx+H+z002kcE+WNvqckjaAk= X-Gm-Gg: ASbGncsVQ3+1nboTWlW8A9Gm8M885DC6n6QNxdHfxf2E9keXbMw1yWEv63bPHwKeiDE VkwFGo4AymnY3qM7qWyBHO7OIVjYWhYwfv3SAw+cDQ5Piz+RozR9Dlczapx4euCGVz0+aV8u6l+ F2OWqKUYsmrbIdSKWdEyd9ZzrPubxkezAN3IPUsf6cvAQ1ppXlJXRVURSeKmUjTylFl5U6rUR1n bIXyOMkED0ccag7eNsnGA7H49Vv3MpkWiqeS+pFuGZTfe4e/oO4c1oaDB70bH/txeAQm3ltxodE g8CalsFk8iKW0qghlZ5CZVE4uaYrV2tocSZ4CxIHdKxKYbW+eOB3R7n0zGz8eOkqP2D7D6UwOoL n12y4mBHWmg== 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: linux-hardening@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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?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 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