From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 07B653D669D for ; Fri, 27 Mar 2026 08:24:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774599861; cv=none; b=ByaMiMRNxLoYnb51gRywo0ZFp4fEkjmhpBBSoJ4YvjwxQfa/7gC1HoQo/pe4o7RlKO2qXG1XZYhVkGeJIo+SNUfQY3UtnV0/NsvZoN1ECsXV/NZAFVvLYsSxz4XsUWSHu036verU7oV5l7cN4mqT8B2tJC1RpXGv/20ILxcsBfY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774599861; c=relaxed/simple; bh=KRUttOIODVPXBHv9YeHki9lyXGP53WyR4SQZrB2TZUI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MYlJpAF7y5fDhmvDKu44SHhhbSf1erWnyK+wv9DVdkSH1pPkTLPzMivcGPw4sIWiZu/z4/04pfT3ShZ+qNeAASGJFHNxDoxSDZ+4EkddqZh3ziWHMdDf4XBP3MFRoNv6o7rYca7KcAOrD6xTgvOlJWYlb6mZUdnPMQ2KTI+cRg8= 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=sLRGwPaT; arc=none smtp.client-ip=209.85.221.47 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="sLRGwPaT" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-43ba1f3fa7eso93674f8f.2 for ; Fri, 27 Mar 2026 01:24:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774599854; x=1775204654; 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=CYmoxyOBGhgLVbC6Ge6rqLCdVAJQp/GoqInNJcSR/lk=; b=sLRGwPaTrd//mAfg6dW+JPUvduXERip8gsqSxQdnQGjEKKBFo0PfxQCJSeIyWpkdYb IgjpYOpd5Bh11DhZ9CRT1toJLr0eobI1FVDMPb3gKHAzy9ysgMj4dl5Hwc4kl7HUokCC eJBF3nI9Pxcb9fAJDDkdKZTYy4dwMakRul9FVB3pnCjLFifPvYrpX+yau8Q9iX1G3okm Eal8GdqUCM0qbfYzlpeD45kzy6+FQaAbm94KWK0JKli02/cKQfglx837/ycKN2ENf+Yc cMDOSSPN+mvrZkOf1B/Gn1rZ4E3MM36ECev1aAT4tSnJWZQVDrj5wDLbF4/mwvlPWYlm Xmjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774599854; x=1775204654; 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=CYmoxyOBGhgLVbC6Ge6rqLCdVAJQp/GoqInNJcSR/lk=; b=fo5Y8xM4CdAHILu3wNjk5LbOJSbAsyuX5JZnAxYC3IEWr+K15LloqeFr7YkRaezP4l SYxtU3T9K6gdDMra2nVvJIkffZw9M5G8qWK6gcHfsOcvHNz75yBTBSIjnfwNpYh8Lb/A AkqUPf8DIg1SI8+X9hZr/7ECJmAAYs7TPfBrlRM9HdYO1ye/6qzAD2DHUXoLmN46pAFF x6Oez71Nc/2Iy/E17Rr1hS5LJi91JyBz9V0GfYU7yaWXGxxRhFZfSv0i0rCejEx0d+9F 3+HrZGMYadhWeo5/nXysNEXBdQIhgX792v6/bpjzpMO/ENK/vcT7X6b+huZ8Iw13//ke n8mQ== X-Forwarded-Encrypted: i=1; AJvYcCWRLBRfA+3KduiNsQAhVnLN0yevl16I6wLTVD/FCcQn9lznT/QfL8F/kHbxvr5vglFEPlhzx4LoDxAT4rE=@vger.kernel.org X-Gm-Message-State: AOJu0YzYeB3rAxuwWNoQLA2zgazUfcxoQZOcsdb8GgMOKDojQlfEY7HP uSZPP1pCCai0vXCW6D4EULWEJWSgxWsTDQ7qzTfYwRqDgv4Fw2bwqRY= X-Gm-Gg: ATEYQzy//2wPAomY0Ubg5R4fgMObkM1wd25D5CeEJpR8BacXIo/VLU4p1kLvfbNjwjU PGILQyYGanpoKDy0KrLg9bGdnWspkl01oFdA73wdb8Ky+S8ly5ghfW8TzCjNKZh+XkyWnB1D1bu rg5gt34ENSra3dUGsbGKh9ypp4q1U+uPCgtVv+QvnFAul14hw0pGPFBSjk/wYdMevKrxFH+2ptS ZZJ3n1z+z/uUXIsuof/a3GLjpdyyAo1cM9g2iv3GlfWMwvt7wK10EIAB6k7JES12Wk17tKhrbQe o3qnTNA9ejmjes957BkRq55YvEjbL0Bmg0CSnpSuVu3uU7iSmv2t2JVOt98d9E+QeO4qG8S7QiD zGwiLBwuaSdoOXsSAhfikULaFU9nV1JOH1Hfq9bvndTfDV0ynW8xeVs5ZJHm/NXB04NqBuspRBg Z6NHRZI05MAFJ/qQpJhuIsQN3gZi2FZgxcy9XpKDLl X-Received: by 2002:a05:6000:4287:b0:43b:4e32:c28d with SMTP id ffacd0b85a97d-43b9e9e8f1emr2355811f8f.20.1774599853449; Fri, 27 Mar 2026 01:24:13 -0700 (PDT) Received: from localhost.localdomain ([78.240.68.67]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b919e7111sm13439147f8f.37.2026.03.27.01.24.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2026 01:24:12 -0700 (PDT) From: Jihed Chaibi To: andreas@kemnade.info Cc: lee@kernel.org, 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 v2] dt-bindings: mfd: twl: Reference converted schemas for subnodes Date: Fri, 27 Mar 2026 09:23:50 +0100 Message-ID: <20260327082350.20573-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 and merged into mainline, update the parent ti,twl.yaml to properly reference them via $ref. Replace the inline compatible definitions 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 --- Changes in v2: - Drop "YAML" from subject and commit message - Remove incorrect claim that subnode properties were not being validated .../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