From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) (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 4C0132D1F44 for ; Sat, 23 May 2026 17:33:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779557595; cv=none; b=OQSA7jCLaROJMo6q4rEwARS/zHBSzji83JNgIIaJXJxBoviRCtjSrgiJ7RoIk+08l/TrW4mxp7AiM1pbVyK/JCFsYC+ZC0UIkH3vIGgA47r8OQf9ApxDEXUzUJpyBZ1oCS1kgMS5ViN4IX0btr3nDz7W1/tl10B10M7Px8txxrw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779557595; c=relaxed/simple; bh=Saljt8+lEfAQzopPhIMcOHAZd977tUe/WQSEWbNCEBM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TmN1HoSZ24vlEoRIpjzK2C9CTES+869K9e6EclzwApUrxV4EbEGiVKQQW8/tYHdiMNuGTRKZ2SqP5B+s91/qT7iVV6GmQTO5tR6QHTwtDglmftsGdKYtsiJey2Ubn+d5DeBcDuiJDqKLXz/ZK181StiYHZYdI0DdzuMzVOa3Bl8= 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=KfmtIxXF; arc=none smtp.client-ip=209.85.215.175 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="KfmtIxXF" Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-c822652f82aso7028006a12.3 for ; Sat, 23 May 2026 10:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779557592; x=1780162392; 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=eCj8+oLwvPOIbmY+qV1+VohiIFMiRIVX9QeRtC1IOt0=; b=KfmtIxXFGbV0QbEgYoygEmc+NlXWDQ0TFzvMxTIGo20VyRs/jGIZv6vmQQB+AY33DM 1FbeBOO8b9lTN+3PJp5b4fYBveojpf7FiXU+ru0xkHbcPdP7pWxpJFqHiYAVaUTxrPJd oHdBntqMW7rp8UdFPok8MZM1jhsV8eU0BeTglKAd+07STEYrIiVF1/w2NR8xtYvyvTPH F8AkGRL8sgh46yAc/AdK/iVrdrZxUpjWz7mc7Eo3HHtC6d6jXPNaaKNbIjCFqHK8Z4Zr t7TO+Xx5FJgdmApm2SardsLvYpCb6+c9ley0BgyFI2QA3bl0TWp/5zzifa1E5QZ8+l8I t9fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779557592; x=1780162392; 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=eCj8+oLwvPOIbmY+qV1+VohiIFMiRIVX9QeRtC1IOt0=; b=sek4VBVQ8yQ871OYnHiAqz73qtI7L0ZtoDfZTSPZVN8EhARFZm0HkZHkfzBWviJVmx p80xgm2EgcN3x7vF5PDTT/gosXW3zk4ijfS/osQgDatl6EoctM9d+enD4o4JgWnO3Rxy kOvvh6/GFqY6F4OyrijB/c6JfDhR+G9wF1uWFOUPf05jklyTbRHUW62wevD04qgNnqQm h1SyEcvWBgokn/r5UET142ULnTDQyYfWpGcGra9DWCjBMZhdi0/MGRNcyvOQ1Fmeuvgd /E1s4ufs4KL6E4CYbJqqViJxypgqzEs7J+hdw/muVZcc+R1dvXveXYPwQnggnhe+IBoY +tvQ== X-Forwarded-Encrypted: i=1; AFNElJ+jyFdjlptgAvh5JP3TjZMXumtWcmuLfSqXOYj5xM4I1nVGgjlzocwB4jVdfzFi+Chg7YxiVmQFEaDf+cc=@vger.kernel.org X-Gm-Message-State: AOJu0Yx6F6trih0t4A+G6/nyBr1torEE2+iFWedKL1Ln9Z973rJPFiXY beuhrn0u81GnEC2msx3w7SXknBPff/St6v9/HVBsI6sH9LHBFuViI4eo X-Gm-Gg: Acq92OGafkVMv4H4Ld+jHdWmjUULJ498e0GNkJY3aoGv+6gSoBs3Ia+0N4De/Miqnh7 Mauggeg0MEktB5Z1Ni2qOBzDaKCpF24oWvEopjwZPNsjZiCyLNEKCJQnFGSrsuMGefnX3gKRQPw BsQHE/IBLjmzPpV27Z80c+Dm17ZVd86/6mcpJVq8tuq42tOWg9uTQzo1nVGXKG/a1spRvwzjhLx bW6I9cQvAwGOqZA88qn2mAOscXU5PcANNCXgVFt5Hj6TUru4vgVm+Htv2bYvU9d9AoB3gyuwaNk QsuwwvT2ZIMVl18F0VptZMuVQstYzsanGZTD1sOv8/I2zEwvpkBJhpVgeY2/1OeJhx4yOqUmAo2 uuxFiefkCgCvhpXssOlmwRhgkXUgXv/YiW2wnooylauhpazK0NqWNS5dKkJlF1Fxm+4F4zYMmcL 6S+1txfhMknsA9DuuH96aDJdQmWWFvikIkU6RcF4CNquLWbQkeacdLKWNfkAEi6QmH5Q== X-Received: by 2002:a05:6a21:594:b0:3a7:1d55:b634 with SMTP id adf61e73a8af0-3b328f562bemr8292242637.38.1779557592547; Sat, 23 May 2026 10:33:12 -0700 (PDT) Received: from Ubuntu.. ([49.37.171.12]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84164fc646bsm5162945b3a.46.2026.05.23.10.33.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 May 2026 10:33:11 -0700 (PDT) From: Manish Baing To: lee@kernel.org, ukleinek@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linusw@kernel.org Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, manishbaing2789@gmail.com, Conor Dooley Subject: [PATCH v4 1/2] dt-bindings: mfd: st,stmpe: Add missing properties for PWM subnode Date: Sat, 23 May 2026 17:32:50 +0000 Message-ID: <20260523173251.72540-2-manishbaing2789@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260523173251.72540-1-manishbaing2789@gmail.com> References: <20260523173251.72540-1-manishbaing2789@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The st,stmpe-pwm binding is already covered by the MFD schema in Documentation/devicetree/bindings/mfd/st,stmpe.yaml. However, the PWM subnode was missing a 'required' properties block. This allowed Device Tree nodes to pass validation even if the 'compatible' string was omitted. This omission could lead to probe failures at runtime. Fix the schema by adding the missing 'required' block. Signed-off-by: Manish Baing Acked-by: Conor Dooley Acked-by: Uwe Kleine-König --- Documentation/devicetree/bindings/mfd/st,stmpe.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/st,stmpe.yaml b/Documentation/devicetree/bindings/mfd/st,stmpe.yaml index df43878fbe18..4bb05d544901 100644 --- a/Documentation/devicetree/bindings/mfd/st,stmpe.yaml +++ b/Documentation/devicetree/bindings/mfd/st,stmpe.yaml @@ -127,6 +127,10 @@ properties: "#pwm-cells": const: 2 + required: + - compatible + - "#pwm-cells" + touchscreen: type: object $ref: /schemas/input/touchscreen/touchscreen.yaml# -- 2.43.0