From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 DBEC0386550 for ; Mon, 20 Apr 2026 21:36:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776720995; cv=none; b=d/eixKvrYuN4SHulCwHtwsB7D4HeXZU2rk9rZb+8BJ2vsQupE8BUwiJg5RGrZUropviBNQj5//BZrRjEtuo/30nXr4UHHMRbTuBu8YOHvh7ZwyfuiECcf5iOq7M7rtKNU/zxRstsr4KkLsDYfmu+HhuOguNUBQZ6FEoEeb/s1LY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776720995; c=relaxed/simple; bh=EKvdaIKyTKvcKJGyia+SK7d+HUNcnLjmavHs+qnlEDI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MF/ZOfap0tx+J6s9t0K7UohlVeOMtn7tfC+tJY5fNJCRdXmlt3YAbNjfWAhtlSHl0b6B3wAjieBGtawv/aEv3VwAk+8VZKatUYqfs6TSbZKfuvRYKH/xm2QjtxLZfCYk+ejdLpTkjhAYIV1sqSxEWZbOG/yYohnWG+ez0FDgx5s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JxyA3F3r; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JxyA3F3r" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4852b81c73aso30261215e9.3 for ; Mon, 20 Apr 2026 14:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776720992; x=1777325792; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PeDXgOZ2fJAOAlM2C3zm9hiJl6sDVNOXzlY1iVGrLts=; b=JxyA3F3ra4LE3ND+V8+JSqnBRDB2tlPE2Flnz/ivNKfjbfH9/rrwBEFRuMQwKzWW5A EGOmQJB6MEyMHgfMLGMqddDFkjBjciugY5BFnL9JdcMomFOnGZdgwWYpps5Ybmm2MUrN Ad2J1qddjha+2HOC9hf6T3IOity3ZRYCi+uX1P4h6Uw3TJlp17n+RGVIG8miACN9JDJ7 kmUEEXtwRTUy3VqWRqMLXvnh+E60xXOvtGAUhCwr95rxAAkU12E9DZ6dMmciORPXXlbJ RRziC8tuXHv9YnEuTUU1guytduNpPRQgTMJAWwiT8FUdl5/kde5Q0fyxP1RC/PO4e9AC BMIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776720992; x=1777325792; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=PeDXgOZ2fJAOAlM2C3zm9hiJl6sDVNOXzlY1iVGrLts=; b=XKlzDJuSaok1EELKGUpWI7jKwI0hnMDT/p64kSDK2gWBLTXLdWTwhvoSTuTmbyFdaG inZcr5CbKXlAWD1YVqhkhmu+KcZ3fqt0MyzEQiUw5+J+xHXB1DwyYfaFplIqm9fG8H92 QDCSyoWDgIm3NtzAzTjPpv08Hx64uiGtK1ajt5M86uoDoXIToQBxKm1/ugVK1NnbsXz4 PKg/w+u/vZEeGQolX8y8uAH7bkeCvUev4HMRmBa61iM7cke6vhr0AlaURvxA+nPtzjZz XSq1oa1NvqNfF60vvnuTDZbp20czOrq25CwdCQToAW5UoZ9F0tHDhY+xetzt9UgiqF+L CubA== X-Forwarded-Encrypted: i=1; AFNElJ/bkcsi3PE8zBjVIEQNNDzUX0omxpMp9M6Imme5eM5b6lpbVrkWweudt7c/sZZbY7FuE5xLM26Q0LF8wvU=@vger.kernel.org X-Gm-Message-State: AOJu0YwKNcTwJKCSTrZOt2u79OPRI0W4ftk8s9Y04BPzMyFWKtuK3/rr bhEZ5rjxfhfhUl4KXcr9LnEwUNzWO7pIKiyhKxAXwnaDZFu2Ix9u9UfV X-Gm-Gg: AeBDievXL8D5tQL9Y4mjF+BiZNAGZS2eiwqdRJzWY+nCfqx4eqi2PisHUj9f8v8M6PX VEHee5GmUuDoup6ZrMGj/6gowSfbVlZXeDYIU54ZFlLKrd5fYYNzIlBJjDePxYM44SQ+ET5W8by yfzkAAgDIpNo5pylmbqJudeCTT8Zzc9uvfq10iEICBI4IPEci06VeTPIG09Jd5MwqNwDkjKcQN/ KosL3zQcIgqw6Hyf5DhRRWkipn8lroOncvytqPElJsPLPYIHcDOrSzqzw8LqrKRCgqmhnWnY7I+ q6TsZg4gyYaxAbVWFyLRqfXEczMSfY9U+QTSt4VHuUZmwBB7DBhfE5iS0WZCr1bahCCoYb3WW2x dfO0TIwAsWGMUJQHUELuh4afMMlymVd42qZD1MDYUKZjNnoJ7w+vV0HJhl3Ff+n1Z47XUxcMKoJ K2gc2QRPiF/jXo21f4fcFe5OKV8MLSEA== X-Received: by 2002:a05:600c:1907:b0:489:201c:dc46 with SMTP id 5b1f17b1804b1-489201cdf13mr58952175e9.12.1776720992169; Mon, 20 Apr 2026 14:36:32 -0700 (PDT) Received: from luca-vm.lan ([154.61.61.58]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-488fc140c82sm289500355e9.12.2026.04.20.14.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2026 14:36:31 -0700 (PDT) From: Luca Leonardo Scorcia To: linux-mediatek@lists.infradead.org Cc: Fabien Parent , Val Packett , Luca Leonardo Scorcia , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sen Chu , Sean Wang , Macpaul Lin , Lee Jones , Matthias Brugger , AngeloGioacchino Del Regno , Linus Walleij , Liam Girdwood , Mark Brown , Gary Bisson , Julien Massot , Louis-Alexis Eyraud , Akari Tsuyukusa , Chen Zhong , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org Subject: [PATCH v5 1/9] dt-bindings: mfd: mt6397: Add MT6392 PMIC Date: Mon, 20 Apr 2026 22:30:00 +0100 Message-ID: <20260420213529.1645560-2-l.scorcia@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260420213529.1645560-1-l.scorcia@gmail.com> References: <20260420213529.1645560-1-l.scorcia@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Fabien Parent Add the currently supported bindings for the MT6392 PMIC. Its MFD driver does not use the compatible property to bind the regulator driver, so don't mark it as required. Signed-off-by: Fabien Parent Signed-off-by: Val Packett Signed-off-by: Luca Leonardo Scorcia --- .../bindings/mfd/mediatek,mt6397.yaml | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml index 05c121b0cb3d..2866e95e338b 100644 --- a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml +++ b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml @@ -40,6 +40,10 @@ properties: - mediatek,mt6358 - mediatek,mt6359 - mediatek,mt6397 + - items: + - enum: + - mediatek,mt6392 + - const: mediatek,mt6323 - items: - enum: - mediatek,mt6366 @@ -68,6 +72,10 @@ properties: - mediatek,mt6331-rtc - mediatek,mt6358-rtc - mediatek,mt6397-rtc + - items: + - enum: + - mediatek,mt6392-rtc + - const: mediatek,mt6323-rtc - items: - enum: - mediatek,mt6366-rtc @@ -99,9 +107,6 @@ properties: - mediatek,mt6366-regulator - const: mediatek,mt6358-regulator - required: - - compatible - adc: type: object $ref: /schemas/iio/adc/mediatek,mt6359-auxadc.yaml# @@ -231,6 +236,22 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + const: mediatek,mt6392 + then: + properties: + regulators: + $ref: /schemas/regulator/mediatek,mt6392-regulator.yaml + else: + properties: + regulators: + required: + - compatible + examples: - | #include -- 2.43.0