From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.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 3754C3A1696 for ; Wed, 25 Mar 2026 09:50:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774432251; cv=none; b=I0hmrom3t7BJZMkqN0ldgzfgsyvApXhsHWkvDVW92IXCeElM+XO2RzqsKT0IfOXQeVEkZ1/QWB80krgCdCVJsWBRjRv8WG1FSk8yl9SrcIT/ku2H5CRXOtQqLQsRkHUz9b82St7RxBKK4Oce79Aqca21zQNYwcVwGrYWq+EXVOM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774432251; c=relaxed/simple; bh=00stqMDSLC8zHkq6vuvmGRmlLz7NFbDhqHtOZK7Au68=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ESuBKIhKIY9PEODsu9Hu0vgH7Ha8n8BzLRKVVjtGfSN9qSuGRqmpK1zMikuErCnn4sXzNNnbq8+pCBDIHEp8IiUQjguRXaZhqxISFhlQENJel9QU/JvuoYo1MLnEsH00B7/oniqVhWCxOpk8GNdT+SFMYSsBEo50bRAZKLEXclc= 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=oqinl9dv; arc=none smtp.client-ip=209.85.128.54 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="oqinl9dv" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-486fda2a389so39759375e9.1 for ; Wed, 25 Mar 2026 02:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774432246; x=1775037046; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=p9U89LuLFXoVjIbPXNI+E/8nZsSQ3ZaCzlKQvO4O4BY=; b=oqinl9dvBdFxKNJpZUuRdsXVGk88H1Uj5c7Z8oUwnWgbL9S51PUBs4dQGLAoQME95K sGEgzNSdbrkwdrzv4mvtzCg7vVByTplJ9d/oB6nXebFw07X9h4vBRpIBClygeSE1q2F1 SBTyPI/oAw0y/gZ6Vg9OVn+CQA6HqC1UbGldVgDQvcvUIcGXo2DRlszov8tCWKyuOgCl c+3GJRoYyL0ZfI/OQad1NhMg2IXARZ0skVX7h+lm+dVUwKTOQGaeVdB2oQN9zzdpVpBN 6yNd3k34u7Kcw6DegEWsTPOMU+DfdZ9W7fjUbBiA7iB2iedGfWUintBTIqTId2gwZ1Pt fTjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774432246; x=1775037046; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p9U89LuLFXoVjIbPXNI+E/8nZsSQ3ZaCzlKQvO4O4BY=; b=hPsTiiyn8JsC1KfQl/SQ4Nq0g+6a+7mVj39SZ6syBVuFA9yHmvQVA2UkD9nLamuTUY WJLJ3A0XBnSAk6NoEvbuGH72ip+ymVaDVAOAZnB6xIdHqD5r69HBQ7G3x4cB8II9XGTF 0ZysIzEdihUr6l84WtgU+QJXd+q8H6b+jkMssaS3iK6YT8/RjaaaoZQ1mhZEP08srx4g 6K3L0yRx0lBQ3s7mkFzTxO98PiSo+yhBeTqRZkDYfxE7zcm6L0UvEPjRjdDsWPjYnsOh 280rrCqh3pcQ83GVExyvBFZLojTdLh7/QwJLuA0mrPiw8xT5+K07thtB+ixqDfnIrAyg 2uCA== X-Forwarded-Encrypted: i=1; AJvYcCXKI+Sbz+m/p6OuEdtScKQU7TlW+vNJTGqNo4MfXmNx9L86ESEj1vnpmJcFDBaHkEyKF6SPhBfw4d2Dp+4=@vger.kernel.org X-Gm-Message-State: AOJu0Yw0I9dG1WNCRWWGaU1o1vDF98KBBMKZ0QYmXV9bQZl+fFbDd4Qt Ulnb3fQKOryehg8H8Rb3cw1ySfbz+PcXbapSq3brBPzEVFPwXrZxBsk= X-Gm-Gg: ATEYQzwgBHTRIOFVVgQc20j5uKPJSZ/+ycIsWyZJz5XLxORJibcD/HzjNpd/N8dVI4X HD2rXDUvD/6Im74hhj76OnMW1yP/jeKCNCb68IsmMEI2bFmQsvOqZo+jGXTFT2NQigN9EeqQj7u kIsFrDnEAgksxSNiHy2/T1dMqY2uOd2+UWLHq21sT4nxnMMEJ+3QXe7XgLUu4qWkegKYZqj5boM H1FU2++2nfpSejUeqNb1oNKiGXWOaUEMxVRnMrqzbvdvIJkAHRiEO9UtqBbM6rleD+9C49I+ctk aSvgEiouKBxYQFdNN8NaHpJdEI3+so5dQys6LLFtKXXq7Wgwy+z0opKmYSaWB5pAWL6xJG2du0j IqBHQF10jFX3yRqbgaHcaFh7O9RRC55OfRPZLHwHYvvRJ86nX7BZ16klo50w4b3diOsTEHGJwZf QdzDfbRpn/FSSgWlo4Cogb71cxkX4D57xGIf7B8VjjPa4/9khkQpmRLQIT8RuftO47WMAWSi2gG Llz8GcUTfejkoCjSYu+ox0O/w== X-Received: by 2002:a05:600d:1c:b0:483:badb:618e with SMTP id 5b1f17b1804b1-48715fd4787mr34101735e9.8.1774432245606; Wed, 25 Mar 2026 02:50:45 -0700 (PDT) Received: from localhost.localdomain (lmontsouris-658-1-96-160.w81-250.abo.wanadoo.fr. [81.250.250.160]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48711764625sm122268895e9.14.2026.03.25.02.50.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2026 02:50:44 -0700 (PDT) From: Jihed Chaibi To: lee@kernel.org, andreas@kemnade.info Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jihed.chaibi.dev@gmail.com Subject: [PATCH] dt-bindings: mfd: twl: Reference converted YAML schemas for subnodes Date: Wed, 25 Mar 2026 10:50:16 +0100 Message-ID: <20260325095016.48752-1-jihed.chaibi.dev@gmail.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Now that all TWL subnode bindings (audio, keypad, twl4030-usb, gpio, usb-comparator) have been converted to YAML and merged into mainline, update the parent ti,twl.yaml to properly reference them via $ref. Previously these subnodes used inline compatible definitions with additionalProperties: true, which meant properties defined in the subnode schemas were not being validated. Replace them with $ref to the appropriate schemas and unevaluatedProperties: false, matching the pattern already used by the madc, gpadc, and charger subnodes. Signed-off-by: Jihed Chaibi --- .../devicetree/bindings/mfd/ti,twl.yaml | 50 ++++--------------- 1 file changed, 10 insertions(+), 40 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/ti,twl.yaml b/Documentation/devicetree/bindings/mfd/ti,twl.yaml index 9cc3e4721612..a3af8e717ec7 100644 --- a/Documentation/devicetree/bindings/mfd/ti,twl.yaml +++ b/Documentation/devicetree/bindings/mfd/ti,twl.yaml @@ -265,47 +265,23 @@ properties: audio: type: object - additionalProperties: true - - properties: - compatible: - const: ti,twl4030-audio - - required: - - compatible + $ref: /schemas/sound/ti,twl4030-audio.yaml + unevaluatedProperties: false keypad: type: object - additionalProperties: true - - properties: - compatible: - const: ti,twl4030-keypad - - required: - - compatible + $ref: /schemas/input/ti,twl4030-keypad.yaml + unevaluatedProperties: false twl4030-usb: type: object - additionalProperties: true - - properties: - compatible: - const: ti,twl4030-usb - - required: - - compatible + $ref: /schemas/usb/ti,twl4030-usb.yaml + unevaluatedProperties: false gpio: type: object - additionalProperties: true - - properties: - compatible: - const: ti,twl4030-gpio - - required: - - compatible + $ref: /schemas/gpio/ti,twl4030-gpio.yaml + unevaluatedProperties: false power: type: object @@ -371,14 +347,8 @@ properties: usb-comparator: type: object - additionalProperties: true - - properties: - compatible: - const: ti,twl6030-usb - - required: - - compatible + $ref: /schemas/usb/ti,twl6030-usb.yaml + unevaluatedProperties: false pwm: type: object -- 2.47.3