From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from polaris.svanheule.net (polaris.svanheule.net [84.16.241.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85635340A6F for ; Tue, 12 May 2026 11:09:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=84.16.241.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778584148; cv=none; b=paaLumKbffJra6ToJ6gcL9h0OwKF4E7IkIGFJxOzlqjX0xznzrF7dm8hMKIwr+SZQt+n8zM0ysyIofJfV+byh/CSTMED0wTNosuYwCoZRHPJPnSzZulnAt8vax592hTg2T/4+uIjjz/ZiJ8z0iXkGUhf/wxF7mk0x+SKwI5ta5M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778584148; c=relaxed/simple; bh=6sBkNzcSJEmClser7RU1byaBHWvD1kG0EkbbuOgoVzc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SgBcoLW7rJgXeNkkTjZmwr+435qPAMA8REFBtNdZIRIUUsKyCqEK8fPdVuq1VC+3EC+0o+q9FAZ167/1vKYXhCSXdT8BkVQyem6T1/3m+rSFnYkN76yQWuBlkTOv2uTo1P6FQ9dSPQd2GCAwF4u2TVd+Bh7GeQGmEYRboH0YMvM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=svanheule.net; spf=pass smtp.mailfrom=svanheule.net; dkim=pass (2048-bit key) header.d=svanheule.net header.i=@svanheule.net header.b=KYOww3Se; arc=none smtp.client-ip=84.16.241.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=svanheule.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=svanheule.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=svanheule.net header.i=@svanheule.net header.b="KYOww3Se" Received: from terra.vega.svanheule.net (2a02-1812-162d-3d00-c381-7255-a866-916d.ip6.access.telenet.be [IPv6:2a02:1812:162d:3d00:c381:7255:a866:916d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id 4251D77E05D; Tue, 12 May 2026 13:08:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1778584138; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gi3hYW1miYO7IMx6EelMBvMeuX2Qm2tFbTYi15/A9TA=; b=KYOww3Se3WvT8C3XS7+5LazJ73Duq65vjr4GZBhwFsAP9QFRS1Ogqo0BvJsEpqQBW+QkJs 0+mSep1b0H9DkrS84VP/U94fyDdjRk5o2Js2NXuZ4BYecToF9eDiMF4LWT8OEMW5jcxMsI Yxnh9YZ461ISHWDA9DF/5H9RpE+QJ1tgNjMWu4YOdgveE3ZDdRQWoyPAAoDuoTcfhbh7le bw0wiP4sW18rHjA1/VQFdrHKCjwVtWE7AvtNN3DSqMx3MX3/8a1+sDstirNRHnvrsgtALV teMSHrQKuBPQYg+PZn1YTazErhx/hLDI/qJiNtarlucLxlz61dBa4HrPAi6KjQ== From: Sander Vanheule To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Rustam Adilov , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sander Vanheule Subject: [PATCH 1/2] dt-bindings: watchdog: realtek,otto-wdt: Add fallback compatible Date: Tue, 12 May 2026 13:08:47 +0200 Message-ID: <20260512110848.106620-2-sander@svanheule.net> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260512110848.106620-1-sander@svanheule.net> References: <20260512110848.106620-1-sander@svanheule.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit As all known hardware instantiations of this watchdog behave the same, a fallback compatible can be added. To remain compatible with existing single-compatible bindings, the current compatibles are duplicated. New compatibles should only be added to the list with fallback. Signed-off-by: Sander Vanheule --- .../bindings/watchdog/realtek,otto-wdt.yaml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml b/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml index 1f5390a67cdb..dcaf29588bcd 100644 --- a/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml @@ -25,11 +25,20 @@ allOf: properties: compatible: - enum: - - realtek,rtl8380-wdt - - realtek,rtl8390-wdt - - realtek,rtl9300-wdt - - realtek,rtl9310-wdt + oneOf: + - items: + - enum: + - realtek,rtl8380-wdt + - realtek,rtl8390-wdt + - realtek,rtl9300-wdt + - realtek,rtl9310-wdt + - const: realtek,otto-wdt + # Legacy without fallback, do not extend + - enum: + - realtek,rtl8380-wdt + - realtek,rtl8390-wdt + - realtek,rtl9300-wdt + - realtek,rtl9310-wdt reg: maxItems: 1 -- 2.54.0