From patchwork Mon Feb 24 10:28:50 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: 13987770 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.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 84ABF2500B6 for ; Mon, 24 Feb 2025 10:28:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740392936; cv=none; b=XTKc6babTDewNyUyNoAeWkJvrLJm6I8+giYBZJLValQVmOZbjy3fqBHNEvLWSbUvtDm2jrmD3461iMJh7uWpGhjcpYX8tEps+tvQQeGDGN9c+dYWPZvv7ElEuOOyjxy5CN54YNg7b65nW3QmbKeD/t4W74MlEXlmvBtJs99qTRQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740392936; c=relaxed/simple; bh=nQJBIUhPLwK8sP/au/kpUVGthmufT8a/T2KHwyqpg6k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KKllEDKwd28YjypIVuBjuATzotCx62+W6WI3N98he4z7fMP8V4L09ALMwkklDmoCnXu2Xk6lj7iWaBVsnfFI5K0UCxL+RJnUZJJmUUTO05CcasnzHXzKS7r8kVsE8uWRT0cVrHqhzTuVaGfyYJNHws3fJemCOviuriO98yxCY24= 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=PLb5KMKp; arc=none smtp.client-ip=209.85.208.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="PLb5KMKp" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5e0505275b7so6788701a12.3 for ; Mon, 24 Feb 2025 02:28:54 -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=fd8CWfeG8+6FfaIh+fTT4LnoouZsbi9TX6aHe3LpoDQ=; b=PLb5KMKp6dktPX2RaD4AtP3jyJWlcCbQGMKvmKDoOsJEx0Qc9jQ6zonUfsHuppb92s BJiK0FcJWxH1Z78ngSdHHyR9cl9Dg0Bxvq/u36fn6MEF/mtxQ18LsjnHryXpfthpph1L AtI+A9oE46814zySqHuvZfGZXWZug+x3sDjFUMGrZsvi1kCSaJHfPvqcYblIn1fto/Uf unF1XgfcvoWSmFq/XF/xppqJsJSungYz6uZMb2M0YWjQuj0wUaMbIvIDWeHHJGQ0ySjn 3tQBuJ0LwB+ZQ397f7NBh2eFvaG9Wcn8e4BEM6uki45r5ZfvM8phADAsRjpy59bBQFJA rnJw== 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=fd8CWfeG8+6FfaIh+fTT4LnoouZsbi9TX6aHe3LpoDQ=; b=DPE7iFn9i0H5WjZ6BkFTlLJtFoXpTa1rrycmIYGeRuEv5gg04rG4iCth4WLYUssxmp SFxuBkEu/+FXugV0IKKfQWI/r/jWDQIl2l61ZcC/Xkrq1AyNGhyp9U1p0S/wbZVlr5v6 4C/ryLWVS9KP5Sg8N6KgLSXAcHsfya7SXvVOFKmkE2ucqUAb+mSp9yMYm7Wo8SSjLFCC U9EP9SotHt6RU03mJeKCBREZjM8rRBHV5d9ZOusyqmnU+RueVqMfu/94yLD6pddm3K/I mqiMZbzzBb6DGLqR08pZ32DvC2UX6dUzjoYyfSVGgDqzEkaNjt7jgL4yCPUqMdcfGmEH R/kA== X-Forwarded-Encrypted: i=1; AJvYcCVhoeXwV9VuqwjUWiF2/dbRDgTg4Gkx6ZGyW/jlWhYQKFfb5bhLn173KSIavmqrsG7+EgF1LlSDA4BMyEmlUUU=@vger.kernel.org X-Gm-Message-State: AOJu0Yz7LYMdIHbV9iJ+ZKj5MizICF0BMWGt6fSzV7FIn43KqYic+A8Z YUDycgCNZQYINPUU18lD4vly5gb2pwxoIfTkZzm/prJs+9nGuC9x3VII5Hrp3so= X-Gm-Gg: ASbGncsJd/5dJ0EVPsFVoIF2gxYi8op2iIwCsFTaZlslLJagM/jXJVe9tQgZRmUPTZI FTctxDqR8XfUCdAZlNQ9Tjn1qxULVdR1wNct1NdwTOEZczYBdyP/JAsyxgq8DKg8bT8tnQU0LsM bCVfeSvwGDbKhC5QxwuRQFB12i0WJxVkB2/r2SBkbFOA3mUlsC5lhtbE2ZR82oVl9am3vkCjAcH 5r+In09C2l8ySG0ltULFdRCo8I6IcVf3/2zjFBXjgR6r4gLg/XXWH0fQAkIVOS4p/gUwY/DGFmd pljN4aLlgWQG0AHt6x29lZkhxvsYzITL5ix9l4uLOkpt6mI/WzSY5Sqcbuz9Z/an3uHqx4VY6l4 h5EkDwdFcaw== X-Google-Smtp-Source: AGHT+IE4q27LpmwxJ6khnxFSWavRGTvEjWQZ/aQgFTEve7pPUfHXEj5f+O5XTnie9HbVpDVpkSkYgw== X-Received: by 2002:a17:907:1b26:b0:ab7:be81:8944 with SMTP id a640c23a62f3a-abc099b88ccmr1369497166b.6.1740392932757; Mon, 24 Feb 2025 02:28:52 -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:50 +0000 Subject: [PATCH 2/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: <20250224-max77759-mfd-v1-2-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?And?= =?utf-8?q?r=C3=A9_Draszik?= X-Mailer: b4 0.14.1 Add the DT binding document for the GPIO module of the Maxim MAX77759. Signed-off-by: André Draszik --- .../bindings/gpio/maxim,max77759-gpio.yaml | 47 ++++++++++++++++++++++ 1 file changed, 47 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 000000000000..9bafb16ad688 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/maxim,max77759-gpio.yaml @@ -0,0 +1,47 @@ +# 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 + + "#interrupt-cells": + const: 2 + + interrupt-controller: true + + interrupts: + maxItems: 2 + + "#gpio-cells": + const: 2 + + gpio-controller: true + + gpio-line-names: + minItems: 1 + maxItems: 2 + +required: + - compatible + - "#gpio-cells" + - gpio-controller + - "#interrupt-cells" + - interrupt-controller + +additionalProperties: false